net.minecraft.world.level.block

public class RedstoneTorchBlock

extends BaseTorchBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dqt
net.minecraft.world.level.block.RedstoneTorchBlock
net.minecraft.class_2459
net.minecraft.unmapped.C_kohfizdm
net.minecraft.block.RedstoneTorchBlock
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
f_izebmzuk
CODEC
CODEC
f_302317_
public static final BooleanProperty
d
LIT
field_11446
f_amvnxele
LIT
LIT
f_55674_
private static final Map<BlockGetter, List<RedstoneTorchBlock$Toggle>>
h
RECENT_TOGGLES
field_11445
f_yeuamfjk
BURNOUT_MAP
BURNOUT_MAP
f_55675_
public static final int
e
RECENT_TOGGLE_TIMER
field_31227
f_peuhzqwz
field_31227
RECENT_TOGGLE_TIMER
f_154325_
public static final int
f
MAX_RECENT_TOGGLES
field_31228
f_kvjwojfv
field_31228
MAX_RECENT_TOGGLES
f_154326_
public static final int
g
RESTART_DELAY
field_31229
f_qkaazvth
field_31229
RESTART_DELAY
f_154327_
private static final int
i
TOGGLE_DELAY
field_31230
f_vrchwuqm
SCHEDULED_TICK_DELAY
SCHEDULED_TICK_DELAY
f_154328_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends RedstoneTorchBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected void
b(dxv arg0, dhi arg1, jh arg2, dxv 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)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState 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)
private void
b(dhi arg0, jh arg1, dxv arg2)
notifyNeighbors(Level arg0, BlockPos arg1, BlockState arg2)
method_61749(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_pquxpinh(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
update(World world, BlockPos pos, BlockState state)
updateNeighbors(World world, BlockPos pos, BlockState state)
m_355088_(C_1596_ p_369455_, C_4675_ p_368137_, C_2064_ arg2)
protected void
a(dxv arg0, dhi arg1, jh arg2, dxv 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)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState 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(dxv arg0, dgn arg1, jh arg2, jm arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_bhohbmwk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction 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(dhi arg0, jh arg1, dxv arg2)
hasNeighborSignal(Level arg0, BlockPos arg1, BlockState arg2)
method_10488(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_ilicozzf(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
shouldUnpower(World world, BlockPos pos, BlockState state)
shouldUnpower(World world, BlockPos pos, BlockState state)
m_6918_(C_1596_ p_55682_, C_4675_ p_55683_, C_2064_ arg2)
protected void
a(dxv arg0, ash arg1, jh arg2, bam arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213897_(C_2064_ p_221950_, C_12_ p_221951_, C_4675_ p_221952_, C_212974_ arg3)
protected void
a(dxv arg0, dhi arg1, jh arg2, dkm arg3, evf 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)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_ctatbkvy arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
m_6861_(C_2064_ p_55700_, C_1596_ p_55701_, C_4675_ p_55702_, C_1706_ p_368542_, C_346043_ p_55704_, boolean arg5)
protected int
b(dxv arg0, dgn arg1, jh arg2, jm arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_ydisyayk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction 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
f_(dxv arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
m_fjkbizwn(C_txtbiemp arg0)
emitsRedstonePower(BlockState arg0)
isRedstonePowerSource(BlockState arg0)
m_7899_(C_2064_ arg0)
public void
a(dxv arg0, dhi arg1, jh arg2, bam arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, RandomGenerator arg3)
m_214162_(C_2064_ p_221955_, C_1596_ p_221956_, C_4675_ p_221957_, C_212974_ arg3)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
private static boolean
a(dhi arg0, jh arg1, boolean arg2)
isToggledTooFrequently(Level arg0, BlockPos arg1, boolean arg2)
method_10489(class_1937 arg0, class_2338 arg1, boolean arg2)
m_wseaiskt(C_cdctfzbn arg0, C_hynzadkk arg1, boolean arg2)
isBurnedOut(World world, BlockPos pos, boolean addNew)
isBurnedOut(World world, BlockPos pos, boolean addNew)
m_55684_(C_1596_ p_55685_, C_4675_ p_55686_, boolean p_55687_)
protected Orientation
a(dhi arg0, dxv arg1)
randomOrientation(Level arg0, BlockState arg1)
method_61748(class_1937 arg0, class_2680 arg1)
m_vrxftsww(C_cdctfzbn arg0, C_txtbiemp arg1)
getEmissionOrientation(World world, BlockState state)
getOrientation(World world, BlockState state)
m_351623_(C_1596_ p_364833_, C_2064_ arg1)