Record Class StructureFeature.class_7149

java.lang.Object
java.lang.Record
net.minecraft.world.gen.feature.StructureFeature.class_7149
Record Components:
registryAccess -
chunkGenerator -
biomeSource -
randomState -
structureTemplateManager -
random -
seed -
chunkPos -
heightAccessor -
validBiome -
Enclosing class:
StructureFeature

public static record StructureFeature.class_7149(DynamicRegistryManager registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig randomState, StructureManager structureTemplateManager, ChunkRandom random, long seed, ChunkPos chunkPos, HeightLimitView heightAccessor, Predicate<RegistryEntry<Biome>> validBiome) extends Record
Mappings:
Namespace Name
official dgq$a
intermediary net/minecraft/class_3195$class_7149
named net/minecraft/world/gen/feature/StructureFeature$class_7149
official a
intermediary comp_561
named registryAccess
official b
intermediary comp_562
named chunkGenerator
official c
intermediary comp_563
named biomeSource
official d
intermediary comp_564
named randomState
official e
intermediary comp_565
named structureTemplateManager
official f
intermediary comp_566
named random
official g
intermediary comp_567
named seed
official h
intermediary comp_568
named chunkPos
official i
intermediary comp_569
named heightAccessor
official j
intermediary comp_570
named validBiome
  • Field Details

  • Constructor Details

  • Method Details

    • method_41619

      private static ChunkRandom method_41619(long long2, ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgq$a;a(JLcce;)Lcxi;
      intermediary method_41619 Lnet/minecraft/class_3195$class_7149;method_41619(JLnet/minecraft/class_1923;)Lnet/minecraft/class_2919;
      named method_41619 Lnet/minecraft/world/gen/feature/StructureFeature$class_7149;method_41619(JLnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/gen/random/ChunkRandom;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • registryAccess

      public DynamicRegistryManager registryAccess()
      Returns the value of the registryAccess record component.
      Returns:
      the value of the registryAccess record component
    • chunkGenerator

      public ChunkGenerator chunkGenerator()
      Returns the value of the chunkGenerator record component.
      Returns:
      the value of the chunkGenerator record component
    • biomeSource

      public BiomeSource biomeSource()
      Returns the value of the biomeSource record component.
      Returns:
      the value of the biomeSource record component
    • randomState

      public NoiseConfig randomState()
      Returns the value of the randomState record component.
      Returns:
      the value of the randomState record component
    • structureTemplateManager

      public StructureManager structureTemplateManager()
      Returns the value of the structureTemplateManager record component.
      Returns:
      the value of the structureTemplateManager record component
    • random

      public ChunkRandom random()
      Returns the value of the random record component.
      Returns:
      the value of the random record component
    • seed

      public long seed()
      Returns the value of the seed record component.
      Returns:
      the value of the seed record component
    • chunkPos

      public ChunkPos chunkPos()
      Returns the value of the chunkPos record component.
      Returns:
      the value of the chunkPos record component
    • heightAccessor

      public HeightLimitView heightAccessor()
      Returns the value of the heightAccessor record component.
      Returns:
      the value of the heightAccessor record component
    • validBiome

      public Predicate<RegistryEntry<Biome>> validBiome()
      Returns the value of the validBiome record component.
      Returns:
      the value of the validBiome record component