Class WorldRegion

java.lang.Object
net.minecraft.world.WorldRegion
All Implemented Interfaces:
BlockView

public class WorldRegion extends Object implements BlockView
Mappings:
Namespace Name
intermediary net/minecraft/class_42
glue class_121
server dd
client ew
named net/minecraft/world/WorldRegion
  • Field Details

    • chunkX

      private int chunkX
      Mappings:
      Namespace Name Mixin selector
      intermediary field_166 Lnet/minecraft/class_42;field_166:I
      glue field_398 Lclass_121;field_398:I
      server a Ldd;a:I
      client a Lew;a:I
      named chunkX Lnet/minecraft/world/WorldRegion;chunkX:I
    • chunkZ

      private int chunkZ
      Mappings:
      Namespace Name Mixin selector
      intermediary field_167 Lnet/minecraft/class_42;field_167:I
      glue field_399 Lclass_121;field_399:I
      server b Ldd;b:I
      client b Lew;b:I
      named chunkZ Lnet/minecraft/world/WorldRegion;chunkZ:I
    • chunks

      private Chunk[][] chunks
      Mappings:
      Namespace Name Mixin selector
      intermediary field_168 Lnet/minecraft/class_42;field_168:[[Lnet/minecraft/class_43;
      glue field_400 Lclass_121;field_400:[[Lclass_279;
      server c Ldd;c:[[Lhi;
      client c Lew;c:[[Llm;
      named chunks Lnet/minecraft/world/WorldRegion;chunks:[[Lnet/minecraft/world/chunk/Chunk;
    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      intermediary field_169 Lnet/minecraft/class_42;field_169:Lnet/minecraft/class_18;
      glue field_401 Lclass_121;field_401:Lclass_129;
      server d Ldd;d:Ldj;
      client d Lew;d:Lfd;
      named world Lnet/minecraft/world/WorldRegion;world:Lnet/minecraft/world/World;
  • Constructor Details

    • WorldRegion

      public WorldRegion(World world, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_42;<init>(Lnet/minecraft/class_18;IIIIII)V
      glue <init> Lclass_121;<init>(Lclass_129;IIIIII)V
      server <init> Ldd;<init>(Ldj;IIIIII)V
      client <init> Lew;<init>(Lfd;IIIIII)V
      named <init> Lnet/minecraft/world/WorldRegion;<init>(Lnet/minecraft/world/World;IIIIII)V
  • Method Details

    • getBlockId

      public int getBlockId(int x, int y, int z)
      Specified by:
      getBlockId in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1776 Lnet/minecraft/class_14;method_1776(III)I
      glue method_449 Lclass_584;method_449(III)I
      server a Lpb;a(III)I
      client a Lxp;a(III)I
      named getBlockId Lnet/minecraft/world/BlockView;getBlockId(III)I
    • getBlockEntity

      public BlockEntity getBlockEntity(int x, int y, int z)
      Specified by:
      getBlockEntity in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1777 Lnet/minecraft/class_14;method_1777(III)Lnet/minecraft/class_55;
      glue method_450 Lclass_584;method_450(III)Lclass_356;
      server b Lpb;b(III)Ljh;
      client b Lxp;b(III)Low;
      named getBlockEntity Lnet/minecraft/world/BlockView;getBlockEntity(III)Lnet/minecraft/block/entity/BlockEntity;
    • getNaturalBrightness

      @Environment(CLIENT) public float getNaturalBrightness(int x, int y, int z, int blockLight)
      Specified by:
      getNaturalBrightness in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1784 Lnet/minecraft/class_14;method_1784(IIII)F
      glue method_878 Lclass_584;method_878(IIII)F
      server method_1784 Lpb;method_1784(IIII)F
      client a Lxp;a(IIII)F
      named getNaturalBrightness Lnet/minecraft/world/BlockView;getNaturalBrightness(IIII)F
    • getLuminance

      @Environment(CLIENT) public float getLuminance(int x, int y, int z)
      Specified by:
      getLuminance in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1782 Lnet/minecraft/class_14;method_1782(III)F
      glue method_576 Lclass_584;method_576(III)F
      server method_1782 Lpb;method_1782(III)F
      client c Lxp;c(III)F
      named getLuminance Lnet/minecraft/world/BlockView;getLuminance(III)F
    • getRawBrightness

      @Environment(CLIENT) public int getRawBrightness(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_143 Lnet/minecraft/class_42;method_143(III)I
      glue method_880 Lclass_121;method_880(III)I
      server method_143 Ldd;method_143(III)I
      client d Lew;d(III)I
      named getRawBrightness Lnet/minecraft/world/WorldRegion;getRawBrightness(III)I
    • getRawBrightness

      @Environment(CLIENT) public int getRawBrightness(int x, int y, int z, boolean useNeighborLight)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_142 Lnet/minecraft/class_42;method_142(IIIZ)I
      glue method_879 Lclass_121;method_879(IIIZ)I
      server method_142 Ldd;method_142(IIIZ)I
      client a Lew;a(IIIZ)I
      named getRawBrightness Lnet/minecraft/world/WorldRegion;getRawBrightness(IIIZ)I
    • getBlockMeta

      public int getBlockMeta(int x, int y, int z)
      Specified by:
      getBlockMeta in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1778 Lnet/minecraft/class_14;method_1778(III)I
      glue method_451 Lclass_584;method_451(III)I
      server c Lpb;c(III)I
      client e Lxp;e(III)I
      named getBlockMeta Lnet/minecraft/world/BlockView;getBlockMeta(III)I
    • getMaterial

      public Material getMaterial(int x, int y, int z)
      Specified by:
      getMaterial in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1779 Lnet/minecraft/class_14;method_1779(III)Lnet/minecraft/class_15;
      glue method_452 Lclass_584;method_452(III)Lclass_280;
      server d Lpb;d(III)Lhj;
      client f Lxp;f(III)Lln;
      named getMaterial Lnet/minecraft/world/BlockView;getMaterial(III)Lnet/minecraft/block/material/Material;
    • getBiomeSource

      @Environment(CLIENT) public BiomeSource getBiomeSource()
      Specified by:
      getBiomeSource in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1781 Lnet/minecraft/class_14;method_1781()Lnet/minecraft/class_519;
      glue method_465 Lclass_584;method_465()Lclass_592;
      server method_1781 Lpb;method_1781()Lph;
      client a Lxp;a()Lxv;
      named getBiomeSource Lnet/minecraft/world/BlockView;getBiomeSource()Lnet/minecraft/world/biome/source/BiomeSource;
    • isOpaque

      @Environment(CLIENT) public boolean isOpaque(int x, int y, int z)
      Specified by:
      isOpaque in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1783 Lnet/minecraft/class_14;method_1783(III)Z
      glue method_580 Lclass_584;method_580(III)Z
      server method_1783 Lpb;method_1783(III)Z
      client g Lxp;g(III)Z
      named isOpaque Lnet/minecraft/world/BlockView;isOpaque(III)Z
    • shouldSuffocate

      public boolean shouldSuffocate(int x, int y, int z)
      Specified by:
      shouldSuffocate in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1780 Lnet/minecraft/class_14;method_1780(III)Z
      glue method_453 Lclass_584;method_453(III)Z
      server e Lpb;e(III)Z
      client h Lxp;h(III)Z
      named shouldSuffocate Lnet/minecraft/world/BlockView;shouldSuffocate(III)Z