Class IdCountsState

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

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

    • field_31830

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

      private final Object2IntMap<String> idCounts
      Mappings:
      Namespace Name Mixin selector
      official b Ldhr;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 Ldhr;b(Lna;)Ldhr;
      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 Ldhn;a(Lna;)Lna;
      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 Ldhr;a()I
      intermediary method_17920 Lnet/minecraft/class_3978;method_17920()I
      named getNextMapId Lnet/minecraft/world/IdCountsState;getNextMapId()I