Package net.minecraft
Interface class_7522<T>
- All Known Implementing Classes:
PalettedContainer
public interface class_7522<T>
- Mappings:
Namespace Name official cxeintermediary net/minecraft/class_7522named net/minecraft/class_7522
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceclass_7522.class_7523<T,C extends class_7522<T>> static final recordThe storage form of the paletted container in the codec. -
Method Summary
Modifier and TypeMethodDescriptionvoidcount(PalettedContainer.Counter<T> counter) get(int x, int y, int z) intbooleanReturnstrueif any object in this container's palette matches this predicate.voidmethod_39793(Consumer<T> consumer) method_44345(IndexedIterable<T> indexedIterable, PalettedContainer.PaletteProvider paletteProvider) voidwritePacket(PacketByteBuf buf) Writes this container to the packet byte buffer.
-
Method Details
-
get
- Mappings:
Namespace Name Mixin selector official aLcxe;a(III)Ljava/lang/Object;intermediary method_12321Lnet/minecraft/class_7522;method_12321(III)Ljava/lang/Object;named getLnet/minecraft/class_7522;get(III)Ljava/lang/Object;
-
method_39793
- Mappings:
Namespace Name Mixin selector official aLcxe;a(Ljava/util/function/Consumer;)Vintermediary method_39793Lnet/minecraft/class_7522;method_39793(Ljava/util/function/Consumer;)Vnamed method_39793Lnet/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 bLcxe;b(Lqx;)Vintermediary method_12325Lnet/minecraft/class_7522;method_12325(Lnet/minecraft/class_2540;)Vnamed writePacketLnet/minecraft/class_7522;writePacket(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketSize
int getPacketSize()- Mappings:
Namespace Name Mixin selector official cLcxe;c()Iintermediary method_12327Lnet/minecraft/class_7522;method_12327()Inamed getPacketSizeLnet/minecraft/class_7522;getPacketSize()I
-
hasAny
Returnstrueif any object in this container's palette matches this predicate.- Returns:
trueif any object in this container's palette matches this predicate- Mappings:
Namespace Name Mixin selector official aLcxe;a(Ljava/util/function/Predicate;)Zintermediary method_19526Lnet/minecraft/class_7522;method_19526(Ljava/util/function/Predicate;)Znamed hasAnyLnet/minecraft/class_7522;hasAny(Ljava/util/function/Predicate;)Z
-
count
- Mappings:
Namespace Name Mixin selector official aLcxe;a(Lcxd$b;)Vintermediary method_21732Lnet/minecraft/class_7522;method_21732(Lnet/minecraft/class_2841$class_4464;)Vnamed countLnet/minecraft/class_7522;count(Lnet/minecraft/world/chunk/PalettedContainer$Counter;)V
-
method_44350
PalettedContainer<T> method_44350()- Mappings:
Namespace Name Mixin selector official eLcxe;e()Lcxd;intermediary method_44350Lnet/minecraft/class_7522;method_44350()Lnet/minecraft/class_2841;named method_44350Lnet/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 aLcxe;a(Lhf;Lcxd$d;)Lcxe$a;intermediary method_44345Lnet/minecraft/class_7522;method_44345(Lnet/minecraft/class_2359;Lnet/minecraft/class_2841$class_6563;)Lnet/minecraft/class_7522$class_6562;named method_44345Lnet/minecraft/class_7522;method_44345(Lnet/minecraft/util/collection/IndexedIterable;Lnet/minecraft/world/chunk/PalettedContainer$PaletteProvider;)Lnet/minecraft/class_7522$Serialized;
-