Package net.minecraft

Class class_10023

java.lang.Object
net.minecraft.class_10017
net.minecraft.class_10023
All Implemented Interfaces:
BlockRenderView, BlockView, HeightLimitView

@Environment(CLIENT) public class class_10023 extends class_10017 implements BlockRenderView
Mappings:
Namespace Name
named net/minecraft/class_10023
intermediary net/minecraft/class_10023
official gsz
  • Field Details

    • field_53356

      public BlockPos field_53356
      Mappings:
      Namespace Name Mixin selector
      named field_53356 Lnet/minecraft/class_10023;field_53356:Lnet/minecraft/util/math/BlockPos;
      intermediary field_53356 Lnet/minecraft/class_10023;field_53356:Lnet/minecraft/class_2338;
      official a Lgsz;a:Lje;
    • field_53357

      public BlockPos field_53357
      Mappings:
      Namespace Name Mixin selector
      named field_53357 Lnet/minecraft/class_10023;field_53357:Lnet/minecraft/util/math/BlockPos;
      intermediary field_53357 Lnet/minecraft/class_10023;field_53357:Lnet/minecraft/class_2338;
      official b Lgsz;b:Lje;
    • field_53358

      public BlockState field_53358
      Mappings:
      Namespace Name Mixin selector
      named field_53358 Lnet/minecraft/class_10023;field_53358:Lnet/minecraft/block/BlockState;
      intermediary field_53358 Lnet/minecraft/class_10023;field_53358:Lnet/minecraft/class_2680;
      official c Lgsz;c:Ldua;
    • field_53359

      @Nullable public @Nullable RegistryEntry<Biome> field_53359
      Mappings:
      Namespace Name Mixin selector
      named field_53359 Lnet/minecraft/class_10023;field_53359:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_53359 Lnet/minecraft/class_10023;field_53359:Lnet/minecraft/class_6880;
      official d Lgsz;d:Ljn;
    • field_53360

      public BlockRenderView field_53360
      Mappings:
      Namespace Name Mixin selector
      named field_53360 Lnet/minecraft/class_10023;field_53360:Lnet/minecraft/world/BlockRenderView;
      intermediary field_53360 Lnet/minecraft/class_10023;field_53360:Lnet/minecraft/class_1920;
      official e Lgsz;e:Ldcu;
  • Constructor Details

    • class_10023

      public class_10023()
  • Method Details

    • getBrightness

      public float getBrightness(Direction direction, boolean shaded)
      Specified by:
      getBrightness in interface BlockRenderView
      Mappings:
      Namespace Name Mixin selector
      named getBrightness Lnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
      intermediary method_24852 Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)F
      official a Ldcu;a(Ljj;Z)F
    • getLightingProvider

      public LightingProvider getLightingProvider()
      Specified by:
      getLightingProvider in interface BlockRenderView
      Mappings:
      Namespace Name Mixin selector
      named getLightingProvider Lnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
      intermediary method_22336 Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;
      official x_ Ldcu;x_()Lepq;
    • getColor

      public int getColor(BlockPos pos, ColorResolver colorResolver)
      Specified by:
      getColor in interface BlockRenderView
      Mappings:
      Namespace Name Mixin selector
      named getColor Lnet/minecraft/world/BlockRenderView;getColor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/ColorResolver;)I
      intermediary method_23752 Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/class_6539;)I
      official a Ldcu;a(Lje;Lddc;)I
    • getBlockEntity

      @Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos)
      Returns the block entity at pos, or null if there is none.
      Specified by:
      getBlockEntity in interface BlockView
      Returns:
      the block entity at pos, or null if there is none
      Mappings:
      Namespace Name Mixin selector
      named getBlockEntity Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
      intermediary method_8321 Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
      official c_ Ldcx;c_(Lje;)Ldre;
    • getBlockState

      public BlockState getBlockState(BlockPos pos)
      Returns the block state at pos.
      Specified by:
      getBlockState in interface BlockView
      Returns:
      the block state at pos
      Implementation Note:
      This returns the block state for Blocks.VOID_AIR if the Y coordinate is outside the height limit.
      Mappings:
      Namespace Name Mixin selector
      named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
      intermediary method_8320 Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      official a_ Ldcx;a_(Lje;)Ldua;
    • getFluidState

      public FluidState getFluidState(BlockPos pos)
      Returns the fluid state at pos.
      Specified by:
      getFluidState in interface BlockView
      Returns:
      the fluid state at pos
      Implementation Note:
      This returns the fluid state for Fluids.EMPTY if the Y coordinate is outside the height limit.
      Mappings:
      Namespace Name Mixin selector
      named getFluidState Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
      intermediary method_8316 Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
      official b_ Ldcx;b_(Lje;)Leqb;
    • getHeight

      public int getHeight()
      Returns the difference in the minimum and maximum height.

      This is the number of blocks that can be modified in any vertical column within the view, or the vertical size, in blocks, of the view.

      Specified by:
      getHeight in interface HeightLimitView
      Returns:
      the difference in the minimum and maximum height
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/world/HeightLimitView;getHeight()I
      intermediary method_31605 Lnet/minecraft/class_5539;method_31605()I
      official H_ Lddu;H_()I
    • getBottomY

      public int getBottomY()
      Returns the bottom Y level, or height, inclusive, of this view.
      Specified by:
      getBottomY in interface HeightLimitView
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getBottomY Lnet/minecraft/world/HeightLimitView;getBottomY()I
      intermediary method_31607 Lnet/minecraft/class_5539;method_31607()I
      official G_ Lddu;G_()I