Package net.minecraft
Interface class_7522<T>
- All Known Implementing Classes:
PalettedContainer
public interface class_7522<T>
- Mappings:
Namespace Name official cxe
intermediary net/minecraft/class_7522
named net/minecraft/class_7522
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
class_7522.class_7523<T,
C extends class_7522<T>> static final record
The storage form of the paletted container in the codec. -
Method Summary
Modifier and TypeMethodDescriptionvoid
count
(PalettedContainer.Counter<T> counter) get
(int x, int y, int z) int
boolean
Returnstrue
if any object in this container's palette matches this predicate.void
method_39793
(Consumer<T> consumer) method_44345
(IndexedIterable<T> indexedIterable, PalettedContainer.PaletteProvider paletteProvider) void
writePacket
(PacketByteBuf buf) Writes this container to the packet byte buffer.
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector official a
Lcxe;a(III)Ljava/lang/Object;
intermediary method_12321
Lnet/minecraft/class_7522;method_12321(III)Ljava/lang/Object;
named get
Lnet/minecraft/class_7522;get(III)Ljava/lang/Object;
-
method_39793
- Mappings:
Namespace Name Mixin selector official a
Lcxe;a(Ljava/util/function/Consumer;)V
intermediary method_39793
Lnet/minecraft/class_7522;method_39793(Ljava/util/function/Consumer;)V
named method_39793
Lnet/minecraft/class_7522;method_39793(Ljava/util/function/Consumer;)V
-
writePacket
Writes this container to the packet byte buffer.- Parameters:
buf
- the packet byte buffer- Mappings:
Namespace Name Mixin selector official b
Lcxe;b(Lqx;)V
intermediary method_12325
Lnet/minecraft/class_7522;method_12325(Lnet/minecraft/class_2540;)V
named writePacket
Lnet/minecraft/class_7522;writePacket(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketSize
int getPacketSize()- Mappings:
Namespace Name Mixin selector official c
Lcxe;c()I
intermediary method_12327
Lnet/minecraft/class_7522;method_12327()I
named getPacketSize
Lnet/minecraft/class_7522;getPacketSize()I
-
hasAny
Returnstrue
if any object in this container's palette matches this predicate.- Returns:
true
if any object in this container's palette matches this predicate- Mappings:
Namespace Name Mixin selector official a
Lcxe;a(Ljava/util/function/Predicate;)Z
intermediary method_19526
Lnet/minecraft/class_7522;method_19526(Ljava/util/function/Predicate;)Z
named hasAny
Lnet/minecraft/class_7522;hasAny(Ljava/util/function/Predicate;)Z
-
count
- Mappings:
Namespace Name Mixin selector official a
Lcxe;a(Lcxd$b;)V
intermediary method_21732
Lnet/minecraft/class_7522;method_21732(Lnet/minecraft/class_2841$class_4464;)V
named count
Lnet/minecraft/class_7522;count(Lnet/minecraft/world/chunk/PalettedContainer$Counter;)V
-
method_44350
PalettedContainer<T> method_44350()- Mappings:
Namespace Name Mixin selector official e
Lcxe;e()Lcxd;
intermediary method_44350
Lnet/minecraft/class_7522;method_44350()Lnet/minecraft/class_2841;
named method_44350
Lnet/minecraft/class_7522;method_44350()Lnet/minecraft/world/chunk/PalettedContainer;
-
method_44345
class_7522.Serialized<T> method_44345(IndexedIterable<T> indexedIterable, PalettedContainer.PaletteProvider paletteProvider) - Mappings:
Namespace Name Mixin selector official a
Lcxe;a(Lhf;Lcxd$d;)Lcxe$a;
intermediary method_44345
Lnet/minecraft/class_7522;method_44345(Lnet/minecraft/class_2359;Lnet/minecraft/class_2841$class_6563;)Lnet/minecraft/class_7522$class_6562;
named method_44345
Lnet/minecraft/class_7522;method_44345(Lnet/minecraft/util/collection/IndexedIterable;Lnet/minecraft/world/chunk/PalettedContainer$PaletteProvider;)Lnet/minecraft/class_7522$Serialized;
-