public class DoubleBlockProperties extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
DoubleBlockProperties.PropertyRetriever<S,T> |
static interface |
DoubleBlockProperties.PropertySource<S> |
static class |
DoubleBlockProperties.Type |
Constructor and Description |
---|
DoubleBlockProperties() |
Modifier and Type | Method and Description |
---|---|
static <S extends BlockEntity> |
toPropertySource(BlockEntityType<S> blockEntityType,
Function<BlockState,DoubleBlockProperties.Type> typeMapper,
Function<BlockState,Direction> function,
DirectionProperty directionProperty,
BlockState state,
WorldAccess world,
BlockPos pos,
BiPredicate<WorldAccess,BlockPos> fallbackTester) |
public static <S extends BlockEntity> DoubleBlockProperties.PropertySource<S> toPropertySource(BlockEntityType<S> blockEntityType, Function<BlockState,DoubleBlockProperties.Type> typeMapper, Function<BlockState,Direction> function, DirectionProperty directionProperty, BlockState state, WorldAccess world, BlockPos pos, BiPredicate<WorldAccess,BlockPos> fallbackTester)