Class InventoryChangedCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<InventoryChangedCriterion.Conditions>
net.minecraft.advancement.criterion.InventoryChangedCriterion
- All Implemented Interfaces:
Criterion<InventoryChangedCriterion.Conditions>
public class InventoryChangedCriterion
extends AbstractCriterion<InventoryChangedCriterion.Conditions>
- Mappings:
Namespace Name named net/minecraft/advancement/criterion/InventoryChangedCriterion
intermediary net/minecraft/class_2066
official ce
-
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
<InventoryChangedCriterion.Conditions> void
trigger
(ServerPlayerEntity player, PlayerInventory inventory, ItemStack stack) private void
trigger
(ServerPlayerEntity player, PlayerInventory inventory, ItemStack stack, int full, int empty, int occupied) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
InventoryChangedCriterion
public InventoryChangedCriterion()
-
-
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/InventoryChangedCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/item/ItemStack;)V
intermediary method_8950
Lnet/minecraft/class_2066;method_8950(Lnet/minecraft/class_3222;Lnet/minecraft/class_1661;Lnet/minecraft/class_1799;)V
official a
Lce;a(Larg;Lcmx;Lcuq;)V
-
trigger
private void trigger(ServerPlayerEntity player, PlayerInventory inventory, ItemStack stack, int full, int empty, int occupied) - Mappings:
Namespace Name Mixin selector named trigger
Lnet/minecraft/advancement/criterion/InventoryChangedCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/item/ItemStack;III)V
intermediary method_24362
Lnet/minecraft/class_2066;method_24362(Lnet/minecraft/class_3222;Lnet/minecraft/class_1661;Lnet/minecraft/class_1799;III)V
official a
Lce;a(Larg;Lcmx;Lcuq;III)V
-