net.minecraft.advancements.critereon

public class ItemUsedOnLocationTrigger

extends SimpleCriterionTrigger<ItemUsedOnLocationTrigger$TriggerInstance>

All mapped superinterfaces:

CriterionTrigger

ca
net.minecraft.advancements.critereon.ItemUsedOnLocationTrigger
net.minecraft.class_4711
net.minecraft.advancement.criterion.ItemCriterion
net.minecraft.src.C_285544_
net.minecraft.advancements.critereon.ItemUsedOnLocationTrigger

Field summary

Modifier and TypeField
final ResourceLocation
a
id
field_21576
id
f_285601_

Constructor summary

ModifierConstructor
public (ResourceLocation id)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
getId()
method_794()
getId()
m_7295_()
public ItemUsedOnLocationTrigger$TriggerInstance
a(com.google.gson.JsonObject arg0, ba arg1, be arg2)
createInstance(com.google.gson.JsonObject arg0, ContextAwarePredicate arg1, DeserializationContext arg2)
method_23890(com.google.gson.JsonObject arg0, class_5258 arg1, class_5257 arg2)
conditionsFromJson(com.google.gson.JsonObject arg0, LootContextPredicate arg1, AdvancementEntityPredicateDeserializer arg2)
m_7214_(com.google.gson.JsonObject p_286748_, C_285556_ p_286322_, C_723_ arg2)
public void
a(aig arg0, gu arg1, cfz arg2)
trigger(ServerPlayer arg0, BlockPos arg1, ItemStack arg2)
method_23889(class_3222 arg0, class_2338 arg1, class_1799 arg2)
trigger(ServerPlayerEntity player, BlockPos pos, ItemStack stack)
m_285767_(C_13_ p_286625_, C_4675_ p_286620_, C_1391_ arg2)