Class Weighted.Absent

java.lang.Object
net.minecraft.util.collection.Weighted.Absent
All Implemented Interfaces:
Weighted
Direct Known Subclasses:
EnchantmentLevelEntry, LongJumpTask.Target, SpawnSettings.SpawnEntry
Enclosing interface:
Weighted

public static class Weighted.Absent extends Object implements Weighted
Mappings:
Namespace Name
official bck$a
intermediary net/minecraft/class_6008$class_6009
named net/minecraft/util/collection/Weighted$Absent
  • Field Details

    • weight

      private final Weight weight
      Mappings:
      Namespace Name Mixin selector
      official a Lbck$a;a:Lbcj;
      intermediary field_29931 Lnet/minecraft/class_6008$class_6009;field_29931:Lnet/minecraft/class_6007;
      named weight Lnet/minecraft/util/collection/Weighted$Absent;weight:Lnet/minecraft/util/collection/Weight;
  • Constructor Details

    • Absent

      public Absent(int weight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbck$a;<init>(I)V
      intermediary <init> Lnet/minecraft/class_6008$class_6009;<init>(I)V
      named <init> Lnet/minecraft/util/collection/Weighted$Absent;<init>(I)V
    • Absent

      public Absent(Weight weight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbck$a;<init>(Lbcj;)V
      intermediary <init> Lnet/minecraft/class_6008$class_6009;<init>(Lnet/minecraft/class_6007;)V
      named <init> Lnet/minecraft/util/collection/Weighted$Absent;<init>(Lnet/minecraft/util/collection/Weight;)V
  • Method Details

    • getWeight

      public Weight getWeight()
      Specified by:
      getWeight in interface Weighted
      Mappings:
      Namespace Name Mixin selector
      official a Lbck;a()Lbcj;
      intermediary method_34979 Lnet/minecraft/class_6008;method_34979()Lnet/minecraft/class_6007;
      named getWeight Lnet/minecraft/util/collection/Weighted;getWeight()Lnet/minecraft/util/collection/Weight;