类 ScaffoldingBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.ScaffoldingBlock
-
- 所有已实现的接口:
FluidDrainable,FluidFillable,Waterloggable,ItemConvertible
public class ScaffoldingBlock extends Block implements Waterloggable
- Mappings:
Namespace Name official cenintermediary net/minecraft/class_3736named net/minecraft/block/ScaffoldingBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 static BooleanPropertyBOTTOMprivate static VoxelShapeBOTTOM_OUTLINE_SHAPEprivate static VoxelShapeCOLLISION_SHAPEstatic IntPropertyDISTANCEstatic intfield_31237private static intfield_31238private static VoxelShapeNORMAL_OUTLINE_SHAPEprivate static VoxelShapeOUTLINE_SHAPEstatic BooleanPropertyWATERLOGGED-
从类继承的字段 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
-
从类继承的字段 net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
-
构造器概要
构造器 限定符 构造器 说明 protectedScaffoldingBlock(AbstractBlock.Settings settings)
-
方法概要
-
从类继承的方法 net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, 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
-
从类继承的方法 net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.block.Waterloggable
canFillWithFluid, getBucketFillSound, tryDrainFluid, tryFillWithFluid
-
-
-
-
字段详细资料
-
field_31238
private static final int field_31238
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official eLcen;e:Iintermediary field_31238Lnet/minecraft/class_3736;field_31238:Inamed field_31238Lnet/minecraft/block/ScaffoldingBlock;field_31238:I
-
NORMAL_OUTLINE_SHAPE
private static final VoxelShape NORMAL_OUTLINE_SHAPE
- Mappings:
Namespace Name Mixin selector official fLcen;f:Ldmt;intermediary field_16494Lnet/minecraft/class_3736;field_16494:Lnet/minecraft/class_265;named NORMAL_OUTLINE_SHAPELnet/minecraft/block/ScaffoldingBlock;NORMAL_OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
BOTTOM_OUTLINE_SHAPE
private static final VoxelShape BOTTOM_OUTLINE_SHAPE
- Mappings:
Namespace Name Mixin selector official gLcen;g:Ldmt;intermediary field_16497Lnet/minecraft/class_3736;field_16497:Lnet/minecraft/class_265;named BOTTOM_OUTLINE_SHAPELnet/minecraft/block/ScaffoldingBlock;BOTTOM_OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
COLLISION_SHAPE
private static final VoxelShape COLLISION_SHAPE
- Mappings:
Namespace Name Mixin selector official hLcen;h:Ldmt;intermediary field_17577Lnet/minecraft/class_3736;field_17577:Lnet/minecraft/class_265;named COLLISION_SHAPELnet/minecraft/block/ScaffoldingBlock;COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
OUTLINE_SHAPE
private static final VoxelShape OUTLINE_SHAPE
- Mappings:
Namespace Name Mixin selector official iLcen;i:Ldmt;intermediary field_17578Lnet/minecraft/class_3736;field_17578:Lnet/minecraft/class_265;named OUTLINE_SHAPELnet/minecraft/block/ScaffoldingBlock;OUTLINE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
field_31237
public static final int field_31237
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLcen;a:Iintermediary field_31237Lnet/minecraft/class_3736;field_31237:Inamed field_31237Lnet/minecraft/block/ScaffoldingBlock;field_31237:I
-
DISTANCE
public static final IntProperty DISTANCE
- Mappings:
Namespace Name Mixin selector official bLcen;b:Lckr;intermediary field_16495Lnet/minecraft/class_3736;field_16495:Lnet/minecraft/class_2758;named DISTANCELnet/minecraft/block/ScaffoldingBlock;DISTANCE:Lnet/minecraft/state/property/IntProperty;
-
WATERLOGGED
public static final BooleanProperty WATERLOGGED
- Mappings:
Namespace Name Mixin selector official cLcen;c:Lcki;intermediary field_16496Lnet/minecraft/class_3736;field_16496:Lnet/minecraft/class_2746;named WATERLOGGEDLnet/minecraft/block/ScaffoldingBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
-
BOTTOM
public static final BooleanProperty BOTTOM
- Mappings:
Namespace Name Mixin selector official dLcen;d:Lcki;intermediary field_16547Lnet/minecraft/class_3736;field_16547:Lnet/minecraft/class_2746;named BOTTOMLnet/minecraft/block/ScaffoldingBlock;BOTTOM:Lnet/minecraft/state/property/BooleanProperty;
-
-
构造器详细资料
-
ScaffoldingBlock
protected ScaffoldingBlock(AbstractBlock.Settings settings)
- Mappings:
Namespace Name Mixin selector official <init>Lcjq;<init>(Lcjq$c;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
方法详细资料
-
appendProperties
protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
- 覆盖:
appendProperties在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lcjs$a;)Vintermediary method_9515Lnet/minecraft/class_2248;method_9515(Lnet/minecraft/class_2689$class_2690;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
- 覆盖:
getOutlineShape在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;intermediary method_9530Lnet/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 getOutlineShapeLnet/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
public VoxelShape getRaycastShape(BlockState state, BlockView world, BlockPos pos)
- 覆盖:
getRaycastShape在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbuv;Lgb;)Ldmt;intermediary method_9584Lnet/minecraft/class_4970;method_9584(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getRaycastShapeLnet/minecraft/block/AbstractBlock;getRaycastShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
canReplace
public boolean canReplace(BlockState state, ItemPlacementContext context)
- 覆盖:
canReplace在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbrr;)Zintermediary method_9616Lnet/minecraft/class_4970;method_9616(Lnet/minecraft/class_2680;Lnet/minecraft/class_1750;)Znamed canReplaceLnet/minecraft/block/AbstractBlock;canReplace(Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemPlacementContext;)Z
-
getPlacementState
public BlockState getPlacementState(ItemPlacementContext ctx)
- 覆盖:
getPlacementState在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbrr;)Lcjr;intermediary method_9605Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;named getPlacementStateLnet/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)
- 覆盖:
onBlockAdded在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official bLcjq;b(Lcjr;Lbvr;Lgb;Lcjr;Z)Vintermediary method_9615Lnet/minecraft/class_4970;method_9615(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Vnamed onBlockAddedLnet/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.- 覆盖:
getStateForNeighborUpdate在类中AbstractBlock- 参数:
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- 返回:
- the new state of this block
- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lgg;Lcjr;Lbvs;Lgb;Lgb;)Lcjr;intermediary method_9559Lnet/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 getStateForNeighborUpdateLnet/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
public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random)
- 覆盖:
scheduledTick在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official a_Lcjq;a_(Lcjr;Labj;Lgb;Ljava/util/Random;)Vintermediary method_9588Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/util/Random;)Vnamed scheduledTickLnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
canPlaceAt
public boolean canPlaceAt(BlockState state, WorldView world, BlockPos pos)
- 覆盖:
canPlaceAt在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbvu;Lgb;)Zintermediary method_9558Lnet/minecraft/class_4970;method_9558(Lnet/minecraft/class_2680;Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed canPlaceAtLnet/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)
- 覆盖:
getCollisionShape在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official cLcjq;c(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;intermediary method_9549Lnet/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 getCollisionShapeLnet/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
public FluidState getFluidState(BlockState state)
- 覆盖:
getFluidState在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official c_Lcjq;c_(Lcjr;)Ldds;intermediary method_9545Lnet/minecraft/class_4970;method_9545(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/block/AbstractBlock;getFluidState(Lnet/minecraft/block/BlockState;)Lnet/minecraft/fluid/FluidState;
-
shouldBeBottom
private boolean shouldBeBottom(BlockView world, BlockPos pos, int distance)
- Mappings:
Namespace Name Mixin selector official aLcen;a(Lbuv;Lgb;I)Zintermediary method_16373Lnet/minecraft/class_3736;method_16373(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;I)Znamed shouldBeBottomLnet/minecraft/block/ScaffoldingBlock;shouldBeBottom(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;I)Z
-
calculateDistance
public static int calculateDistance(BlockView world, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLcen;a(Lbuv;Lgb;)Iintermediary method_16372Lnet/minecraft/class_3736;method_16372(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Inamed calculateDistanceLnet/minecraft/block/ScaffoldingBlock;calculateDistance(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
-
-