public class InventoryChangedCriterion extends AbstractCriterion<InventoryChangedCriterion.Conditions>
Modifier and Type | Class and Description |
---|---|
static class |
InventoryChangedCriterion.Conditions |
Criterion.ConditionsContainer<T extends CriterionConditions>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
ID |
Constructor and Description |
---|
InventoryChangedCriterion() |
Modifier and Type | Method and Description |
---|---|
InventoryChangedCriterion.Conditions |
conditionsFromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext) |
Identifier |
getId() |
private void |
method_24362(ServerPlayerEntity serverPlayerEntity,
PlayerInventory playerInventory,
ItemStack itemStack,
int int2,
int int3,
int int4) |
void |
trigger(ServerPlayerEntity serverPlayerEntity,
PlayerInventory playerInventory,
ItemStack itemStack) |
beginTrackingCondition, endTracking, endTrackingCondition, grant, test
private static final Identifier ID
public Identifier getId()
public InventoryChangedCriterion.Conditions conditionsFromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
public void trigger(ServerPlayerEntity serverPlayerEntity, PlayerInventory playerInventory, ItemStack itemStack)
private void method_24362(ServerPlayerEntity serverPlayerEntity, PlayerInventory playerInventory, ItemStack itemStack, int int2, int int3, int int4)