net.minecraft.advancements.critereon

public class ItemUsedOnBlockTrigger$TriggerInstance

extends AbstractCriterionTriggerInstance

All mapped superinterfaces:

CriterionTriggerInstance

bp$a
net.minecraft.advancements.critereon.ItemUsedOnBlockTrigger$TriggerInstance
net.minecraft.class_4711$class_4712
net.minecraft.advancement.criterion.ItemUsedOnBlockCriterion$Conditions
net.minecraft.advancements.criterion.RightClickBlockWithItemTrigger$Instance
net.minecraft.server.v1_16_R1.CriterionTriggerInteractBlock$a

Field summary

Modifier and TypeField
private final LocationPredicate
a
location
field_24495
location
field_234851_a_
private final ItemPredicate
b
item
field_21579
item
field_226698_c_

Constructor summary

ModifierConstructor
public (EntityPredicate$Composite arg0, LocationPredicate location, ItemPredicate item)

Method summary

Modifier and TypeMethod
public static ItemUsedOnBlockTrigger$TriggerInstance
a(bu$a arg0, bo$a arg1)
itemUsedOnBlock(LocationPredicate$Builder arg0, ItemPredicate$Builder arg1)
method_27981(class_2090$class_2091 arg0, class_2073$class_2074 arg1)
create(LocationPredicate$Builder arg0, ItemPredicate$Builder arg1)
func_234852_a_(LocationPredicate$Builder arg0, ItemPredicate$Builder arg1)
public boolean
a(cfj arg0, zd arg1, fu arg2, bki 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)
func_226700_a_(BlockState arg0, ServerWorld arg1, BlockPos arg2, ItemStack arg3)
public com.google.gson.JsonObject
a(cg arg0)
serializeToJson(SerializationContext arg0)
method_807(class_5267 arg0)
toJson(AdvancementEntityPredicateSerializer arg0)
func_230240_a_(ConditionArraySerializer arg0)