net.minecraft.world.level.chunk

public abstract class Strategy<T>

emi
net.minecraft.world.level.chunk.Strategy
net.minecraft.class_6563
net.minecraft.world.chunk.PaletteProvider
net.minecraft.src.C_410869_
net.minecraft.world.level.chunk.Strategy

Field summary

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

Constructor summary

ModifierConstructor
(IdMap<T> idList, int bitsPerAxis)

Method summary

Modifier and TypeMethod
public static <T> Strategy<T>
a(jp<T> arg0)
createForBlockStates(IdMap<T> arg0)
method_74162(class_2359<T> arg0)
forBlockStates(IndexedIterable<T> idList)
m_415059_(C_4698_<T> p_426168_)
public static <T> Strategy<T>
b(jp<T> arg0)
createForBiomes(IdMap<T> arg0)
method_74165(class_2359<T> arg0)
forBiomes(IndexedIterable<T> idList)
m_415818_(C_4698_<T> p_428409_)
public int
a()
entryCount()
method_74161()
getSize()
m_419407_()
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)
m_416864_(int p_424862_, int p_423399_, int arg2)
public IdMap<T>
b()
globalMap()
method_74163()
getIdList()
m_416801_()
public GlobalPalette<T>
c()
globalPalette()
method_74166()
getPalette()
m_420148_()
protected abstract Configuration
a(int arg0)
getConfigurationForBitCount(int arg0)
method_38314(int arg0)
createType(int bitsInStorage)
m_417377_(int arg0)
protected Configuration
b(int arg0)
getConfigurationForPaletteSize(int arg0)
method_74164(int arg0)
createTypeFromSize(int size)
m_419520_(int arg0)
private static int
c(int arg0)
minimumBitsRequiredForDistinctValues(int arg0)
method_74167(int arg0)
toBits(int size)
m_416334_(int p_424515_)