net.minecraft.advancements.critereon

public class ItemUsedOnBlockTrigger

extends SimpleCriterionTrigger<ItemUsedOnBlockTrigger$TriggerInstance>

All mapped superinterfaces:

CriterionTrigger

bk
net.minecraft.advancements.critereon.ItemUsedOnBlockTrigger
net.minecraft.class_4711
net.minecraft.advancement.criterion.BlockUsedCriterion
net.minecraft.advancements.criterion.RightClickBlockWithItemTrigger
net.minecraft.server.v1_15_R1.CriterionTriggerInteractBlock

Field summary

Modifier and TypeField
private final ResourceLocation
a
id
field_21576
id
field_226692_a_

Constructor summary

ModifierConstructor
public (ResourceLocation id)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getId()
method_794()
getId()
func_192163_a()
public ItemUsedOnBlockTrigger$TriggerInstance
b(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
createInstance(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
method_23890(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
conditionsFromJson(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
func_192166_a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
public void
a(xe arg0, fk arg1, ben arg2)
trigger(ServerPlayer arg0, BlockPos arg1, ItemStack arg2)
method_23889(class_3222 arg0, class_2338 arg1, class_1799 arg2)
test(ServerPlayerEntity player, BlockPos pos, ItemStack stack)
func_226695_a_(ServerPlayerEntity arg0, BlockPos arg1, ItemStack arg2)