net.minecraft.block

public class RepeaterBlock

extends AbstractRedstoneGateBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible

net.minecraft.world.level.block.RepeaterBlock
net.minecraft.world.level.block.RepeaterBlock
net.minecraft.class_2462
net.minecraft.block.RepeaterBlock

Field summary

Modifier and TypeField
public static final BooleanProperty
LOCKED
LOCKED
field_11452
LOCKED
public static final IntProperty
DELAY
DELAY
field_11451
DELAY

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
protected ActionResult
useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult)
useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
protected int
getDelay(BlockState state)
getDelay(BlockState state)
method_9992(class_2680 arg0)
getUpdateDelayInternal(BlockState arg0)
public BlockState
getStateForPlacement(BlockPlaceContext context)
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected BlockState
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
protected boolean
shouldRedstoneWireConnectTo(BlockState state, BlockGetter level, BlockPos pos, Direction direction)
shouldRedstoneWireConnectTo(BlockState state, BlockGetter level, BlockPos pos, Direction direction)
method_1_9802(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
connectsTo(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
public boolean
isLocked(LevelReader level, BlockPos pos, BlockState state)
isLocked(LevelReader level, BlockPos pos, BlockState state)
method_9996(class_4538 arg0, class_2338 arg1, class_2680 arg2)
isLocked(WorldView arg0, BlockPos arg1, BlockState arg2)
protected boolean
sideInputDiodesOnly()
sideInputDiodesOnly()
method_49816()
getSideInputFromGatesOnly()
public void
animateTick(BlockState state, Level level, BlockPos pos, RandomSource random)
animateTick(BlockState state, Level level, BlockPos pos, RandomSource random)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)