Package net.minecraft.enchantment
Record Class Enchantment
java.lang.Object
java.lang.Record
net.minecraft.enchantment.Enchantment
- Record Components:
description-properties-exclusiveSet-effects-
public record Enchantment(Text description, Enchantment.Properties properties, RegistryEntryList<Enchantment> exclusiveSet, ComponentMap effects)
extends Record
- Mappings:
Namespace Name named net/minecraft/enchantment/Enchantmentintermediary net/minecraft/class_1887official czjnamed descriptionintermediary comp_2686official cnamed propertiesintermediary comp_2687official dnamed exclusiveSetintermediary comp_2688official enamed effectsintermediary comp_2689official f
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TextThe field for thedescriptionrecord component.private final ComponentMapThe field for theeffectsrecord component.private final RegistryEntryList<Enchantment> The field for theexclusiveSetrecord component.static final com.mojang.serialization.Codec<Enchantment> static final com.mojang.serialization.Codec<RegistryEntry<Enchantment>> private final Enchantment.PropertiesThe field for thepropertiesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionEnchantment(Text text, Enchantment.Properties properties, RegistryEntryList<Enchantment> registryEntryList, ComponentMap componentMap) -
Method Summary
Modifier and TypeMethodDescriptionstatic Enchantment.CostconstantCost(int base) Returns the value of thedescriptionrecord component.effects()Returns the value of theeffectsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexclusiveSetrecord component.intgetEquipment(LivingEntity livingEntity) intintgetMaxPower(int level) intintgetMinPower(int level) static TextgetName(RegistryEntry<Enchantment> registryEntry, int level) intfinal inthashCode()Returns a hash code value for this object.booleanisAcceptableItem(ItemStack itemStack) booleanisPrimaryItem(ItemStack stack) static Enchantment.CostleveledCost(int base, int perLevel) voidmethod_60013(int int2, class_9699 class_9699, LivingEntity livingEntity) booleanmethod_60014(ServerWorld serverWorld, int int2, Entity entity, DamageSource damageSource) private static LootContextmethod_60015(ServerWorld serverWorld, int int2, Entity entity, Vec3d vec3d) private static LootContextmethod_60016(ServerWorld serverWorld, int int2, Entity entity, boolean bool) private static LootContextmethod_60017(ServerWorld serverWorld, int int2, ItemStack itemStack) voidmethod_60018(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) voidmethod_60019(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) voidmethod_60020(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) voidmethod_60021(ServerWorld serverWorld, int int2, class_9699 class_9699, Entity entity) voidmethod_60023(ServerWorld serverWorld, int int2, class_9699 class_9699, Entity entity, Vec3d vec3d) voidmethod_60025(ServerWorld serverWorld, int int2, class_9699 class_9699, LivingEntity livingEntity) booleanmethod_60026(EquipmentSlot equipmentSlot) static Enchantment.class_9700method_60030(Enchantment.Properties properties) static voidmethod_60031(class_9710<class_9721> class_9710, ServerWorld serverWorld, int int2, class_9699 class_9699, Entity entity, DamageSource damageSource) private static <T> voidmethod_60032(List<class_9698<T>> list, LootContext lootContext, Consumer<T> consumer) static booleanmethod_60033(RegistryEntry<Enchantment> registryEntry, RegistryEntry<Enchantment> registryEntry2) <T> List<T> method_60034(DataComponentType<List<T>> dataComponentType) private voidmethod_60035(DataComponentType<List<class_9698<class_9723>>> dataComponentType, ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) private voidmethod_60036(DataComponentType<List<class_9698<class_9723>>> dataComponentType, ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) private voidmethod_60037(DataComponentType<List<class_9698<class_9723>>> dataComponentType, ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) static LootContextmethod_60040(ServerWorld serverWorld, int int2, Entity entity, DamageSource damageSource) voidmethod_60041(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) voidmethod_60042(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) voidmethod_60043(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) voidmethod_60044(ServerWorld serverWorld, int int2, class_9699 class_9699, Entity entity) booleanmethod_60046(ItemStack itemStack) voidmethod_60048(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) voidmethod_60049(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) voidmethod_60050(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) voidmethod_60051(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) voidmethod_60052(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) voidmethod_60053(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) voidmethod_60054(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) voidmethod_60055(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) voidmethod_60056(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) voidmethod_60057(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) voidmethod_60058(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) voidmethod_60059(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) voidonTargetDamaged(ServerWorld serverWorld, int int2, class_9699 class_9699, class_9703 class_9703, Entity entity, DamageSource damageSource) Returns the value of thepropertiesrecord component.static Enchantment.Propertiesproperties(RegistryEntryList<Item> registryEntryList, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, AttributeModifierSlot[] attributeModifierSlot) static Enchantment.Propertiesproperties(RegistryEntryList<Item> registryEntryList, RegistryEntryList<Item> registryEntryList2, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, AttributeModifierSlot[] attributeModifierSlot) toString()Returns a string representation of this record class.
-
Field Details
-
description
The field for thedescriptionrecord component. -
properties
The field for thepropertiesrecord component. -
exclusiveSet
The field for theexclusiveSetrecord component. -
effects
The field for theeffectsrecord component. -
field_51643
- Mappings:
Namespace Name Mixin selector named field_51643Lnet/minecraft/enchantment/Enchantment;field_51643:Lcom/mojang/serialization/Codec;intermediary field_51643Lnet/minecraft/class_1887;field_51643:Lcom/mojang/serialization/Codec;official aLczj;a:Lcom/mojang/serialization/Codec;
-
field_51644
- Mappings:
Namespace Name Mixin selector named field_51644Lnet/minecraft/enchantment/Enchantment;field_51644:Lcom/mojang/serialization/Codec;intermediary field_51644Lnet/minecraft/class_1887;field_51644:Lcom/mojang/serialization/Codec;official bLczj;b:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Enchantment
public Enchantment(Text text, Enchantment.Properties properties, RegistryEntryList<Enchantment> registryEntryList, ComponentMap componentMap)
-
-
Method Details
-
constantCost
- Mappings:
Namespace Name Mixin selector named constantCostLnet/minecraft/enchantment/Enchantment;constantCost(I)Lnet/minecraft/enchantment/Enchantment$Cost;intermediary method_58440Lnet/minecraft/class_1887;method_58440(I)Lnet/minecraft/class_1887$class_9426;official aLczj;a(I)Lczj$b;
-
leveledCost
- Mappings:
Namespace Name Mixin selector named leveledCostLnet/minecraft/enchantment/Enchantment;leveledCost(II)Lnet/minecraft/enchantment/Enchantment$Cost;intermediary method_58441Lnet/minecraft/class_1887;method_58441(II)Lnet/minecraft/class_1887$class_9426;official aLczj;a(II)Lczj$b;
-
properties
public static Enchantment.Properties properties(RegistryEntryList<Item> registryEntryList, RegistryEntryList<Item> registryEntryList2, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, AttributeModifierSlot[] attributeModifierSlot) - Mappings:
Namespace Name Mixin selector named propertiesLnet/minecraft/enchantment/Enchantment;properties(Lnet/minecraft/registry/entry/RegistryEntryList;Lnet/minecraft/registry/entry/RegistryEntryList;IILnet/minecraft/enchantment/Enchantment$Cost;Lnet/minecraft/enchantment/Enchantment$Cost;I[Lnet/minecraft/component/type/AttributeModifierSlot;)Lnet/minecraft/enchantment/Enchantment$Properties;intermediary method_58443Lnet/minecraft/class_1887;method_58443(Lnet/minecraft/class_6885;Lnet/minecraft/class_6885;IILnet/minecraft/class_1887$class_9426;Lnet/minecraft/class_1887$class_9426;I[Lnet/minecraft/class_9274;)Lnet/minecraft/class_1887$class_9427;official aLczj;a(Ljn;Ljn;IILczj$b;Lczj$b;I[Lbsl;)Lczj$c;
-
properties
public static Enchantment.Properties properties(RegistryEntryList<Item> registryEntryList, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, AttributeModifierSlot[] attributeModifierSlot) - Mappings:
Namespace Name Mixin selector named propertiesLnet/minecraft/enchantment/Enchantment;properties(Lnet/minecraft/registry/entry/RegistryEntryList;IILnet/minecraft/enchantment/Enchantment$Cost;Lnet/minecraft/enchantment/Enchantment$Cost;I[Lnet/minecraft/component/type/AttributeModifierSlot;)Lnet/minecraft/enchantment/Enchantment$Properties;intermediary method_58442Lnet/minecraft/class_1887;method_58442(Lnet/minecraft/class_6885;IILnet/minecraft/class_1887$class_9426;Lnet/minecraft/class_1887$class_9426;I[Lnet/minecraft/class_9274;)Lnet/minecraft/class_1887$class_9427;official aLczj;a(Ljn;IILczj$b;Lczj$b;I[Lbsl;)Lczj$c;
-
getEquipment
- Mappings:
Namespace Name Mixin selector named getEquipmentLnet/minecraft/enchantment/Enchantment;getEquipment(Lnet/minecraft/entity/LivingEntity;)Ljava/util/Map;intermediary method_8185Lnet/minecraft/class_1887;method_8185(Lnet/minecraft/class_1309;)Ljava/util/Map;official aLczj;a(Lbsy;)Ljava/util/Map;
-
getApplicableItems
- Mappings:
Namespace Name Mixin selector named getApplicableItemsLnet/minecraft/enchantment/Enchantment;getApplicableItems()Lnet/minecraft/registry/entry/RegistryEntryList;intermediary method_56109Lnet/minecraft/class_1887;method_56109()Lnet/minecraft/class_6885;official aLczj;a()Ljn;
-
method_60026
- Mappings:
Namespace Name Mixin selector named method_60026Lnet/minecraft/enchantment/Enchantment;method_60026(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_60026Lnet/minecraft/class_1887;method_60026(Lnet/minecraft/class_1304;)Zofficial aLczj;a(Lbsk;)Z
-
isPrimaryItem
- Mappings:
Namespace Name Mixin selector named isPrimaryItemLnet/minecraft/enchantment/Enchantment;isPrimaryItem(Lnet/minecraft/item/ItemStack;)Zintermediary method_58444Lnet/minecraft/class_1887;method_58444(Lnet/minecraft/class_1799;)Zofficial aLczj;a(Lcua;)Z
-
method_60046
- Mappings:
Namespace Name Mixin selector named method_60046Lnet/minecraft/enchantment/Enchantment;method_60046(Lnet/minecraft/item/ItemStack;)Zintermediary method_60046Lnet/minecraft/class_1887;method_60046(Lnet/minecraft/class_1799;)Zofficial bLczj;b(Lcua;)Z
-
getWeight
public int getWeight()- Mappings:
Namespace Name Mixin selector named getWeightLnet/minecraft/enchantment/Enchantment;getWeight()Iintermediary method_58445Lnet/minecraft/class_1887;method_58445()Iofficial bLczj;b()I
-
getAnvilCost
public int getAnvilCost()- Mappings:
Namespace Name Mixin selector named getAnvilCostLnet/minecraft/enchantment/Enchantment;getAnvilCost()Iintermediary method_58446Lnet/minecraft/class_1887;method_58446()Iofficial cLczj;c()I
-
getMinLevel
public int getMinLevel()- Mappings:
Namespace Name Mixin selector named getMinLevelLnet/minecraft/enchantment/Enchantment;getMinLevel()Iintermediary method_8187Lnet/minecraft/class_1887;method_8187()Iofficial dLczj;d()I
-
getMaxLevel
public int getMaxLevel()- Mappings:
Namespace Name Mixin selector named getMaxLevelLnet/minecraft/enchantment/Enchantment;getMaxLevel()Iintermediary method_8183Lnet/minecraft/class_1887;method_8183()Iofficial eLczj;e()I
-
getMinPower
public int getMinPower(int level) - Mappings:
Namespace Name Mixin selector named getMinPowerLnet/minecraft/enchantment/Enchantment;getMinPower(I)Iintermediary method_8182Lnet/minecraft/class_1887;method_8182(I)Iofficial bLczj;b(I)I
-
getMaxPower
public int getMaxPower(int level) - Mappings:
Namespace Name Mixin selector named getMaxPowerLnet/minecraft/enchantment/Enchantment;getMaxPower(I)Iintermediary method_20742Lnet/minecraft/class_1887;method_20742(I)Iofficial cLczj;c(I)I
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
method_60033
public static boolean method_60033(RegistryEntry<Enchantment> registryEntry, RegistryEntry<Enchantment> registryEntry2) - Mappings:
Namespace Name Mixin selector named method_60033Lnet/minecraft/enchantment/Enchantment;method_60033(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/registry/entry/RegistryEntry;)Zintermediary method_60033Lnet/minecraft/class_1887;method_60033(Lnet/minecraft/class_6880;Lnet/minecraft/class_6880;)Zofficial aLczj;a(Ljj;Ljj;)Z
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/enchantment/Enchantment;getName(Lnet/minecraft/registry/entry/RegistryEntry;I)Lnet/minecraft/text/Text;intermediary method_8179Lnet/minecraft/class_1887;method_8179(Lnet/minecraft/class_6880;I)Lnet/minecraft/class_2561;official aLczj;a(Ljj;I)Lwu;
-
isAcceptableItem
- Mappings:
Namespace Name Mixin selector named isAcceptableItemLnet/minecraft/enchantment/Enchantment;isAcceptableItem(Lnet/minecraft/item/ItemStack;)Zintermediary method_8192Lnet/minecraft/class_1887;method_8192(Lnet/minecraft/class_1799;)Zofficial cLczj;c(Lcua;)Z
-
method_60034
- Mappings:
Namespace Name Mixin selector named method_60034Lnet/minecraft/enchantment/Enchantment;method_60034(Lnet/minecraft/component/DataComponentType;)Ljava/util/List;intermediary method_60034Lnet/minecraft/class_1887;method_60034(Lnet/minecraft/class_9331;)Ljava/util/List;official aLczj;a(Lkm;)Ljava/util/List;
-
method_60014
public boolean method_60014(ServerWorld serverWorld, int int2, Entity entity, DamageSource damageSource) - Mappings:
Namespace Name Mixin selector named method_60014Lnet/minecraft/enchantment/Enchantment;method_60014(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)Zintermediary method_60014Lnet/minecraft/class_1887;method_60014(Lnet/minecraft/class_3218;ILnet/minecraft/class_1297;Lnet/minecraft/class_1282;)Zofficial aLczj;a(Laqk;ILbsd;Lbqw;)Z
-
method_60018
public void method_60018(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60018Lnet/minecraft/enchantment/Enchantment;method_60018(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60018Lnet/minecraft/class_1887;method_60018(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial aLczj;a(Laqk;ILcua;Lbsd;Lbqw;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60020
public void method_60020(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60020Lnet/minecraft/enchantment/Enchantment;method_60020(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60020Lnet/minecraft/class_1887;method_60020(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial aLczj;a(Laqk;ILcua;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60043
public void method_60043(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60043Lnet/minecraft/enchantment/Enchantment;method_60043(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60043Lnet/minecraft/class_1887;method_60043(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial bLczj;b(Laqk;ILcua;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60050
public void method_60050(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60050Lnet/minecraft/enchantment/Enchantment;method_60050(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60050Lnet/minecraft/class_1887;method_60050(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial cLczj;c(Laqk;ILcua;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60053
public void method_60053(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60053Lnet/minecraft/enchantment/Enchantment;method_60053(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60053Lnet/minecraft/class_1887;method_60053(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial dLczj;d(Laqk;ILcua;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60019
public void method_60019(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60019Lnet/minecraft/enchantment/Enchantment;method_60019(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60019Lnet/minecraft/class_1887;method_60019(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial aLczj;a(Laqk;ILcua;Lbsd;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60056
public void method_60056(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60056Lnet/minecraft/enchantment/Enchantment;method_60056(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60056Lnet/minecraft/class_1887;method_60056(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial eLczj;e(Laqk;ILcua;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60042
public void method_60042(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60042Lnet/minecraft/enchantment/Enchantment;method_60042(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60042Lnet/minecraft/class_1887;method_60042(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial bLczj;b(Laqk;ILcua;Lbsd;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60049
public void method_60049(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60049Lnet/minecraft/enchantment/Enchantment;method_60049(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60049Lnet/minecraft/class_1887;method_60049(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial cLczj;c(Laqk;ILcua;Lbsd;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60052
public void method_60052(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60052Lnet/minecraft/enchantment/Enchantment;method_60052(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60052Lnet/minecraft/class_1887;method_60052(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial dLczj;d(Laqk;ILcua;Lbsd;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60055
public void method_60055(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60055Lnet/minecraft/enchantment/Enchantment;method_60055(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60055Lnet/minecraft/class_1887;method_60055(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial eLczj;e(Laqk;ILcua;Lbsd;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60041
public void method_60041(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60041Lnet/minecraft/enchantment/Enchantment;method_60041(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60041Lnet/minecraft/class_1887;method_60041(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial bLczj;b(Laqk;ILcua;Lbsd;Lbqw;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60048
public void method_60048(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60048Lnet/minecraft/enchantment/Enchantment;method_60048(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60048Lnet/minecraft/class_1887;method_60048(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial cLczj;c(Laqk;ILcua;Lbsd;Lbqw;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60051
public void method_60051(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60051Lnet/minecraft/enchantment/Enchantment;method_60051(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60051Lnet/minecraft/class_1887;method_60051(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial dLczj;d(Laqk;ILcua;Lbsd;Lbqw;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60054
public void method_60054(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60054Lnet/minecraft/enchantment/Enchantment;method_60054(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60054Lnet/minecraft/class_1887;method_60054(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial eLczj;e(Laqk;ILcua;Lbsd;Lbqw;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60031
public static void method_60031(class_9710<class_9721> class_9710, ServerWorld serverWorld, int int2, class_9699 class_9699, Entity entity, DamageSource damageSource) - Mappings:
Namespace Name Mixin selector named method_60031Lnet/minecraft/enchantment/Enchantment;method_60031(Lnet/minecraft/class_9710;Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/class_9699;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_60031Lnet/minecraft/class_1887;method_60031(Lnet/minecraft/class_9710;Lnet/minecraft/class_3218;ILnet/minecraft/class_9699;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;)Vofficial aLczj;a(Lczr;Laqk;ILczi;Lbsd;Lbqw;)V
-
onTargetDamaged
public void onTargetDamaged(ServerWorld serverWorld, int int2, class_9699 class_9699, class_9703 class_9703, Entity entity, DamageSource damageSource) - Mappings:
Namespace Name Mixin selector named onTargetDamagedLnet/minecraft/enchantment/Enchantment;onTargetDamaged(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/class_9699;Lnet/minecraft/class_9703;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_8189Lnet/minecraft/class_1887;method_8189(Lnet/minecraft/class_3218;ILnet/minecraft/class_9699;Lnet/minecraft/class_9703;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;)Vofficial aLczj;a(Laqk;ILczi;Lczn;Lbsd;Lbqw;)V
-
method_60057
public void method_60057(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60057Lnet/minecraft/enchantment/Enchantment;method_60057(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60057Lnet/minecraft/class_1887;method_60057(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial fLczj;f(Laqk;ILcua;Lbsd;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60059
public void method_60059(ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60059Lnet/minecraft/enchantment/Enchantment;method_60059(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60059Lnet/minecraft/class_1887;method_60059(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial gLczj;g(Laqk;ILcua;Lbsd;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60058
public void method_60058(ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60058Lnet/minecraft/enchantment/Enchantment;method_60058(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60058Lnet/minecraft/class_1887;method_60058(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial fLczj;f(Laqk;ILcua;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60021
- Mappings:
Namespace Name Mixin selector named method_60021Lnet/minecraft/enchantment/Enchantment;method_60021(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/class_9699;Lnet/minecraft/entity/Entity;)Vintermediary method_60021Lnet/minecraft/class_1887;method_60021(Lnet/minecraft/class_3218;ILnet/minecraft/class_9699;Lnet/minecraft/class_1297;)Vofficial aLczj;a(Laqk;ILczi;Lbsd;)V
-
method_60044
- Mappings:
Namespace Name Mixin selector named method_60044Lnet/minecraft/enchantment/Enchantment;method_60044(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/class_9699;Lnet/minecraft/entity/Entity;)Vintermediary method_60044Lnet/minecraft/class_1887;method_60044(Lnet/minecraft/class_3218;ILnet/minecraft/class_9699;Lnet/minecraft/class_1297;)Vofficial bLczj;b(Laqk;ILczi;Lbsd;)V
-
method_60023
public void method_60023(ServerWorld serverWorld, int int2, class_9699 class_9699, Entity entity, Vec3d vec3d) - Mappings:
Namespace Name Mixin selector named method_60023Lnet/minecraft/enchantment/Enchantment;method_60023(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/class_9699;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_60023Lnet/minecraft/class_1887;method_60023(Lnet/minecraft/class_3218;ILnet/minecraft/class_9699;Lnet/minecraft/class_1297;Lnet/minecraft/class_243;)Vofficial aLczj;a(Laqk;ILczi;Lbsd;Levz;)V
-
method_60037
private void method_60037(DataComponentType<List<class_9698<class_9723>>> dataComponentType, ServerWorld serverWorld, int int2, ItemStack itemStack, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60037Lnet/minecraft/enchantment/Enchantment;method_60037(Lnet/minecraft/component/DataComponentType;Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60037Lnet/minecraft/class_1887;method_60037(Lnet/minecraft/class_9331;Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial aLczj;a(Lkm;Laqk;ILcua;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60036
private void method_60036(DataComponentType<List<class_9698<class_9723>>> dataComponentType, ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60036Lnet/minecraft/enchantment/Enchantment;method_60036(Lnet/minecraft/component/DataComponentType;Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60036Lnet/minecraft/class_1887;method_60036(Lnet/minecraft/class_9331;Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial aLczj;a(Lkm;Laqk;ILcua;Lbsd;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60035
private void method_60035(DataComponentType<List<class_9698<class_9723>>> dataComponentType, ServerWorld serverWorld, int int2, ItemStack itemStack, Entity entity, DamageSource damageSource, MutableFloat mutableFloat) - Mappings:
Namespace Name Mixin selector named method_60035Lnet/minecraft/enchantment/Enchantment;method_60035(Lnet/minecraft/component/DataComponentType;Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vintermediary method_60035Lnet/minecraft/class_1887;method_60035(Lnet/minecraft/class_9331;Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lorg/apache/commons/lang3/mutable/MutableFloat;)Vofficial aLczj;a(Lkm;Laqk;ILcua;Lbsd;Lbqw;Lorg/apache/commons/lang3/mutable/MutableFloat;)V
-
method_60040
public static LootContext method_60040(ServerWorld serverWorld, int int2, Entity entity, DamageSource damageSource) - Mappings:
Namespace Name Mixin selector named method_60040Lnet/minecraft/enchantment/Enchantment;method_60040(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/loot/context/LootContext;intermediary method_60040Lnet/minecraft/class_1887;method_60040(Lnet/minecraft/class_3218;ILnet/minecraft/class_1297;Lnet/minecraft/class_1282;)Lnet/minecraft/class_47;official bLczj;b(Laqk;ILbsd;Lbqw;)Leqo;
-
method_60017
- Mappings:
Namespace Name Mixin selector named method_60017Lnet/minecraft/enchantment/Enchantment;method_60017(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/item/ItemStack;)Lnet/minecraft/loot/context/LootContext;intermediary method_60017Lnet/minecraft/class_1887;method_60017(Lnet/minecraft/class_3218;ILnet/minecraft/class_1799;)Lnet/minecraft/class_47;official aLczj;a(Laqk;ILcua;)Leqo;
-
method_60016
private static LootContext method_60016(ServerWorld serverWorld, int int2, Entity entity, boolean bool) - Mappings:
Namespace Name Mixin selector named method_60016Lnet/minecraft/enchantment/Enchantment;method_60016(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/entity/Entity;Z)Lnet/minecraft/loot/context/LootContext;intermediary method_60016Lnet/minecraft/class_1887;method_60016(Lnet/minecraft/class_3218;ILnet/minecraft/class_1297;Z)Lnet/minecraft/class_47;official aLczj;a(Laqk;ILbsd;Z)Leqo;
-
method_60015
private static LootContext method_60015(ServerWorld serverWorld, int int2, Entity entity, Vec3d vec3d) - Mappings:
Namespace Name Mixin selector named method_60015Lnet/minecraft/enchantment/Enchantment;method_60015(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/loot/context/LootContext;intermediary method_60015Lnet/minecraft/class_1887;method_60015(Lnet/minecraft/class_3218;ILnet/minecraft/class_1297;Lnet/minecraft/class_243;)Lnet/minecraft/class_47;official aLczj;a(Laqk;ILbsd;Levz;)Leqo;
-
method_60032
private static <T> void method_60032(List<class_9698<T>> list, LootContext lootContext, Consumer<T> consumer) - Mappings:
Namespace Name Mixin selector named method_60032Lnet/minecraft/enchantment/Enchantment;method_60032(Ljava/util/List;Lnet/minecraft/loot/context/LootContext;Ljava/util/function/Consumer;)Vintermediary method_60032Lnet/minecraft/class_1887;method_60032(Ljava/util/List;Lnet/minecraft/class_47;Ljava/util/function/Consumer;)Vofficial aLczj;a(Ljava/util/List;Leqo;Ljava/util/function/Consumer;)V
-
method_60025
public void method_60025(ServerWorld serverWorld, int int2, class_9699 class_9699, LivingEntity livingEntity) - Mappings:
Namespace Name Mixin selector named method_60025Lnet/minecraft/enchantment/Enchantment;method_60025(Lnet/minecraft/server/world/ServerWorld;ILnet/minecraft/class_9699;Lnet/minecraft/entity/LivingEntity;)Vintermediary method_60025Lnet/minecraft/class_1887;method_60025(Lnet/minecraft/class_3218;ILnet/minecraft/class_9699;Lnet/minecraft/class_1309;)Vofficial aLczj;a(Laqk;ILczi;Lbsy;)V
-
method_60013
- Mappings:
Namespace Name Mixin selector named method_60013Lnet/minecraft/enchantment/Enchantment;method_60013(ILnet/minecraft/class_9699;Lnet/minecraft/entity/LivingEntity;)Vintermediary method_60013Lnet/minecraft/class_1887;method_60013(ILnet/minecraft/class_9699;Lnet/minecraft/class_1309;)Vofficial aLczj;a(ILczi;Lbsy;)V
-
method_60030
- Mappings:
Namespace Name Mixin selector named method_60030Lnet/minecraft/enchantment/Enchantment;method_60030(Lnet/minecraft/enchantment/Enchantment$Properties;)Lnet/minecraft/enchantment/Enchantment$class_9700;intermediary method_60030Lnet/minecraft/class_1887;method_60030(Lnet/minecraft/class_1887$class_9427;)Lnet/minecraft/class_1887$class_9700;official aLczj;a(Lczj$c;)Lczj$a;
-
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-
exclusiveSet
Returns the value of theexclusiveSetrecord component.- Returns:
- the value of the
exclusiveSetrecord component
-
effects
Returns the value of theeffectsrecord component.- Returns:
- the value of the
effectsrecord component
-