Class Weight

java.lang.Object
net.minecraft.util.collection.Weight
Direct Known Subclasses:
class_2538, EnchantmentLevelEntry, SpawnEntry, SpawnerBlockEntityBehaviorEntry, WeightedRandomChestContent, WeightedRandomFishingLoot

public class Weight extends Object
Mappings:
Namespace Name
official vk
intermediary net/minecraft/class_846
named net/minecraft/util/collection/Weight
  • Field Details

    • weight

      protected int weight
      Mappings:
      Namespace Name Mixin selector
      official a Lvk;a:I
      intermediary field_3104 Lnet/minecraft/class_846;field_3104:I
      named weight Lnet/minecraft/util/collection/Weight;weight:I
  • Constructor Details

    • Weight

      public Weight(int weight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvk;<init>(I)V
      intermediary <init> Lnet/minecraft/class_846;<init>(I)V
      named <init> Lnet/minecraft/util/collection/Weight;<init>(I)V