public class RightClickBlockWithItemTrigger extends AbstractCriterionTrigger<RightClickBlockWithItemTrigger.Instance>
Modifier and Type | Class and Description |
---|---|
static class |
RightClickBlockWithItemTrigger.Instance |
ICriterionTrigger.Listener<T extends ICriterionInstance>
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
field_226692_a_ |
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) |
ResourceLocation |
getId() |
void |
test(ServerPlayerEntity p_226695_1_,
BlockPos p_226695_2_,
ItemStack p_226695_3_) |
addListener, func_227070_a_, func_227071_b_, removeAllListeners, removeListener
private final ResourceLocation field_226692_a_
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 test(ServerPlayerEntity p_226695_1_, BlockPos p_226695_2_, ItemStack p_226695_3_)