Interface McbsStats.IntValueConsumer

Enclosing class:
McbsStats
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 McbsStats.IntValueConsumer
FunctionalInterface for consuming integer values stored in an McbsStats instance.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(@NotNull net.minecraft.resources.Identifier statType, @NotNull net.minecraft.resources.Identifier statSubject, int value)
    Consumes a single Stat entry.
  • Method Details

    • accept

      void accept(@NotNull @NotNull net.minecraft.resources.Identifier statType, @NotNull @NotNull net.minecraft.resources.Identifier statSubject, int value)
      Consumes a single Stat entry.
      Parameters:
      statType - The StatType's unique identifier.
      statSubject - The Stat subject's unique identifier.
      value - The Stat's value.
      Throws:
      NullPointerException - If an argument is null.