Class LightBlock

All Implemented Interfaces:
FluidDrainable, FluidFillable, Waterloggable, ItemConvertible, ToggleableFeature

public class LightBlock extends Block implements Waterloggable
Mappings:
Namespace Name
named net/minecraft/block/LightBlock
intermediary net/minecraft/class_6089
official djo
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<LightBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/LightBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46388 Lnet/minecraft/class_6089;field_46388:Lcom/mojang/serialization/MapCodec;
      official a Ldjo;a:Lcom/mojang/serialization/MapCodec;
    • field_33722

      public static final int field_33722
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33722 Lnet/minecraft/block/LightBlock;field_33722:I
      intermediary field_33722 Lnet/minecraft/class_6089;field_33722:I
      official b Ldjo;b:I
    • LEVEL_15

      public static final IntProperty LEVEL_15
      Mappings:
      Namespace Name Mixin selector
      named LEVEL_15 Lnet/minecraft/block/LightBlock;LEVEL_15:Lnet/minecraft/state/property/IntProperty;
      intermediary field_31187 Lnet/minecraft/class_6089;field_31187:Lnet/minecraft/class_2758;
      official c Ldjo;c:Ldtd;
    • WATERLOGGED

      public static final BooleanProperty WATERLOGGED
      Mappings:
      Namespace Name Mixin selector
      named WATERLOGGED Lnet/minecraft/block/LightBlock;WATERLOGGED:Lnet/minecraft/state/property/BooleanProperty;
      intermediary field_31188 Lnet/minecraft/class_6089;field_31188:Lnet/minecraft/class_2746;
      official d Ldjo;d:Ldsu;
    • STATE_TO_LUMINANCE

      public static final ToIntFunction<BlockState> STATE_TO_LUMINANCE
      Mappings:
      Namespace Name Mixin selector
      named STATE_TO_LUMINANCE Lnet/minecraft/block/LightBlock;STATE_TO_LUMINANCE:Ljava/util/function/ToIntFunction;
      intermediary field_31189 Lnet/minecraft/class_6089;field_31189:Ljava/util/function/ToIntFunction;
      official e Ldjo;e:Ljava/util/function/ToIntFunction;
  • Constructor Details

    • LightBlock

      public LightBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      official <init> Ldsc;<init>(Ldsc$d;)V
  • Method Details