net.minecraft.world.level.block

public abstract class BaseRailBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

coy
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.src.C_1695_
net.minecraft.world.level.block.BlockMinecartTrackAbstract

Field summary

Modifier and TypeField
protected static final VoxelShape
a
FLAT_AABB
field_9958
f_qnbjbbpm
STRAIGHT_SHAPE
STRAIGHT_SHAPE
f_49355_
protected static final VoxelShape
b
HALF_BLOCK_AABB
field_9960
f_vrvdpeyj
ASCENDING_SHAPE
ASCENDING_SHAPE
f_49356_
public static final BooleanProperty
c
WATERLOGGED
field_27096
f_hugfgcne
WATERLOGGED
WATERLOGGED
f_152149_
private final boolean
d
isStraight
field_9959
f_afdevxyp
forbidCurves
allowCurves
f_49357_

Constructor summary

ModifierConstructor
protected (boolean forbidCurves, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public static boolean
a(cmi arg0, gt 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)
isRail(World world, BlockPos pos)
m_49364_(C_1596_ p_49365_, C_4675_ p_49366_)
public static boolean
g(dbq arg0)
isRail(BlockState arg0)
method_9476(class_2680 arg0)
m_lczpeazs(C_txtbiemp arg0)
isRail(BlockState state)
isRail(BlockState state)
m_49416_(C_2064_ p_49417_)
public boolean
b()
isStraight()
method_9478()
m_gnxvkdbi()
cannotMakeCurves()
canMakeCurves()
m_49413_()
public VoxelShape
a(dbq arg0, clo arg1, gt arg2, edj 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)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_49404_, C_1559_ p_49405_, C_4675_ p_49406_, C_3051_ arg3)
public boolean
a(dbq arg0, cml arg1, gt 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)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
m_7898_(C_2064_ p_49396_, C_1599_ p_49397_, C_4675_ arg2)
public void
b(dbq arg0, cmi arg1, gt arg2, dbq 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)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6807_(C_2064_ p_49409_, C_1596_ p_49410_, C_4675_ p_49411_, C_2064_ p_49412_, boolean arg4)
protected BlockState
a(dbq arg0, cmi arg1, gt 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)
updateCurves(BlockState state, World world, BlockPos pos, boolean notify)
m_49389_(C_2064_ p_49391_, C_1596_ p_49392_, C_4675_ p_49393_, boolean arg3)
public void
a(dbq arg0, cmi arg1, gt arg2, cpi arg3, gt 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)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_49378_, C_1596_ p_49379_, C_4675_ p_49380_, C_1706_ p_49381_, C_4675_ p_49382_, boolean arg5)
private static boolean
a(gt arg0, cmi arg1, dcv 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)
shouldDropRail(BlockPos pos, World world, RailShape shape)
m_49398_(C_4675_ p_49399_, C_1596_ p_49400_, C_2100_ p_49401_)
protected void
a(dbq arg0, cmi arg1, gt arg2, cpi 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)
updateBlockState(BlockState state, World world, BlockPos pos, Block neighbor)
m_6360_(C_2064_ p_49373_, C_1596_ p_49374_, C_4675_ p_49375_, C_1706_ arg3)
protected BlockState
a(cmi arg0, gt arg1, dbq 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)
updateBlockState(World world, BlockPos pos, BlockState state, boolean forceUpdate)
m_49367_(C_1596_ p_49369_, C_4675_ p_49370_, C_2064_ p_49371_, boolean arg3)
public PushReaction
d(dbq arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
m_svmpqhks(C_txtbiemp arg0)
getPistonBehavior(BlockState arg0)
getPistonBehavior(BlockState arg0)
m_5537_(C_2064_ arg0)
public void
a(dbq arg0, cmi arg1, gt arg2, dbq 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)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_49385_, C_1596_ p_49386_, C_4675_ p_49387_, C_2064_ p_49388_, boolean arg4)
public BlockState
a(cic arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public abstract Property<RailShape>
c()
getShapeProperty()
method_9474()
m_hrqcdmdw()
getShapeProperty()
getShapeProperty()
m_7978_()
public BlockState
a(dbq arg0, gz arg1, dbq arg2, cmj arg3, gt arg4, gt arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
m_yvunqpeq(C_txtbiemp arg0, C_xpuuihxf arg1, C_txtbiemp arg2, C_vdvbsyle arg3, C_hynzadkk arg4, C_hynzadkk arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_152152_, C_4687_ p_152153_, C_2064_ p_152154_, C_1598_ p_152155_, C_4675_ p_152156_, C_4675_ arg5)
public FluidState
c_(dbq arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
m_nlstkjhl(C_txtbiemp arg0)
getFluidState(BlockState arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)