net.minecraft.world.level.block

public class LightningRodBlock

extends RodBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

djq
net.minecraft.world.level.block.LightningRodBlock
net.minecraft.class_5554
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
CODEC
f_302838_
public static final BooleanProperty
c
WATERLOGGED
field_29562
WATERLOGGED
f_153702_
public static final BooleanProperty
d
POWERED
field_27193
POWERED
f_153703_
private static final int
k
ACTIVATION_TICKS
field_31192
SCHEDULED_TICK_DELAY
f_153705_
public static final int
e
RANGE
field_31190
MAX_REDIRECT_DISTANCE
f_153704_
private static final int
l
SPARK_CYCLE
field_31191
field_31191
f_153706_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<LightningRodBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
public BlockState
a(cyc arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected BlockState
a(dse arg0, je arg1, dse arg2, dcb arg3, iz arg4, iz 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)
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_(dse arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
protected int
a(dse arg0, dbg arg1, iz arg2, je 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_153724_, C_1559_ p_153725_, C_4675_ p_153726_, C_4687_ arg3)
protected int
b(dse arg0, dbg arg1, iz arg2, je 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_153749_, C_1559_ p_153750_, C_4675_ p_153751_, C_4687_ arg3)
public void
d(dse arg0, dca arg1, iz arg2)
onLightningStrike(BlockState arg0, Level arg1, BlockPos arg2)
method_31648(class_2680 arg0, class_1937 arg1, class_2338 arg2)
setPowered(BlockState state, World world, BlockPos pos)
m_153760_(C_2064_ p_153762_, C_1596_ p_153763_, C_4675_ arg2)
private void
e(dse arg0, dca arg1, iz arg2)
updateNeighbours(BlockState arg0, Level arg1, BlockPos arg2)
method_33627(class_2680 arg0, class_1937 arg1, class_2338 arg2)
updateNeighbors(BlockState state, World world, BlockPos pos)
m_153764_(C_2064_ p_153766_, C_1596_ p_153767_, C_4675_ arg2)
protected void
a(dse arg0, arf arg1, iz arg2, azh 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_221401_, C_12_ p_221402_, C_4675_ p_221403_, C_212974_ arg3)
public void
a(dse arg0, dca arg1, iz arg2, azh 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_221406_, C_1596_ p_221407_, C_4675_ p_221408_, C_212974_ arg3)
protected void
a(dse arg0, dca arg1, iz arg2, dse 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_153729_, C_1596_ p_153730_, C_4675_ p_153731_, C_2064_ p_153732_, boolean arg4)
protected void
b(dse arg0, dca arg1, iz arg2, dse 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_153754_, C_1596_ p_153755_, C_4675_ p_153756_, C_2064_ p_153757_, boolean arg4)
protected void
a(dca arg0, dse arg1, evp arg2, cnr arg3)
onProjectileHit(Level arg0, BlockState arg1, BlockHitResult arg2, Projectile arg3)
method_19286(class_1937 arg0, class_2680 arg1, class_3965 arg2, class_1676 arg3)
onProjectileHit(World arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
m_5581_(C_1596_ p_153714_, C_2064_ p_153715_, C_3041_ p_153716_, C_1167_ arg3)
protected void
a(dsf$a<dfb, dse> 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)
protected boolean
e_(dse arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)