Modifier and Type | Field and Description |
---|---|
private static java.util.Map<IBlockReader,java.util.List<RedstoneTorchBlock.Toggle>> |
RedstoneTorchBlock.BURNED_TORCHES |
Modifier and Type | Method and Description |
---|---|
static boolean |
BigTree.canBigTreeSpawnAt(BlockState blockUnder,
IBlockReader worldIn,
BlockPos pos,
int xOffset,
int zOffset) |
Modifier and Type | Method and Description |
---|---|
IBlockReader |
ClientChunkProvider.getWorld() |
Modifier and Type | Field and Description |
---|---|
private IBlockReader |
ActiveRenderInfo.world |
Modifier and Type | Method and Description |
---|---|
private float |
FluidBlockRenderer.getFluidHeight(IBlockReader reader,
BlockPos pos,
Fluid fluidIn) |
private static boolean |
FluidBlockRenderer.isAdjacentFluidSameAs(IBlockReader worldIn,
BlockPos pos,
Direction side,
IFluidState state) |
private static boolean |
FluidBlockRenderer.isNeighbourSideCovered(IBlockReader reader,
BlockPos pos,
Direction face,
float heightIn) |
void |
WorldRenderer.notifyBlockUpdate(IBlockReader worldIn,
BlockPos pos,
BlockState oldState,
BlockState newState,
int flags) |
void |
ActiveRenderInfo.update(IBlockReader worldIn,
Entity renderViewEntity,
boolean thirdPersonIn,
boolean thirdPersonReverseIn,
float partialTicks) |
Modifier and Type | Class and Description |
---|---|
class |
ChunkRenderCache |
Modifier and Type | Class and Description |
---|---|
class |
ClientWorld |
Modifier and Type | Method and Description |
---|---|
int |
SpreadPlayersCommand.Position.getHighestNonAirBlock(IBlockReader worldIn) |
boolean |
SpreadPlayersCommand.Position.isLocationSafe(IBlockReader worldIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
Entity.canExplosionDestroyBlock(Explosion explosionIn,
IBlockReader worldIn,
BlockPos pos,
BlockState blockStateIn,
float p_174816_5_) |
float |
Entity.getExplosionResistance(Explosion explosionIn,
IBlockReader worldIn,
BlockPos pos,
BlockState blockStateIn,
IFluidState p_180428_5_,
float p_180428_6_) |
Modifier and Type | Field and Description |
---|---|
private IBlockReader |
OcelotAttackGoal.world |
Modifier and Type | Method and Description |
---|---|
private BlockPos |
BreakBlockGoal.findTarget(BlockPos pos,
IBlockReader worldIn) |
protected BlockPos |
PanicGoal.getRandPos(IBlockReader worldIn,
Entity entityIn,
int horizontalRange,
int verticalRange) |
Modifier and Type | Method and Description |
---|---|
boolean |
TNTMinecartEntity.canExplosionDestroyBlock(Explosion explosionIn,
IBlockReader worldIn,
BlockPos pos,
BlockState blockStateIn,
float p_174816_5_) |
float |
TNTMinecartEntity.getExplosionResistance(Explosion explosionIn,
IBlockReader worldIn,
BlockPos pos,
BlockState blockStateIn,
IFluidState p_180428_5_,
float p_180428_6_) |
Modifier and Type | Method and Description |
---|---|
protected PathNodeType |
RavagerEntity.Processor.func_215744_a(IBlockReader p_215744_1_,
boolean p_215744_2_,
boolean p_215744_3_,
BlockPos p_215744_4_,
PathNodeType p_215744_5_) |
Modifier and Type | Method and Description |
---|---|
float |
WitherSkullEntity.getExplosionResistance(Explosion explosionIn,
IBlockReader worldIn,
BlockPos pos,
BlockState blockStateIn,
IFluidState p_180428_5_,
float p_180428_6_) |
Modifier and Type | Method and Description |
---|---|
default boolean |
IFluidState.canDisplace(IBlockReader p_215677_1_,
BlockPos p_215677_2_,
Fluid p_215677_3_,
Direction p_215677_4_) |
protected abstract boolean |
Fluid.canDisplace(IFluidState p_215665_1_,
IBlockReader p_215665_2_,
BlockPos p_215665_3_,
Fluid p_215665_4_,
Direction p_215665_5_) |
boolean |
EmptyFluid.canDisplace(IFluidState p_215665_1_,
IBlockReader p_215665_2_,
BlockPos p_215665_3_,
Fluid p_215665_4_,
Direction p_215665_5_) |
boolean |
WaterFluid.canDisplace(IFluidState p_215665_1_,
IBlockReader p_215665_2_,
BlockPos p_215665_3_,
Fluid p_215665_4_,
Direction p_215665_5_) |
boolean |
LavaFluid.canDisplace(IFluidState p_215665_1_,
IBlockReader p_215665_2_,
BlockPos p_215665_3_,
Fluid p_215665_4_,
Direction p_215665_5_) |
protected boolean |
FlowingFluid.canFlow(IBlockReader worldIn,
BlockPos fromPos,
BlockState fromBlockState,
Direction direction,
BlockPos toPos,
BlockState toBlockState,
IFluidState toFluidState,
Fluid fluidIn) |
protected boolean |
FlowingFluid.causesDownwardCurrent(IBlockReader worldIn,
BlockPos neighborPos,
Direction side) |
private boolean |
FlowingFluid.doesSideHaveHoles(Direction p_212751_1_,
IBlockReader p_212751_2_,
BlockPos p_212751_3_,
BlockState p_212751_4_,
BlockPos p_212751_5_,
BlockState p_212751_6_) |
private boolean |
FlowingFluid.func_211759_a(IBlockReader p_211759_1_,
Fluid p_211759_2_,
BlockPos p_211759_3_,
BlockState p_211759_4_,
BlockPos p_211759_5_,
BlockState p_211759_6_) |
private boolean |
FlowingFluid.func_211760_a(IBlockReader p_211760_1_,
Fluid p_211760_2_,
BlockPos p_211760_3_,
BlockState p_211760_4_,
Direction p_211760_5_,
BlockPos p_211760_6_,
BlockState p_211760_7_,
IFluidState p_211760_8_) |
abstract VoxelShape |
Fluid.func_215664_b(IFluidState p_215664_1_,
IBlockReader p_215664_2_,
BlockPos p_215664_3_) |
VoxelShape |
EmptyFluid.func_215664_b(IFluidState p_215664_1_,
IBlockReader p_215664_2_,
BlockPos p_215664_3_) |
VoxelShape |
FlowingFluid.func_215664_b(IFluidState p_215664_1_,
IBlockReader p_215664_2_,
BlockPos p_215664_3_) |
default float |
IFluidState.getActualHeight(IBlockReader p_215679_1_,
BlockPos p_215679_2_) |
abstract float |
Fluid.getActualHeight(IFluidState p_215662_1_,
IBlockReader p_215662_2_,
BlockPos p_215662_3_) |
float |
EmptyFluid.getActualHeight(IFluidState p_215662_1_,
IBlockReader p_215662_2_,
BlockPos p_215662_3_) |
float |
FlowingFluid.getActualHeight(IFluidState p_215662_1_,
IBlockReader p_215662_2_,
BlockPos p_215662_3_) |
default Vec3d |
IFluidState.getFlow(IBlockReader p_215673_1_,
BlockPos p_215673_2_) |
protected abstract Vec3d |
Fluid.getFlow(IBlockReader p_215663_1_,
BlockPos p_215663_2_,
IFluidState p_215663_3_) |
Vec3d |
EmptyFluid.getFlow(IBlockReader p_215663_1_,
BlockPos p_215663_2_,
IFluidState p_215663_3_) |
Vec3d |
FlowingFluid.getFlow(IBlockReader p_215663_1_,
BlockPos p_215663_2_,
IFluidState p_215663_3_) |
default VoxelShape |
IFluidState.getShape(IBlockReader p_215676_1_,
BlockPos p_215676_2_) |
private boolean |
FlowingFluid.isBlocked(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
private static boolean |
FlowingFluid.isFullHeight(IFluidState p_215666_0_,
IBlockReader p_215666_1_,
BlockPos p_215666_2_) |
default boolean |
IFluidState.shouldRenderSides(IBlockReader worldIn,
BlockPos pos) |
Constructor and Description |
---|
SChangeBlockPacket(IBlockReader p_i48982_1_,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
static PathNodeType |
WalkNodeProcessor.checkNeighborBlocks(IBlockReader p_193578_0_,
int blockaccessIn,
int x,
int y,
PathNodeType z) |
protected PathNodeType |
WalkAndSwimNodeProcessor.func_215744_a(IBlockReader p_215744_1_,
boolean p_215744_2_,
boolean p_215744_3_,
BlockPos p_215744_4_,
PathNodeType p_215744_5_) |
protected PathNodeType |
WalkNodeProcessor.func_215744_a(IBlockReader p_215744_1_,
boolean p_215744_2_,
boolean p_215744_3_,
BlockPos p_215744_4_,
PathNodeType p_215744_5_) |
static PathNodeType |
WalkNodeProcessor.func_227480_b_(IBlockReader p_227480_0_,
int p_227480_1_,
int p_227480_2_,
int p_227480_3_) |
static double |
WalkNodeProcessor.getGroundY(IBlockReader p_197682_0_,
BlockPos pos) |
PathNodeType |
SwimNodeProcessor.getPathNodeType(IBlockReader blockaccessIn,
int x,
int y,
int z) |
abstract PathNodeType |
NodeProcessor.getPathNodeType(IBlockReader blockaccessIn,
int x,
int y,
int z) |
PathNodeType |
WalkAndSwimNodeProcessor.getPathNodeType(IBlockReader blockaccessIn,
int x,
int y,
int z) |
PathNodeType |
WalkNodeProcessor.getPathNodeType(IBlockReader blockaccessIn,
int x,
int y,
int z) |
PathNodeType |
FlyingNodeProcessor.getPathNodeType(IBlockReader blockaccessIn,
int x,
int y,
int z) |
PathNodeType |
WalkNodeProcessor.getPathNodeType(IBlockReader p_193577_1_,
int x,
int y,
int z,
int xSize,
int ySize,
int zSize,
boolean canOpenDoorsIn,
boolean canEnterDoorsIn,
java.util.EnumSet<PathNodeType> nodeTypeEnum,
PathNodeType nodeType,
BlockPos pos) |
PathNodeType |
SwimNodeProcessor.getPathNodeType(IBlockReader blockaccessIn,
int x,
int y,
int z,
MobEntity entitylivingIn,
int xSize,
int ySize,
int zSize,
boolean canBreakDoorsIn,
boolean canEnterDoorsIn) |
abstract PathNodeType |
NodeProcessor.getPathNodeType(IBlockReader blockaccessIn,
int x,
int y,
int z,
MobEntity entitylivingIn,
int xSize,
int ySize,
int zSize,
boolean canBreakDoorsIn,
boolean canEnterDoorsIn) |
PathNodeType |
WalkNodeProcessor.getPathNodeType(IBlockReader blockaccessIn,
int x,
int y,
int z,
MobEntity entitylivingIn,
int xSize,
int ySize,
int zSize,
boolean canBreakDoorsIn,
boolean canEnterDoorsIn) |
PathNodeType |
FlyingNodeProcessor.getPathNodeType(IBlockReader blockaccessIn,
int x,
int y,
int z,
MobEntity entitylivingIn,
int xSize,
int ySize,
int zSize,
boolean canBreakDoorsIn,
boolean canEnterDoorsIn) |
protected static PathNodeType |
WalkNodeProcessor.getPathNodeTypeRaw(IBlockReader p_189553_0_,
int blockaccessIn,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
private static BlockPos |
EndGatewayTileEntity.findHighestBlock(IBlockReader worldIn,
BlockPos posIn,
int radius,
boolean allowBedrock) |
T |
TileEntityType.func_226986_a_(IBlockReader blockReader,
BlockPos pos) |
VoxelShape |
PistonTileEntity.getCollisionShape(IBlockReader p_195508_1_,
BlockPos p_195508_2_) |
static int |
ChestTileEntity.getPlayersUsing(IBlockReader reader,
BlockPos posIn) |
static void |
LockableLootTileEntity.setLootTable(IBlockReader reader,
java.util.Random rand,
BlockPos p_195479_2_,
ResourceLocation lootTableIn) |
Modifier and Type | Method and Description |
---|---|
VoxelShape |
RayTraceContext.BlockMode.get(BlockState p_get_1_,
IBlockReader p_get_2_,
BlockPos p_get_3_,
ISelectionContext p_get_4_) |
VoxelShape |
RayTraceContext.IVoxelProvider.get(BlockState p_get_1_,
IBlockReader p_get_2_,
BlockPos p_get_3_,
ISelectionContext p_get_4_) |
VoxelShape |
RayTraceContext.getBlockShape(BlockState p_222251_1_,
IBlockReader p_222251_2_,
BlockPos p_222251_3_) |
VoxelShape |
RayTraceContext.getFluidShape(IFluidState p_222252_1_,
IBlockReader p_222252_2_,
BlockPos p_222252_3_) |
Modifier and Type | Interface and Description |
---|---|
interface |
ICollisionReader |
interface |
ILightReader |
interface |
IWorld |
interface |
IWorldReader |
Modifier and Type | Class and Description |
---|---|
class |
EmptyBlockReader |
class |
Region |
class |
World |
Modifier and Type | Method and Description |
---|---|
IBlockReader |
ICollisionReader.getBlockReader(int chunkX,
int chunkZ) |
IBlockReader |
World.getBlockReader(int chunkX,
int chunkZ) |
IBlockReader |
Region.getBlockReader(int chunkX,
int chunkZ) |
default IBlockReader |
IWorldReader.getBlockReader(int chunkX,
int chunkZ) |
Modifier and Type | Interface and Description |
---|---|
interface |
IChunk |
Modifier and Type | Class and Description |
---|---|
class |
Chunk |
class |
ChunkPrimer |
class |
ChunkPrimerWrapper |
class |
EmptyChunk |
Modifier and Type | Method and Description |
---|---|
IBlockReader |
IChunkLightProvider.getChunkForLight(int chunkX,
int chunkZ) |
IBlockReader |
AbstractChunkProvider.getChunkForLight(int chunkX,
int chunkZ) |
IBlockReader |
IChunkLightProvider.getWorld() |
Modifier and Type | Class and Description |
---|---|
class |
WorldGenRegion |
Modifier and Type | Method and Description |
---|---|
private boolean |
IcebergFeature.isAirBellow(IBlockReader worldIn,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
static BlockState |
StructurePiece.correctFacing(IBlockReader worldIn,
BlockPos posIn,
BlockState blockStateIn) |
private int |
OceanRuinPieces.Piece.func_204035_a(BlockPos templatePos,
IBlockReader blockReaderIn,
BlockPos templateTransformedPos) |
protected BlockState |
StructurePiece.getBlockStateFromPos(IBlockReader worldIn,
int x,
int y,
int z,
MutableBoundingBox boundingboxIn) |
protected boolean |
StructurePiece.isLiquidInStructureBoundingBox(IBlockReader worldIn,
MutableBoundingBox boundingboxIn) |
protected boolean |
MineshaftPieces.Piece.isSupportingBox(IBlockReader blockReaderIn,
MutableBoundingBox boundsIn,
int xStartIn,
int xEndIn,
int p_189918_5_,
int zIn) |
Modifier and Type | Field and Description |
---|---|
private IBlockReader[] |
LightEngine.recentChunks |
Modifier and Type | Method and Description |
---|---|
private IBlockReader |
LightEngine.getChunkReader(int chunkX,
int chunkZ) |
Modifier and Type | Method and Description |
---|---|
static int |
LightEngine.func_215613_a(IBlockReader p_215613_0_,
BlockState p_215613_1_,
BlockPos p_215613_2_,
BlockState p_215613_3_,
BlockPos p_215613_4_,
Direction p_215613_5_,
int p_215613_6_) |
Modifier and Type | Class and Description |
---|---|
class |
ServerMultiWorld |
class |
ServerWorld |
Modifier and Type | Method and Description |
---|---|
IBlockReader |
ServerChunkProvider.getChunkForLight(int chunkX,
int chunkZ) |
Modifier and Type | Method and Description |
---|---|
static boolean |
WorldEntitySpawner.isSpawnableSpace(IBlockReader worldIn,
BlockPos pos,
BlockState state,
IFluidState fluidStateIn) |
Modifier and Type | Method and Description |
---|---|
static MapBanner |
MapBanner.fromWorld(IBlockReader p_204301_0_,
BlockPos p_204301_1_) |
IPacket<?> |
MapData.getMapPacket(ItemStack mapStack,
IBlockReader worldIn,
PlayerEntity player) |
void |
MapData.removeStaleBanners(IBlockReader p_204268_1_,
int p_204268_2_,
int p_204268_3_) |
Modifier and Type | Class and Description |
---|---|
private static class |
ForgeHooks.DummyBlockReader |
Modifier and Type | Method and Description |
---|---|
static boolean |
ForgeHooks.canHarvestBlock(BlockState state,
PlayerEntity player,
IBlockReader world,
BlockPos pos) |
BlockState |
IPlantable.getPlant(IBlockReader world,
BlockPos pos) |
default PlantType |
IPlantable.getPlantType(IBlockReader world,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
default boolean |
IForgeBlock.canBeConnectedTo(BlockState state,
IBlockReader world,
BlockPos pos,
Direction facing)
Determines if another block can connect to this block
|
default boolean |
IForgeBlockState.canBeConnectedTo(IBlockReader world,
BlockPos pos,
Direction facing)
Determines if another block can connect to this block
|
default boolean |
IForgeBlock.canConnectRedstone(BlockState state,
IBlockReader world,
BlockPos pos,
Direction side)
Determine if this block can make a redstone connection on the side provided,
Useful to control which sides are inputs and outputs for redstone wires.
|
default boolean |
IForgeBlockState.canConnectRedstone(IBlockReader world,
BlockPos pos,
Direction side)
Determine if this block can make a redstone connection on the side provided,
Useful to control which sides are inputs and outputs for redstone wires.
|
default boolean |
IForgeBlock.canCreatureSpawn(BlockState state,
IBlockReader world,
BlockPos pos,
EntitySpawnPlacementRegistry.PlacementType type,
EntityType<?> entityType)
Determines if a specified mob type can spawn on this block, returning false will
prevent any mob from spawning on the block.
|
default boolean |
IForgeBlock.canDropFromExplosion(BlockState state,
IBlockReader world,
BlockPos pos,
Explosion explosion)
Determines if this block should drop loot when exploded.
|
default boolean |
IForgeBlockState.canDropFromExplosion(IBlockReader world,
BlockPos pos,
Explosion explosion)
Determines if this block should drop loot when exploded.
|
default boolean |
IForgeBlock.canEntityDestroy(BlockState state,
IBlockReader world,
BlockPos pos,
Entity entity)
Determines if this block is can be destroyed by the specified entities normal behavior.
|
default boolean |
IForgeBlockState.canEntityDestroy(IBlockReader world,
BlockPos pos,
Entity entity)
Determines if this block is can be destroyed by the specified entities normal behavior.
|
default boolean |
IForgeBlock.canHarvestBlock(BlockState state,
IBlockReader world,
BlockPos pos,
PlayerEntity player)
Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.
|
default boolean |
IForgeBlockState.canHarvestBlock(IBlockReader world,
BlockPos pos,
PlayerEntity player)
Determines if the player can harvest this block, obtaining it's drops when the block is destroyed.
|
boolean |
IForgeBlock.canSustainPlant(BlockState state,
IBlockReader world,
BlockPos pos,
Direction facing,
IPlantable plantable)
Determines if this block can support the passed in plant, allowing it to be planted and grow.
|
default boolean |
IForgeBlockState.canSustainPlant(IBlockReader world,
BlockPos pos,
Direction facing,
IPlantable plantable)
Determines if this block can support the passed in plant, allowing it to be planted and grow.
|
default boolean |
IForgeBlock.collisionExtendsVertically(BlockState state,
IBlockReader world,
BlockPos pos,
Entity collidingEntity)
Determines if this block's collision box should be treated as though it can extend above its block space.
|
default boolean |
IForgeBlockState.collisionExtendsVertically(IBlockReader world,
BlockPos pos,
Entity collidingEntity)
Determines if this block's collision box should be treated as though it can extend above its block space.
|
default TileEntity |
IForgeBlock.createTileEntity(BlockState state,
IBlockReader world)
Called throughout the code as a replacement for ITileEntityProvider.createNewTileEntity
Return the same thing you would from that function.
|
default TileEntity |
IForgeBlockState.createTileEntity(IBlockReader world)
Called throughout the code as a replacement for ITileEntityProvider.createNewTileEntity
Return the same thing you would from that function.
|
default PathNodeType |
IForgeBlock.getAiPathNodeType(BlockState state,
IBlockReader world,
BlockPos pos,
MobEntity entity)
Get the
PathNodeType for this block. |
default PathNodeType |
IForgeBlockState.getAiPathNodeType(IBlockReader world,
BlockPos pos)
Get the
PathNodeType for this block. |
default PathNodeType |
IForgeBlockState.getAiPathNodeType(IBlockReader world,
BlockPos pos,
MobEntity entity)
Get the
PathNodeType for this block. |
default BlockState |
IForgeBlock.getExtendedState(BlockState state,
IBlockReader world,
BlockPos pos)
Can return IExtendedBlockState
|
default int |
IForgeBlock.getFireSpreadSpeed(BlockState state,
IBlockReader world,
BlockPos pos,
Direction face)
Called when fire is updating on a neighbor block.
|
default int |
IForgeBlockState.getFireSpreadSpeed(IBlockReader world,
BlockPos pos,
Direction face)
Called when fire is updating on a neighbor block.
|
default int |
IForgeBlock.getFlammability(BlockState state,
IBlockReader world,
BlockPos pos,
Direction face)
Chance that fire will spread and consume this block.
|
default int |
IForgeBlockState.getFlammability(IBlockReader world,
BlockPos pos,
Direction face)
Chance that fire will spread and consume this block.
|
default int |
IForgeBlock.getLightValue(BlockState state,
IBlockReader world,
BlockPos pos)
Get a light value for this block, taking into account the given state and coordinates, normal ranges are between 0 and 15
|
default int |
IForgeBlockState.getLightValue(IBlockReader world,
BlockPos pos)
Get a light value for this block, taking into account the given state and coordinates, normal ranges are between 0 and 15
|
default ItemStack |
IForgeBlock.getPickBlock(BlockState state,
RayTraceResult target,
IBlockReader world,
BlockPos pos,
PlayerEntity player)
Called when A user uses the creative pick block button on this block
|
default ItemStack |
IForgeBlockState.getPickBlock(RayTraceResult target,
IBlockReader world,
BlockPos pos,
PlayerEntity player)
Called when A user uses the creative pick block button on this block
|
default BlockState |
IForgeBlock.getStateAtViewpoint(BlockState state,
IBlockReader world,
BlockPos pos,
Vec3d viewpoint)
Used to determine the state 'viewed' by an entity (see
ActiveRenderInfo#getBlockStateAtEntityViewpoint(World, Entity, float) ). |
default BlockState |
IForgeBlockState.getStateAtViewpoint(IBlockReader world,
BlockPos pos,
Vec3d viewpoint)
Used to determine the state 'viewed' by an entity (see
ActiveRenderInfo#getBlockStateAtEntityViewpoint(World, Entity, float) ). |
default Direction[] |
IForgeBlock.getValidRotations(BlockState state,
IBlockReader world,
BlockPos pos)
Get the rotations that can apply to the block at the specified coordinates.
|
default Direction[] |
IForgeBlockState.getValidRotations(IBlockReader world,
BlockPos pos)
Get the rotations that can apply to the block at the specified coordinates.
|
default boolean |
IForgeBlock.isAir(BlockState state,
IBlockReader world,
BlockPos pos)
Determines this block should be treated as an air block
by the rest of the code.
|
default boolean |
IForgeBlockState.isAir(IBlockReader world,
BlockPos pos)
Determines this block should be treated as an air block
by the rest of the code.
|
default boolean |
IForgeBlock.isBed(BlockState state,
IBlockReader world,
BlockPos pos,
Entity player)
Determines if this block is classified as a Bed, Allowing
players to sleep in it, though the block has to specifically
perform the sleeping functionality in it's activated event.
|
default boolean |
IForgeBlockState.isBed(IBlockReader world,
BlockPos pos,
LivingEntity player)
Determines if this block is classified as a Bed, Allowing
players to sleep in it, though the block has to specifically
perform the sleeping functionality in it's activated event.
|
default boolean |
IForgeBlock.isBurning(BlockState state,
IBlockReader world,
BlockPos pos)
Determines if this block should set fire and deal fire damage
to entities coming into contact with it.
|
default boolean |
IForgeBlockState.isBurning(IBlockReader world,
BlockPos pos)
Determines if this block should set fire and deal fire damage
to entities coming into contact with it.
|
default boolean |
IForgeBlock.isFertile(BlockState state,
IBlockReader world,
BlockPos pos)
Checks if this soil is fertile, typically this means that growth rates
of plants on this soil will be slightly sped up.
|
default boolean |
IForgeBlockState.isFertile(IBlockReader world,
BlockPos pos)
Checks if this soil is fertile, typically this means that growth rates
of plants on this soil will be slightly sped up.
|
default boolean |
IForgeBlock.isFireSource(BlockState state,
IBlockReader world,
BlockPos pos,
Direction side)
Currently only called by fire when it is on top of this block.
|
default boolean |
IForgeBlockState.isFireSource(IBlockReader world,
BlockPos pos,
Direction side)
Currently only called by fire when it is on top of this block.
|
default boolean |
IForgeBlock.isFlammable(BlockState state,
IBlockReader world,
BlockPos pos,
Direction face)
Called when fire is updating, checks if a block face can catch fire.
|
default boolean |
IForgeBlockState.isFlammable(IBlockReader world,
BlockPos pos,
Direction face)
Called when fire is updating, checks if a block face can catch fire.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CustomPlantTypeTest.CustomBlock.canSustainPlant(BlockState state,
IBlockReader world,
BlockPos pos,
Direction facing,
IPlantable plantable) |
BlockState |
CustomPlantTypeTest.CustomPlantBlock.getPlant(IBlockReader world,
BlockPos pos) |
PlantType |
CustomPlantTypeTest.CustomPlantBlock.getPlantType(IBlockReader world,
BlockPos pos) |
boolean |
CustomPlantTypeTest.CustomPlantBlock.isValidGround(BlockState state,
IBlockReader worldIn,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
boolean |
NewFluidTest.FluidloggableBlock.canContainFluid(IBlockReader worldIn,
BlockPos pos,
BlockState state,
Fluid fluidIn) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ForgeFlowingFluid.canDisplace(IFluidState state,
IBlockReader world,
BlockPos pos,
Fluid fluidIn,
Direction direction) |