Interface RandomSplitter

All Known Implementing Classes:
CheckedRandom.Splitter, Xoroshiro128PlusPlusRandom.Splitter

public interface RandomSplitter
A random splitter represents necessary bits from a random that can be combined with other seeds to split a new random from the old one.
Mappings:
Namespace Name
named net/minecraft/util/math/random/RandomSplitter
intermediary net/minecraft/class_6574
official dyj
  • Method Details

    • split

      default Random split(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named split Lnet/minecraft/util/math/random/RandomSplitter;split(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/random/Random;
      intermediary method_38419 Lnet/minecraft/class_6574;method_38419(Lnet/minecraft/class_2338;)Lnet/minecraft/class_5819;
      official a Ldyj;a(Liz;)Lazh;
    • split

      default Random split(Identifier seed)
      Mappings:
      Namespace Name Mixin selector
      named split Lnet/minecraft/util/math/random/RandomSplitter;split(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/math/random/Random;
      intermediary method_39000 Lnet/minecraft/class_6574;method_39000(Lnet/minecraft/class_2960;)Lnet/minecraft/class_5819;
      official a Ldyj;a(Lalf;)Lazh;
    • split

      Random split(String seed)
      Mappings:
      Namespace Name Mixin selector
      named split Lnet/minecraft/util/math/random/RandomSplitter;split(Ljava/lang/String;)Lnet/minecraft/util/math/random/Random;
      intermediary method_38995 Lnet/minecraft/class_6574;method_38995(Ljava/lang/String;)Lnet/minecraft/class_5819;
      official a Ldyj;a(Ljava/lang/String;)Lazh;
    • split

      Random split(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named split Lnet/minecraft/util/math/random/RandomSplitter;split(III)Lnet/minecraft/util/math/random/Random;
      intermediary method_38418 Lnet/minecraft/class_6574;method_38418(III)Lnet/minecraft/class_5819;
      official a Ldyj;a(III)Lazh;
    • addDebugInfo

      void addDebugInfo(StringBuilder info)
      Mappings:
      Namespace Name Mixin selector
      named addDebugInfo Lnet/minecraft/util/math/random/RandomSplitter;addDebugInfo(Ljava/lang/StringBuilder;)V
      intermediary method_39039 Lnet/minecraft/class_6574;method_39039(Ljava/lang/StringBuilder;)V
      official a Ldyj;a(Ljava/lang/StringBuilder;)V