net.minecraft.world.level.block

public class LightBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dry
net.minecraft.world.level.block.LightBlock
net.minecraft.class_6089
net.minecraft.block.LightBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LightBlock>
a
CODEC
field_46388
CODEC
public static final int
b
MAX_LEVEL
field_33722
field_33722
public static final IntegerProperty
c
LEVEL
field_31187
LEVEL_15
public static final BooleanProperty
d
WATERLOGGED
field_31188
WATERLOGGED
public static final ToIntFunction<BlockState>
e
LIGHT_EMISSION
field_31189
STATE_TO_LUMINANCE

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<LightBlock>
a()
codec()
method_53969()
getCodec()
protected void
a(ebh$a<dne, ebg> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected InteractionResult
a(ebg arg0, djz arg1, iw arg2, crz arg3, ffo arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
protected VoxelShape
a(ebg arg0, djd arg1, iw arg2, ffx arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected boolean
e_(ebg arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
isTransparent(BlockState arg0)
protected RenderShape
a_(ebg arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
protected float
c(ebg arg0, djd arg1, iw arg2)
getShadeBrightness(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9575(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getAmbientOcclusionLightLevel(BlockState arg0, BlockView arg1, BlockPos arg2)
protected BlockState
a(ebg arg0, dkc arg1, dko arg2, iw arg3, jc arg4, iw arg5, ebg arg6, azz arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
protected FluidState
b_(ebg arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected ItemStack
a(dkc arg0, iw arg1, ebg arg2, boolean arg3)
getCloneItemStack(LevelReader arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
public static ItemStack
a(daa arg0, int arg1)
setLightOnStack(ItemStack arg0, int arg1)
method_47377(class_1799 arg0, int arg1)
addNbtForLevel(ItemStack stack, int level)