类 SingleValuePalette<T>
java.lang.Object
net.minecraft.world.level.chunk.SingleValuePalette<T>
- 所有已实现的接口:
Palette<T>
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.world.level.chunk.Palette
Palette.Factory
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明copy()
static <A> Palette<A>
create
(int pBits, IdMap<A> pRegistry, PaletteResize<A> pResizeHandler, List<A> pValue) int
int
getSize()
int
boolean
void
read
(FriendlyByteBuf pBuffer) valueFor
(int pId) void
write
(FriendlyByteBuf pBuffer)
-
字段详细资料
-
registry
-
value
-
resizeHandler
-
-
构造器详细资料
-
SingleValuePalette
-
-
方法详细资料
-
create
public static <A> Palette<A> create(int pBits, IdMap<A> pRegistry, PaletteResize<A> pResizeHandler, List<A> pValue) -
idFor
-
maybeHas
-
valueFor
-
read
-
write
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize
在接口中Palette<T>
-
getSize
public int getSize() -
copy
-