Interface PalettedContainer.Counter<T>

Enclosing class:
PalettedContainer<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PalettedContainer.Counter<T>
A counter that receives a palette entry and its number of occurrences in the container.
Mappings:
Namespace Name
named net/minecraft/world/chunk/PalettedContainer$Counter
intermediary net/minecraft/class_2841$class_4464
official eah$b
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T object, int count)
     
  • Method Details

    • accept

      void accept(T object, int count)
      Parameters:
      object - the palette entry
      count - the entry's number of occurrence
      Mappings:
      Namespace Name Mixin selector
      named accept Lnet/minecraft/world/chunk/PalettedContainer$Counter;accept(Ljava/lang/Object;I)V
      intermediary accept Lnet/minecraft/class_2841$class_4464;accept(Ljava/lang/Object;I)V
      official accept Leah$b;accept(Ljava/lang/Object;I)V