net.minecraft.world.level.block

public class RailState

bzb
net.minecraft.world.level.block.RailState
net.minecraft.class_2452
net.minecraft.unmapped.C_baboixhf
net.minecraft.block.RailPlacementHelper
net.minecraft.block.RailState
net.minecraft.server.v1_16_R3.MinecartTrackLogic

Field summary

Modifier and TypeField
private final Level
a
level
field_11409
f_eahnpbkg
world
field_196920_a
private final BlockPos
b
pos
field_11410
f_rryvaloh
pos
field_196921_b
private final BaseRailBlock
c
block
field_11411
f_wturrxrq
block
field_196922_c
private BlockState
d
state
field_11406
f_hlyugvpt
state
field_196923_d
private final boolean
e
isStraight
field_11408
f_hemssstp
allowCurves
field_208513_e
private final List<BlockPos>
f
connections
field_11407
f_zqdajzpc
neighbors
field_196924_e

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()
func_196907_a()
private void
a(cfk arg0)
updateConnections(RailShape arg0)
method_10466(class_2768 arg0)
m_uhplfsvb(C_wqmdpcsg arg0)
computeNeighbors(RailShape shape)
func_208509_a(RailShape arg0)
private void
d()
removeSoftConnections()
method_10467()
m_gjyllktu()
updateNeighborPositions()
func_196903_f()
private boolean
a(fx arg0)
hasRail(BlockPos arg0)
method_10456(class_2338 arg0)
m_mwvknrio(C_hynzadkk arg0)
isVerticallyNearRail(BlockPos pos)
func_196902_d(BlockPos arg0)
private RailState
b(fx arg0)
getRail(BlockPos arg0)
method_10458(class_2338 arg0)
m_pbhepuoc(C_hynzadkk arg0)
getNeighboringRail(BlockPos pos)
func_196908_a(BlockPos arg0)
private boolean
a(bzb arg0)
connectsTo(RailState arg0)
method_10464(class_2452 arg0)
m_iifmylss(C_baboixhf arg0)
isNeighbor(RailPlacementHelper other)
func_196919_b(RailState arg0)
private boolean
c(fx arg0)
hasConnection(BlockPos arg0)
method_10463(class_2338 arg0)
m_zfbefksh(C_hynzadkk arg0)
isNeighbor(BlockPos pos)
func_196904_b(BlockPos arg0)
protected int
b()
countPotentialConnections()
method_10460()
m_kdjdlukx()
getNeighborCount()
func_196910_b()
private boolean
b(bzb arg0)
canConnectTo(RailState arg0)
method_10455(class_2452 arg0)
m_akocsqyl(C_baboixhf arg0)
canConnect(RailPlacementHelper placementHelper)
func_196905_c(RailState arg0)
private void
c(bzb arg0)
connectTo(RailState arg0)
method_10461(class_2452 arg0)
m_iyefeyle(C_baboixhf arg0)
computeRailShape(RailPlacementHelper placementHelper)
func_208510_c(RailState arg0)
private boolean
d(fx arg0)
hasNeighborRail(BlockPos arg0)
method_10465(class_2338 arg0)
m_xzghrphx(C_hynzadkk arg0)
canConnect(BlockPos pos)
func_208512_d(BlockPos arg0)
public RailState
a(boolean arg0, boolean arg1, cfk 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 arg2)
func_226941_a_(boolean arg0, boolean arg1, RailShape arg2)
public BlockState
c()
getState()
method_10462()
m_krxloedb()
getBlockState()
func_196916_c()