Class IdCountsState

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

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

    • idCounts

      private final Object2IntMap<String> idCounts
      Mappings:
      Namespace Name Mixin selector
      official a Lddk;a: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​(CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official b Lddk;b(Lmq;)Lddk;
      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/CompoundTag;)Lnet/minecraft/world/IdCountsState;
    • toNbt

      public CompoundTag toNbt​(CompoundTag tag)
      Specified by:
      toNbt in class PersistentState
      Mappings:
      Namespace Name Mixin selector
      official a Lddg;a(Lmq;)Lmq;
      intermediary method_75 Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named toNbt Lnet/minecraft/world/PersistentState;toNbt(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
    • getNextMapId

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