net.minecraft.world.level.block

public class RedstoneTorchBlock

extends BaseTorchBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dsd
net.minecraft.world.level.block.RedstoneTorchBlock
net.minecraft.class_2459
net.minecraft.block.RedstoneTorchBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<RedstoneTorchBlock>
a
CODEC
field_46424
CODEC
public static final BooleanProperty
b
LIT
field_11446
LIT
private static final Map<BlockGetter, List<RedstoneTorchBlock$Toggle>>
f
RECENT_TOGGLES
field_11445
BURNOUT_MAP
public static final int
c
RECENT_TOGGLE_TIMER
field_31227
field_31227
public static final int
d
MAX_RECENT_TOGGLES
field_31228
field_31228
public static final int
e
RESTART_DELAY
field_31229
field_31229
private static final int
g
TOGGLE_DELAY
field_31230
SCHEDULED_TICK_DELAY

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends RedstoneTorchBlock>
a()
codec()
method_53969()
getCodec()
protected void
a(dzo arg0, dip arg1, iu arg2, dzo arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
private void
b(dip arg0, iu arg1, dzo arg2)
notifyNeighbors(Level arg0, BlockPos arg1, BlockState arg2)
method_61749(class_1937 arg0, class_2338 arg1, class_2680 arg2)
update(World world, BlockPos pos, BlockState state)
protected void
a(dzo arg0, aro arg1, iu arg2, boolean arg3)
affectNeighborsAfterRemoval(BlockState arg0, ServerLevel arg1, BlockPos arg2, boolean arg3)
method_66388(class_2680 arg0, class_3218 arg1, class_2338 arg2, boolean arg3)
onStateReplaced(BlockState arg0, ServerWorld arg1, BlockPos arg2, boolean arg3)
protected int
a(dzo arg0, dhv arg1, iu arg2, ja arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
protected boolean
a(dip arg0, iu arg1, dzo arg2)
hasNeighborSignal(Level arg0, BlockPos arg1, BlockState arg2)
method_10488(class_1937 arg0, class_2338 arg1, class_2680 arg2)
shouldUnpower(World world, BlockPos pos, BlockState state)
protected void
a(dzo arg0, aro arg1, iu arg2, azt arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected void
a(dzo arg0, dip arg1, iu arg2, dlu arg3, exd arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
protected int
b(dzo arg0, dhv arg1, iu arg2, ja arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
protected boolean
f_(dzo arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
public void
a(dzo arg0, dip arg1, iu arg2, azt arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
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
a(dzp$a<dlu, dzo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
private static boolean
a(dip arg0, iu arg1, boolean arg2)
isToggledTooFrequently(Level arg0, BlockPos arg1, boolean arg2)
method_10489(class_1937 arg0, class_2338 arg1, boolean arg2)
isBurnedOut(World world, BlockPos pos, boolean addNew)
protected Orientation
a(dip arg0, dzo arg1)
randomOrientation(Level arg0, BlockState arg1)
method_61748(class_1937 arg0, class_2680 arg1)
getEmissionOrientation(World world, BlockState state)