public static class RightClickBlockWithItemTrigger.Instance extends CriterionInstance
Modifier and Type | Field and Description |
---|---|
private BlockPredicate |
field_226696_a_ |
private StatePropertiesPredicate |
field_226697_b_ |
private ItemPredicate |
field_226698_c_ |
Constructor and Description |
---|
Instance(ResourceLocation p_i225743_1_,
BlockPredicate p_i225743_2_,
StatePropertiesPredicate p_i225743_3_,
ItemPredicate p_i225743_4_) |
Modifier and Type | Method and Description |
---|---|
static RightClickBlockWithItemTrigger.Instance |
func_226699_a_(BlockPredicate.Builder p_226699_0_,
ItemPredicate.Builder p_226699_1_) |
boolean |
func_226700_a_(BlockState p_226700_1_,
ServerWorld p_226700_2_,
BlockPos p_226700_3_,
ItemStack p_226700_4_) |
com.google.gson.JsonElement |
serialize() |
getId, toString
private final BlockPredicate field_226696_a_
private final StatePropertiesPredicate field_226697_b_
private final ItemPredicate field_226698_c_
public Instance(ResourceLocation p_i225743_1_, BlockPredicate p_i225743_2_, StatePropertiesPredicate p_i225743_3_, ItemPredicate p_i225743_4_)
public static RightClickBlockWithItemTrigger.Instance func_226699_a_(BlockPredicate.Builder p_226699_0_, ItemPredicate.Builder p_226699_1_)
public boolean func_226700_a_(BlockState p_226700_1_, ServerWorld p_226700_2_, BlockPos p_226700_3_, ItemStack p_226700_4_)
public com.google.gson.JsonElement serialize()