Package net.minecraft.world.chunk
Interface Palette<T>
- All Known Implementing Classes:
ArrayPalette
,BiMapPalette
,IdListPalette
public interface Palette<T>
- Mappings:
Namespace Name official ckb
intermediary net/minecraft/class_2837
named net/minecraft/world/chunk/Palette
-
Method Summary
Modifier and Type Method Description boolean
accepts(Predicate<T> predicate)
void
fromPacket(PacketByteBuf buf)
void
fromTag(ListTag tag)
T
getByIndex(int index)
int
getIndex(T object)
int
getPacketSize()
void
toPacket(PacketByteBuf buf)
-
Method Details
-
getIndex
- Mappings:
Namespace Name Mixin selector official a
Lckb;a(Ljava/lang/Object;)I
intermediary method_12291
Lnet/minecraft/class_2837;method_12291(Ljava/lang/Object;)I
named getIndex
Lnet/minecraft/world/chunk/Palette;getIndex(Ljava/lang/Object;)I
-
accepts
- Mappings:
Namespace Name Mixin selector official a
Lckb;a(Ljava/util/function/Predicate;)Z
intermediary method_19525
Lnet/minecraft/class_2837;method_19525(Ljava/util/function/Predicate;)Z
named accepts
Lnet/minecraft/world/chunk/Palette;accepts(Ljava/util/function/Predicate;)Z
-
getByIndex
- Mappings:
Namespace Name Mixin selector official a
Lckb;a(I)Ljava/lang/Object;
intermediary method_12288
Lnet/minecraft/class_2837;method_12288(I)Ljava/lang/Object;
named getByIndex
Lnet/minecraft/world/chunk/Palette;getByIndex(I)Ljava/lang/Object;
-
fromPacket
- Mappings:
Namespace Name Mixin selector official a
Lckb;a(Lnw;)V
intermediary method_12289
Lnet/minecraft/class_2837;method_12289(Lnet/minecraft/class_2540;)V
named fromPacket
Lnet/minecraft/world/chunk/Palette;fromPacket(Lnet/minecraft/network/PacketByteBuf;)V
-
toPacket
- Mappings:
Namespace Name Mixin selector official b
Lckb;b(Lnw;)V
intermediary method_12287
Lnet/minecraft/class_2837;method_12287(Lnet/minecraft/class_2540;)V
named toPacket
Lnet/minecraft/world/chunk/Palette;toPacket(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketSize
int getPacketSize()- Mappings:
Namespace Name Mixin selector official a
Lckb;a()I
intermediary method_12290
Lnet/minecraft/class_2837;method_12290()I
named getPacketSize
Lnet/minecraft/world/chunk/Palette;getPacketSize()I
-
fromTag
- Mappings:
Namespace Name Mixin selector official a
Lckb;a(Lmw;)V
intermediary method_12286
Lnet/minecraft/class_2837;method_12286(Lnet/minecraft/class_2499;)V
named fromTag
Lnet/minecraft/world/chunk/Palette;fromTag(Lnet/minecraft/nbt/ListTag;)V
-