net.minecraft.world.level.block

public class RailState

cvm
net.minecraft.world.level.block.RailState
net.minecraft.class_2452
net.minecraft.unmapped.C_baboixhf
net.minecraft.block.RailPlacementHelper
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
f_eahnpbkg
world
world
f_55414_
private final BlockPos
b
pos
field_11410
f_rryvaloh
pos
pos
f_55415_
private final BaseRailBlock
c
block
field_11411
f_wturrxrq
block
block
f_55416_
private BlockState
d
state
field_11406
f_hlyugvpt
state
state
f_55417_
private final boolean
e
isStraight
field_11408
f_hemssstp
forbidCurves
allowCurves
f_55418_
private final List<BlockPos>
f
connections
field_11407
f_zqdajzpc
neighbors
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()
m_xktdbyvo()
getNeighbors()
getNeighbors()
m_55424_()
private void
a(ddf arg0)
updateConnections(RailShape arg0)
method_10466(class_2768 arg0)
m_uhplfsvb(C_wqmdpcsg arg0)
computeNeighbors(RailShape shape)
computeNeighbors(RailShape shape)
m_55427_(C_2100_ arg0)
private void
d()
removeSoftConnections()
method_10467()
m_gjyllktu()
updateNeighborPositions()
updateNeighborPositions()
m_55445_()
private boolean
a(gu arg0)
hasRail(BlockPos arg0)
method_10456(class_2338 arg0)
m_mwvknrio(C_hynzadkk arg0)
isVerticallyNearRail(BlockPos pos)
isVerticallyNearRail(BlockPos pos)
m_55429_(C_4675_ arg0)
private RailState
b(gu arg0)
getRail(BlockPos arg0)
method_10458(class_2338 arg0)
m_pbhepuoc(C_hynzadkk arg0)
getNeighboringRail(BlockPos pos)
getNeighboringRail(BlockPos pos)
m_55438_(C_4675_ arg0)
private boolean
a(cvm arg0)
connectsTo(RailState arg0)
method_10464(class_2452 arg0)
m_iifmylss(C_baboixhf arg0)
isNeighbor(RailPlacementHelper other)
isNeighbor(RailPlacementHelper other)
m_55425_(C_1870_ arg0)
private boolean
c(gu arg0)
hasConnection(BlockPos arg0)
method_10463(class_2338 arg0)
m_zfbefksh(C_hynzadkk arg0)
isNeighbor(BlockPos pos)
isNeighbor(BlockPos pos)
m_55443_(C_4675_ arg0)
protected int
b()
countPotentialConnections()
method_10460()
m_kdjdlukx()
getNeighborCount()
getNeighborCount()
m_55435_()
private boolean
b(cvm arg0)
canConnectTo(RailState arg0)
method_10455(class_2452 arg0)
m_akocsqyl(C_baboixhf arg0)
canConnect(RailPlacementHelper placementHelper)
canConnect(RailPlacementHelper placementHelper)
m_55436_(C_1870_ arg0)
private void
c(cvm arg0)
connectTo(RailState arg0)
method_10461(class_2452 arg0)
m_iyefeyle(C_baboixhf arg0)
computeRailShape(RailPlacementHelper placementHelper)
computeRailShape(RailPlacementHelper placementHelper)
m_55441_(C_1870_ arg0)
private boolean
d(gu arg0)
hasNeighborRail(BlockPos arg0)
method_10465(class_2338 arg0)
m_xzghrphx(C_hynzadkk arg0)
canConnect(BlockPos pos)
canConnect(BlockPos pos)
m_55446_(C_4675_ arg0)
public RailState
a(boolean arg0, boolean arg1, ddf arg2)
place(boolean arg0, boolean arg1, RailShape arg2)
method_10459(boolean arg0, boolean arg1, class_2768 arg2)
m_wbrfjfef(boolean arg0, boolean arg1, C_wqmdpcsg arg2)
updateBlockState(boolean powered, boolean forceUpdate, RailShape railShape)
updateBlockState(boolean powered, boolean forceUpdate, RailShape railShape)
m_55431_(boolean p_55433_, boolean p_55434_, C_2100_ arg2)
public BlockState
c()
getState()
method_10462()
m_krxloedb()
getBlockState()
getBlockState()
m_55440_()