net.minecraft.world.level.block

public abstract class BaseRailBlock

extends Block

All mapped superinterfaces:

ItemLike

bvj
net.minecraft.world.level.block.BaseRailBlock
net.minecraft.class_2241
net.minecraft.unmapped.C_mgkftsgg
net.minecraft.block.AbstractRailBlock
net.minecraft.block.AbstractRailBlock
net.minecraft.server.v1_16_R1.BlockMinecartTrackAbstract

Field summary

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

Constructor summary

ModifierConstructor
protected (boolean allowCurves, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public static boolean
a(bqb arg0, fu arg1)
isRail(Level arg0, BlockPos arg1)
method_9479(class_1937 arg0, class_2338 arg1)
m_qihoxnqf(C_cdctfzbn arg0, C_hynzadkk arg1)
isRail(World world, BlockPos pos)
func_208488_a(World arg0, BlockPos arg1)
public static boolean
g(cfj arg0)
isRail(BlockState arg0)
method_9476(class_2680 arg0)
m_lczpeazs(C_txtbiemp arg0)
isRail(BlockState state)
func_208487_j(BlockState arg0)
public boolean
c()
isStraight()
method_9478()
m_gnxvkdbi()
canMakeCurves()
func_208490_b()
public VoxelShape
b(cfj arg0, bpg arg1, fu arg2, der arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(cfj arg0, bqd arg1, fu arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
m_qixajhot(C_txtbiemp arg0, C_eemzphbi arg1, C_hynzadkk 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(cfj arg0, bqb arg1, fu arg2, cfj 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)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp 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(cfj arg0, bqb arg1, fu 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)
m_motgcitp(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk 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(cfj arg0, bqb arg1, fu arg2, bvr arg3, fu 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)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_hynzadkk 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(fu arg0, bqb arg1, cgm arg2)
shouldBeRemoved(BlockPos arg0, Level arg1, RailShape arg2)
method_27935(class_2338 arg0, class_1937 arg1, class_2768 arg2)
m_oyknusit(C_hynzadkk arg0, C_cdctfzbn arg1, C_wqmdpcsg arg2)
shouldDropRail(BlockPos pos, World world, RailShape shape)
func_235328_a_(BlockPos arg0, World arg1, RailShape arg2)
protected void
a(cfj arg0, bqb arg1, fu arg2, bvr arg3)
updateState(BlockState arg0, Level arg1, BlockPos arg2, Block arg3)
method_9477(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3)
m_zzklozte(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3)
updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)
func_189541_b(BlockState arg0, World arg1, BlockPos arg2, Block arg3)
protected BlockState
a(bqb arg0, fu arg1, cfj 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)
m_pyeymztk(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp 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(cfj arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
m_svmpqhks(C_txtbiemp arg0)
getPistonBehavior(BlockState arg0)
func_149656_h(BlockState arg0)
getPushReaction(IBlockData arg0)
public void
a(cfj arg0, bqb arg1, fu arg2, cfj 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)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp 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(bin arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public abstract Property<RailShape>
d()
getShapeProperty()
method_9474()
m_hrqcdmdw()
getShapeProperty()
func_176560_l()