net.minecraft.world.level.block

public class LightningRodBlock

extends RodBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cds
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 BooleanProperty
b
WATERLOGGED
field_29562
WATERLOGGED
f_153702_
public static final BooleanProperty
c
POWERED
field_27193
POWERED
f_153703_
private static final int
j
ACTIVATION_TICKS
field_31192
SCHEDULED_TICK_DELAY
f_153705_
public static final int
d
RANGE
field_31190
MAX_REDIRECT_DISTANCE
f_153704_
private static final int
k
SPARK_CYCLE
field_31191
field_31191
f_153706_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public BlockState
a(bsq arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)
public BlockState
a(ckt arg0, gl arg1, ckt arg2, bwr arg3, gg arg4, gg 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)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public FluidState
c_(ckt arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public int
a(ckt arg0, bvu arg1, gg arg2, gl 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)
public int
b(ckt arg0, bvu arg1, gg arg2, gl 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(ckt arg0, bwq arg1, gg 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(ckt arg0, bwq arg1, gg 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)
public void
a(ckt arg0, abr arg1, gg arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7458_(C_2064_ p_153719_, C_12_ p_153720_, C_4675_ p_153721_, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public void
a(ckt arg0, bwq arg1, gg arg2, Random arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
m_7100_(C_2064_ p_153735_, C_1596_ p_153736_, C_4675_ p_153737_, Random arg3)
public void
a(ckt arg0, bwq arg1, gg arg2, ckt 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)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public void
b(ckt arg0, bwq arg1, gg arg2, ckt 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)
onPlace(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public void
a(bwq arg0, ckt arg1, dmw arg2, bku 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(cku$a<bzp, ckt> 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)
public boolean
f_(ckt arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
isPowerSource(IBlockData arg0)