Class IdCountsState

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

public class IdCountsState extends PersistentState
Mappings:
Namespace Name
official ebv
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 Lebv;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 Lebv;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

    • getPersistentStateType

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

      public static IdCountsState fromNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official b Lebv;b(Lqw;)Lebv;
      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 Lebr;a(Lqw;)Lqw;
      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 b Lebv;b()I
      intermediary method_17920 Lnet/minecraft/class_3978;method_17920()I
      named getNextMapId Lnet/minecraft/world/IdCountsState;getNextMapId()I