类 PistonHeadBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.FacingBlock
-
- net.minecraft.block.PistonHeadBlock
-
- 所有已实现的接口:
ItemConvertible
public class PistonHeadBlock extends FacingBlock
- Mappings:
Namespace Name official cjlintermediary net/minecraft/class_2671named net/minecraft/block/PistonHeadBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
-
从类继承的字段 net.minecraft.block.FacingBlock
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
-
-
构造器概要
构造器 构造器 说明 PistonHeadBlock(AbstractBlock.Settings settings)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidappendProperties(StateManager.Builder<Block,BlockState> builder)booleancanPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)booleancanPlaceAt(BlockState state, WorldView world, BlockPos pos)private static VoxelShapegetHeadShape(Direction direction, boolean shortHead)private static VoxelShape[]getHeadShapes(boolean shortHead)VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)ItemStackgetPickStack(BlockView world, BlockPos pos, BlockState state)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.booleanhasSidedTransparency(BlockState state)private booleanisAttached(BlockState headState, BlockState pistonState)BlockStatemirror(BlockState state, BlockMirror mirror)voidneighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)voidonBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)voidonStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate.BlockStaterotate(BlockState state, BlockRotation rotation)Applies a block rotation to a block state.-
从类继承的方法 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, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toString
-
从类继承的方法 net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, isSideInvisible, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onSyncedBlockEvent, onUse, prepare, randomTick, scheduledTick
-
-
-
-
字段详细资料
-
TYPE
public static final EnumProperty<PistonType> TYPE
- Mappings:
Namespace Name Mixin selector official bLcjl;b:Lckp;intermediary field_12224Lnet/minecraft/class_2671;field_12224:Lnet/minecraft/class_2754;named TYPELnet/minecraft/block/PistonHeadBlock;TYPE:Lnet/minecraft/state/property/EnumProperty;
-
SHORT
public static final BooleanProperty SHORT
- Mappings:
Namespace Name Mixin selector official cLcjl;c:Lcki;intermediary field_12227Lnet/minecraft/class_2671;field_12227:Lnet/minecraft/class_2746;named SHORTLnet/minecraft/block/PistonHeadBlock;SHORT:Lnet/minecraft/state/property/BooleanProperty;
-
field_31377
public static final float field_31377
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLcjl;d:Fintermediary field_31377Lnet/minecraft/class_2671;field_31377:Fnamed field_31377Lnet/minecraft/block/PistonHeadBlock;field_31377:F
-
EAST_HEAD_SHAPE
protected static final VoxelShape EAST_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official eLcjl;e:Ldmt;intermediary field_12222Lnet/minecraft/class_2671;field_12222:Lnet/minecraft/class_265;named EAST_HEAD_SHAPELnet/minecraft/block/PistonHeadBlock;EAST_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_HEAD_SHAPE
protected static final VoxelShape WEST_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official fLcjl;f:Ldmt;intermediary field_12214Lnet/minecraft/class_2671;field_12214:Lnet/minecraft/class_265;named WEST_HEAD_SHAPELnet/minecraft/block/PistonHeadBlock;WEST_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_HEAD_SHAPE
protected static final VoxelShape SOUTH_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official gLcjl;g:Ldmt;intermediary field_12228Lnet/minecraft/class_2671;field_12228:Lnet/minecraft/class_265;named SOUTH_HEAD_SHAPELnet/minecraft/block/PistonHeadBlock;SOUTH_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_HEAD_SHAPE
protected static final VoxelShape NORTH_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official hLcjl;h:Ldmt;intermediary field_12213Lnet/minecraft/class_2671;field_12213:Lnet/minecraft/class_265;named NORTH_HEAD_SHAPELnet/minecraft/block/PistonHeadBlock;NORTH_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
UP_HEAD_SHAPE
protected static final VoxelShape UP_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official iLcjl;i:Ldmt;intermediary field_12230Lnet/minecraft/class_2671;field_12230:Lnet/minecraft/class_265;named UP_HEAD_SHAPELnet/minecraft/block/PistonHeadBlock;UP_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
DOWN_HEAD_SHAPE
protected static final VoxelShape DOWN_HEAD_SHAPE
- Mappings:
Namespace Name Mixin selector official jLcjl;j:Ldmt;intermediary field_12220Lnet/minecraft/class_2671;field_12220:Lnet/minecraft/class_265;named DOWN_HEAD_SHAPELnet/minecraft/block/PistonHeadBlock;DOWN_HEAD_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
field_31378
protected static final float field_31378
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official kLcjl;k:Fintermediary field_31378Lnet/minecraft/class_2671;field_31378:Fnamed field_31378Lnet/minecraft/block/PistonHeadBlock;field_31378:F
-
field_31379
protected static final float field_31379
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official lLcjl;l:Fintermediary field_31379Lnet/minecraft/class_2671;field_31379:Fnamed field_31379Lnet/minecraft/block/PistonHeadBlock;field_31379:F
-
field_31380
protected static final float field_31380
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official mLcjl;m:Fintermediary field_31380Lnet/minecraft/class_2671;field_31380:Fnamed field_31380Lnet/minecraft/block/PistonHeadBlock;field_31380:F
-
UP_ARM_SHAPE
protected static final VoxelShape UP_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official nLcjl;n:Ldmt;intermediary field_12215Lnet/minecraft/class_2671;field_12215:Lnet/minecraft/class_265;named UP_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;UP_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
DOWN_ARM_SHAPE
protected static final VoxelShape DOWN_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official FLcjl;F:Ldmt;intermediary field_12226Lnet/minecraft/class_2671;field_12226:Lnet/minecraft/class_265;named DOWN_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;DOWN_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_ARM_SHAPE
protected static final VoxelShape SOUTH_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official GLcjl;G:Ldmt;intermediary field_12221Lnet/minecraft/class_2671;field_12221:Lnet/minecraft/class_265;named SOUTH_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;SOUTH_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_ARM_SHAPE
protected static final VoxelShape NORTH_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official HLcjl;H:Ldmt;intermediary field_12229Lnet/minecraft/class_2671;field_12229:Lnet/minecraft/class_265;named NORTH_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;NORTH_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_ARM_SHAPE
protected static final VoxelShape EAST_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official ILcjl;I:Ldmt;intermediary field_12218Lnet/minecraft/class_2671;field_12218:Lnet/minecraft/class_265;named EAST_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;EAST_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_ARM_SHAPE
protected static final VoxelShape WEST_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official JLcjl;J:Ldmt;intermediary field_12223Lnet/minecraft/class_2671;field_12223:Lnet/minecraft/class_265;named WEST_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;WEST_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_UP_ARM_SHAPE
protected static final VoxelShape SHORT_UP_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official KLcjl;K:Ldmt;intermediary field_12231Lnet/minecraft/class_2671;field_12231:Lnet/minecraft/class_265;named SHORT_UP_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;SHORT_UP_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_DOWN_ARM_SHAPE
protected static final VoxelShape SHORT_DOWN_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official LLcjl;L:Ldmt;intermediary field_12217Lnet/minecraft/class_2671;field_12217:Lnet/minecraft/class_265;named SHORT_DOWN_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;SHORT_DOWN_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_SOUTH_ARM_SHAPE
protected static final VoxelShape SHORT_SOUTH_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official MLcjl;M:Ldmt;intermediary field_12216Lnet/minecraft/class_2671;field_12216:Lnet/minecraft/class_265;named SHORT_SOUTH_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;SHORT_SOUTH_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_NORTH_ARM_SHAPE
protected static final VoxelShape SHORT_NORTH_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official NLcjl;N:Ldmt;intermediary field_12225Lnet/minecraft/class_2671;field_12225:Lnet/minecraft/class_265;named SHORT_NORTH_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;SHORT_NORTH_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_EAST_ARM_SHAPE
protected static final VoxelShape SHORT_EAST_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official OLcjl;O:Ldmt;intermediary field_12219Lnet/minecraft/class_2671;field_12219:Lnet/minecraft/class_265;named SHORT_EAST_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;SHORT_EAST_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_WEST_ARM_SHAPE
protected static final VoxelShape SHORT_WEST_ARM_SHAPE
- Mappings:
Namespace Name Mixin selector official PLcjl;P:Ldmt;intermediary field_12212Lnet/minecraft/class_2671;field_12212:Lnet/minecraft/class_265;named SHORT_WEST_ARM_SHAPELnet/minecraft/block/PistonHeadBlock;SHORT_WEST_ARM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SHORT_HEAD_SHAPES
private static final VoxelShape[] SHORT_HEAD_SHAPES
- Mappings:
Namespace Name Mixin selector official QLcjl;Q:[Ldmt;intermediary field_26660Lnet/minecraft/class_2671;field_26660:[Lnet/minecraft/class_265;named SHORT_HEAD_SHAPESLnet/minecraft/block/PistonHeadBlock;SHORT_HEAD_SHAPES:[Lnet/minecraft/util/shape/VoxelShape;
-
HEAD_SHAPES
private static final VoxelShape[] HEAD_SHAPES
- Mappings:
Namespace Name Mixin selector official RLcjl;R:[Ldmt;intermediary field_26661Lnet/minecraft/class_2671;field_26661:[Lnet/minecraft/class_265;named HEAD_SHAPESLnet/minecraft/block/PistonHeadBlock;HEAD_SHAPES:[Lnet/minecraft/util/shape/VoxelShape;
-
-
构造器详细资料
-
PistonHeadBlock
public PistonHeadBlock(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
-
-
方法详细资料
-
getHeadShapes
private static VoxelShape[] getHeadShapes(boolean shortHead)
- Mappings:
Namespace Name Mixin selector official aLcjl;a(Z)[Ldmt;intermediary method_31019Lnet/minecraft/class_2671;method_31019(Z)[Lnet/minecraft/class_265;named getHeadShapesLnet/minecraft/block/PistonHeadBlock;getHeadShapes(Z)[Lnet/minecraft/util/shape/VoxelShape;
-
getHeadShape
private static VoxelShape getHeadShape(Direction direction, boolean shortHead)
- Mappings:
Namespace Name Mixin selector official aLcjl;a(Lgg;Z)Ldmt;intermediary method_11520Lnet/minecraft/class_2671;method_11520(Lnet/minecraft/class_2350;Z)Lnet/minecraft/class_265;named getHeadShapeLnet/minecraft/block/PistonHeadBlock;getHeadShape(Lnet/minecraft/util/math/Direction;Z)Lnet/minecraft/util/shape/VoxelShape;
-
hasSidedTransparency
public boolean hasSidedTransparency(BlockState state)
- 覆盖:
hasSidedTransparency在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official f_Lcjq;f_(Lcjr;)Zintermediary method_9526Lnet/minecraft/class_4970;method_9526(Lnet/minecraft/class_2680;)Znamed hasSidedTransparencyLnet/minecraft/block/AbstractBlock;hasSidedTransparency(Lnet/minecraft/block/BlockState;)Z
-
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;
-
isAttached
private boolean isAttached(BlockState headState, BlockState pistonState)
- Mappings:
Namespace Name Mixin selector official aLcjl;a(Lcjr;Lcjr;)Zintermediary method_26980Lnet/minecraft/class_2671;method_26980(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Znamed isAttachedLnet/minecraft/block/PistonHeadBlock;isAttached(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Z
-
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
-
onStateReplaced
public void onStateReplaced(BlockState state, World world, BlockPos pos, BlockState newState, boolean moved)
Called inWorldChunk.setBlockState(BlockPos, BlockState, boolean)ifnewStateis different fromstate. Vanilla blocks perform removal cleanups here.- 覆盖:
onStateReplaced在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbvr;Lgb;Lcjr;Z)Vintermediary method_9536Lnet/minecraft/class_4970;method_9536(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Vnamed onStateReplacedLnet/minecraft/block/AbstractBlock;onStateReplaced(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;
-
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
-
neighborUpdate
public void neighborUpdate(BlockState state, World world, BlockPos pos, Block block, BlockPos fromPos, boolean notify)
- 覆盖:
neighborUpdate在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbvr;Lgb;Lbyq;Lgb;Z)Vintermediary method_9612Lnet/minecraft/class_4970;method_9612(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338;Z)Vnamed neighborUpdateLnet/minecraft/block/AbstractBlock;neighborUpdate(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos;Z)V
-
getPickStack
public ItemStack getPickStack(BlockView world, BlockPos pos, BlockState state)
- 覆盖:
getPickStack在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbuv;Lgb;Lcjr;)Lbpr;intermediary method_9574Lnet/minecraft/class_2248;method_9574(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;named getPickStackLnet/minecraft/block/Block;getPickStack(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
rotate
public BlockState rotate(BlockState state, BlockRotation rotation)
Applies a block rotation to a block state.By default, this returns the provided block state.
- 覆盖:
rotate在类中AbstractBlock- 返回:
- the rotated block state
- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lcek;)Lcjr;intermediary method_9598Lnet/minecraft/class_4970;method_9598(Lnet/minecraft/class_2680;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2680;named rotateLnet/minecraft/block/AbstractBlock;rotate(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/block/BlockState;
-
mirror
public BlockState mirror(BlockState state, BlockMirror mirror)
- 覆盖:
mirror在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lccy;)Lcjr;intermediary method_9569Lnet/minecraft/class_4970;method_9569(Lnet/minecraft/class_2680;Lnet/minecraft/class_2415;)Lnet/minecraft/class_2680;named mirrorLnet/minecraft/block/AbstractBlock;mirror(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/block/BlockState;
-
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
-
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
-
-