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 |
|---|---|
boolean |
test(IBlockState state,
BlockPos pos,
WorldServer world,
ItemStack item) |
getId, toStringpublic Instance(@Nullable
Block block,
@Nullable
java.util.Map<IProperty<?>,java.lang.Object> propertiesIn,
LocationPredicate locationIn,
ItemPredicate itemIn)
public boolean test(IBlockState state, BlockPos pos, WorldServer world, ItemStack item)