Class Weighting

java.lang.Object
net.minecraft.util.collection.Weighting

public class Weighting extends Object
Mappings:
Namespace Name
official vj
intermediary net/minecraft/class_845
named net/minecraft/util/collection/Weighting
  • Constructor Details

    • Weighting

      public Weighting()
  • Method Details

    • getRate

      public static int getRate(Collection pool)
      Mappings:
      Namespace Name Mixin selector
      official a Lvj;a(Ljava/util/Collection;)I
      intermediary method_2373 Lnet/minecraft/class_845;method_2373(Ljava/util/Collection;)I
      named getRate Lnet/minecraft/util/collection/Weighting;getRate(Ljava/util/Collection;)I
    • method_10888

      public static Weight method_10888(Random random, Collection collection, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lvj;a(Ljava/util/Random;Ljava/util/Collection;I)Lvk;
      intermediary method_10888 Lnet/minecraft/class_845;method_10888(Ljava/util/Random;Ljava/util/Collection;I)Lnet/minecraft/class_846;
      named method_10888 Lnet/minecraft/util/collection/Weighting;method_10888(Ljava/util/Random;Ljava/util/Collection;I)Lnet/minecraft/util/collection/Weight;
    • method_10886

      public static Weight method_10886(Collection collection, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lvj;a(Ljava/util/Collection;I)Lvk;
      intermediary method_10886 Lnet/minecraft/class_845;method_10886(Ljava/util/Collection;I)Lnet/minecraft/class_846;
      named method_10886 Lnet/minecraft/util/collection/Weighting;method_10886(Ljava/util/Collection;I)Lnet/minecraft/util/collection/Weight;
    • method_10887

      public static Weight method_10887(Random random, Collection collection)
      Mappings:
      Namespace Name Mixin selector
      official a Lvj;a(Ljava/util/Random;Ljava/util/Collection;)Lvk;
      intermediary method_10887 Lnet/minecraft/class_845;method_10887(Ljava/util/Random;Ljava/util/Collection;)Lnet/minecraft/class_846;
      named method_10887 Lnet/minecraft/util/collection/Weighting;method_10887(Ljava/util/Random;Ljava/util/Collection;)Lnet/minecraft/util/collection/Weight;