Class ConsumeItemCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<ConsumeItemCriterion.Conditions>
net.minecraft.advancement.criterion.ConsumeItemCriterion
- All Implemented Interfaces:
Criterion<ConsumeItemCriterion.Conditions>
- Mappings:
Namespace Name named net/minecraft/advancement/criterion/ConsumeItemCriterion
intermediary net/minecraft/class_2010
official be
-
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
<ConsumeItemCriterion.Conditions> void
trigger
(ServerPlayerEntity player, ItemStack stack) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
ConsumeItemCriterion
public ConsumeItemCriterion()
-
-
Method Details
-
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/ConsumeItemCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;)V
intermediary method_8821
Lnet/minecraft/class_2010;method_8821(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;)V
official a
Lbe;a(Larg;Lcuq;)V
-