Class ChunkHeightAndBiomeFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChunkHeightAndBiomeFix

public class ChunkHeightAndBiomeFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/ChunkHeightAndBiomeFix
intermediary net/minecraft/class_6637
official bbq
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final int
     
    private static final int
     
    static final String
     
    private static final int
     
    private static final long
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final int
     
    private static final Set<String>
     
    static final int
     
    private static final int
     
    private static final String[]
     
    private static final int
     
    private static final String
     
    static final String
     
    private static final Int2ObjectMap<String>
     
    private static final Set<String>
     
    private static final Set<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ChunkHeightAndBiomeFix(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    ceilLog2(int value)
     
    private static com.mojang.serialization.Dynamic<?>[]
    fixBiomes(com.mojang.serialization.Dynamic<?> level, boolean overworld, int int2, MutableBoolean heightAlreadyUpdated)
     
    private static com.mojang.serialization.Dynamic<?>
    fixBiomes(com.mojang.serialization.Dynamic<?> level, Int2IntFunction biomeGetter)
     
    private static com.mojang.serialization.Dynamic<?>
    fixCarvingMasks(com.mojang.serialization.Dynamic<?> level, int sectionsPerChunk, int oldBottomSectionY)
     
    private static com.mojang.serialization.Dynamic<?>
    fixChunkSectionList(com.mojang.serialization.Dynamic<?> level, String key)
     
    private static com.mojang.serialization.Dynamic<?>
    fixHeightmap(com.mojang.serialization.Dynamic<?> heightmap)
     
    private static com.mojang.serialization.Dynamic<?>
    fixHeightmaps(com.mojang.serialization.Dynamic<?> level)
     
    private static com.mojang.serialization.Dynamic<?>
    fixLevel(com.mojang.serialization.Dynamic<?> level, boolean overworld, boolean heightAlreadyUpdated, boolean atNoiseStatus, Supplier<ProtoChunkTickListFix.class_6741> supplier)
     
    private static com.mojang.serialization.Dynamic<?>
    fixPalette(com.mojang.serialization.Dynamic<?> palette)
     
    private static com.mojang.serialization.Dynamic<?>
    fixPalette(com.mojang.serialization.Dynamic<?> dynamic, com.mojang.serialization.Dynamic<?> dynamic2)
     
    private static com.mojang.serialization.Dynamic<?>
    fixPaletteWithData(com.mojang.serialization.Dynamic<?> palette, com.mojang.serialization.Dynamic<?> data)
     
    private com.mojang.serialization.Dynamic<?>
    fixStatus(com.mojang.serialization.Dynamic<?> level, Set<String> blocks)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    fixUpgradeData(com.mojang.serialization.Dynamic<T> upgradeData)
     
    private static int
    getClamped(int[] is, int index)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    private static com.mojang.serialization.Dynamic<?>
    method_39781(com.mojang.serialization.Dynamic<?> dynamic, com.mojang.serialization.Dynamic<?> dynamic2, List<com.mojang.serialization.Dynamic<?>> list)
     

    Methods inherited from class com.mojang.datafixers.DataFix

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CONTEXT

      public static final String CONTEXT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CONTEXT Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;CONTEXT:Ljava/lang/String;
      intermediary field_35444 Lnet/minecraft/class_6637;field_35444:Ljava/lang/String;
      official a Lbbq;a:Ljava/lang/String;
    • NAME

      private static final String NAME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named NAME Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;NAME:Ljava/lang/String;
      intermediary field_35017 Lnet/minecraft/class_6637;field_35017:Ljava/lang/String;
      official d Lbbq;d:Ljava/lang/String;
    • CHUNK_SECTIONS_IN_OLD_CHUNK

      private static final int CHUNK_SECTIONS_IN_OLD_CHUNK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CHUNK_SECTIONS_IN_OLD_CHUNK Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;CHUNK_SECTIONS_IN_OLD_CHUNK:I
      intermediary field_35018 Lnet/minecraft/class_6637;field_35018:I
      official e Lbbq;e:I
    • CHUNK_SECTIONS_IN_NEW_CHUNK

      private static final int CHUNK_SECTIONS_IN_NEW_CHUNK
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CHUNK_SECTIONS_IN_NEW_CHUNK Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;CHUNK_SECTIONS_IN_NEW_CHUNK:I
      intermediary field_35019 Lnet/minecraft/class_6637;field_35019:I
      official f Lbbq;f:I
    • MIN_CHUNK_SECTION_Y

      private static final int MIN_CHUNK_SECTION_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MIN_CHUNK_SECTION_Y Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;MIN_CHUNK_SECTION_Y:I
      intermediary field_35020 Lnet/minecraft/class_6637;field_35020:I
      official g Lbbq;g:I
    • field_36214

      public static final int field_36214
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_36214 Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;field_36214:I
      intermediary field_36214 Lnet/minecraft/class_6637;field_36214:I
      official b Lbbq;b:I
    • field_36215

      private static final int field_36215
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_36215 Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;field_36215:I
      intermediary field_36215 Lnet/minecraft/class_6637;field_36215:I
      official h Lbbq;h:I
    • field_35022

      private static final int field_35022
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35022 Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;field_35022:I
      intermediary field_35022 Lnet/minecraft/class_6637;field_35022:I
      official i Lbbq;i:I
    • field_35023

      private static final long field_35023
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35023 Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;field_35023:J
      intermediary field_35023 Lnet/minecraft/class_6637;field_35023:J
      official j Lbbq;j:J
    • field_35024

      private static final int field_35024
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35024 Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;field_35024:I
      intermediary field_35024 Lnet/minecraft/class_6637;field_35024:I
      official k Lbbq;k:I
    • HEIGHTMAP_KEYS

      private static final String[] HEIGHTMAP_KEYS
      Mappings:
      Namespace Name Mixin selector
      named HEIGHTMAP_KEYS Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;HEIGHTMAP_KEYS:[Ljava/lang/String;
      intermediary field_35025 Lnet/minecraft/class_6637;field_35025:[Ljava/lang/String;
      official l Lbbq;l:[Ljava/lang/String;
    • STATUSES_TO_SKIP_UPDATE

      private static final Set<String> STATUSES_TO_SKIP_UPDATE
      Mappings:
      Namespace Name Mixin selector
      named STATUSES_TO_SKIP_UPDATE Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;STATUSES_TO_SKIP_UPDATE:Ljava/util/Set;
      intermediary field_35667 Lnet/minecraft/class_6637;field_35667:Ljava/util/Set;
      official m Lbbq;m:Ljava/util/Set;
    • field_35668

      private static final Set<String> field_35668
      Mappings:
      Namespace Name Mixin selector
      named field_35668 Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;field_35668:Ljava/util/Set;
      intermediary field_35668 Lnet/minecraft/class_6637;field_35668:Ljava/util/Set;
      official n Lbbq;n:Ljava/util/Set;
    • SURFACE_BLOCKS

      private static final Set<String> SURFACE_BLOCKS
      Mappings:
      Namespace Name Mixin selector
      named SURFACE_BLOCKS Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;SURFACE_BLOCKS:Ljava/util/Set;
      intermediary field_35669 Lnet/minecraft/class_6637;field_35669:Ljava/util/Set;
      official o Lbbq;o:Ljava/util/Set;
    • field_35026

      private static final int field_35026
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35026 Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;field_35026:I
      intermediary field_35026 Lnet/minecraft/class_6637;field_35026:I
      official p Lbbq;p:I
    • field_35027

      private static final int field_35027
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35027 Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;field_35027:I
      intermediary field_35027 Lnet/minecraft/class_6637;field_35027:I
      official q Lbbq;q:I
    • field_35028

      private static final int field_35028
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_35028 Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;field_35028:I
      intermediary field_35028 Lnet/minecraft/class_6637;field_35028:I
      official r Lbbq;r:I
    • PLAINS_ID

      public static final String PLAINS_ID
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PLAINS_ID Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;PLAINS_ID:Ljava/lang/String;
      intermediary field_35016 Lnet/minecraft/class_6637;field_35016:Ljava/lang/String;
      official c Lbbq;c:Ljava/lang/String;
    • RAW_BIOME_IDS

      private static final Int2ObjectMap<String> RAW_BIOME_IDS
      Mappings:
      Namespace Name Mixin selector
      named RAW_BIOME_IDS Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;RAW_BIOME_IDS:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      intermediary field_35029 Lnet/minecraft/class_6637;field_35029:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
      official s Lbbq;s:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
  • Constructor Details

    • ChunkHeightAndBiomeFix

      public ChunkHeightAndBiomeFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_6637;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      official <init> Lbbq;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • fixStatus

      private com.mojang.serialization.Dynamic<?> fixStatus(com.mojang.serialization.Dynamic<?> level, Set<String> blocks)
      Mappings:
      Namespace Name Mixin selector
      named fixStatus Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixStatus(Lcom/mojang/serialization/Dynamic;Ljava/util/Set;)Lcom/mojang/serialization/Dynamic;
      intermediary method_39517 Lnet/minecraft/class_6637;method_39517(Lcom/mojang/serialization/Dynamic;Ljava/util/Set;)Lcom/mojang/serialization/Dynamic;
      official a Lbbq;a(Lcom/mojang/serialization/Dynamic;Ljava/util/Set;)Lcom/mojang/serialization/Dynamic;
    • fixBiomes

      private static com.mojang.serialization.Dynamic<?>[] fixBiomes(com.mojang.serialization.Dynamic<?> level, boolean overworld, int int2, MutableBoolean heightAlreadyUpdated)
      Mappings:
      Namespace Name Mixin selector
      named fixBiomes Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixBiomes(Lcom/mojang/serialization/Dynamic;ZILorg/apache/commons/lang3/mutable/MutableBoolean;)[Lcom/mojang/serialization/Dynamic;
      intermediary method_38806 Lnet/minecraft/class_6637;method_38806(Lcom/mojang/serialization/Dynamic;ZILorg/apache/commons/lang3/mutable/MutableBoolean;)[Lcom/mojang/serialization/Dynamic;
      official a Lbbq;a(Lcom/mojang/serialization/Dynamic;ZILorg/apache/commons/lang3/mutable/MutableBoolean;)[Lcom/mojang/serialization/Dynamic;
    • getClamped

      private static int getClamped(int[] is, int index)
      Mappings:
      Namespace Name Mixin selector
      named getClamped Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;getClamped([II)I
      intermediary method_39519 Lnet/minecraft/class_6637;method_39519([II)I
      official a Lbbq;a([II)I
    • fixLevel

      private static com.mojang.serialization.Dynamic<?> fixLevel(com.mojang.serialization.Dynamic<?> level, boolean overworld, boolean heightAlreadyUpdated, boolean atNoiseStatus, Supplier<ProtoChunkTickListFix.class_6741> supplier)
      Mappings:
      Namespace Name Mixin selector
      named fixLevel Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixLevel(Lcom/mojang/serialization/Dynamic;ZZZLjava/util/function/Supplier;)Lcom/mojang/serialization/Dynamic;
      intermediary method_38807 Lnet/minecraft/class_6637;method_38807(Lcom/mojang/serialization/Dynamic;ZZZLjava/util/function/Supplier;)Lcom/mojang/serialization/Dynamic;
      official a Lbbq;a(Lcom/mojang/serialization/Dynamic;ZZZLjava/util/function/Supplier;)Lcom/mojang/serialization/Dynamic;
    • fixUpgradeData

      private static <T> com.mojang.serialization.Dynamic<T> fixUpgradeData(com.mojang.serialization.Dynamic<T> upgradeData)
      Mappings:
      Namespace Name Mixin selector
      named fixUpgradeData Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixUpgradeData(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_39754 Lnet/minecraft/class_6637;method_39754(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbbq;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixCarvingMasks

      private static com.mojang.serialization.Dynamic<?> fixCarvingMasks(com.mojang.serialization.Dynamic<?> level, int sectionsPerChunk, int oldBottomSectionY)
      Mappings:
      Namespace Name Mixin selector
      named fixCarvingMasks Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixCarvingMasks(Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic;
      intermediary method_38799 Lnet/minecraft/class_6637;method_38799(Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic;
      official a Lbbq;a(Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic;
    • fixChunkSectionList

      private static com.mojang.serialization.Dynamic<?> fixChunkSectionList(com.mojang.serialization.Dynamic<?> level, String key)
      Mappings:
      Namespace Name Mixin selector
      named fixChunkSectionList Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixChunkSectionList(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      intermediary method_38805 Lnet/minecraft/class_6637;method_38805(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
      official a Lbbq;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
    • fixHeightmaps

      private static com.mojang.serialization.Dynamic<?> fixHeightmaps(com.mojang.serialization.Dynamic<?> level)
      Mappings:
      Namespace Name Mixin selector
      named fixHeightmaps Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixHeightmaps(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_38798 Lnet/minecraft/class_6637;method_38798(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official b Lbbq;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixHeightmap

      private static com.mojang.serialization.Dynamic<?> fixHeightmap(com.mojang.serialization.Dynamic<?> heightmap)
      Mappings:
      Namespace Name Mixin selector
      named fixHeightmap Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixHeightmap(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_38812 Lnet/minecraft/class_6637;method_38812(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official c Lbbq;c(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixBiomes

      private static com.mojang.serialization.Dynamic<?> fixBiomes(com.mojang.serialization.Dynamic<?> level, Int2IntFunction biomeGetter)
      Mappings:
      Namespace Name Mixin selector
      named fixBiomes Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixBiomes(Lcom/mojang/serialization/Dynamic;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lcom/mojang/serialization/Dynamic;
      intermediary method_38803 Lnet/minecraft/class_6637;method_38803(Lcom/mojang/serialization/Dynamic;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lcom/mojang/serialization/Dynamic;
      official a Lbbq;a(Lcom/mojang/serialization/Dynamic;Lit/unimi/dsi/fastutil/ints/Int2IntFunction;)Lcom/mojang/serialization/Dynamic;
    • fixPalette

      private static com.mojang.serialization.Dynamic<?> fixPalette(com.mojang.serialization.Dynamic<?> palette)
      Mappings:
      Namespace Name Mixin selector
      named fixPalette Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixPalette(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_38816 Lnet/minecraft/class_6637;method_38816(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official d Lbbq;d(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixPaletteWithData

      private static com.mojang.serialization.Dynamic<?> fixPaletteWithData(com.mojang.serialization.Dynamic<?> palette, com.mojang.serialization.Dynamic<?> data)
      Mappings:
      Namespace Name Mixin selector
      named fixPaletteWithData Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixPaletteWithData(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_38802 Lnet/minecraft/class_6637;method_38802(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbbq;a(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • fixPalette

      private static com.mojang.serialization.Dynamic<?> fixPalette(com.mojang.serialization.Dynamic<?> dynamic, com.mojang.serialization.Dynamic<?> dynamic2)
      Mappings:
      Namespace Name Mixin selector
      named fixPalette Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;fixPalette(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_38813 Lnet/minecraft/class_6637;method_38813(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official b Lbbq;b(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • method_39781

      private static com.mojang.serialization.Dynamic<?> method_39781(com.mojang.serialization.Dynamic<?> dynamic, com.mojang.serialization.Dynamic<?> dynamic2, List<com.mojang.serialization.Dynamic<?>> list)
      Mappings:
      Namespace Name Mixin selector
      named method_39781 Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;method_39781(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;Ljava/util/List;)Lcom/mojang/serialization/Dynamic;
      intermediary method_39781 Lnet/minecraft/class_6637;method_39781(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;Ljava/util/List;)Lcom/mojang/serialization/Dynamic;
      official a Lbbq;a(Lcom/mojang/serialization/Dynamic;Lcom/mojang/serialization/Dynamic;Ljava/util/List;)Lcom/mojang/serialization/Dynamic;
    • ceilLog2

      public static int ceilLog2(int value)
      Mappings:
      Namespace Name Mixin selector
      named ceilLog2 Lnet/minecraft/datafixer/fix/ChunkHeightAndBiomeFix;ceilLog2(I)I
      intermediary method_38793 Lnet/minecraft/class_6637;method_38793(I)I
      official a Lbbq;a(I)I