net.minecraft.world.chunk

public abstract class PaletteProvider<T>

erd
net.minecraft.world.level.chunk.Strategy
net.minecraft.class_6563
net.minecraft.world.chunk.PaletteProvider
net.minecraft.unmapped.C_rvczxjrz
net.minecraft.unmapped.C_rvczxjrz
net.minecraft.src.C_410869_

Field summary

Modifier and TypeField
private static final Palette$Factory
b
SINGLE_VALUE_PALETTE_FACTORY
field_34566
SINGULAR
f_usttjxdw
f_411566_
private static final Palette$Factory
c
LINEAR_PALETTE_FACTORY
field_34567
ARRAY
f_edhmjicb
f_412873_
private static final Palette$Factory
d
HASHMAP_PALETTE_FACTORY
field_34568
BI_MAP
f_rglmcbht
f_411748_
static final PaletteType
e
ZERO_BITS
field_62438
SINGULAR_TYPE
f_pkazpfrn
f_411572_
static final PaletteType
f
ONE_BIT_LINEAR
field_62439
ARRAY_1_TYPE
f_creqjxrj
f_412767_
static final PaletteType
g
TWO_BITS_LINEAR
field_62440
ARRAY_2_TYPE
f_gayaangk
f_413647_
static final PaletteType
h
THREE_BITS_LINEAR
field_62441
ARRAY_3_TYPE
f_lratnkcw
f_413767_
static final PaletteType
i
FOUR_BITS_LINEAR
field_62442
ARRAY_4_TYPE
f_wewxrxxv
f_411996_
static final PaletteType
j
FIVE_BITS_HASHMAP
field_62443
BI_MAP_5_TYPE
f_fmaasbtr
f_411554_
static final PaletteType
k
SIX_BITS_HASHMAP
field_62444
BI_MAP_6_TYPE
f_ceghfdxi
f_412216_
static final PaletteType
l
SEVEN_BITS_HASHMAP
field_62445
BI_MAP_7_TYPE
f_raqgshgi
f_412681_
static final PaletteType
m
EIGHT_BITS_HASHMAP
field_62446
BI_MAP_8_TYPE
f_kyhiprhg
f_413810_
private final IndexedIterable<T>
n
globalMap
field_62542
idList
f_mnnpikpt
f_413117_
private final IdListPalette<T>
o
globalPalette
field_62543
palette
f_qtowbrji
f_412623_
protected final int
a
globalPaletteBitsInMemory
field_62541
bitsInMemory
f_qntigfsd
f_412780_
private final int
p
bitsPerAxis
field_62544
bitsPerAxis
f_ilojzyle
f_412108_
private final int
q
entryCount
field_62545
size
f_zslyxpew
f_414022_

Constructor summary

ModifierConstructor
(IndexedIterable<T> idList, int bitsPerAxis)

Method summary

Modifier and TypeMethod
public static <T> PaletteProvider<T>
a(ji<T> o)
createForBlockStates(IdMap<T> arg0)
method_74162(class_2359<T> arg0)
forBlockStates(IndexedIterable<T> idList)
m_vcyjnhcb(C_feaetnaz<T> arg0)
m_415059_(C_4698_<T> p_426168_)
public static <T> PaletteProvider<T>
b(ji<T> o)
createForBiomes(IdMap<T> arg0)
method_74165(class_2359<T> arg0)
forBiomes(IndexedIterable<T> idList)
m_loqmbevo(C_feaetnaz<T> arg0)
m_415818_(C_4698_<T> p_428409_)
public int
a()
entryCount()
method_74161()
getSize()
m_eufojrjx()
m_419407_()
public int
a(int o, int o, int arg2)
getIndex(int arg0, int arg1, int arg2)
method_38313(int arg0, int arg1, int arg2)
computeIndex(int x, int y, int z)
m_whtqytqi(int arg0, int arg1, int arg2)
m_416864_(int p_424862_, int p_423399_, int arg2)
public IndexedIterable<T>
b()
globalMap()
method_74163()
getIdList()
m_jrptrxqw()
m_416801_()
public IdListPalette<T>
c()
globalPalette()
method_74166()
getPalette()
m_acrtlqqj()
m_420148_()
protected abstract PaletteType
a(int arg0)
getConfigurationForBitCount(int arg0)
method_38314(int arg0)
createType(int bitsInStorage)
m_hsmdgktu(int arg0)
m_417377_(int arg0)
protected PaletteType
b(int arg0)
getConfigurationForPaletteSize(int arg0)
method_74164(int arg0)
createTypeFromSize(int size)
m_amzglfmk(int arg0)
m_amzglfmk(int value)
m_419520_(int arg0)
private static int
c(int o)
minimumBitsRequiredForDistinctValues(int arg0)
method_74167(int arg0)
toBits(int size)
m_uxayleps(int arg0)
m_uxayleps(int value)
m_416334_(int p_424515_)