Interface ReadableContainer<T>

All Known Implementing Classes:
PalettedContainer

public interface ReadableContainer<T>
Mappings:
Namespace Name
official dbi
intermediary net/minecraft/class_7522
named net/minecraft/world/chunk/ReadableContainer
  • Method Details

    • get

      T get(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbi;a(III)Ljava/lang/Object;
      intermediary method_12321 Lnet/minecraft/class_7522;method_12321(III)Ljava/lang/Object;
      named get Lnet/minecraft/world/chunk/ReadableContainer;get(III)Ljava/lang/Object;
    • forEachValue

      void forEachValue(Consumer<T> action)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbi;a(Ljava/util/function/Consumer;)V
      intermediary method_39793 Lnet/minecraft/class_7522;method_39793(Ljava/util/function/Consumer;)V
      named forEachValue Lnet/minecraft/world/chunk/ReadableContainer;forEachValue(Ljava/util/function/Consumer;)V
    • writePacket

      void writePacket(PacketByteBuf buf)
      Writes this container to the packet byte buffer.
      Parameters:
      buf - the packet byte buffer
      Mappings:
      Namespace Name Mixin selector
      official b Ldbi;b(Lsd;)V
      intermediary method_12325 Lnet/minecraft/class_7522;method_12325(Lnet/minecraft/class_2540;)V
      named writePacket Lnet/minecraft/world/chunk/ReadableContainer;writePacket(Lnet/minecraft/network/PacketByteBuf;)V
    • getPacketSize

      int getPacketSize()
      Mappings:
      Namespace Name Mixin selector
      official c Ldbi;c()I
      intermediary method_12327 Lnet/minecraft/class_7522;method_12327()I
      named getPacketSize Lnet/minecraft/world/chunk/ReadableContainer;getPacketSize()I
    • hasAny

      boolean hasAny(Predicate<T> predicate)
      Returns true 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 Ldbi;a(Ljava/util/function/Predicate;)Z
      intermediary method_19526 Lnet/minecraft/class_7522;method_19526(Ljava/util/function/Predicate;)Z
      named hasAny Lnet/minecraft/world/chunk/ReadableContainer;hasAny(Ljava/util/function/Predicate;)Z
    • count

      void count(PalettedContainer.Counter<T> counter)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbi;a(Ldbh$b;)V
      intermediary method_21732 Lnet/minecraft/class_7522;method_21732(Lnet/minecraft/class_2841$class_4464;)V
      named count Lnet/minecraft/world/chunk/ReadableContainer;count(Lnet/minecraft/world/chunk/PalettedContainer$Counter;)V
    • slice

      Mappings:
      Namespace Name Mixin selector
      official e Ldbi;e()Ldbh;
      intermediary method_44350 Lnet/minecraft/class_7522;method_44350()Lnet/minecraft/class_2841;
      named slice Lnet/minecraft/world/chunk/ReadableContainer;slice()Lnet/minecraft/world/chunk/PalettedContainer;
    • serialize

      Mappings:
      Namespace Name Mixin selector
      official a Ldbi;a(Lhe;Ldbh$d;)Ldbi$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 serialize Lnet/minecraft/world/chunk/ReadableContainer;serialize(Lnet/minecraft/util/collection/IndexedIterable;Lnet/minecraft/world/chunk/PalettedContainer$PaletteProvider;)Lnet/minecraft/world/chunk/ReadableContainer$Serialized;