类 RedstoneWallTorchBlock
java.lang.Object
net.minecraft.world.level.block.state.BlockBehaviour
net.minecraft.world.level.block.Block
net.minecraft.world.level.block.BaseTorchBlock
net.minecraft.world.level.block.RedstoneTorchBlock
net.minecraft.world.level.block.RedstoneWallTorchBlock
- 所有已实现的接口:
FeatureElement
,ItemLike
,IForgeBlock
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.level.block.RedstoneTorchBlock
RedstoneTorchBlock.Toggle
从类继承的嵌套类/接口 net.minecraft.world.level.block.Block
Block.ShapePairKey
从类继承的嵌套类/接口 net.minecraft.world.level.block.state.BlockBehaviour
BlockBehaviour.BlockStateBase, BlockBehaviour.OffsetFunction, BlockBehaviour.OffsetType, BlockBehaviour.Properties, BlockBehaviour.StateArgumentPredicate<A>, BlockBehaviour.StatePredicate
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<RedstoneWallTorchBlock> static final EnumProperty
<Direction> static final BooleanProperty
从类继承的字段 net.minecraft.world.level.block.RedstoneTorchBlock
MAX_RECENT_TOGGLES, RECENT_TOGGLE_TIMER, RESTART_DELAY
从类继承的字段 net.minecraft.world.level.block.BaseTorchBlock
AABB, AABB_STANDING_OFFSET
从类继承的字段 net.minecraft.world.level.block.Block
BLOCK_STATE_REGISTRY, INDESTRUCTIBLE, INSTANT, stateDefinition, UPDATE_ALL, UPDATE_ALL_IMMEDIATE, UPDATE_CLIENTS, UPDATE_IMMEDIATE, UPDATE_INVISIBLE, UPDATE_KNOWN_SHAPE, UPDATE_LIMIT, UPDATE_MOVE_BY_PISTON, UPDATE_NEIGHBORS, UPDATE_NONE, UPDATE_SKIP_SHAPE_UPDATE_ON_WIRE, UPDATE_SUPPRESS_DROPS
从类继承的字段 net.minecraft.world.level.block.state.BlockBehaviour
descriptionId, drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, properties, requiredFeatures, soundType, speedFactor, UPDATE_SHAPE_ORDER
从接口继承的字段 net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
animateTick
(BlockState p_221959_, Level p_221960_, BlockPos p_221961_, RandomSource p_221962_) protected boolean
canSurvive
(BlockState p_55762_, LevelReader p_55763_, BlockPos p_55764_) com.mojang.serialization.MapCodec
<RedstoneWallTorchBlock> codec()
protected void
protected VoxelShape
getShape
(BlockState p_55781_, BlockGetter p_55782_, BlockPos p_55783_, CollisionContext p_55784_) protected int
getSignal
(BlockState p_55752_, BlockGetter p_55753_, BlockPos p_55754_, Direction p_55755_) getStateForPlacement
(BlockPlaceContext p_55746_) protected boolean
hasNeighborSignal
(Level p_55748_, BlockPos p_55749_, BlockState p_55750_) protected BlockState
mirror
(BlockState p_55766_, Mirror p_55767_) protected Orientation
randomOrientation
(Level p_362412_, BlockState p_365417_) protected BlockState
rotate
(BlockState p_55769_, Rotation p_55770_) protected BlockState
updateShape
(BlockState p_55772_, LevelReader p_368456_, ScheduledTickAccess p_367259_, BlockPos p_55776_, Direction p_55773_, BlockPos p_55777_, BlockState p_55774_, RandomSource p_364909_) 从类继承的方法 net.minecraft.world.level.block.RedstoneTorchBlock
getDirectSignal, isSignalSource, neighborChanged, onPlace, onRemove, tick
从类继承的方法 net.minecraft.world.level.block.Block
appendHoverText, asBlock, asItem, box, builtInRegistryHolder, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, dropResources, fallOn, getDrops, getDrops, getExplosionResistance, getFriction, getId, getJumpFactor, getName, getRenderPropertiesInternal, getShapeForEachState, getSoundType, getSpeedFactor, getStateDefinition, handlePrecipitation, hasDynamicShape, initializeClient, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, popResourceFromFace, pushEntitiesUp, registerDefaultState, setPlacedBy, shouldRenderFace, shouldRenderFace, spawnDestroyParticles, stateById, stepOn, toString, tryDropExperience, updateEntityMovementAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded, withPropertiesOf
从类继承的方法 net.minecraft.world.level.block.state.BlockBehaviour
attack, canBeReplaced, canBeReplaced, defaultDestroyTime, defaultMapColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCloneItemStack, getCollisionShape, getDescriptionId, getDestroyProgress, getDrops, getEntityInsideCollisionShape, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMaxHorizontalOffset, getMaxVerticalOffset, getMenuProvider, getOcclusionShape, getRenderShape, getSeed, getShadeBrightness, getSoundType, getVisualShape, hasAnalogOutputSignal, isAir, isCollisionShapeFullBlock, isPathfindable, isRandomlyTicking, onExplosionHit, onProjectileHit, propagatesSkylightDown, properties, propertiesCodec, randomTick, requiredFeatures, simpleCodec, skipRendering, spawnAfterBreak, triggerEvent, updateIndirectNeighbourShapes, useItemOn, useShapeForLightOcclusion, useWithoutItem
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 net.minecraft.world.flag.FeatureElement
isEnabled
从接口继承的方法 net.minecraftforge.common.extensions.IForgeBlock
addLandingEffects, addRunningEffects, canBeHydrated, canConnectRedstone, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, collisionExtendsVertically, getAdjacentBlockPathType, getAppearance, getBeaconColorMultiplier, getBedDirection, getBlockPathType, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFriction, getLightEmission, getMapColor, getPistonPushReaction, getRespawnPosition, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hidesNeighborFace, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isValidSpawn, makesOpenTrapdoorAboveClimbable, onBlockExploded, onBlockStateChange, onCaughtFire, onDestroyedByPlayer, onNeighborChange, onTreeGrow, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay, supportsExternalFaceHiding
-
字段详细资料
-
CODEC
-
FACING
-
LIT
-
-
构造器详细资料
-
RedstoneWallTorchBlock
-
-
方法详细资料
-
codec
- 覆盖:
codec
在类中RedstoneTorchBlock
-
getShape
protected VoxelShape getShape(BlockState p_55781_, BlockGetter p_55782_, BlockPos p_55783_, CollisionContext p_55784_) - 覆盖:
getShape
在类中BaseTorchBlock
-
canSurvive
- 覆盖:
canSurvive
在类中BaseTorchBlock
-
updateShape
protected BlockState updateShape(BlockState p_55772_, LevelReader p_368456_, ScheduledTickAccess p_367259_, BlockPos p_55776_, Direction p_55773_, BlockPos p_55777_, BlockState p_55774_, RandomSource p_364909_) - 覆盖:
updateShape
在类中BaseTorchBlock
-
getStateForPlacement
- 覆盖:
getStateForPlacement
在类中Block
-
animateTick
public void animateTick(BlockState p_221959_, Level p_221960_, BlockPos p_221961_, RandomSource p_221962_) - 覆盖:
animateTick
在类中RedstoneTorchBlock
-
hasNeighborSignal
- 覆盖:
hasNeighborSignal
在类中RedstoneTorchBlock
-
getSignal
protected int getSignal(BlockState p_55752_, BlockGetter p_55753_, BlockPos p_55754_, Direction p_55755_) - 覆盖:
getSignal
在类中RedstoneTorchBlock
-
rotate
- 覆盖:
rotate
在类中BlockBehaviour
-
mirror
- 覆盖:
mirror
在类中BlockBehaviour
-
createBlockStateDefinition
-
randomOrientation
- 覆盖:
randomOrientation
在类中RedstoneTorchBlock
-