类 RedstoneTorchBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.TorchBlock
-
- net.minecraft.block.RedstoneTorchBlock
-
- 所有已实现的接口:
ItemConvertible
- 直接已知子类:
WallRedstoneTorchBlock
public class RedstoneTorchBlock extends TorchBlock
- Mappings:
Namespace Name official cebintermediary net/minecraft/class_2459named net/minecraft/block/RedstoneTorchBlock
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classRedstoneTorchBlock.BurnoutEntry-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Map<BlockView,List<RedstoneTorchBlock.BurnoutEntry>>BURNOUT_MAPstatic intfield_31227static intfield_31228static intfield_31229private static intfield_31230static BooleanPropertyLIT-
从类继承的字段 net.minecraft.block.TorchBlock
BOUNDING_SHAPE, field_31265, particle
-
从类继承的字段 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
-
-
构造器概要
构造器 限定符 构造器 说明 protectedRedstoneTorchBlock(AbstractBlock.Settings settings)
-
方法概要
-
从类继承的方法 net.minecraft.block.TorchBlock
canPlaceAt, getOutlineShape, getStateForNeighborUpdate
-
从类继承的方法 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, getPlacementState, 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, canReplace, createScreenHandlerFactory, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onSyncedBlockEvent, onUse, prepare, randomTick, rotate
-
-
-
-
字段详细资料
-
LIT
public static final BooleanProperty LIT
- Mappings:
Namespace Name Mixin selector official aLceb;a:Lcki;intermediary field_11446Lnet/minecraft/class_2459;field_11446:Lnet/minecraft/class_2746;named LITLnet/minecraft/block/RedstoneTorchBlock;LIT:Lnet/minecraft/state/property/BooleanProperty;
-
BURNOUT_MAP
private static final Map<BlockView,List<RedstoneTorchBlock.BurnoutEntry>> BURNOUT_MAP
- Mappings:
Namespace Name Mixin selector official eLceb;e:Ljava/util/Map;intermediary field_11445Lnet/minecraft/class_2459;field_11445:Ljava/util/Map;named BURNOUT_MAPLnet/minecraft/block/RedstoneTorchBlock;BURNOUT_MAP:Ljava/util/Map;
-
field_31227
public static final int field_31227
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLceb;b:Iintermediary field_31227Lnet/minecraft/class_2459;field_31227:Inamed field_31227Lnet/minecraft/block/RedstoneTorchBlock;field_31227:I
-
field_31228
public static final int field_31228
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLceb;c:Iintermediary field_31228Lnet/minecraft/class_2459;field_31228:Inamed field_31228Lnet/minecraft/block/RedstoneTorchBlock;field_31228:I
-
field_31229
public static final int field_31229
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLceb;d:Iintermediary field_31229Lnet/minecraft/class_2459;field_31229:Inamed field_31229Lnet/minecraft/block/RedstoneTorchBlock;field_31229:I
-
field_31230
private static final int field_31230
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official fLceb;f:Iintermediary field_31230Lnet/minecraft/class_2459;field_31230:Inamed field_31230Lnet/minecraft/block/RedstoneTorchBlock;field_31230:I
-
-
构造器详细资料
-
RedstoneTorchBlock
protected RedstoneTorchBlock(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
-
-
方法详细资料
-
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
-
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
-
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
-
shouldUnpower
protected boolean shouldUnpower(World world, BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official aLceb;a(Lbvr;Lgb;Lcjr;)Zintermediary method_10488Lnet/minecraft/class_2459;method_10488(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Znamed shouldUnpowerLnet/minecraft/block/RedstoneTorchBlock;shouldUnpower(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
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
-
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
-
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
-
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
-
randomDisplayTick
public void randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
- 覆盖:
randomDisplayTick在类中TorchBlock- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lcjr;Lbvr;Lgb;Ljava/util/Random;)Vintermediary method_9496Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/Random;)Vnamed randomDisplayTickLnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)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
-
isBurnedOut
private static boolean isBurnedOut(World world, BlockPos pos, boolean addNew)
- Mappings:
Namespace Name Mixin selector official aLceb;a(Lbvr;Lgb;Z)Zintermediary method_10489Lnet/minecraft/class_2459;method_10489(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Z)Znamed isBurnedOutLnet/minecraft/block/RedstoneTorchBlock;isBurnedOut(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Z)Z
-
-