public static class PlacedBlockTrigger.Instance extends AbstractCriterionInstance
Constructor and Description |
---|
Instance(Block block,
java.util.Map<IProperty<?>,java.lang.Object> propertiesIn,
LocationPredicate locationIn,
ItemPredicate itemIn) |
Modifier and Type | Method and Description |
---|---|
static PlacedBlockTrigger.Instance |
func_203934_a(Block p_203934_0_) |
com.google.gson.JsonElement |
serialize() |
boolean |
test(IBlockState state,
BlockPos pos,
WorldServer world,
ItemStack item) |
getId, toString
public Instance(@Nullable Block block, @Nullable java.util.Map<IProperty<?>,java.lang.Object> propertiesIn, LocationPredicate locationIn, ItemPredicate itemIn)
public static PlacedBlockTrigger.Instance func_203934_a(Block p_203934_0_)
public boolean test(IBlockState state, BlockPos pos, WorldServer world, ItemStack item)
public com.google.gson.JsonElement serialize()