net.minecraft.util.datafix.fixes

public class ChunkHeightAndBiomeFix

extends com.mojang.datafixers.DataFix

aqn
net.minecraft.util.datafix.fixes.ChunkHeightAndBiomeFix
net.minecraft.class_6637
net.minecraft.datafixer.fix.ChunkHeightAndBiomeFix
net.minecraft.src.C_182794_
net.minecraft.util.datafix.fixes.ChunkHeightAndBiomeFix

Field summary

Modifier and TypeField
public static final String
a
DATAFIXER_CONTEXT_TAG
field_35444
CONTEXT
f_184843_
private static final String
d
NAME
field_35017
NAME
f_184845_
private static final int
e
OLD_SECTION_COUNT
field_35018
CHUNK_SECTIONS_IN_OLD_CHUNK
f_184846_
private static final int
f
NEW_SECTION_COUNT
field_35019
CHUNK_SECTIONS_IN_NEW_CHUNK
f_184847_
private static final int
g
NEW_MIN_SECTION_Y
field_35020
MIN_CHUNK_SECTION_Y
f_184848_
public static final int
b
BLOCKS_PER_SECTION
field_36214
field_36214
f_196581_
private static final int
h
LONGS_PER_SECTION
field_36215
field_36215
f_196582_
private static final int
i
HEIGHTMAP_BITS
field_35022
field_35022
f_184850_
private static final long
j
HEIGHTMAP_MASK
field_35023
field_35023
f_184851_
private static final int
k
HEIGHTMAP_OFFSET
field_35024
field_35024
f_184852_
private static final String[]
l
HEIGHTMAP_TYPES
field_35025
HEIGHTMAP_KEYS
f_184853_
private static final Set<String>
m
STATUS_IS_OR_AFTER_SURFACE
field_35667
STATUSES_TO_SKIP_UPDATE
f_184854_
private static final Set<String>
n
STATUS_IS_OR_AFTER_NOISE
field_35668
field_35668
f_184855_
private static final Set<String>
o
BLOCKS_BEFORE_FEATURE_STATUS
field_35669
SURFACE_BLOCKS
f_184856_
private static final int
p
BIOME_CONTAINER_LAYER_SIZE
field_35026
field_35026
f_184857_
private static final int
q
BIOME_CONTAINER_SIZE
field_35027
field_35027
f_184858_
private static final int
r
BIOME_CONTAINER_TOP_LAYER_OFFSET
field_35028
field_35028
f_184859_
public static final String
c
DEFAULT_BIOME
field_35016
PLAINS_ID
f_184844_
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<String>
s
BIOMES_BY_ID
field_35029
RAW_BIOME_IDS
f_184860_

Constructor summary

ModifierConstructor
public (com.mojang.datafixers.schemas.Schema schema)

Method summary

