Class RandomSequencesState

java.lang.Object
net.minecraft.world.PersistentState
net.minecraft.util.math.random.RandomSequencesState

public class RandomSequencesState extends PersistentState
Mappings:
Namespace Name
official bed
intermediary net/minecraft/class_8565
named net/minecraft/util/math/random/RandomSequencesState
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lbed;a:Lorg/slf4j/Logger;
      intermediary field_44861 Lnet/minecraft/class_8565;field_44861:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/util/math/random/RandomSequencesState;LOGGER:Lorg/slf4j/Logger;
    • seed

      private final long seed
      Mappings:
      Namespace Name Mixin selector
      official b Lbed;b:J
      intermediary field_44862 Lnet/minecraft/class_8565;field_44862:J
      named seed Lnet/minecraft/util/math/random/RandomSequencesState;seed:J
    • sequences

      private final Map<Identifier,RandomSequence> sequences
      Mappings:
      Namespace Name Mixin selector
      official c Lbed;c:Ljava/util/Map;
      intermediary field_44863 Lnet/minecraft/class_8565;field_44863:Ljava/util/Map;
      named sequences Lnet/minecraft/util/math/random/RandomSequencesState;sequences:Ljava/util/Map;
  • Constructor Details

    • RandomSequencesState

      public RandomSequencesState(long seed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbed;<init>(J)V
      intermediary <init> Lnet/minecraft/class_8565;<init>(J)V
      named <init> Lnet/minecraft/util/math/random/RandomSequencesState;<init>(J)V
  • Method Details

    • getOrCreate

      public Random getOrCreate(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbed;a(Lacq;)Lapf;
      intermediary method_51843 Lnet/minecraft/class_8565;method_51843(Lnet/minecraft/class_2960;)Lnet/minecraft/class_5819;
      named getOrCreate Lnet/minecraft/util/math/random/RandomSequencesState;getOrCreate(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/math/random/Random;
    • writeNbt

      public NbtCompound writeNbt(NbtCompound nbt)
      Specified by:
      writeNbt in class PersistentState
      Mappings:
      Namespace Name Mixin selector
      official a Ldyj;a(Lqr;)Lqr;
      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;
    • fromNbt

      public static RandomSequencesState fromNbt(long seed, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lbed;a(JLqr;)Lbed;
      intermediary method_51842 Lnet/minecraft/class_8565;method_51842(JLnet/minecraft/class_2487;)Lnet/minecraft/class_8565;
      named fromNbt Lnet/minecraft/util/math/random/RandomSequencesState;fromNbt(JLnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/util/math/random/RandomSequencesState;