Class IdCountsState

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

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

    • IDCOUNTS_KEY

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

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

    • IdCountsState

      public IdCountsState()
  • Method Details

    • getPersistentStateType

      public static PersistentState.Type<IdCountsState> getPersistentStateType()
      Mappings:
      Namespace Name Mixin selector
      named getPersistentStateType Lnet/minecraft/world/IdCountsState;getPersistentStateType()Lnet/minecraft/world/PersistentState$Type;
      intermediary method_52610 Lnet/minecraft/class_3978;method_52610()Lnet/minecraft/class_18$class_8645;
      official a Lepk;a()Lepd$a;
    • fromNbt

      public static IdCountsState fromNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup)
      Mappings:
      Namespace Name Mixin selector
      named fromNbt Lnet/minecraft/world/IdCountsState;fromNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/world/IdCountsState;
      intermediary method_32360 Lnet/minecraft/class_3978;method_32360(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_3978;
      official b Lepk;b(Lus;Ljk$a;)Lepk;
    • writeNbt

      public NbtCompound writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup)
      Specified by:
      writeNbt in class PersistentState
      Mappings:
      Namespace Name Mixin selector
      named writeNbt Lnet/minecraft/world/PersistentState;writeNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_75 Lnet/minecraft/class_18;method_75(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
      official a Lepd;a(Lus;Ljk$a;)Lus;
    • getNextMapId

      public MapIdComponent getNextMapId()
      Mappings:
      Namespace Name Mixin selector
      named getNextMapId Lnet/minecraft/world/IdCountsState;getNextMapId()Lnet/minecraft/component/type/MapIdComponent;
      intermediary method_17920 Lnet/minecraft/class_3978;method_17920()Lnet/minecraft/class_9209;
      official b Lepk;b()Lepj;