Package net.minecraft.block
Class RailPlacementHelper
java.lang.Object
net.minecraft.block.RailPlacementHelper
- Mappings:
- Namespace - Name - named - net/minecraft/block/RailPlacementHelper- intermediary - net/minecraft/class_2452- official - dps
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final AbstractRailBlockprivate final booleanprivate final BlockPosprivate BlockStateprivate final World
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate booleancanConnect(RailPlacementHelper placementHelper) private booleancanConnect(BlockPos pos) private voidcomputeNeighbors(RailShape shape) private voidcomputeRailShape(RailPlacementHelper placementHelper) protected intprivate @Nullable RailPlacementHelperprivate booleanisNeighbor(RailPlacementHelper other) private booleanisNeighbor(BlockPos pos) private booleanupdateBlockState(boolean powered, boolean forceUpdate, RailShape railShape) private void
- 
Field Details- 
world- Mappings:
- Namespace - Name - Mixin selector - named - world- Lnet/minecraft/block/RailPlacementHelper;world:Lnet/minecraft/world/World;- intermediary - field_11409- Lnet/minecraft/class_2452;field_11409:Lnet/minecraft/class_1937;- official - a- Ldps;a:Ldgj;
 
- 
pos- Mappings:
- Namespace - Name - Mixin selector - named - pos- Lnet/minecraft/block/RailPlacementHelper;pos:Lnet/minecraft/util/math/BlockPos;- intermediary - field_11410- Lnet/minecraft/class_2452;field_11410:Lnet/minecraft/class_2338;- official - b- Ldps;b:Lji;
 
- 
block- Mappings:
- Namespace - Name - Mixin selector - named - block- Lnet/minecraft/block/RailPlacementHelper;block:Lnet/minecraft/block/AbstractRailBlock;- intermediary - field_11411- Lnet/minecraft/class_2452;field_11411:Lnet/minecraft/class_2241;- official - c- Ldps;c:Ldjc;
 
- 
state- Mappings:
- Namespace - Name - Mixin selector - named - state- Lnet/minecraft/block/RailPlacementHelper;state:Lnet/minecraft/block/BlockState;- intermediary - field_11406- Lnet/minecraft/class_2452;field_11406:Lnet/minecraft/class_2680;- official - d- Ldps;d:Ldwy;
 
- 
forbidCurvesprivate final boolean forbidCurves- Mappings:
- Namespace - Name - Mixin selector - named - forbidCurves- Lnet/minecraft/block/RailPlacementHelper;forbidCurves:Z- intermediary - field_11408- Lnet/minecraft/class_2452;field_11408:Z- official - e- Ldps;e:Z
 
- 
neighbors- Mappings:
- Namespace - Name - Mixin selector - named - neighbors- Lnet/minecraft/block/RailPlacementHelper;neighbors:Ljava/util/List;- intermediary - field_11407- Lnet/minecraft/class_2452;field_11407:Ljava/util/List;- official - f- Ldps;f:Ljava/util/List;
 
 
- 
- 
Constructor Details- 
RailPlacementHelper- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/RailPlacementHelper;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V- intermediary - <init>- Lnet/minecraft/class_2452;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V- official - <init>- Ldps;<init>(Ldgj;Lji;Ldwy;)V
 
 
- 
- 
Method Details- 
getNeighbors- Mappings:
- Namespace - Name - Mixin selector - named - getNeighbors- Lnet/minecraft/block/RailPlacementHelper;getNeighbors()Ljava/util/List;- intermediary - method_10457- Lnet/minecraft/class_2452;method_10457()Ljava/util/List;- official - a- Ldps;a()Ljava/util/List;
 
- 
computeNeighbors- Mappings:
- Namespace - Name - Mixin selector - named - computeNeighbors- Lnet/minecraft/block/RailPlacementHelper;computeNeighbors(Lnet/minecraft/block/enums/RailShape;)V- intermediary - method_10466- Lnet/minecraft/class_2452;method_10466(Lnet/minecraft/class_2768;)V- official - a- Ldps;a(Ldyb;)V
 
- 
updateNeighborPositionsprivate void updateNeighborPositions()- Mappings:
- Namespace - Name - Mixin selector - named - updateNeighborPositions- Lnet/minecraft/block/RailPlacementHelper;updateNeighborPositions()V- intermediary - method_10467- Lnet/minecraft/class_2452;method_10467()V- official - d- Ldps;d()V
 
