类 ConcretePowderBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.FallingBlock
-
- net.minecraft.block.ConcretePowderBlock
-
- 所有已实现的接口:
LandingBlock,ItemConvertible
public class ConcretePowderBlock extends FallingBlock
- Mappings:
Namespace Name official bzvintermediary net/minecraft/class_2292named net/minecraft/block/ConcretePowderBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 private BlockStatehardenedState-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 ConcretePowderBlock(Block hardened, AbstractBlock.Settings settings)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetColor(BlockState state, BlockView world, BlockPos pos)BlockStategetPlacementState(ItemPlacementContext ctx)BlockStategetStateForNeighborUpdate(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.private static booleanhardensIn(BlockState state)private static booleanhardensOnAnySide(BlockView world, BlockPos pos)voidonLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity)private static booleanshouldHarden(BlockView world, BlockPos pos, BlockState state)-
从类继承的方法 net.minecraft.block.FallingBlock
canFallThrough, configureFallingBlockEntity, getFallDelay, onBlockAdded, randomDisplayTick, scheduledTick
-
从类继承的方法 net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, 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, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
-
从类继承的方法 net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, 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.LandingBlock
getDamageSource, getEntityPredicate, onDestroyedOnLanding
-
-
-
-
字段详细资料
-
hardenedState
private final BlockState hardenedState
- Mappings:
Namespace Name Mixin selector official aLbzv;a:Lcjr;intermediary field_10810Lnet/minecraft/class_2292;field_10810:Lnet/minecraft/class_2680;named hardenedStateLnet/minecraft/block/ConcretePowderBlock;hardenedState:Lnet/minecraft/block/BlockState;
-
-
构造器详细资料
-
ConcretePowderBlock
public ConcretePowderBlock(Block hardened, AbstractBlock.Settings settings)
- Mappings:
Namespace Name Mixin selector official <init>Lbzv;<init>(Lbyq;Lcjq$c;)Vintermediary <init>Lnet/minecraft/class_2292;<init>(Lnet/minecraft/class_2248;Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/ConcretePowderBlock;<init>(Lnet/minecraft/block/Block;Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
方法详细资料
-
onLanding
public void onLanding(World world, BlockPos pos, BlockState fallingBlockState, BlockState currentStateInPos, FallingBlockEntity fallingBlockEntity)
- Mappings:
Namespace Name Mixin selector official aLcaz;a(Lbvr;Lgb;Lcjr;Lcjr;Lbgd;)Vintermediary method_10127Lnet/minecraft/class_5688;method_10127(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_1540;)Vnamed onLandingLnet/minecraft/block/LandingBlock;onLanding(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/FallingBlockEntity;)V
-
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;
-
shouldHarden
private static boolean shouldHarden(BlockView world, BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official bLbzv;b(Lbuv;Lgb;Lcjr;)Zintermediary method_24279Lnet/minecraft/class_2292;method_24279(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Znamed shouldHardenLnet/minecraft/block/ConcretePowderBlock;shouldHarden(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
hardensOnAnySide
private static boolean hardensOnAnySide(BlockView world, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLbzv;a(Lbuv;Lgb;)Zintermediary method_9798Lnet/minecraft/class_2292;method_9798(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Znamed hardensOnAnySideLnet/minecraft/block/ConcretePowderBlock;hardensOnAnySide(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
hardensIn
private static boolean hardensIn(BlockState state)
- Mappings:
Namespace Name Mixin selector official nLbzv;n(Lcjr;)Zintermediary method_9799Lnet/minecraft/class_2292;method_9799(Lnet/minecraft/class_2680;)Znamed hardensInLnet/minecraft/block/ConcretePowderBlock;hardensIn(Lnet/minecraft/block/BlockState;)Z
-
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在类中FallingBlock- 参数:
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;
-
getColor
public int getColor(BlockState state, BlockView world, BlockPos pos)
- 覆盖:
getColor在类中FallingBlock- Mappings:
Namespace Name Mixin selector official dLcba;d(Lcjr;Lbuv;Lgb;)Iintermediary method_10130Lnet/minecraft/class_2346;method_10130(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Inamed getColorLnet/minecraft/block/FallingBlock;getColor(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)I
-
-