Class EnchantedItemCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<EnchantedItemCriterion.Conditions>
net.minecraft.advancement.criterion.EnchantedItemCriterion
- All Implemented Interfaces:
Criterion<EnchantedItemCriterion.Conditions>
- Mappings:
Namespace Name official bj
intermediary net/minecraft/class_2030
named net/minecraft/advancement/criterion/EnchantedItemCriterion
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<EnchantedItemCriterion.Conditions>
void
trigger
(ServerPlayerEntity player, ItemStack stack, int levels) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
EnchantedItemCriterion
public EnchantedItemCriterion()
-
-
Method Details
-
getConditionsCodec
- Mappings:
Namespace Name Mixin selector official a
Lap;a()Lcom/mojang/serialization/Codec;
intermediary method_54937
Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
named getConditionsCodec
Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Lbj;a(Lane;Lcmy;I)V
intermediary method_8870
Lnet/minecraft/class_2030;method_8870(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;I)V
named trigger
Lnet/minecraft/advancement/criterion/EnchantedItemCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;I)V
-