Class EnchantmentAttributesEmulation1_20_6
java.lang.Object
com.viaversion.viafabricplus.features.entity.attribute.EnchantmentAttributesEmulation1_20_6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
EnchantmentAttributesEmulation1_20_6
public EnchantmentAttributesEmulation1_20_6()
-
-
Method Details
-
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.
-