net.minecraft.world.level.block

public class LightningRodBlock

extends RodBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dkn
net.minecraft.world.level.block.LightningRodBlock
net.minecraft.class_5554
net.minecraft.unmapped.C_vhnebwfj
net.minecraft.block.LightningRodBlock
net.minecraft.block.LightningRodBlock
net.minecraft.src.C_141217_
net.minecraft.world.level.block.LightningRodBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LightningRodBlock>
b
CODEC
field_46389
f_lmmyrhoz
CODEC
CODEC
f_302838_
public static final BooleanProperty
c
WATERLOGGED
field_29562
f_toddwofi
WATERLOGGED
WATERLOGGED
f_153702_
public static final BooleanProperty
d
POWERED
field_27193
f_olnffeih
POWERED
POWERED
f_153703_
private static final int
k
ACTIVATION_TICKS
field_31192
f_tkevjefj
SCHEDULED_TICK_DELAY
SCHEDULED_TICK_DELAY
f_153705_
public static final int
e
RANGE
field_31190
f_jtndukyl
MAX_REDIRECT_DISTANCE
MAX_REDIRECT_DISTANCE
f_153704_
private static final int
l
SPARK_CYCLE
field_31191
f_zazxdfev
field_31191
SPARK_CYCLE
f_153706_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<LightningRodBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
public BlockState
a(cyd arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
a(dtc arg0, ji arg1, dtc arg2, dcx arg3, jd arg4, jd arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
m_yvunqpeq(C_txtbiemp arg0, C_xpuuihxf arg1, C_txtbiemp arg2, C_vdvbsyle arg3, C_hynzadkk arg4, C_hynzadkk arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_153740_, C_4687_ p_153741_, C_2064_ p_153742_, C_1598_ p_153743_, C_4675_ p_153744_, C_4675_ arg5)
protected FluidState
b_(dtc arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
m_nlstkjhl(C_txtbiemp arg0)
getFluidState(BlockState arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
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)
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_153724_, C_1559_ p_153725_, C_4675_ p_153726_, C_4687_ arg3)
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)
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_153749_, C_1559_ p_153750_, C_4675_ p_153751_, C_4687_ arg3)
public void
d(dtc arg0, dcw arg1, jd arg2)
onLightningStrike(BlockState arg0, Level arg1, BlockPos arg2)
method_31648(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_arzxvrdy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
setPowered(BlockState state, World world, BlockPos pos)
setPowered(BlockState state, World world, BlockPos pos)
m_153760_(C_2064_ p_153762_, C_1596_ p_153763_, C_4675_ arg2)
private void
e(dtc arg0, dcw arg1, jd arg2)
updateNeighbours(BlockState arg0, Level arg1, BlockPos arg2)
method_33627(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_vpdwzdvj(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
updateNeighbors(BlockState state, World world, BlockPos pos)
updateNeighbors(BlockState state, World world, BlockPos pos)
m_153764_(C_2064_ p_153766_, C_1596_ p_153767_, C_4675_ 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)
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_221401_, C_12_ p_221402_, C_4675_ p_221403_, C_212974_ arg3)
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)
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_221406_, C_1596_ p_221407_, C_4675_ p_221408_, C_212974_ arg3)
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)
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_153729_, C_1596_ p_153730_, C_4675_ p_153731_, C_2064_ p_153732_, boolean arg4)
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)
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_153754_, C_1596_ p_153755_, C_4675_ p_153756_, C_2064_ p_153757_, boolean arg4)
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)
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)
protected boolean
e_(dtc 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)