public class BlockStateInput extends java.lang.Object implements java.util.function.Predicate<CachedBlockInfo>
Constructor and Description |
---|
BlockStateInput(BlockState stateIn,
java.util.Set<IProperty<?>> propertiesIn,
CompoundNBT nbtIn) |
Modifier and Type | Method and Description |
---|---|
BlockState |
getState() |
boolean |
place(ServerWorld worldIn,
BlockPos pos,
int flags) |
boolean |
test(CachedBlockInfo p_test_1_) |
public BlockStateInput(BlockState stateIn, java.util.Set<IProperty<?>> propertiesIn, @Nullable CompoundNBT nbtIn)
public BlockState getState()
public boolean test(CachedBlockInfo p_test_1_)
test
in interface java.util.function.Predicate<CachedBlockInfo>
public boolean place(ServerWorld worldIn, BlockPos pos, int flags)