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 bcj$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 Lbcj$a;a:Lbci;
      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> Lbcj$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> Lbcj$a;<init>(Lbci;)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 Lbcj;a()Lbci;
      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;