- 
isVerticallyNearRail- Mappings:
- Namespace - Name - Mixin selector - named - isVerticallyNearRail- Lnet/minecraft/block/RailPlacementHelper;isVerticallyNearRail(Lnet/minecraft/util/math/BlockPos;)Z- intermediary - method_10456- Lnet/minecraft/class_2452;method_10456(Lnet/minecraft/class_2338;)Z- official - a- Ldps;a(Lji;)Z
 
- 
getNeighboringRail- Mappings:
- Namespace - Name - Mixin selector - named - getNeighboringRail- Lnet/minecraft/block/RailPlacementHelper;getNeighboringRail(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/RailPlacementHelper;- intermediary - method_10458- Lnet/minecraft/class_2452;method_10458(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2452;- official - b- Ldps;b(Lji;)Ldps;
 
- 
isNeighbor- Mappings:
- Namespace - Name - Mixin selector - named - isNeighbor- Lnet/minecraft/block/RailPlacementHelper;isNeighbor(Lnet/minecraft/block/RailPlacementHelper;)Z- intermediary - method_10464- Lnet/minecraft/class_2452;method_10464(Lnet/minecraft/class_2452;)Z- official - a- Ldps;a(Ldps;)Z
 
- 
isNeighbor- Mappings:
- Namespace - Name - Mixin selector - named - isNeighbor- Lnet/minecraft/block/RailPlacementHelper;isNeighbor(Lnet/minecraft/util/math/BlockPos;)Z- intermediary - method_10463- Lnet/minecraft/class_2452;method_10463(Lnet/minecraft/class_2338;)Z- official - c- Ldps;c(Lji;)Z
 
- 
getNeighborCountprotected int getNeighborCount()- Mappings:
- Namespace - Name - Mixin selector - named - getNeighborCount- Lnet/minecraft/block/RailPlacementHelper;getNeighborCount()I- intermediary - method_10460- Lnet/minecraft/class_2452;method_10460()I- official - b- Ldps;b()I
 
- 
canConnect- Mappings:
- Namespace - Name - Mixin selector - named - canConnect- Lnet/minecraft/block/RailPlacementHelper;canConnect(Lnet/minecraft/block/RailPlacementHelper;)Z- intermediary - method_10455- Lnet/minecraft/class_2452;method_10455(Lnet/minecraft/class_2452;)Z- official - b- Ldps;b(Ldps;)Z
 
- 
computeRailShape- Mappings:
- Namespace - Name - Mixin selector - named - computeRailShape- Lnet/minecraft/block/RailPlacementHelper;computeRailShape(Lnet/minecraft/block/RailPlacementHelper;)V- intermediary - method_10461- Lnet/minecraft/class_2452;method_10461(Lnet/minecraft/class_2452;)V- official - c- Ldps;c(Ldps;)V
 
- 
canConnect- Mappings:
- Namespace - Name - Mixin selector - named - canConnect- Lnet/minecraft/block/RailPlacementHelper;canConnect(Lnet/minecraft/util/math/BlockPos;)Z- intermediary - method_10465- Lnet/minecraft/class_2452;method_10465(Lnet/minecraft/class_2338;)Z- official - d- Ldps;d(Lji;)Z
 
- 
updateBlockStatepublic RailPlacementHelper updateBlockState(boolean powered, boolean forceUpdate, RailShape railShape) - Mappings:
- Namespace - Name - Mixin selector - named - updateBlockState- Lnet/minecraft/block/RailPlacementHelper;updateBlockState(ZZLnet/minecraft/block/enums/RailShape;)Lnet/minecraft/block/RailPlacementHelper;- intermediary - method_10459- Lnet/minecraft/class_2452;method_10459(ZZLnet/minecraft/class_2768;)Lnet/minecraft/class_2452;- official - a- Ldps;a(ZZLdyb;)Ldps;
 
- 
getBlockState- Mappings:
- Namespace - Name - Mixin selector - named - getBlockState- Lnet/minecraft/block/RailPlacementHelper;getBlockState()Lnet/minecraft/block/BlockState;- intermediary - method_10462- Lnet/minecraft/class_2452;method_10462()Lnet/minecraft/class_2680;- official - c- Ldps;c()Ldwy;
 
 
-