net.minecraft.world.level.block

public class LightBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

cxg
net.minecraft.world.level.block.LightBlock
net.minecraft.class_6089
net.minecraft.block.LightBlock
net.minecraft.src.C_141216_
net.minecraft.world.level.block.LightBlock

Field summary

Modifier and TypeField
public static final int
a
MAX_LEVEL
field_33722
field_33722
f_153656_
public static final IntegerProperty
b
LEVEL
field_31187
LEVEL_15
f_153657_
public static final BooleanProperty
c
WATERLOGGED
field_31188
WATERLOGGED
f_153658_
public static final ToIntFunction<BlockState>
d
LIGHT_EMISSION
field_31189
STATE_TO_LUMINANCE
f_153659_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected void
a(dfk$a<csv, dfj> 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 InteractionResult
a(dfj arg0, cpv arg1, gw arg2, cbu arg3, bgx arg4, ehj arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_153674_, C_1596_ p_153675_, C_4675_ p_153676_, C_1141_ p_153677_, C_470_ p_153678_, C_3041_ arg5)
public VoxelShape
a(dfj arg0, cpb arg1, gw arg2, ehs 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)
m_5940_(C_2064_ p_153669_, C_1559_ p_153670_, C_4675_ p_153671_, C_3051_ arg3)
public boolean
c(dfj arg0, cpb arg1, gw arg2)
propagatesSkylightDown(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9579(class_2680 arg0, class_1922 arg1, class_2338 arg2)
isTransparent(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7420_(C_2064_ p_153696_, C_1559_ p_153697_, C_4675_ arg2)
public RenderShape
b_(dfj arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public float
b(dfj arg0, cpb arg1, gw 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)
m_7749_(C_2064_ p_153690_, C_1559_ p_153691_, C_4675_ arg2)
public BlockState
a(dfj arg0, ha arg1, dfj arg2, cpw arg3, gw arg4, gw 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_153681_, C_4687_ p_153682_, C_2064_ p_153683_, C_1598_ p_153684_, C_4675_ p_153685_, C_4675_ arg5)
public FluidState
c_(dfj arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public ItemStack
a(cpb arg0, gw arg1, dfj arg2)
getCloneItemStack(BlockGetter arg0, BlockPos arg1, BlockState arg2)
method_9574(class_1922 arg0, class_2338 arg1, class_2680 arg2)
getPickStack(BlockView arg0, BlockPos arg1, BlockState arg2)
m_7397_(C_1559_ p_153665_, C_4675_ p_153666_, C_2064_ arg2)
public static ItemStack
a(cjf arg0, int arg1)
setLightOnStack(ItemStack arg0, int arg1)
method_47377(class_1799 arg0, int arg1)
addNbtForLevel(ItemStack stack, int level)
m_257398_(C_1391_ p_259339_, int p_259353_)