Modifier and TypeMethod
protected com.mojang.datafixers.TypeRewriteRule
makeRule()
makeRule()
makeRule()
private com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.Dynamic<?> arg0, Set<String> arg1)
predictChunkStatusBeforeSurface(com.mojang.serialization.Dynamic<?> arg0, Set<String> arg1)
method_39517(com.mojang.serialization.Dynamic<?> arg0, Set<String> arg1)
fixStatus(com.mojang.serialization.Dynamic<?> level, Set<String> blocks)
m_184903_(com.mojang.serialization.Dynamic<?> p_184905_, Set<String> arg1)
private static com.mojang.serialization.Dynamic<?>[]
a(com.mojang.serialization.Dynamic<?> arg0, boolean arg1, int arg2, org.apache.commons.lang3.mutable.MutableBoolean arg3)
getBiomeContainers(com.mojang.serialization.Dynamic<?> arg0, boolean arg1, int arg2, org.apache.commons.lang3.mutable.MutableBoolean arg3)
method_38806(com.mojang.serialization.Dynamic<?> arg0, boolean arg1, int arg2, org.apache.commons.lang3.mutable.MutableBoolean arg3)
fixBiomes(com.mojang.serialization.Dynamic<?> level, boolean overworld, int arg2, org.apache.commons.lang3.mutable.MutableBoolean heightAlreadyUpdated)
m_184906_(com.mojang.serialization.Dynamic<?> p_184907_, boolean p_184908_, int p_184909_, org.apache.commons.lang3.mutable.MutableBoolean p_184910_)
private static int
a(int[] arg0, int arg1)
getOldBiome(int[] arg0, int arg1)
method_39519(int[] arg0, int arg1)
getClamped(int[] is, int index)
m_184948_(int[] p_184949_, int p_184950_)
private static com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.Dynamic<?> arg0, boolean arg1, boolean arg2, boolean arg3, Supplier<aqq$a> arg4)
updateChunkTag(com.mojang.serialization.Dynamic<?> arg0, boolean arg1, boolean arg2, boolean arg3, Supplier<ChunkProtoTickListFix$PoorMansPalettedContainer> arg4)
method_38807(com.mojang.serialization.Dynamic<?> arg0, boolean arg1, boolean arg2, boolean arg3, Supplier<class_6740$class_6741> arg4)
fixLevel(com.mojang.serialization.Dynamic<?> level, boolean overworld, boolean heightAlreadyUpdated, boolean atNoiseStatus, Supplier<ProtoChunkTickListFix$class_6741> arg4)
m_184911_(com.mojang.serialization.Dynamic<?> p_184912_, boolean p_184913_, boolean p_184914_, boolean p_184915_, Supplier<C_182795_$C_182796_> p_184916_)
private static <T> com.mojang.serialization.Dynamic<T>
a(com.mojang.serialization.Dynamic<T> arg0)
shiftUpgradeData(com.mojang.serialization.Dynamic<T> arg0)
method_39754(com.mojang.serialization.Dynamic<T> arg0)
fixUpgradeData(com.mojang.serialization.Dynamic<T> upgradeData)
m_196590_(com.mojang.serialization.Dynamic<T> p_196591_)
private static com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.Dynamic<?> arg0, int arg1, int arg2)
updateCarvingMasks(com.mojang.serialization.Dynamic<?> arg0, int arg1, int arg2)
method_38799(com.mojang.serialization.Dynamic<?> arg0, int arg1, int arg2)
fixCarvingMasks(com.mojang.serialization.Dynamic<?> level, int sectionsPerChunk, int oldBottomSectionY)
m_184887_(com.mojang.serialization.Dynamic<?> p_184888_, int p_184889_, int p_184890_)
private static com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.Dynamic<?> arg0, String arg1)
addPaddingEntries(com.mojang.serialization.Dynamic<?> arg0, String arg1)
method_38805(com.mojang.serialization.Dynamic<?> arg0, String arg1)
fixChunkSectionList(com.mojang.serialization.Dynamic<?> level, String key)
m_184900_(com.mojang.serialization.Dynamic<?> p_184901_, String p_184902_)
private static com.mojang.serialization.Dynamic<?>
b(com.mojang.serialization.Dynamic<?> arg0)
updateHeightmaps(com.mojang.serialization.Dynamic<?> arg0)
method_38798(com.mojang.serialization.Dynamic<?> arg0)
fixHeightmaps(com.mojang.serialization.Dynamic<?> level)
m_184885_(com.mojang.serialization.Dynamic<?> p_184886_)
private static com.mojang.serialization.Dynamic<?>
c(com.mojang.serialization.Dynamic<?> arg0)
getFixedHeightmap(com.mojang.serialization.Dynamic<?> arg0)
method_38812(com.mojang.serialization.Dynamic<?> arg0)
fixHeightmap(com.mojang.serialization.Dynamic<?> heightmap)
m_184956_(com.mojang.serialization.Dynamic<?> p_184957_)
private static com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.Dynamic<?> arg0, it.unimi.dsi.fastutil.ints.Int2IntFunction arg1)
makeBiomeContainer(com.mojang.serialization.Dynamic<?> arg0, it.unimi.dsi.fastutil.ints.Int2IntFunction arg1)
method_38803(com.mojang.serialization.Dynamic<?> arg0, it.unimi.dsi.fastutil.ints.Int2IntFunction arg1)
fixBiomes(com.mojang.serialization.Dynamic<?> level, it.unimi.dsi.fastutil.ints.Int2IntFunction biomeGetter)
m_184894_(com.mojang.serialization.Dynamic<?> p_184895_, it.unimi.dsi.fastutil.ints.Int2IntFunction p_184896_)
private static com.mojang.serialization.Dynamic<?>
d(com.mojang.serialization.Dynamic<?> arg0)
makePalettedContainer(com.mojang.serialization.Dynamic<?> arg0)
method_38816(com.mojang.serialization.Dynamic<?> arg0)
fixPalette(com.mojang.serialization.Dynamic<?> palette)
m_184969_(com.mojang.serialization.Dynamic<?> p_184970_)
private static com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1)
makePalettedContainer(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1)
method_38802(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1)
fixPaletteWithData(com.mojang.serialization.Dynamic<?> palette, com.mojang.serialization.Dynamic<?> data)
m_184891_(com.mojang.serialization.Dynamic<?> p_184892_, com.mojang.serialization.Dynamic<?> p_184893_)
private static com.mojang.serialization.Dynamic<?>
b(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1)
makeOptimizedPalettedContainer(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1)
method_38813(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1)
fixPalette(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1)
m_184958_(com.mojang.serialization.Dynamic<?> p_184959_, com.mojang.serialization.Dynamic<?> p_184960_)
private static com.mojang.serialization.Dynamic<?>
a(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1, List<com.mojang.serialization.Dynamic<?>> arg2)
padPaletteEntries(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1, List<com.mojang.serialization.Dynamic<?>> arg2)
method_39781(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1, List<com.mojang.serialization.Dynamic<?>> arg2)
method_39781(com.mojang.serialization.Dynamic<?> arg0, com.mojang.serialization.Dynamic<?> arg1, List<com.mojang.serialization.Dynamic<?>> arg2)
m_196592_(com.mojang.serialization.Dynamic<?> p_196593_, com.mojang.serialization.Dynamic<?> p_196594_, List<com.mojang.serialization.Dynamic<?>> p_196595_)
public static int
a(int arg0)
ceillog2(int arg0)
method_38793(int arg0)
ceilLog2(int value)
m_184865_(int p_184866_)