net.minecraft.world.level.block

public abstract class BaseRailBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

bze
net.minecraft.world.level.block.BaseRailBlock
net.minecraft.class_2241
net.minecraft.unmapped.C_mgkftsgg
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
f_49355_
protected static final VoxelShape
b
HALF_BLOCK_AABB
field_9960
f_vrvdpeyj
ASCENDING_SHAPE
f_49356_
public static final BooleanProperty
c
WATERLOGGED
field_27096
f_hugfgcne
WATERLOGGED
f_152149_
private final boolean
d
isStraight
field_9959
f_afdevxyp
allowCurves
f_49357_

Constructor summary

ModifierConstructor
protected (boolean allowCurves, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public static boolean
a(bwp arg0, gg 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)
m_49364_(C_1596_ p_49365_, C_4675_ p_49366_)
public static boolean
g(cks arg0)
isRail(BlockState arg0)
method_9476(class_2680 arg0)
m_lczpeazs(C_txtbiemp arg0)
isRail(BlockState state)
m_49416_(C_2064_ p_49417_)
public boolean
c()
isStraight()
method_9478()
m_gnxvkdbi()
canMakeCurves()
m_49413_()
public VoxelShape
a(cks arg0, bvt arg1, gg arg2, dnf 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)
m_5940_(C_2064_ p_49404_, C_1559_ p_49405_, C_4675_ p_49406_, C_3051_ arg3)
public boolean
a(cks arg0, bws arg1, gg 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)
m_7898_(C_2064_ p_49396_, C_1599_ p_49397_, C_4675_ arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public void
b(cks arg0, bwp arg1, gg arg2, cks 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)
m_6807_(C_2064_ p_49409_, C_1596_ p_49410_, C_4675_ p_49411_, C_2064_ p_49412_, boolean arg4)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
protected BlockState
a(cks arg0, bwp arg1, gg 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)
m_49389_(C_2064_ p_49391_, C_1596_ p_49392_, C_4675_ p_49393_, boolean arg3)
public void
a(cks arg0, bwp arg1, gg arg2, bzo arg3, gg 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)
m_6861_(C_2064_ p_49378_, C_1596_ p_49379_, C_4675_ p_49380_, C_1706_ p_49381_, C_4675_ p_49382_, boolean arg5)
doPhysics(IBlockData arg0, World arg1, BlockPosition arg2, Block arg3, BlockPosition arg4, boolean arg5)
private static boolean
a(gg arg0, bwp arg1, clw 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)
m_49398_(C_4675_ p_49399_, C_1596_ p_49400_, C_2100_ p_49401_)
protected void
a(cks arg0, bwp arg1, gg arg2, bzo 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)
m_6360_(C_2064_ p_49373_, C_1596_ p_49374_, C_4675_ p_49375_, C_1706_ arg3)
protected BlockState
a(bwp arg0, gg arg1, cks 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)
m_49367_(C_1596_ p_49369_, C_4675_ p_49370_, C_2064_ p_49371_, boolean arg3)
public PushReaction
d(cks arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
m_svmpqhks(C_txtbiemp arg0)
getPistonBehavior(BlockState arg0)
m_5537_(C_2064_ arg0)
getPushReaction(IBlockData arg0)
public void
a(cks arg0, bwp arg1, gg arg2, cks 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)
m_6810_(C_2064_ p_49385_, C_1596_ p_49386_, C_4675_ p_49387_, C_2064_ p_49388_, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public BlockState
a(bsp arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)
public abstract Property<RailShape>
d()
getShapeProperty()
method_9474()
m_hrqcdmdw()
getShapeProperty()
m_7978_()
public BlockState
a(cks arg0, gl arg1, cks arg2, bwq arg3, gg arg4, gg 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)
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)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public FluidState
c_(cks arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
m_nlstkjhl(C_txtbiemp arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)