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 official bn
intermediary net/minecraft/class_2066
named net/minecraft/advancement/criterion/InventoryChangedCriterion
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InventoryChangedCriterion.Conditions
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Field Summary
Fields Modifier and Type Field Description private static Identifier
ID
-
Constructor Summary
Constructors Constructor Description InventoryChangedCriterion()
-
Method Summary
Modifier and Type Method Description InventoryChangedCriterion.Conditions
conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)
Identifier
getId()
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, conditionsFromJson, endTracking, endTrackingCondition, test
-
Field Details
-
ID
- Mappings:
Namespace Name Mixin selector official a
Lbn;a:Lwb;
intermediary field_9625
Lnet/minecraft/class_2066;field_9625:Lnet/minecraft/class_2960;
named ID
Lnet/minecraft/advancement/criterion/InventoryChangedCriterion;ID:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
InventoryChangedCriterion
public InventoryChangedCriterion()
-
-
Method Details
-
getId
- Mappings:
Namespace Name Mixin selector official a
Laf;a()Lwb;
intermediary method_794
Lnet/minecraft/class_179;method_794()Lnet/minecraft/class_2960;
named getId
Lnet/minecraft/advancement/criterion/Criterion;getId()Lnet/minecraft/util/Identifier;
-
conditionsFromJson
public InventoryChangedCriterion.Conditions conditionsFromJson(JsonObject jsonObject, EntityPredicate.Extended extended, AdvancementEntityPredicateDeserializer advancementEntityPredicateDeserializer)- Specified by:
conditionsFromJson
in classAbstractCriterion<InventoryChangedCriterion.Conditions>
- Mappings:
Namespace Name Mixin selector official a
Lbn;a(Lcom/google/gson/JsonObject;Lbg$b;Lax;)Lbn$a;
intermediary method_8952
Lnet/minecraft/class_2066;method_8952(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_5257;)Lnet/minecraft/class_2066$class_2068;
named conditionsFromJson
Lnet/minecraft/advancement/criterion/InventoryChangedCriterion;conditionsFromJson(Lcom/google/gson/JsonObject;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/AdvancementEntityPredicateDeserializer;)Lnet/minecraft/advancement/criterion/InventoryChangedCriterion$Conditions;
-
trigger
- Mappings:
Namespace Name Mixin selector official a
Lbn;a(Laaw;Lbhk;Lbnv;)V
intermediary method_8950
Lnet/minecraft/class_2066;method_8950(Lnet/minecraft/class_3222;Lnet/minecraft/class_1661;Lnet/minecraft/class_1799;)V
named trigger
Lnet/minecraft/advancement/criterion/InventoryChangedCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/item/ItemStack;)V
-
trigger
private void trigger(ServerPlayerEntity player, PlayerInventory inventory, ItemStack stack, int full, int empty, int occupied)- Mappings:
Namespace Name Mixin selector official a
Lbn;a(Laaw;Lbhk;Lbnv;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
named trigger
Lnet/minecraft/advancement/criterion/InventoryChangedCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/item/ItemStack;III)V
-