Package | Description |
---|---|
net.minecraft.advancements.criterion | |
net.minecraft.data | |
net.minecraft.world.storage.loot.conditions |
Modifier and Type | Field and Description |
---|---|
static ItemPredicate |
ItemPredicate.ANY |
private ItemPredicate |
EntityEquipmentPredicate.chest |
private ItemPredicate |
EntityEquipmentPredicate.feet |
private ItemPredicate |
BeeNestDestroyedTrigger.Instance.field_226226_b_ |
private ItemPredicate |
RightClickBlockWithItemTrigger.Instance.field_226698_c_ |
private ItemPredicate |
EntityEquipmentPredicate.head |
private ItemPredicate |
EnchantedItemTrigger.Instance.item |
private ItemPredicate |
PlacedBlockTrigger.Instance.item |
private ItemPredicate |
UsedTotemTrigger.Instance.item |
private ItemPredicate |
ItemDurabilityTrigger.Instance.item |
private ItemPredicate |
VillagerTradeTrigger.Instance.item |
private ItemPredicate |
ConsumeItemTrigger.Instance.item |
private ItemPredicate |
FishingRodHookedTrigger.Instance.item |
private ItemPredicate |
FilledBucketTrigger.Instance.item |
private ItemPredicate |
ShotCrossbowTrigger.Instance.itemPredicate |
private ItemPredicate[] |
InventoryChangeTrigger.Instance.items |
private ItemPredicate |
EntityEquipmentPredicate.legs |
private ItemPredicate |
EntityEquipmentPredicate.mainHand |
private ItemPredicate |
EntityEquipmentPredicate.offHand |
private ItemPredicate |
FishingRodHookedTrigger.Instance.rod |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>> |
ItemPredicate.custom_predicates |
private static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>> |
ItemPredicate.unmod_predicates |
Modifier and Type | Method and Description |
---|---|
ItemPredicate |
ItemPredicate.Builder.build() |
static ItemPredicate |
ItemPredicate.deserialize(com.google.gson.JsonElement element) |
static ItemPredicate[] |
ItemPredicate.deserializeArray(com.google.gson.JsonElement element) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<ResourceLocation,java.util.function.Function<com.google.gson.JsonObject,ItemPredicate>> |
ItemPredicate.getPredicates() |
Modifier and Type | Method and Description |
---|---|
static FishingRodHookedTrigger.Instance |
FishingRodHookedTrigger.Instance.create(ItemPredicate p_204829_0_,
EntityPredicate p_204829_1_,
ItemPredicate p_204829_2_) |
static FilledBucketTrigger.Instance |
FilledBucketTrigger.Instance.forItem(ItemPredicate p_204827_0_) |
static ItemDurabilityTrigger.Instance |
ItemDurabilityTrigger.Instance.forItemDamage(ItemPredicate p_211182_0_,
MinMaxBounds.IntBound p_211182_1_) |
static InventoryChangeTrigger.Instance |
InventoryChangeTrigger.Instance.forItems(ItemPredicate... p_203923_0_) |
Modifier and Type | Method and Description |
---|---|
static void |
ItemPredicate.register(ResourceLocation name,
java.util.function.Function<com.google.gson.JsonObject,ItemPredicate> deserializer) |
Modifier and Type | Method and Description |
---|---|
protected InventoryChangeTrigger.Instance |
RecipeProvider.hasItem(ItemPredicate... predicates) |
Modifier and Type | Field and Description |
---|---|
private ItemPredicate |
MatchTool.predicate |
Constructor and Description |
---|
MatchTool(ItemPredicate predicate) |