net.minecraft.world.level.block

public class RailState

cey
net.minecraft.world.level.block.RailState
net.minecraft.class_2452
net.minecraft.block.RailPlacementHelper
net.minecraft.src.C_1870_
net.minecraft.world.level.block.MinecartTrackLogic

Field summary

Modifier and TypeField
private final Level
a
level
field_11409
world
f_55414_
private final BlockPos
b
pos
field_11410
pos
f_55415_
private final BaseRailBlock
c
block
field_11411
block
f_55416_
private BlockState
d
state
field_11406
state
f_55417_
private final boolean
e
isStraight
field_11408
allowCurves
f_55418_
private final List<BlockPos>
f
connections
field_11407
neighbors
f_55419_

Constructor summary

ModifierConstructor
public (Level world, BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public List<BlockPos>
a()
getConnections()
method_10457()
getNeighbors()
m_55424_()
private void
a(clx arg0)
updateConnections(RailShape arg0)
method_10466(class_2768 arg0)
computeNeighbors(RailShape shape)
m_55427_(C_2100_ arg0)
private void
d()
removeSoftConnections()
method_10467()
updateNeighborPositions()
m_55445_()
private boolean
a(gg arg0)
hasRail(BlockPos arg0)
method_10456(class_2338 arg0)
isVerticallyNearRail(BlockPos pos)
m_55429_(C_4675_ arg0)
private RailState
b(gg arg0)
getRail(BlockPos arg0)
method_10458(class_2338 arg0)
getNeighboringRail(BlockPos pos)
m_55438_(C_4675_ arg0)
private boolean
a(cey arg0)
connectsTo(RailState arg0)
method_10464(class_2452 arg0)
isNeighbor(RailPlacementHelper other)
m_55425_(C_1870_ arg0)
private boolean
c(gg arg0)
hasConnection(BlockPos arg0)
method_10463(class_2338 arg0)
isNeighbor(BlockPos pos)
m_55443_(C_4675_ arg0)
protected int
b()
countPotentialConnections()
method_10460()
getNeighborCount()
m_55435_()
private boolean
b(cey arg0)
canConnectTo(RailState arg0)
method_10455(class_2452 arg0)
canConnect(RailPlacementHelper placementHelper)
m_55436_(C_1870_ arg0)
private void
c(cey arg0)
connectTo(RailState arg0)
method_10461(class_2452 arg0)
computeRailShape(RailPlacementHelper placementHelper)
m_55441_(C_1870_ arg0)
private boolean
d(gg arg0)
hasNeighborRail(BlockPos arg0)
method_10465(class_2338 arg0)
canConnect(BlockPos pos)
m_55446_(C_4675_ arg0)
public RailState
a(boolean arg0, boolean arg1, clx arg2)
place(boolean arg0, boolean arg1, RailShape arg2)
method_10459(boolean arg0, boolean arg1, class_2768 arg2)
updateBlockState(boolean powered, boolean forceUpdate, RailShape arg2)
m_55431_(boolean p_55433_, boolean p_55434_, C_2100_ arg2)
public BlockState
c()
getState()
method_10462()
getBlockState()
m_55440_()