net.minecraft.world.level.block

public abstract class BaseRailBlock

extends Block

All mapped superinterfaces:

ItemLike

bmn
net.minecraft.world.level.block.BaseRailBlock
net.minecraft.class_2241
net.minecraft.block.AbstractRailBlock
net.minecraft.block.AbstractRailBlock
net.minecraft.server.v1_14_R1.BlockMinecartTrackAbstract

Field summary

Modifier and TypeField
protected static final VoxelShape
a
FLAT_AABB
field_9958
STRAIGHT_SHAPE
field_185590_a
protected static final VoxelShape
b
HALF_BLOCK_AABB
field_9960
ASCENDING_SHAPE
field_190959_b
private final boolean
c
isStraight
field_9959
allowCurves
field_196277_c

Constructor summary

ModifierConstructor
protected (boolean allowCurves, Block$Properties settings)

Method summary

Modifier and TypeMethod
public static boolean
a(bhr arg0, ew arg1)
isRail(Level arg0, BlockPos arg1)
method_9479(class_1937 arg0, class_2338 arg1)
isRail(World world, BlockPos pos)
func_208488_a(World arg0, BlockPos arg1)
public static boolean
j(bvt arg0)
isRail(BlockState arg0)
method_9476(class_2680 arg0)
isRail(BlockState state)
func_208487_j(BlockState arg0)
public boolean
d()
isStraight()
method_9478()
canMakeCurves()
func_208490_b()
public VoxelShape
a(bvt arg0, bhb arg1, ew arg2, csn arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(bvt arg0, bhu arg1, ew arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_1941 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, CollisionView arg1, BlockPos arg2)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public void
b(bvt arg0, bhr arg1, ew arg2, bvt arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_220082_b(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public void
a(bvt arg0, bhr arg1, ew arg2, bmv arg3, ew arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
func_220069_a(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
doPhysics(IBlockData arg0, World arg1, BlockPosition arg2, Block arg3, BlockPosition arg4, boolean arg5)
protected void
a(bvt arg0, bhr arg1, ew arg2, bmv arg3)
updateState(BlockState arg0, Level arg1, BlockPos arg2, Block arg3)
method_9477(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3)
updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)
func_189541_b(BlockState arg0, World arg1, BlockPos arg2, Block arg3)
protected BlockState
a(bhr arg0, ew arg1, bvt arg2, boolean arg3)
updateDir(Level arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_9475(class_1937 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
updateBlockState(World world, BlockPos pos, BlockState state, boolean forceUpdate)
func_208489_a(World arg0, BlockPos arg1, BlockState arg2, boolean arg3)
public PushReaction
i(bvt arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
func_149656_h(BlockState arg0)
getPushReaction(IBlockData arg0)
public BlockLayer
c()
getRenderLayer()
method_9551()
getRenderLayer()
func_180664_k()
public void
a(bvt arg0, bhr arg1, ew arg2, bvt arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public abstract Property<RailShape>
e()
getShapeProperty()
method_9474()
getShapeProperty()
func_176560_l()