net.minecraft.advancements.critereon

public class ItemInteractWithBlockTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

CriterionTriggerInstance

bz$a
net.minecraft.advancements.critereon.ItemInteractWithBlockTrigger$TriggerInstance
net.minecraft.class_4711$class_4712
net.minecraft.advancement.criterion.ItemCriterion$Conditions
net.minecraft.src.C_213078_
net.minecraft.advancements.critereon.ItemInteractWithBlockTrigger$a

Field summary

Modifier and TypeField
private final LocationPredicate
a
location
field_24495
location
f_220058_
private final ItemPredicate
b
item
field_21579
item
f_220059_

Constructor summary

ModifierConstructor
public (ResourceLocation id, EntityPredicate$Composite entity, LocationPredicate location, ItemPredicate item)

Method summary

Modifier and TypeMethod
public static ItemInteractWithBlockTrigger$TriggerInstance
a(ch$a arg0, ca$a arg1)
itemUsedOnBlock(LocationPredicate$Builder arg0, ItemPredicate$Builder arg1)
method_27981(class_2090$class_2091 arg0, class_2073$class_2074 arg1)
create(LocationPredicate$Builder location, ItemPredicate$Builder item)
m_220065_(C_1762_ p_220066_, C_1530_ p_220067_)
public static ItemInteractWithBlockTrigger$TriggerInstance
b(ch$a arg0, ca$a arg1)
allayDropItemOnBlock(LocationPredicate$Builder arg0, ItemPredicate$Builder arg1)
method_43125(class_2090$class_2091 arg0, class_2073$class_2074 arg1)
createAllayDropItemOnBlock(LocationPredicate$Builder location, ItemPredicate$Builder item)
m_220075_(C_1762_ p_220076_, C_1530_ p_220077_)
public boolean
a(cvo arg0, agg arg1, gt arg2, cax arg3)
matches(BlockState arg0, ServerLevel arg1, BlockPos arg2, ItemStack arg3)
method_23892(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_1799 arg3)
test(BlockState state, ServerWorld world, BlockPos pos, ItemStack stack)
m_220070_(C_2064_ p_220072_, C_12_ p_220073_, C_4675_ p_220074_, C_1391_ arg3)
public com.google.gson.JsonObject
a(ct arg0)
serializeToJson(SerializationContext arg0)
method_807(class_5267 arg0)
toJson(AdvancementEntityPredicateSerializer arg0)
m_7683_(C_2205_ arg0)