net.minecraft.world.level.chunk

public abstract class Strategy<T>

epv
net.minecraft.world.level.chunk.Strategy
net.minecraft.class_6563
net.minecraft.world.chunk.PaletteProvider

Field summary

Modifier and TypeField
private static final Palette$Factory
b
SINGLE_VALUE_PALETTE_FACTORY
field_34566
SINGULAR
private static final Palette$Factory
c
LINEAR_PALETTE_FACTORY
field_34567
ARRAY
private static final Palette$Factory
d
HASHMAP_PALETTE_FACTORY
field_34568
BI_MAP
static final Configuration
e
ZERO_BITS
field_62438
SINGULAR_TYPE
static final Configuration
f
ONE_BIT_LINEAR
field_62439
ARRAY_1_TYPE
static final Configuration
g
TWO_BITS_LINEAR
field_62440
ARRAY_2_TYPE
static final Configuration
h
THREE_BITS_LINEAR
field_62441
ARRAY_3_TYPE
static final Configuration
i
FOUR_BITS_LINEAR
field_62442
ARRAY_4_TYPE
static final Configuration
j
FIVE_BITS_HASHMAP
field_62443
BI_MAP_5_TYPE
static final Configuration
k
SIX_BITS_HASHMAP
field_62444
BI_MAP_6_TYPE
static final Configuration
l
SEVEN_BITS_HASHMAP
field_62445
BI_MAP_7_TYPE
static final Configuration
m
EIGHT_BITS_HASHMAP
field_62446
BI_MAP_8_TYPE
private final IdMap<T>
n
globalMap
field_62542
idList
private final GlobalPalette<T>
o
globalPalette
field_62543
palette
protected final int
a
globalPaletteBitsInMemory
field_62541
bitsInMemory
private final int
p
bitsPerAxis
field_62544
bitsPerAxis
private final int
q
entryCount
field_62545
size

Constructor summary

ModifierConstructor
(IdMap<T> idList, int bitsPerAxis)

Method summary

Modifier and TypeMethod
public static <T> Strategy<T>
a(ji<T> arg0)
createForBlockStates(IdMap<T> arg0)
method_74162(class_2359<T> arg0)
forBlockStates(IndexedIterable<T> idList)
public static <T> Strategy<T>
b(ji<T> arg0)
createForBiomes(IdMap<T> arg0)
method_74165(class_2359<T> arg0)
forBiomes(IndexedIterable<T> idList)
public int
a()
entryCount()
method_74161()
getSize()
public int
a(int arg0, int arg1, int arg2)
getIndex(int arg0, int arg1, int arg2)
method_38313(int arg0, int arg1, int arg2)
computeIndex(int x, int y, int z)
public IdMap<T>
b()
globalMap()
method_74163()
getIdList()
public GlobalPalette<T>
c()
globalPalette()
method_74166()
getPalette()
protected abstract Configuration
a(int arg0)
getConfigurationForBitCount(int arg0)
method_38314(int arg0)
createType(int bitsInStorage)
protected Configuration
b(int arg0)
getConfigurationForPaletteSize(int arg0)
method_74164(int arg0)
createTypeFromSize(int size)
private static int
c(int arg0)
minimumBitsRequiredForDistinctValues(int arg0)
method_74167(int arg0)
toBits(int size)