类 BedBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.HorizontalFacingBlock
-
- net.minecraft.block.BedBlock
-
- 所有已实现的接口:
BlockEntityProvider,ItemConvertible
public class BedBlock extends HorizontalFacingBlock implements BlockEntityProvider
- Mappings:
Namespace Name official byjintermediary net/minecraft/class_2244named net/minecraft/block/BedBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 private DyeColorcolorprotected static VoxelShapeEAST_SHAPEprotected static intfield_31009private static intfield_31010protected static VoxelShapeLEG_1_SHAPEprotected static VoxelShapeLEG_2_SHAPEprotected static VoxelShapeLEG_3_SHAPEprotected static VoxelShapeLEG_4_SHAPEprotected static VoxelShapeNORTH_SHAPEstatic BooleanPropertyOCCUPIEDstatic EnumProperty<BedPart>PARTprotected static VoxelShapeSOUTH_SHAPEprotected static VoxelShapeTOP_SHAPEprotected static VoxelShapeWEST_SHAPE-
从类继承的字段 net.minecraft.block.HorizontalFacingBlock
FACING
-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 BedBlock(DyeColor color, AbstractBlock.Settings settings)
-
方法概要
-
从类继承的方法 net.minecraft.block.HorizontalFacingBlock
mirror, rotate
-
从类继承的方法 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, onBroken, onDestroyedByExplosion, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
-
从类继承的方法 net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getRaycastShape, getSidesShape, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, prepare, randomTick, scheduledTick
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.block.BlockEntityProvider
getGameEventListener, getTicker
-
-
-
-
字段详细资料
-
PART
public static final EnumProperty<BedPart> PART
- Mappings:
Namespace Name Mixin selector official aLbyj;a:Lckp;intermediary field_9967Lnet/minecraft/class_2244;field_9967:Lnet/minecraft/class_2754;named PARTLnet/minecraft/block/BedBlock;PART:Lnet/minecraft/state/property/EnumProperty;
-
OCCUPIED
public static final BooleanProperty OCCUPIED
- Mappings:
Namespace Name Mixin selector official bLbyj;b:Lcki;intermediary field_9968Lnet/minecraft/class_2244;field_9968:Lnet/minecraft/class_2746;named OCCUPIEDLnet/minecraft/block/BedBlock;OCCUPIED:Lnet/minecraft/state/property/BooleanProperty;
-
field_31009
protected static final int field_31009
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLbyj;c:Iintermediary field_31009Lnet/minecraft/class_2244;field_31009:Inamed field_31009Lnet/minecraft/block/BedBlock;field_31009:I
-
TOP_SHAPE
protected static final VoxelShape TOP_SHAPE
- Mappings:
Namespace Name Mixin selector official dLbyj;d:Ldmt;intermediary field_16788Lnet/minecraft/class_2244;field_16788:Lnet/minecraft/class_265;named TOP_SHAPELnet/minecraft/block/BedBlock;TOP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
field_31010
private static final int field_31010
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official mLbyj;m:Iintermediary field_31010Lnet/minecraft/class_2244;field_31010:Inamed field_31010Lnet/minecraft/block/BedBlock;field_31010:I
-
LEG_1_SHAPE
protected static final VoxelShape LEG_1_SHAPE
- Mappings:
Namespace Name Mixin selector official eLbyj;e:Ldmt;intermediary field_16782Lnet/minecraft/class_2244;field_16782:Lnet/minecraft/class_265;named LEG_1_SHAPELnet/minecraft/block/BedBlock;LEG_1_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
LEG_2_SHAPE
protected static final VoxelShape LEG_2_SHAPE
- Mappings:
Namespace Name Mixin selector official fLbyj;f:Ldmt;intermediary field_16784Lnet/minecraft/class_2244;field_16784:Lnet/minecraft/class_265;named LEG_2_SHAPELnet/minecraft/block/BedBlock;LEG_2_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
LEG_3_SHAPE
protected static final VoxelShape LEG_3_SHAPE
- Mappings:
Namespace Name Mixin selector official gLbyj;g:Ldmt;intermediary field_16786Lnet/minecraft/class_2244;field_16786:Lnet/minecraft/class_265;named LEG_3_SHAPELnet/minecraft/block/BedBlock;LEG_3_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
LEG_4_SHAPE
protected static final VoxelShape LEG_4_SHAPE
- Mappings:
Namespace Name Mixin selector official hLbyj;h:Ldmt;intermediary field_16789Lnet/minecraft/class_2244;field_16789:Lnet/minecraft/class_265;named LEG_4_SHAPELnet/minecraft/block/BedBlock;LEG_4_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_SHAPE
protected static final VoxelShape NORTH_SHAPE
- Mappings:
Namespace Name Mixin selector official iLbyj;i:Ldmt;intermediary field_16787Lnet/minecraft/class_2244;field_16787:Lnet/minecraft/class_265;named NORTH_SHAPELnet/minecraft/block/BedBlock;NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_SHAPE
protected static final VoxelShape SOUTH_SHAPE
- Mappings:
Namespace Name Mixin selector official jLbyj;j:Ldmt;intermediary field_16785Lnet/minecraft/class_2244;field_16785:Lnet/minecraft/class_265;named SOUTH_SHAPELnet/minecraft/block/BedBlock;SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_SHAPE
protected static final VoxelShape WEST_SHAPE
- Mappings:
Namespace Name Mixin selector official kLbyj;k:Ldmt;intermediary field_16783Lnet/minecraft/class_2244;field_16783:Lnet/minecraft/class_265;named WEST_SHAPELnet/minecraft/block/BedBlock;WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_SHAPE
protected static final VoxelShape EAST_SHAPE
- Mappings:
Namespace Name Mixin selector official lLbyj;l:Ldmt;intermediary field_16790Lnet/minecraft/class_2244;field_16790:Lnet/minecraft/class_265;named EAST_SHAPELnet/minecraft/block/BedBlock;EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
color
private final DyeColor color
- Mappings:
Namespace Name Mixin selector official nLbyj;n:Lbon;intermediary field_9966Lnet/minecraft/class_2244;field_9966:Lnet/minecraft/class_1767;named colorLnet/minecraft/block/BedBlock;color:Lnet/minecraft/util/DyeColor;
-
-
构造器详细资料
-
BedBlock
public BedBlock(DyeColor color, AbstractBlock.Settings settings)
- Mappings:
Namespace Name Mixin selector official <init>Lbyj;<init>(Lbon;Lcjq$c;)Vintermediary <init>Lnet/minecraft/class_2244;<init>(Lnet/minecraft/class_1767;Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/BedBlock;<init>(Lnet/minecraft/util/DyeColor;Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
方法详细资料
-
getDirection
@Nullable public static @Nullable Direction getDirection(BlockView world, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLbyj;a(Lbuv;Lgb;)Lgg;intermediary method_18476Lnet/minecraft/class_2244;method_18476(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2350;named getDirectionLnet/minecraft/block/BedBlock;getDirection(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Direction;
-
onUse
public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit)
Called when this block is used by a player. This, by default, is bound to using the right mouse button.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using
world.isClient().If the action result is successful on a logical client, then the action will be sent to the logical server for processing.
- 覆盖:
onUse在类中AbstractBlock- 返回:
- an action result that specifies if using the block was successful.
- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbvr;Lgb;Lbjf;Larf;Ldlw;)Larg;intermediary method_9534Lnet/minecraft/class_4970;method_9534(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;Lnet/minecraft/class_3965;)Lnet/minecraft/class_1269;named onUseLnet/minecraft/block/AbstractBlock;onUse(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/hit/BlockHitResult;)Lnet/minecraft/util/ActionResult;
-
isOverworld
public static boolean isOverworld(World world)
- Mappings:
Namespace Name Mixin selector official aLbyj;a(Lbvr;)Zintermediary method_27352Lnet/minecraft/class_2244;method_27352(Lnet/minecraft/class_1937;)Znamed isOverworldLnet/minecraft/block/BedBlock;isOverworld(Lnet/minecraft/world/World;)Z
-
isFree
private boolean isFree(World world, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLbyj;a(Lbvr;Lgb;)Zintermediary method_22357Lnet/minecraft/class_2244;method_22357(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Znamed isFreeLnet/minecraft/block/BedBlock;isFree(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-
onLandedUpon
public void onLandedUpon(World world, BlockPos pos, Entity entity, float distance)
- 覆盖:
onLandedUpon在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbvr;Lgb;Lasl;F)Vintermediary method_9554Lnet/minecraft/class_2248;method_9554(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;F)Vnamed onLandedUponLnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;F)V
-
onEntityLand
public void onEntityLand(BlockView world, Entity entity)
- 覆盖:
onEntityLand在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbuv;Lasl;)Vintermediary method_9502Lnet/minecraft/class_2248;method_9502(Lnet/minecraft/class_1922;Lnet/minecraft/class_1297;)Vnamed onEntityLandLnet/minecraft/block/Block;onEntityLand(Lnet/minecraft/world/BlockView;Lnet/minecraft/entity/Entity;)V
-
bounceEntity
private void bounceEntity(Entity entity)
- Mappings:
Namespace Name Mixin selector official aLbyj;a(Lasl;)Vintermediary method_21838Lnet/minecraft/class_2244;method_21838(Lnet/minecraft/class_1297;)Vnamed bounceEntityLnet/minecraft/block/BedBlock;bounceEntity(Lnet/minecraft/entity/Entity;)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;
-
getDirectionTowardsOtherPart
private static Direction getDirectionTowardsOtherPart(BedPart part, Direction direction)
- Mappings:
Namespace Name Mixin selector official aLbyj;a(Lckf;Lgg;)Lgg;intermediary method_9488Lnet/minecraft/class_2244;method_9488(Lnet/minecraft/class_2742;Lnet/minecraft/class_2350;)Lnet/minecraft/class_2350;named getDirectionTowardsOtherPartLnet/minecraft/block/BedBlock;getDirectionTowardsOtherPart(Lnet/minecraft/block/enums/BedPart;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Direction;
-
onBreak
public void onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
- 覆盖:
onBreak在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbvr;Lgb;Lcjr;Lbjf;)Vintermediary method_9576Lnet/minecraft/class_2248;method_9576(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
-
getPlacementState
@Nullable public @Nullable 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;
-
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;
-
getOppositePartDirection
public static Direction getOppositePartDirection(BlockState state)
- Mappings:
Namespace Name Mixin selector official gLbyj;g(Lcjr;)Lgg;intermediary method_24163Lnet/minecraft/class_2244;method_24163(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2350;named getOppositePartDirectionLnet/minecraft/block/BedBlock;getOppositePartDirection(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/math/Direction;
-
getBedPart
public static DoubleBlockProperties.Type getBedPart(BlockState state)
- Mappings:
Namespace Name Mixin selector official hLbyj;h(Lcjr;)Lcan$a;intermediary method_24164Lnet/minecraft/class_2244;method_24164(Lnet/minecraft/class_2680;)Lnet/minecraft/class_4732$class_4733;named getBedPartLnet/minecraft/block/BedBlock;getBedPart(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/DoubleBlockProperties$Type;
-
isBed
private static boolean isBed(BlockView world, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official bLbyj;b(Lbuv;Lgb;)Zintermediary method_30839Lnet/minecraft/class_2244;method_30839(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Znamed isBedLnet/minecraft/block/BedBlock;isBed(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Z
-
findWakeUpPosition
public static Optional<Vec3d> findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, float float2)
- Mappings:
Namespace Name Mixin selector official aLbyj;a(Lasp;Lbva;Lgb;F)Ljava/util/Optional;intermediary method_9484Lnet/minecraft/class_2244;method_9484(Lnet/minecraft/class_1299;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;F)Ljava/util/Optional;named findWakeUpPositionLnet/minecraft/block/BedBlock;findWakeUpPosition(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/BlockPos;F)Ljava/util/Optional;
-
findWakeUpPosition
private static Optional<Vec3d> findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, Direction direction, Direction direction2)
- Mappings:
Namespace Name Mixin selector official aLbyj;a(Lasp;Lbva;Lgb;Lgg;Lgg;)Ljava/util/Optional;intermediary method_30835Lnet/minecraft/class_2244;method_30835(Lnet/minecraft/class_1299;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)Ljava/util/Optional;named findWakeUpPositionLnet/minecraft/block/BedBlock;findWakeUpPosition(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)Ljava/util/Optional;
-
findWakeUpPosition
private static Optional<Vec3d> findWakeUpPosition(EntityType<?> type, CollisionView world, BlockPos pos, int[][] int2, boolean bool)
- Mappings:
Namespace Name Mixin selector official aLbyj;a(Lasp;Lbva;Lgb;[[IZ)Ljava/util/Optional;intermediary method_30836Lnet/minecraft/class_2244;method_30836(Lnet/minecraft/class_1299;Lnet/minecraft/class_1941;Lnet/minecraft/class_2338;[[IZ)Ljava/util/Optional;named findWakeUpPositionLnet/minecraft/block/BedBlock;findWakeUpPosition(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/CollisionView;Lnet/minecraft/util/math/BlockPos;[[IZ)Ljava/util/Optional;
-
getPistonBehavior
public PistonBehavior getPistonBehavior(BlockState state)
- 覆盖:
getPistonBehavior在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official dLcjq;d(Lcjr;)Lddy;intermediary method_9527Lnet/minecraft/class_4970;method_9527(Lnet/minecraft/class_2680;)Lnet/minecraft/class_3619;named getPistonBehaviorLnet/minecraft/block/AbstractBlock;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;
-
getRenderType
public BlockRenderType getRenderType(BlockState state)
- 覆盖:
getRenderType在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official b_Lcjq;b_(Lcjr;)Lced;intermediary method_9604Lnet/minecraft/class_4970;method_9604(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2464;named getRenderTypeLnet/minecraft/block/AbstractBlock;getRenderType(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockRenderType;
-
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
-
createBlockEntity
public BlockEntity createBlockEntity(BlockPos pos, BlockState state)
- 指定者:
createBlockEntity在接口中BlockEntityProvider- Mappings:
Namespace Name Mixin selector official aLcax;a(Lgb;Lcjr;)Lchp;intermediary method_10123Lnet/minecraft/class_2343;method_10123(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2586;named createBlockEntityLnet/minecraft/block/BlockEntityProvider;createBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/BlockEntity;
-
onPlaced
public void onPlaced(World world, BlockPos pos, BlockState state, @Nullable @Nullable LivingEntity placer, ItemStack itemStack)
- 覆盖:
onPlaced在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbvr;Lgb;Lcjr;Lasy;Lbpr;)Vintermediary method_9567Lnet/minecraft/class_2248;method_9567(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1309;Lnet/minecraft/class_1799;)Vnamed onPlacedLnet/minecraft/block/Block;onPlaced(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;)V
-
getColor
public DyeColor getColor()
- Mappings:
Namespace Name Mixin selector official cLbyj;c()Lbon;intermediary method_9487Lnet/minecraft/class_2244;method_9487()Lnet/minecraft/class_1767;named getColorLnet/minecraft/block/BedBlock;getColor()Lnet/minecraft/util/DyeColor;
-
getRenderingSeed
public long getRenderingSeed(BlockState state, BlockPos pos)
- 覆盖:
getRenderingSeed在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lgb;)Jintermediary method_9535Lnet/minecraft/class_4970;method_9535(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Jnamed getRenderingSeedLnet/minecraft/block/AbstractBlock;getRenderingSeed(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)J
-
canPathfindThrough
public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
- 覆盖:
canPathfindThrough在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbuv;Lgb;Ldgb;)Zintermediary method_9516Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_10;)Znamed canPathfindThroughLnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z
-
method_30838
private static int[][] method_30838(Direction direction, Direction direction2)
- Mappings:
Namespace Name Mixin selector official aLbyj;a(Lgg;Lgg;)[[Iintermediary method_30838Lnet/minecraft/class_2244;method_30838(Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)[[Inamed method_30838Lnet/minecraft/block/BedBlock;method_30838(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)[[I
-
method_30840
private static int[][] method_30840(Direction direction, Direction direction2)
- Mappings:
Namespace Name Mixin selector official bLbyj;b(Lgg;Lgg;)[[Iintermediary method_30840Lnet/minecraft/class_2244;method_30840(Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)[[Inamed method_30840Lnet/minecraft/block/BedBlock;method_30840(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)[[I
-
method_30837
private static int[][] method_30837(Direction direction)
- Mappings:
Namespace Name Mixin selector official aLbyj;a(Lgg;)[[Iintermediary method_30837Lnet/minecraft/class_2244;method_30837(Lnet/minecraft/class_2350;)[[Inamed method_30837Lnet/minecraft/block/BedBlock;method_30837(Lnet/minecraft/util/math/Direction;)[[I
-
-