net.minecraft.world.level.block

public class LightBlock

extends Block implements SimpleWaterloggedBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dod
net.minecraft.world.level.block.LightBlock
net.minecraft.class_6089
net.minecraft.unmapped.C_jgkinuzd
net.minecraft.block.LightBlock
net.minecraft.block.LightBlock
net.minecraft.src.C_141216_
net.minecraft.world.level.block.LightBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<LightBlock>
a
CODEC
field_46388
f_bdetlsct
CODEC
CODEC
f_302767_
public static final int
b
MAX_LEVEL
field_33722
f_tkvbodzb
field_33722
MAX_LIGHT_LEVEL
f_153656_
public static final IntegerProperty
c
LEVEL
field_31187
f_sbnrwnfp
LEVEL_15
LEVEL_15
f_153657_
public static final BooleanProperty
d
WATERLOGGED
field_31188
f_wztligie
WATERLOGGED
WATERLOGGED
f_153658_
public static final ToIntFunction<BlockState>
e
LIGHT_EMISSION
field_31189
f_ddgalhuj
STATE_TO_LUMINANCE
STATE_TO_LUMINANCE
f_153659_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<LightBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
protected InteractionResult
a(dwy arg0, dgj arg1, ji arg2, coy arg3, fax 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)
m_pguoxmgn(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_jdakttms arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_153674_, C_1596_ p_153675_, C_4675_ p_153676_, C_1141_ p_153678_, C_3041_ arg4)
protected VoxelShape
a(dwy arg0, dfo arg1, ji arg2, fbg arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext 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)
protected boolean
e_(dwy arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
m_flnjgkno(C_txtbiemp arg0)
isTransparent(BlockState arg0)
isTransparent(BlockState arg0)
m_49099_(C_2064_ arg0)
protected RenderShape
a_(dwy arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_mjglzdvu(C_txtbiemp arg0)
getRenderType(BlockState arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
protected float
c(dwy arg0, dfo arg1, ji arg2)
getShadeBrightness(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9575(class_2680 arg0, class_1922 arg1, class_2338 arg2)
m_wsjbaund(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2)
getAmbientOcclusionLightLevel(BlockState arg0, BlockView arg1, BlockPos arg2)
getAmbientOcclusionLightLevel(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7749_(C_2064_ p_153690_, C_1559_ p_153691_, C_4675_ arg2)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh 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)
m_yvunqpeq(C_txtbiemp arg0, C_eemzphbi arg1, C_adoatlrf arg2, C_hynzadkk arg3, C_xpuuihxf arg4, C_hynzadkk arg5, C_txtbiemp arg6, C_rlomrsco arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, TickSchedulerAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomGenerator arg7)
m_7417_(C_2064_ p_367699_, C_1599_ p_366283_, C_346056_ p_153684_, C_4675_ p_153681_, C_4687_ p_153685_, C_4675_ p_153682_, C_2064_ p_361423_, C_212974_ arg7)
protected FluidState
b_(dwy arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
m_nlstkjhl(C_txtbiemp arg0)
getFluidState(BlockState arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
protected ItemStack
a(dgm arg0, ji arg1, dwy 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)
m_orfjlsuz(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
m_48663_(C_1599_ p_153665_, C_4675_ p_153666_, C_2064_ p_375572_, boolean arg3)
public static ItemStack
a(cwq arg0, int arg1)
setLightOnStack(ItemStack arg0, int arg1)
method_47377(class_1799 arg0, int arg1)
m_bbmurbjo(C_sddaxwyk arg0, int arg1)
addNbtForLevel(ItemStack stack, int level)
appendLevelNbt(ItemStack stack, int lightLevel)
m_257398_(C_1391_ p_259339_, int p_259353_)