Klasse EnchantmentAttributesEmulation1_20_6
java.lang.Object
com.viaversion.viafabricplus.features.entity.attribute.EnchantmentAttributesEmulation1_20_6
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidinit()static voidsetGenericMovementEfficiencyAttribute(net.minecraft.world.entity.LivingEntity entity) Called from MixinLivingEntity as well to ensure the attribute value is set at the correct place in the entity tick logic.
-
Konstruktordetails
-
EnchantmentAttributesEmulation1_20_6
public EnchantmentAttributesEmulation1_20_6()
-
-
Methodendetails
-
init
public static void init() -
setGenericMovementEfficiencyAttribute
public static void setGenericMovementEfficiencyAttribute(net.minecraft.world.entity.LivingEntity entity) Called from MixinLivingEntity as well to ensure the attribute value is set at the correct place in the entity tick logic. Called above just as a fallback if a mod accesses the raw attribute value directly.
-