Class AccessoryEffectScalingType
java.lang.Object
tech.anonymoushacker1279.immersiveweapons.item.accessory.scaling.AccessoryEffectScalingType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<AccessoryEffectScalingType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetEffectValue(Accessory accessory, AccessoryEffectType type, net.minecraft.world.entity.player.Player player) getName()
-
Field Details
-
CODEC
-
-
Constructor Details
-
AccessoryEffectScalingType
-
AccessoryEffectScalingType
public AccessoryEffectScalingType(net.minecraft.resources.ResourceLocation name)
-
-
Method Details
-
getName
-
createTranslation
-
getEffectValue
public double getEffectValue(Accessory accessory, AccessoryEffectType type, net.minecraft.world.entity.player.Player player)
-