net.minecraft.world.level.block

public class RailState

btl
net.minecraft.world.level.block.RailState
net.minecraft.class_2452
net.minecraft.block.RailPlacementHelper
net.minecraft.block.RailState
net.minecraft.server.v1_15_R1.MinecartTrackLogic

Field summary

Modifier and TypeField
private final Level
a
level
field_11409
world
field_196920_a
private final BlockPos
b
pos
field_11410
pos
field_196921_b
private final BaseRailBlock
c
block
field_11411
block
field_196922_c
private BlockState
d
state
field_11406
state
field_196923_d
private final boolean
e
isStraight
field_11408
allowCurves
field_208513_e
private final List<BlockPos>
f
connections
field_11407
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()
getNeighbors()
func_196907_a()
private void
a(bzn arg0)
updateConnections(RailShape arg0)
method_10466(class_2768 arg0)
computeNeighbors(RailShape shape)
func_208509_a(RailShape arg0)
private void
d()
removeSoftConnections()
method_10467()
func_196903_f()
private boolean
a(fk arg0)
hasRail(BlockPos arg0)
method_10456(class_2338 arg0)
isVerticallyNearRail(BlockPos pos)
func_196902_d(BlockPos arg0)
private RailState
b(fk arg0)
getRail(BlockPos arg0)
method_10458(class_2338 arg0)
method_10458(BlockPos pos)
func_196908_a(BlockPos arg0)
private boolean
a(btl arg0)
connectsTo(RailState arg0)
method_10464(class_2452 arg0)
isNeighbor(RailPlacementHelper other)
func_196919_b(RailState arg0)
private boolean
c(fk arg0)
hasConnection(BlockPos arg0)
method_10463(class_2338 arg0)
isNeighbor(BlockPos pos)
func_196904_b(BlockPos arg0)
protected int
b()
countPotentialConnections()
method_10460()
func_196910_b()
private boolean
b(btl arg0)
canConnectTo(RailState arg0)
method_10455(class_2452 arg0)
method_10455(RailPlacementHelper placementHelper)
func_196905_c(RailState arg0)
private void
c(btl arg0)
connectTo(RailState arg0)
method_10461(class_2452 arg0)
method_10461(RailPlacementHelper placementHelper)
func_208510_c(RailState arg0)
private boolean
d(fk arg0)
hasNeighborRail(BlockPos arg0)
method_10465(class_2338 arg0)
method_10465(BlockPos pos)
func_208512_d(BlockPos arg0)
public RailState
a(boolean arg0, boolean arg1, bzn arg2)
place(boolean arg0, boolean arg1, RailShape arg2)
method_10459(boolean arg0, boolean arg1, class_2768 arg2)
updateBlockState(boolean powered, boolean forceUpdate, RailShape arg2)
func_226941_a_(boolean arg0, boolean arg1, RailShape arg2)
public BlockState
c()
getState()
method_10462()
getBlockState()
func_196916_c()