public class RightClickBlockWithItemTrigger extends AbstractCriterionTrigger<RightClickBlockWithItemTrigger.Instance>
Modifier and Type | Class and Description |
---|---|
static class |
RightClickBlockWithItemTrigger.Instance |
ICriterionTrigger.Listener<T extends ICriterionInstance>
Constructor and Description |
---|
RightClickBlockWithItemTrigger(ResourceLocation p_i225742_1_) |
Modifier and Type | Method and Description |
---|---|
RightClickBlockWithItemTrigger.Instance |
deserializeInstance(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
void |
func_226695_a_(ServerPlayerEntity p_226695_1_,
BlockPos p_226695_2_,
ItemStack p_226695_3_) |
ResourceLocation |
getId() |
addListener, func_227070_a_, func_227071_b_, removeAllListeners, removeListener
public RightClickBlockWithItemTrigger(ResourceLocation p_i225742_1_)
public ResourceLocation getId()
public RightClickBlockWithItemTrigger.Instance deserializeInstance(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public void func_226695_a_(ServerPlayerEntity p_226695_1_, BlockPos p_226695_2_, ItemStack p_226695_3_)