Class ItemDurabilityChangedCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<ItemDurabilityChangedCriterion.Conditions>
net.minecraft.advancement.criterion.ItemDurabilityChangedCriterion
- All Implemented Interfaces:
Criterion<ItemDurabilityChangedCriterion.Conditions>
public class ItemDurabilityChangedCriterion
extends AbstractCriterion<ItemDurabilityChangedCriterion.Conditions>
- Mappings:
Namespace Name named net/minecraft/advancement/criterion/ItemDurabilityChangedCriterion
intermediary net/minecraft/class_2069
official ck
-
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
<ItemDurabilityChangedCriterion.Conditions> void
trigger
(ServerPlayerEntity player, ItemStack stack, int durability) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
ItemDurabilityChangedCriterion
public ItemDurabilityChangedCriterion()
-
-
Method Details
-
getConditionsCodec
public com.mojang.serialization.Codec<ItemDurabilityChangedCriterion.Conditions> getConditionsCodec()- Mappings:
Namespace Name Mixin selector named getConditionsCodec
Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
intermediary method_54937
Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
official a
Lap;a()Lcom/mojang/serialization/Codec;
-
trigger
- Mappings:
Namespace Name Mixin selector named trigger
Lnet/minecraft/advancement/criterion/ItemDurabilityChangedCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;I)V
intermediary method_8960
Lnet/minecraft/class_2069;method_8960(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;I)V
official a
Lck;a(Larg;Lcuq;I)V
-