类 LecternBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.BlockWithEntity
-
- net.minecraft.block.LecternBlock
-
- 所有已实现的接口:
BlockEntityProvider,ItemConvertible
public class LecternBlock extends BlockWithEntity
- Mappings:
Namespace Name official ccointermediary net/minecraft/class_3715named net/minecraft/block/LecternBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 static VoxelShapeBASE_SHAPEstatic VoxelShapeBOTTOM_SHAPEstatic VoxelShapeCOLLISION_SHAPEstatic VoxelShapeCOLLISION_SHAPE_TOPstatic VoxelShapeEAST_SHAPEstatic DirectionPropertyFACINGprivate static intfield_31113static BooleanPropertyHAS_BOOKstatic VoxelShapeMIDDLE_SHAPEstatic VoxelShapeNORTH_SHAPEstatic BooleanPropertyPOWEREDstatic VoxelShapeSOUTH_SHAPEstatic VoxelShapeWEST_SHAPE-
从类继承的字段 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
-
-
构造器概要
构造器 限定符 构造器 说明 protectedLecternBlock(AbstractBlock.Settings settings)
-
方法概要
-
从类继承的方法 net.minecraft.block.BlockWithEntity
checkType, onSyncedBlockEvent
-
从类继承的方法 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, canPlaceAt, canReplace, getAmbientOcclusionLightLevel, getCameraCollisionShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getSidesShape, getStateForNeighborUpdate, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, prepare, randomTick
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
从接口继承的方法 net.minecraft.block.BlockEntityProvider
getGameEventListener, getTicker
-
-
-
-
字段详细资料
-
FACING
public static final DirectionProperty FACING
- Mappings:
Namespace Name Mixin selector official aLcco;a:Lckl;intermediary field_16404Lnet/minecraft/class_3715;field_16404:Lnet/minecraft/class_2753;named FACINGLnet/minecraft/block/LecternBlock;FACING:Lnet/minecraft/state/property/DirectionProperty;
-
POWERED
public static final BooleanProperty POWERED
- Mappings:
Namespace Name Mixin selector official bLcco;b:Lcki;intermediary field_17365Lnet/minecraft/class_3715;field_17365:Lnet/minecraft/class_2746;named POWEREDLnet/minecraft/block/LecternBlock;POWERED:Lnet/minecraft/state/property/BooleanProperty;
-
HAS_BOOK
public static final BooleanProperty HAS_BOOK
- Mappings:
Namespace Name Mixin selector official cLcco;c:Lcki;intermediary field_17366Lnet/minecraft/class_3715;field_17366:Lnet/minecraft/class_2746;named HAS_BOOKLnet/minecraft/block/LecternBlock;HAS_BOOK:Lnet/minecraft/state/property/BooleanProperty;
-
BOTTOM_SHAPE
public static final VoxelShape BOTTOM_SHAPE
- Mappings:
Namespace Name Mixin selector official dLcco;d:Ldmt;intermediary field_16406Lnet/minecraft/class_3715;field_16406:Lnet/minecraft/class_265;named BOTTOM_SHAPELnet/minecraft/block/LecternBlock;BOTTOM_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
MIDDLE_SHAPE
public static final VoxelShape MIDDLE_SHAPE
- Mappings:
Namespace Name Mixin selector official eLcco;e:Ldmt;intermediary field_16405Lnet/minecraft/class_3715;field_16405:Lnet/minecraft/class_265;named MIDDLE_SHAPELnet/minecraft/block/LecternBlock;MIDDLE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
BASE_SHAPE
public static final VoxelShape BASE_SHAPE
- Mappings:
Namespace Name Mixin selector official fLcco;f:Ldmt;intermediary field_16403Lnet/minecraft/class_3715;field_16403:Lnet/minecraft/class_265;named BASE_SHAPELnet/minecraft/block/LecternBlock;BASE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
COLLISION_SHAPE_TOP
public static final VoxelShape COLLISION_SHAPE_TOP
- Mappings:
Namespace Name Mixin selector official gLcco;g:Ldmt;intermediary field_17367Lnet/minecraft/class_3715;field_17367:Lnet/minecraft/class_265;named COLLISION_SHAPE_TOPLnet/minecraft/block/LecternBlock;COLLISION_SHAPE_TOP:Lnet/minecraft/util/shape/VoxelShape;
-
COLLISION_SHAPE
public static final VoxelShape COLLISION_SHAPE
- Mappings:
Namespace Name Mixin selector official hLcco;h:Ldmt;intermediary field_17368Lnet/minecraft/class_3715;field_17368:Lnet/minecraft/class_265;named COLLISION_SHAPELnet/minecraft/block/LecternBlock;COLLISION_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
WEST_SHAPE
public static final VoxelShape WEST_SHAPE
- Mappings:
Namespace Name Mixin selector official iLcco;i:Ldmt;intermediary field_17369Lnet/minecraft/class_3715;field_17369:Lnet/minecraft/class_265;named WEST_SHAPELnet/minecraft/block/LecternBlock;WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
NORTH_SHAPE
public static final VoxelShape NORTH_SHAPE
- Mappings:
Namespace Name Mixin selector official jLcco;j:Ldmt;intermediary field_17370Lnet/minecraft/class_3715;field_17370:Lnet/minecraft/class_265;named NORTH_SHAPELnet/minecraft/block/LecternBlock;NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
EAST_SHAPE
public static final VoxelShape EAST_SHAPE
- Mappings:
Namespace Name Mixin selector official kLcco;k:Ldmt;intermediary field_17371Lnet/minecraft/class_3715;field_17371:Lnet/minecraft/class_265;named EAST_SHAPELnet/minecraft/block/LecternBlock;EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
SOUTH_SHAPE
public static final VoxelShape SOUTH_SHAPE
- Mappings:
Namespace Name Mixin selector official lLcco;l:Ldmt;intermediary field_17372Lnet/minecraft/class_3715;field_17372:Lnet/minecraft/class_265;named SOUTH_SHAPELnet/minecraft/block/LecternBlock;SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
field_31113
private static final int field_31113
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official mLcco;m:Iintermediary field_31113Lnet/minecraft/class_3715;field_31113:Inamed field_31113Lnet/minecraft/block/LecternBlock;field_31113:I
-
-
构造器详细资料
-
LecternBlock
protected LecternBlock(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
-
-
方法详细资料
-
getRenderType
public BlockRenderType getRenderType(BlockState state)
- 覆盖:
getRenderType在类中BlockWithEntity- 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;
-
getCullingShape
public VoxelShape getCullingShape(BlockState state, BlockView world, BlockPos pos)
- 覆盖:
getCullingShape在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official a_Lcjq;a_(Lcjr;Lbuv;Lgb;)Ldmt;intermediary method_9571Lnet/minecraft/class_4970;method_9571(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getCullingShapeLnet/minecraft/block/AbstractBlock;getCullingShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)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
-
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;
-
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;
-
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;
-
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
-
createBlockEntity
public BlockEntity createBlockEntity(BlockPos pos, BlockState state)
- 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;
-
putBookIfAbsent
public static boolean putBookIfAbsent(@Nullable @Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack)
- Mappings:
Namespace Name Mixin selector official aLcco;a(Lbjf;Lbvr;Lgb;Lcjr;Lbpr;)Zintermediary method_17472Lnet/minecraft/class_3715;method_17472(Lnet/minecraft/class_1657;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1799;)Znamed putBookIfAbsentLnet/minecraft/block/LecternBlock;putBookIfAbsent(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemStack;)Z
-
putBook
private static void putBook(@Nullable @Nullable PlayerEntity player, World world, BlockPos pos, BlockState state, ItemStack stack)
- Mappings:
Namespace Name Mixin selector official bLcco;b(Lbjf;Lbvr;Lgb;Lcjr;Lbpr;)Vintermediary method_17475Lnet/minecraft/class_3715;method_17475(Lnet/minecraft/class_1657;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1799;)Vnamed putBookLnet/minecraft/block/LecternBlock;putBook(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/item/ItemStack;)V
-
setHasBook
public static void setHasBook(World world, BlockPos pos, BlockState state, boolean hasBook)
- Mappings:
Namespace Name Mixin selector official aLcco;a(Lbvr;Lgb;Lcjr;Z)Vintermediary method_17473Lnet/minecraft/class_3715;method_17473(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Vnamed setHasBookLnet/minecraft/block/LecternBlock;setHasBook(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
-
setPowered
public static void setPowered(World world, BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official aLcco;a(Lbvr;Lgb;Lcjr;)Vintermediary method_17471Lnet/minecraft/class_3715;method_17471(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed setPoweredLnet/minecraft/block/LecternBlock;setPowered(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
setPowered
private static void setPowered(World world, BlockPos pos, BlockState state, boolean powered)
- Mappings:
Namespace Name Mixin selector official bLcco;b(Lbvr;Lgb;Lcjr;Z)Vintermediary method_17476Lnet/minecraft/class_3715;method_17476(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Vnamed setPoweredLnet/minecraft/block/LecternBlock;setPowered(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
-
updateNeighborAlways
private static void updateNeighborAlways(World world, BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official bLcco;b(Lbvr;Lgb;Lcjr;)Vintermediary method_17474Lnet/minecraft/class_3715;method_17474(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed updateNeighborAlwaysLnet/minecraft/block/LecternBlock;updateNeighborAlways(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
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
-
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
-
dropBook
private void dropBook(BlockState state, World world, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official dLcco;d(Lcjr;Lbvr;Lgb;)Vintermediary method_17477Lnet/minecraft/class_3715;method_17477(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Vnamed dropBookLnet/minecraft/block/LecternBlock;dropBook(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
emitsRedstonePower
public boolean emitsRedstonePower(BlockState state)
- 覆盖:
emitsRedstonePower在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official e_Lcjq;e_(Lcjr;)Zintermediary method_9506Lnet/minecraft/class_4970;method_9506(Lnet/minecraft/class_2680;)Znamed emitsRedstonePowerLnet/minecraft/block/AbstractBlock;emitsRedstonePower(Lnet/minecraft/block/BlockState;)Z
-
getWeakRedstonePower
public int getWeakRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
- 覆盖:
getWeakRedstonePower在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbuv;Lgb;Lgg;)Iintermediary method_9524Lnet/minecraft/class_4970;method_9524(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Inamed getWeakRedstonePowerLnet/minecraft/block/AbstractBlock;getWeakRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
getStrongRedstonePower
public int getStrongRedstonePower(BlockState state, BlockView world, BlockPos pos, Direction direction)
- 覆盖:
getStrongRedstonePower在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official bLcjq;b(Lcjr;Lbuv;Lgb;Lgg;)Iintermediary method_9603Lnet/minecraft/class_4970;method_9603(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Inamed getStrongRedstonePowerLnet/minecraft/block/AbstractBlock;getStrongRedstonePower(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
hasComparatorOutput
public boolean hasComparatorOutput(BlockState state)
- 覆盖:
hasComparatorOutput在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official g_Lcjq;g_(Lcjr;)Zintermediary method_9498Lnet/minecraft/class_4970;method_9498(Lnet/minecraft/class_2680;)Znamed hasComparatorOutputLnet/minecraft/block/AbstractBlock;hasComparatorOutput(Lnet/minecraft/block/BlockState;)Z
-
getComparatorOutput
public int getComparatorOutput(BlockState state, World world, BlockPos pos)
- 覆盖:
getComparatorOutput在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbvr;Lgb;)Iintermediary method_9572Lnet/minecraft/class_4970;method_9572(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Inamed getComparatorOutputLnet/minecraft/block/AbstractBlock;getComparatorOutput(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
-
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;
-
createScreenHandlerFactory
@Nullable public @Nullable NamedScreenHandlerFactory createScreenHandlerFactory(BlockState state, World world, BlockPos pos)
- 覆盖:
createScreenHandlerFactory在类中BlockWithEntity- Mappings:
Namespace Name Mixin selector official bLcjq;b(Lcjr;Lbvr;Lgb;)Larj;intermediary method_17454Lnet/minecraft/class_4970;method_17454(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3908;named createScreenHandlerFactoryLnet/minecraft/block/AbstractBlock;createScreenHandlerFactory(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/screen/NamedScreenHandlerFactory;
-
openScreen
private void openScreen(World world, BlockPos pos, PlayerEntity player)
- Mappings:
Namespace Name Mixin selector official aLcco;a(Lbvr;Lgb;Lbjf;)Vintermediary method_17470Lnet/minecraft/class_3715;method_17470(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1657;)Vnamed openScreenLnet/minecraft/block/LecternBlock;openScreen(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;)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
-
-