类 WorldgenRandom

java.lang.Object
net.minecraft.world.level.levelgen.LegacyRandomSource
net.minecraft.world.level.levelgen.WorldgenRandom
所有已实现的接口:
RandomSource, BitRandomSource

public class WorldgenRandom extends LegacyRandomSource
  • 字段详细资料

    • randomSource

      private final RandomSource randomSource
    • count

      private int count
  • 构造器详细资料

    • WorldgenRandom

      public WorldgenRandom(RandomSource p_224680_)
  • 方法详细资料

    • getCount

      public int getCount()
    • fork

      public RandomSource fork()
      指定者:
      fork 在接口中 RandomSource
      覆盖:
      fork 在类中 LegacyRandomSource
    • forkPositional

      public PositionalRandomFactory forkPositional()
      指定者:
      forkPositional 在接口中 RandomSource
      覆盖:
      forkPositional 在类中 LegacyRandomSource
    • next

      public int next(int p_64708_)
      指定者:
      next 在接口中 BitRandomSource
      覆盖:
      next 在类中 LegacyRandomSource
    • setSeed

      public void setSeed(long p_190073_)
      指定者:
      setSeed 在接口中 RandomSource
      覆盖:
      setSeed 在类中 LegacyRandomSource
    • setDecorationSeed

      public long setDecorationSeed(long p_64691_, int p_64692_, int p_64693_)
    • setFeatureSeed

      public void setFeatureSeed(long p_190065_, int p_190066_, int p_190067_)
    • setLargeFeatureSeed

      public void setLargeFeatureSeed(long p_190069_, int p_190070_, int p_190071_)
    • setLargeFeatureWithSalt

      public void setLargeFeatureWithSalt(long p_190059_, int p_190060_, int p_190061_, int p_190062_)
    • seedSlimeChunk

      public static RandomSource seedSlimeChunk(int p_224682_, int p_224683_, long p_224684_, long p_224685_)