net.minecraft.world.level.block

public abstract class BaseRailBlock

extends Block

All mapped superinterfaces:

ItemLike

bud
net.minecraft.world.level.block.BaseRailBlock
net.minecraft.class_2241
net.minecraft.block.AbstractRailBlock
net.minecraft.block.AbstractRailBlock
net.minecraft.server.v1_16_R2.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, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public static boolean
a(bru arg0, fx 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
g(cee arg0)
isRail(BlockState arg0)
method_9476(class_2680 arg0)
isRail(BlockState state)
func_208487_j(BlockState arg0)
public boolean
c()
isStraight()
method_9478()
canMakeCurves()
func_208490_b()
public VoxelShape
b(cee arg0, bqz arg1, fx arg2, dcp 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, ShapeContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(cee arg0, brw arg1, fx arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public void
b(cee arg0, bru arg1, fx arg2, cee 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)
protected BlockState
a(cee arg0, bru arg1, fx arg2, boolean arg3)
updateState(BlockState arg0, Level arg1, BlockPos arg2, boolean arg3)
method_24417(class_2680 arg0, class_1937 arg1, class_2338 arg2, boolean arg3)
updateCurves(BlockState state, World world, BlockPos pos, boolean notify)
func_235327_a_(BlockState arg0, World arg1, BlockPos arg2, boolean arg3)
public void
a(cee arg0, bru arg1, fx arg2, bul arg3, fx 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)
private static boolean
a(fx arg0, bru arg1, cfh arg2)
shouldBeRemoved(BlockPos arg0, Level arg1, RailShape arg2)
method_27935(class_2338 arg0, class_1937 arg1, class_2768 arg2)
shouldDropRail(BlockPos pos, World world, RailShape shape)
func_235328_a_(BlockPos arg0, World arg1, RailShape arg2)
protected void
a(cee arg0, bru arg1, fx arg2, bul 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(bru arg0, fx arg1, cee 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
f(cee arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
func_149656_h(BlockState arg0)
getPushReaction(IBlockData arg0)
public void
a(cee arg0, bru arg1, fx arg2, cee 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)
onStateReplaced(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 BlockState
a(bnv arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public abstract Property<RailShape>
d()
getShapeProperty()
method_9474()
getShapeProperty()
func_176560_l()