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 cpc
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, 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
afterBreak, appendStacks, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getRegistryEntry, 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, getMaxHorizontalModelOffset, getOpacity, getPistonBehavior, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, 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
Lcpc;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
Lcpc;f:Ldwm;
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
Lcpc;g:Ldwm;
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
Lcpc;h:Ldwm;
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
Lcpc;i:Ldwm;
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
Lcpc;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
Lcpc;b:Lcvr;
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
Lcpc;c:Lcvi;
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
Lcpc;d:Lcvi;
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>
Lcuq;<init>(Lcuq$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
Lciw;a(Lcus$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
Lcuq;a(Lcur;Lcfg;Lgt;Ldvy;)Ldwm;
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
Lcuq;a(Lcur;Lcfg;Lgt;)Ldwm;
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
Lcuq;a(Lcur;Lcca;)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
Lciw;a(Lcca;)Lcur;
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
Lcuq;b(Lcur;Lcga;Lgt;Lcur;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
Lcuq;a(Lcur;Lgy;Lcur;Lcgb;Lgt;Lgt;)Lcur;
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
Lcuq;a(Lcur;Lafo;Lgt;Lalu;)V
intermediary method_9588
Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V
named scheduledTick
Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V
-
canPlaceAt
- Overrides:
canPlaceAt
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcuq;a(Lcur;Lcgd;Lgt;)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
Lcuq;c(Lcur;Lcfg;Lgt;Ldvy;)Ldwm;
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_
Lcuq;c_(Lcur;)Ldoy;
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
Lcpc;a(Lcfg;Lgt;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
Lcpc;a(Lcfg;Lgt;)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
-