net.minecraft.world.level.block

public abstract class BaseRailBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

djc
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
uncurvable
f_49357_

Constructor summary

ModifierConstructor
protected (boolean forbidCurves, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public static boolean
a(dgj arg0, ji 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
h(dwy 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_)
protected abstract com.mojang.serialization.MapCodec<? extends BaseRailBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
public boolean
b()
isStraight()
method_9478()
m_gnxvkdbi()
cannotMakeCurves()
isUncurvable()
m_49413_()
protected VoxelShape
a(dwy arg0, dfo arg1, ji arg2, fbg 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)
protected boolean
a(dwy arg0, dgm arg1, ji 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)
protected void
b(dwy arg0, dgj arg1, ji arg2, dwy 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(dwy arg0, dgj arg1, ji 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)
protected void
a(dwy arg0, dgj arg1, ji arg2, djn arg3, eui arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_ctatbkvy arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
m_6861_(C_2064_ p_49378_, C_1596_ p_49379_, C_4675_ p_49380_, C_1706_ p_362860_, C_346043_ p_49382_, boolean arg5)
private static boolean
a(ji arg0, dgj arg1, dyb 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)
shouldBreak(BlockPos pos, World world, RailShape shape)
m_49398_(C_4675_ p_49399_, C_1596_ p_49400_, C_2100_ p_49401_)
protected void
a(dwy arg0, dgj arg1, ji arg2, djn 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(dgj arg0, ji arg1, dwy 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)
protected void
a(dwy arg0, dgj arg1, ji arg2, dwy 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(dah 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_()
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
m_yvunqpeq(C_txtbiemp arg0, C_eemzphbi arg1, C_adoatlrf arg2, C_hynzadkk arg3, C_xpuuihxf arg4, C_hynzadkk arg5, C_txtbiemp arg6, C_rlomrsco arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, TickSchedulerAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomGenerator arg7)
m_7417_(C_2064_ p_363749_, C_1599_ p_365089_, C_346056_ p_152155_, C_4675_ p_152152_, C_4687_ p_152156_, C_4675_ p_152153_, C_2064_ p_368260_, C_212974_ arg7)
protected FluidState
b_(dwy 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)