net.minecraft.world.level.block

public class LightningRodBlock

extends RodBlock implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

crb
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(cfu arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public BlockState
a(cyt arg0, gv arg1, cyt arg2, cjx arg3, gp arg4, gp 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)
public FluidState
c_(cyt arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public int
a(cyt arg0, cjc arg1, gp arg2, gv 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(cyt arg0, cjc arg1, gp arg2, gv 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(cyt arg0, cjw arg1, gp 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(cyt arg0, cjw arg1, gp 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(cyt arg0, ahm arg1, gp arg2, aoh 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(cyt arg0, cjw arg1, gp arg2, aoh 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)
public void
a(cyt arg0, cjw arg1, gp arg2, cyt 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)
public void
b(cyt arg0, cjw arg1, gp arg2, cyt 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)
public void
a(cjw arg0, cyt arg1, eaa arg2, bxh 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(cyu$a<cmt, cyt> 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_(cyt arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)