Class IdCountsState

java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.world.IdCountsState

public class IdCountsState extends PersistentState
Mappings:
Namespace Name
official dxt
intermediary net/minecraft/class_3978
named net/minecraft/world/IdCountsState
  • Field Details

    • IDCOUNTS_KEY

      public static final String IDCOUNTS_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldxt;a:Ljava/lang/String;
      intermediary field_31830 Lnet/minecraft/class_3978;field_31830:Ljava/lang/String;
      named IDCOUNTS_KEY Lnet/minecraft/world/IdCountsState;IDCOUNTS_KEY:Ljava/lang/String;
    • idCounts

      private final Object2IntMap<String> idCounts
      Mappings:
      Namespace Name Mixin selector
      official b Ldxt;b:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary field_17662 Lnet/minecraft/class_3978;field_17662:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      named idCounts Lnet/minecraft/world/IdCountsState;idCounts:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
  • Constructor Details

    • IdCountsState

      public IdCountsState()
  • Method Details

    • fromNbt

      public static IdCountsState fromNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official b Ldxt;b(Lre;)Ldxt;
      intermediary method_32360 Lnet/minecraft/class_3978;method_32360(Lnet/minecraft/class_2487;)Lnet/minecraft/class_3978;
      named fromNbt Lnet/minecraft/world/IdCountsState;fromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/world/IdCountsState;
    • writeNbt

      public NbtCompound writeNbt(NbtCompound nbt)
      Specified by:
      writeNbt in class PersistentState
      Mappings:
      Namespace Name Mixin selector
      official a Ldxp;a(Lre;)Lre;
      intermediary method_75 Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named writeNbt Lnet/minecraft/world/PersistentState;writeNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • getNextMapId

      public int getNextMapId()
      Mappings:
      Namespace Name Mixin selector
      official a Ldxt;a()I
      intermediary method_17920 Lnet/minecraft/class_3978;method_17920()I
      named getNextMapId Lnet/minecraft/world/IdCountsState;getNextMapId()I