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 evp
  • 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 Levp;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 Levp;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 Levp;a()Levi$a;
    • fromNbt

      public static IdCountsState fromNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registries)
      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 Levp;b(Lux;Ljs$a;)Levp;
    • writeNbt

      public NbtCompound writeNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registries)
      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 Levi;a(Lux;Ljs$a;)Lux;
    • increaseAndGetMapId

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