Package net.minecraft.block
Class AbstractRailBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.AbstractRailBlock
- All Implemented Interfaces:
Itemable
- Direct Known Subclasses:
DetectorRailBlock,PoweredRailBlock,RailBlock
- Mappings:
Namespace Name official bcointermediary net/minecraft/class_1446named net/minecraft/block/AbstractRailBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprotected static final VoxelShapeprotected static final VoxelShapeFields 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 TypeMethodDescriptiongetOutlineShape(BlockState state, BlockView world, BlockPos pos) getPistonBehavior(BlockState state) Returns the appropriate RenderLayer for a block.abstract Property<class_2175>static booleanbooleanmethod_11562(BlockState state) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) booleanstatic booleanmethod_16555(BlockState blockState) booleanmethod_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) protected voidmethod_8613(BlockState blockState, World world, BlockPos blockPos, Block block) voidmethod_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) voidmethod_8668(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2) voidprotected BlockStateupdateBlockState(World world, BlockPos pos, BlockState state, boolean forceUpdate) Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, appendProperties, 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, withMirror, withRotation
-
Field Details
-
field_17737
- Mappings:
Namespace Name Mixin selector official aLbco;a:Lcew;intermediary field_17737Lnet/minecraft/class_1446;field_17737:Lnet/minecraft/class_4100;named field_17737Lnet/minecraft/block/AbstractRailBlock;field_17737:Lnet/minecraft/util/shapes/VoxelShape;
-
field_17738
- Mappings:
Namespace Name Mixin selector official bLbco;b:Lcew;intermediary field_17738Lnet/minecraft/class_1446;field_17738:Lnet/minecraft/class_4100;named field_17738Lnet/minecraft/block/AbstractRailBlock;field_17738:Lnet/minecraft/util/shapes/VoxelShape;
-
allowCurves
private final boolean allowCurves- Mappings:
Namespace Name Mixin selector official cLbco;c:Zintermediary field_5516Lnet/minecraft/class_1446;field_5516:Znamed allowCurvesLnet/minecraft/block/AbstractRailBlock;allowCurves:Z
-
-
Constructor Details
-
AbstractRailBlock
-
-
Method Details
-
isRail
- Mappings:
Namespace Name Mixin selector official aLbco;a(Laxy;Lel;)Zintermediary method_8615Lnet/minecraft/class_1446;method_8615(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed isRailLnet/minecraft/block/AbstractRailBlock;isRail(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
method_16555
- Mappings:
Namespace Name Mixin selector official kLbco;k(Lblc;)Zintermediary method_16555Lnet/minecraft/class_1446;method_16555(Lnet/minecraft/class_2232;)Znamed method_16555Lnet/minecraft/block/AbstractRailBlock;method_16555(Lnet/minecraft/block/BlockState;)Z
-
method_16554
public boolean method_16554()- Mappings:
Namespace Name Mixin selector official dLbco;d()Zintermediary method_16554Lnet/minecraft/class_1446;method_16554()Znamed method_16554Lnet/minecraft/block/AbstractRailBlock;method_16554()Z
-
getOutlineShape
- Overrides:
getOutlineShapein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;)Lcew;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;named getOutlineShapeLnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
-
method_14307
public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) - Overrides:
method_14307in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;intermediary method_14307Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;named method_14307Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
method_16570
public boolean method_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) - Overrides:
method_16570in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Layc;Lel;)Zintermediary method_16570Lnet/minecraft/class_197;method_16570(Lnet/minecraft/class_2232;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Znamed method_16570Lnet/minecraft/block/Block;method_16570(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
method_8668
public void method_8668(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2) - Overrides:
method_8668in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;)Vintermediary method_8668Lnet/minecraft/class_197;method_8668(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)Vnamed method_8668Lnet/minecraft/block/Block;method_8668(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
onBreak
- Overrides:
onBreakin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lbcs;Lel;)Vintermediary method_8641Lnet/minecraft/class_197;method_8641(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_197;Lnet/minecraft/class_2552;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;)V
-
method_8613
- 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
-
updateBlockState
protected BlockState updateBlockState(World world, BlockPos pos, BlockState state, boolean forceUpdate) - Mappings:
Namespace Name Mixin selector official aLbco;a(Laxy;Lel;Lblc;Z)Lblc;intermediary method_8612Lnet/minecraft/class_1446;method_8612(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)Lnet/minecraft/class_2232;named updateBlockStateLnet/minecraft/block/AbstractRailBlock;updateBlockState(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
-
getPistonBehavior
- Overrides:
getPistonBehaviorin classBlock- Mappings:
Namespace Name Mixin selector official jLbcs;j(Lblc;)Lbzc;intermediary method_11567Lnet/minecraft/class_197;method_11567(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2768;named getPistonBehaviorLnet/minecraft/block/Block;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;
-
getRenderLayerType
Returns the appropriate RenderLayer for a block. Only called on the client.- Overrides:
getRenderLayerTypein classBlock- Returns:
- The block's RenderLayer
- Mappings:
Namespace Name Mixin selector official cLbcs;c()Laxl;intermediary method_8687Lnet/minecraft/class_197;method_8687()Lnet/minecraft/class_2165;named getRenderLayerTypeLnet/minecraft/block/Block;getRenderLayerType()Lnet/minecraft/client/render/BlockRenderLayer;
-
method_8659
public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) - Overrides:
method_8659in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;Z)Vintermediary method_8659Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)Vnamed method_8659Lnet/minecraft/block/Block;method_8659(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
-
getShapeProperty
- 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;
-