History - net.minecraft.block.RailPlacementHelper

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.level.block.RailState

net.minecraft.class_2452

net.minecraft.block.RailPlacementHelper

Fields

World: level, field_11409, world

BlockPos: pos, field_11410, pos

AbstractRailBlock: block, field_11411, block

BlockState: state, field_11406, state

boolean: isStraight, field_11408, forbidCurves

List<BlockPos>: connections, field_11407, neighbors

Constructors

(World, BlockPos, BlockState)

Methods

List<BlockPos> (): getConnections, method_10457, getNeighbors

void (RailShape): updateConnections, method_10466, computeNeighbors

void (): removeSoftConnections, method_10467, updateNeighborPositions

boolean (BlockPos): hasRail, method_10456, isVerticallyNearRail

RailPlacementHelper (BlockPos): getRail, method_10458, getNeighboringRail

boolean (RailPlacementHelper): connectsTo, method_10464, isNeighbor

boolean (BlockPos): hasConnection, method_10463, isNeighbor

int (): countPotentialConnections, method_10460, getNeighborCount

boolean (RailPlacementHelper): canConnectTo, method_10455, canConnect

void (RailPlacementHelper): connectTo, method_10461, computeRailShape

boolean (BlockPos): hasNeighborRail, method_10465, canConnect

RailPlacementHelper (boolean, boolean, RailShape): place, method_10459, updateBlockState

BlockState (): getState, method_10462, getBlockState