Package net.minecraft.block
Class ScaffoldingBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.ScaffoldingBlock
- All Implemented Interfaces:
FluidDrainable
,FluidFillable
,Waterloggable
,ItemConvertible
- Mappings:
Namespace Name official cfn
intermediary net/minecraft/class_3736
named net/minecraft/block/ScaffoldingBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BooleanProperty
private static final VoxelShape
private static final VoxelShape
static final IntProperty
private static final int
static final int
private static final VoxelShape
private static final VoxelShape
static final BooleanProperty
Fields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, LOGGER, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendProperties
(StateManager.Builder<Block, BlockState> builder) static int
calculateDistance
(BlockView world, BlockPos pos) boolean
canPlaceAt
(BlockState state, WorldView world, BlockPos pos) boolean
canReplace
(BlockState state, ItemPlacementContext context) getCollisionShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getFluidState
(BlockState state) getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getRaycastShape
(BlockState state, BlockView world, BlockPos pos) getStateForNeighborUpdate
(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.void
onBlockAdded
(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) void
scheduledTick
(BlockState state, ServerWorld world, BlockPos pos, Random random) private boolean
shouldBeBottom
(BlockView world, BlockPos pos, int distance) Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getHardness, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, method_37247, method_37403, mirror, neighborUpdate, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
-
Field Details
-
field_31238
private static final int field_31238- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lcfn;e:I
intermediary field_31238
Lnet/minecraft/class_3736;field_31238:I
named field_31238
Lnet/minecraft/block/ScaffoldingBlock;field_31238:I
-
NORMAL_OUTLINE_SHAPE
- Mappings:
Namespace Name Mixin selector official f
Lcfn;f:Ldnt;
intermediary field_16494
Lnet/minecraft/class_3736;field_16494:Lnet/minecraft/class_265;
named NORMAL_OUTLINE_SHAPE
Lnet/minecraft/block/ScaffoldingBlock;NORMAL_OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
BOTTOM_OUTLINE_SHAPE
- Mappings:
Namespace Name Mixin selector official g
Lcfn;g:Ldnt;
intermediary field_16497
Lnet/minecraft/class_3736;field_16497:Lnet/minecraft/class_265;
named BOTTOM_OUTLINE_SHAPE
Lnet/minecraft/block/ScaffoldingBlock;BOTTOM_OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
COLLISION_SHAPE
- Mappings:
Namespace Name Mixin selector official h
Lcfn;h:Ldnt;
intermediary field_17577
Lnet/minecraft/class_3736;field_17577:Lnet/minecraft/class_265;
named COLLISION_SHAPE
Lnet/minecraft/block/ScaffoldingBlock;COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
OUTLINE_SHAPE
- Mappings:
Namespace Name Mixin selector official i
Lcfn;i:Ldnt;
intermediary field_17578
Lnet/minecraft/class_3736;field_17578:Lnet/minecraft/class_265;
named OUTLINE_SHAPE
Lnet/minecraft/block/ScaffoldingBlock;OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
MAX_DISTANCE
public static final int MAX_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lcfn;a:I
intermediary field_31237
Lnet/minecraft/class_3736;field_31237:I
named MAX_DISTANCE
Lnet/minecraft/block/ScaffoldingBlock;MAX_DISTANCE:I
-
DISTANCE
- Mappings:
Namespace Name Mixin selector official b
Lcfn;b:Lcls;
intermediary field_16495
Lnet/minecraft/class_3736;field_16495:Lnet/minecraft/class_2758;
named DISTANCE
Lnet/minecraft/block/ScaffoldingBlock;DISTANCE:Lnet/minecraft/state/property/IntProperty;
-
WATERLOGGED
- Mappings:
Namespace Name Mixin selector official c
Lcfn;c:Lclj;
intermediary field_16496
Lnet/minecraft/class_3736;field_16496:Lnet/minecraft/class_2746;
named WATERLOGGED
Lnet/minecraft/block/ScaffoldingBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
-
BOTTOM
- Mappings:
Namespace Name Mixin selector official d
Lcfn;d:Lclj;
intermediary field_16547
Lnet/minecraft/class_3736;field_16547:Lnet/minecraft/class_2746;
named BOTTOM
Lnet/minecraft/block/ScaffoldingBlock;BOTTOM:Lnet/minecraft/state/property/BooleanProperty;
-
-
Constructor Details
-
ScaffoldingBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lckr;<init>(Lckr$c;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
appendProperties
- Overrides:
appendProperties
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lbzo;a(Lckt$a;)V
intermediary method_9515
Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)V
named appendProperties
Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lckr;a(Lcks;Lbvt;Lgg;Ldnf;)Ldnt;
intermediary method_9530
Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
named getOutlineShape
Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
-
getRaycastShape
- Overrides:
getRaycastShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lckr;a(Lcks;Lbvt;Lgg;)Ldnt;
intermediary method_9584
Lnet/minecraft/class_4970;method_9584(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
named getRaycastShape
Lnet/minecraft/block/AbstractBlock;getRaycastShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
canReplace
- Overrides:
canReplace
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lckr;a(Lcks;Lbsp;)Z
intermediary method_9616
Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Z
named canReplace
Lnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)Z
-
getPlacementState
- Overrides:
getPlacementState
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lbzo;a(Lbsp;)Lcks;
intermediary method_9605
Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;
named getPlacementState
Lnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
onBlockAdded
public void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify) - Overrides:
onBlockAdded
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official b
Lckr;b(Lcks;Lbwp;Lgg;Lcks;Z)V
intermediary method_9615
Lnet/minecraft/class_4970;method_9615(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)V
named onBlockAdded
Lnet/minecraft/block/AbstractBlock;onBlockAdded(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState neighborState, WorldAccess world, BlockPos pos, BlockPos neighborPos) Gets the possibly updated block state of this block when a neighboring block is updated.- Overrides:
getStateForNeighborUpdate
in classAbstractBlock
- Parameters:
state
- the state of this blockdirection
- the direction from this block to the neighborneighborState
- the state of the updated neighbor blockworld
- the worldpos
- the position of this blockneighborPos
- the position of the neighbor block- Returns:
- the new state of this block
- Mappings:
Namespace Name Mixin selector official a
Lckr;a(Lcks;Lgl;Lcks;Lbwq;Lgg;Lgg;)Lcks;
intermediary method_9559
Lnet/minecraft/class_4970;method_9559(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_2680;Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
named getStateForNeighborUpdate
Lnet/minecraft/block/AbstractBlock;getStateForNeighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
scheduledTick
- Overrides:
scheduledTick
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lckr;a(Lcks;Labr;Lgg;Ljava/util/Random;)V
intermediary method_9588
Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)V
named scheduledTick
Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
canPlaceAt
- Overrides:
canPlaceAt
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lckr;a(Lcks;Lbws;Lgg;)Z
intermediary method_9558
Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
named canPlaceAt
Lnet/minecraft/block/AbstractBlock;canPlaceAt(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-
getCollisionShape
public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getCollisionShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official c
Lckr;c(Lcks;Lbvt;Lgg;Ldnf;)Ldnt;
intermediary method_9549
Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;
named getCollisionShape
Lnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
-
getFluidState
- Overrides:
getFluidState
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official c_
Lckr;c_(Lcks;)Ldes;
intermediary method_9545
Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;
named getFluidState
Lnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
-
shouldBeBottom
- Mappings:
Namespace Name Mixin selector official a
Lcfn;a(Lbvt;Lgg;I)Z
intermediary method_16373
Lnet/minecraft/class_3736;method_16373(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;I)Z
named shouldBeBottom
Lnet/minecraft/block/ScaffoldingBlock;shouldBeBottom(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;I)Z
-
calculateDistance
- Mappings:
Namespace Name Mixin selector official a
Lcfn;a(Lbvt;Lgg;)I
intermediary method_16372
Lnet/minecraft/class_3736;method_16372(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)I
named calculateDistance
Lnet/minecraft/block/ScaffoldingBlock;calculateDistance(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
-