net.minecraft.world.level.block

public class RedstoneTorchBlock

extends BaseTorchBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dmd
net.minecraft.world.level.block.RedstoneTorchBlock
net.minecraft.class_2459
net.minecraft.block.RedstoneTorchBlock
net.minecraft.src.C_1876_
net.minecraft.world.level.block.BlockRedstoneTorch

Field summary

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

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends RedstoneTorchBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected void
b(dtc arg0, dcw arg1, jd arg2, dtc 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)
m_6807_(C_2064_ p_55725_, C_1596_ p_55726_, C_4675_ p_55727_, C_2064_ p_55728_, boolean arg4)
protected void
a(dtc arg0, dcw arg1, jd arg2, dtc arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_55707_, C_1596_ p_55708_, C_4675_ p_55709_, C_2064_ p_55710_, boolean arg4)
protected int
a(dtc arg0, dcc arg1, jd arg2, ji 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)
m_6378_(C_2064_ p_55695_, C_1559_ p_55696_, C_4675_ p_55697_, C_4687_ arg3)
protected boolean
a(dcw arg0, jd arg1, dtc 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)
m_6918_(C_1596_ p_55682_, C_4675_ p_55683_, C_2064_ arg2)
protected void
a(dtc arg0, aqu arg1, jd arg2, ayw 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)
m_213897_(C_2064_ p_221950_, C_12_ p_221951_, C_4675_ p_221952_, C_212974_ arg3)
protected void
a(dtc arg0, dcw arg1, jd arg2, dfy arg3, jd arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_55700_, C_1596_ p_55701_, C_4675_ p_55702_, C_1706_ p_55703_, C_4675_ p_55704_, boolean arg5)
protected int
b(dtc arg0, dcc arg1, jd arg2, ji 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)
m_6376_(C_2064_ p_55720_, C_1559_ p_55721_, C_4675_ p_55722_, C_4687_ arg3)
protected boolean
e_(dtc arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
public void
a(dtc arg0, dcw arg1, jd arg2, ayw 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)
m_214162_(C_2064_ p_221955_, C_1596_ p_221956_, C_4675_ p_221957_, C_212974_ arg3)
protected void
a(dtd$a<dfy, dtc> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
private static boolean
a(dcw arg0, jd 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)
m_55684_(C_1596_ p_55685_, C_4675_ p_55686_, boolean p_55687_)