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
official dei$b
intermediary net/minecraft/class_2841$class_4464
named net/minecraft/world/chunk/PalettedContainer$Counter
  • 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
      official accept Ldei$b;accept(Ljava/lang/Object;I)V
      intermediary accept Lnet/minecraft/class_2841$class_4464;accept(Ljava/lang/Object;I)V
      named accept Lnet/minecraft/world/chunk/PalettedContainer$Counter;accept(Ljava/lang/Object;I)V