public class RepeaterBlock extends RedstoneDiodeBlock
Block.RenderSideCacheKey
AbstractBlock.AbstractBlockState, AbstractBlock.IExtendedPositionPredicate<A>, AbstractBlock.IPositionPredicate, AbstractBlock.OffsetType, AbstractBlock.Properties
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
Modifier and Type | Field and Description |
---|---|
static IntegerProperty |
DELAY |
static BooleanProperty |
LOCKED |
POWERED, SHAPE
FACING
BLOCK_STATE_REGISTRY, LOGGER, RANDOM, stateDefinition
drops, dynamicShape, explosionResistance, friction, hasCollision, isRandomlyTicking, jumpFactor, material, properties, soundType, speedFactor, UPDATE_SHAPE_ORDER
delegate
Constructor and Description |
---|
RepeaterBlock(AbstractBlock.Properties p_i48340_1_) |
Modifier and Type | Method and Description |
---|---|
void |
animateTick(BlockState p_180655_1_,
World p_180655_2_,
BlockPos p_180655_3_,
java.util.Random p_180655_4_) |
protected void |
createBlockStateDefinition(StateContainer.Builder<Block,BlockState> p_206840_1_) |
protected int |
getDelay(BlockState p_196346_1_) |
BlockState |
getStateForPlacement(BlockItemUseContext p_196258_1_) |
protected boolean |
isAlternateInput(BlockState p_185545_1_) |
boolean |
isLocked(IWorldReader p_176405_1_,
BlockPos p_176405_2_,
BlockState p_176405_3_) |
BlockState |
updateShape(BlockState p_196271_1_,
Direction p_196271_2_,
BlockState p_196271_3_,
IWorld p_196271_4_,
BlockPos p_196271_5_,
BlockPos p_196271_6_) |
ActionResultType |
use(BlockState p_225533_1_,
World p_225533_2_,
BlockPos p_225533_3_,
PlayerEntity p_225533_4_,
Hand p_225533_5_,
BlockRayTraceResult p_225533_6_) |
canSurvive, checkTickOnNeighbor, getAlternateSignal, getAlternateSignalAt, getDirectSignal, getInputSignal, getOutputSignal, getShape, getSignal, isDiode, isSignalSource, neighborChanged, onPlace, onRemove, setPlacedBy, shouldPrioritize, shouldTurnOn, tick, updateNeighborsInFront
mirror, rotate
appendHoverText, asBlock, asItem, box, byItem, canSupportCenter, canSupportRigidBlock, canSustainPlant, defaultBlockState, destroy, dropFromExplosion, dropResources, dropResources, dropResources, fallOn, fillItemCategory, getCloneItemStack, getDescriptionId, getDrops, getDrops, getExplosionResistance, getFriction, getHarvestLevel, getHarvestTool, getId, getJumpFactor, getName, getSoundType, getSpeedFactor, getStateDefinition, getTags, handleRain, hasDynamicShape, is, is, isExceptionForConnection, isFaceFull, isPossibleToRespawnInThis, isRandomlyTicking, isShapeFullBlock, playerDestroy, playerWillDestroy, popExperience, popResource, propagatesSkylightDown, pushEntitiesUp, registerDefaultState, shouldRenderFace, stateById, stepOn, toString, updateEntityAfterFallOn, updateFromNeighbourShapes, updateOrDestroy, updateOrDestroy, wasExploded
attack, canBeReplaced, canBeReplaced, defaultMaterialColor, entityInside, getAnalogOutputSignal, getBlockSupportShape, getCollisionShape, getDestroyProgress, getDrops, getFluidState, getInteractionShape, getLightBlock, getLootTable, getMenuProvider, getOcclusionShape, getOffsetType, getPistonPushReaction, getRenderShape, getSeed, getShadeBrightness, getVisualShape, hasAnalogOutputSignal, isAir, isEntityBlock, isPathfindable, onProjectileHit, randomTick, skipRendering, spawnAfterBreak, triggerEvent, updateIndirectNeighbourShapes, useShapeForLightOcclusion
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDestroyEffects, addHitEffects, addLandingEffects, addRunningEffects, canBeReplacedByLeaves, canBeReplacedByLogs, canConnectRedstone, canCreatureSpawn, canDropFromExplosion, canEntityDestroy, canHarvestBlock, canStickTo, catchFire, collisionExtendsVertically, createTileEntity, getAiPathNodeType, getBeaconColorMultiplier, getBedDirection, getBedSpawnPosition, getBlock, getEnchantPowerBonus, getExpDrop, getExplosionResistance, getFireSpreadSpeed, getFlammability, getFogColor, getLightValue, getPickBlock, getRespawnPosition, getSlipperiness, getSoundType, getStateAtViewpoint, getToolModifiedState, getWeakChanges, hasTileEntity, isAir, isBed, isBurning, isConduitFrame, isFertile, isFireSource, isFlammable, isLadder, isPortalFrame, isScaffolding, isSlimeBlock, isStickyBlock, isToolEffective, makesOpenTrapdoorAboveClimbable, observedNeighborChange, onBlockExploded, onNeighborChange, onPlantGrow, removedByPlayer, rotate, setBedOccupied, shouldCheckWeakPower, shouldDisplayFluidOverlay
public static final BooleanProperty LOCKED
public static final IntegerProperty DELAY
public RepeaterBlock(AbstractBlock.Properties p_i48340_1_)
public ActionResultType use(BlockState p_225533_1_, World p_225533_2_, BlockPos p_225533_3_, PlayerEntity p_225533_4_, Hand p_225533_5_, BlockRayTraceResult p_225533_6_)
use
in class AbstractBlock
protected int getDelay(BlockState p_196346_1_)
getDelay
in class RedstoneDiodeBlock
public BlockState getStateForPlacement(BlockItemUseContext p_196258_1_)
getStateForPlacement
in class RedstoneDiodeBlock
public BlockState updateShape(BlockState p_196271_1_, Direction p_196271_2_, BlockState p_196271_3_, IWorld p_196271_4_, BlockPos p_196271_5_, BlockPos p_196271_6_)
updateShape
in class AbstractBlock
public boolean isLocked(IWorldReader p_176405_1_, BlockPos p_176405_2_, BlockState p_176405_3_)
isLocked
in class RedstoneDiodeBlock
protected boolean isAlternateInput(BlockState p_185545_1_)
isAlternateInput
in class RedstoneDiodeBlock
public void animateTick(BlockState p_180655_1_, World p_180655_2_, BlockPos p_180655_3_, java.util.Random p_180655_4_)
animateTick
in class Block
protected void createBlockStateDefinition(StateContainer.Builder<Block,BlockState> p_206840_1_)
createBlockStateDefinition
in class Block