Package net.minecraft.block
Class PoweredRailBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.AbstractRailBlock
net.minecraft.block.PoweredRailBlock
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official bgointermediary net/minecraft/class_1454named net/minecraft/block/PoweredRailBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnumProperty<class_2175>static final BooleanPropertyFields inherited from class net.minecraft.block.AbstractRailBlock
field_17737, field_17738Fields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockSoundGroup, collidable, hardness, lightLevel, LOGGER, material, materialColor, randomTicks, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) protected booleanisPoweredByOtherRails(World world, BlockPos pos, BlockState state, boolean boolean4, int distance) protected voidmethod_8613(BlockState blockState, World world, BlockPos blockPos, Block block) protected booleanmethod_8855(World world, BlockPos blockPos, boolean bool, int int2, class_2175 class_2175) withMirror(BlockState state, BlockMirror mirror) withRotation(BlockState state, BlockRotation rotation) Methods inherited from class net.minecraft.block.AbstractRailBlock
getOutlineShape, getPistonBehavior, getRenderLayerType, isRail, method_11562, method_14307, method_16554, method_16555, method_16570, method_8659, method_8668, onBreak, updateBlockStateMethods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getFluidState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getRawIdFromState, getRayTraceShape, getRenderingSeed, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11564, method_11565, method_11566, method_11568, method_11575, method_11576, method_11577, method_13315, method_13703, method_13704, method_14308, method_14309, method_16563, method_16564, method_16565, method_16566, method_16568, method_16569, method_16572, method_16573, method_16575, method_16580, method_16582, method_16583, method_16584, method_16585, method_16586, method_16588, method_16592, method_16593, method_16596, method_16599, method_16600, method_397, method_400, method_403, method_410, method_414, method_416, method_420, method_421, method_435, method_8640, method_8650, method_8651, method_8653, method_8661, method_8664, method_8669, method_8674, onBlockBreak, onBreakByPlayer, onDestroyedByExplosion, onLandedUpon, onPlaced, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString
-
Field Details
-
field_18429
- Mappings:
Namespace Name Mixin selector official cLbgo;c:Lbmh;intermediary field_18429Lnet/minecraft/class_1454;field_18429:Lnet/minecraft/class_2245;named field_18429Lnet/minecraft/block/PoweredRailBlock;field_18429:Lnet/minecraft/state/property/EnumProperty;
-
field_18430
- Mappings:
Namespace Name Mixin selector official oLbgo;o:Lbmb;intermediary field_18430Lnet/minecraft/class_1454;field_18430:Lnet/minecraft/class_2243;named field_18430Lnet/minecraft/block/PoweredRailBlock;field_18430:Lnet/minecraft/state/property/BooleanProperty;
-
-
Constructor Details
-
PoweredRailBlock
- Mappings:
Namespace Name Mixin selector official <init>Lbcs;<init>(Lbcs$c;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
-
-
Method Details
-
isPoweredByOtherRails
protected boolean isPoweredByOtherRails(World world, BlockPos pos, BlockState state, boolean boolean4, int distance) - Mappings:
Namespace Name Mixin selector official aLbgo;a(Laxy;Lel;Lblc;ZI)Zintermediary method_8854Lnet/minecraft/class_1454;method_8854(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;ZI)Znamed isPoweredByOtherRailsLnet/minecraft/block/PoweredRailBlock;isPoweredByOtherRails(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;ZI)Z
-
method_8855
protected boolean method_8855(World world, BlockPos blockPos, boolean bool, int int2, class_2175 class_2175) - Mappings:
Namespace Name Mixin selector official aLbgo;a(Laxy;Lel;ZILbmn;)Zintermediary method_8855Lnet/minecraft/class_1454;method_8855(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;ZILnet/minecraft/class_2175;)Znamed method_8855Lnet/minecraft/block/PoweredRailBlock;method_8855(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;ZILnet/minecraft/class_2175;)Z
-
method_8613
- Overrides:
method_8613in classAbstractRailBlock- Mappings:
Namespace Name Mixin selector official aLbco;a(Lblc;Laxy;Lel;Lbcs;)Vintermediary method_8613Lnet/minecraft/class_1446;method_8613(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;)Vnamed method_8613Lnet/minecraft/block/AbstractRailBlock;method_8613(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
getShapeProperty
- Specified by:
getShapePropertyin classAbstractRailBlock- Mappings:
Namespace Name Mixin selector official eLbco;e()Lbmm;intermediary method_8616Lnet/minecraft/class_1446;method_8616()Lnet/minecraft/class_2247;named getShapePropertyLnet/minecraft/block/AbstractRailBlock;getShapeProperty()Lnet/minecraft/state/property/Property;
-
withRotation
- Overrides:
withRotationin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Lbhb;)Lblc;intermediary method_11556Lnet/minecraft/class_197;method_11556(Lnet/minecraft/class_2232;Lnet/minecraft/class_2734;)Lnet/minecraft/class_2232;named withRotationLnet/minecraft/block/Block;withRotation(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
withMirror
- Overrides:
withMirrorin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Lbfz;)Lblc;intermediary method_11555Lnet/minecraft/class_197;method_11555(Lnet/minecraft/class_2232;Lnet/minecraft/class_2727;)Lnet/minecraft/class_2232;named withMirrorLnet/minecraft/block/Block;withMirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lble$a;)Vintermediary method_16576Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-