Package net.minecraft.world.gen.feature
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$aintermediary net/minecraft/class_3195$class_7149named net/minecraft/world/gen/feature/StructureFeature$class_7149official aintermediary comp_561named registryAccessofficial bintermediary comp_562named chunkGeneratorofficial cintermediary comp_563named biomeSourceofficial dintermediary comp_564named randomStateofficial eintermediary comp_565named structureTemplateManagerofficial fintermediary comp_566named randomofficial gintermediary comp_567named seedofficial hintermediary comp_568named chunkPosofficial iintermediary comp_569named heightAccessorofficial jintermediary comp_570named validBiome
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BiomeSourceThe field for thebiomeSourcerecord component.private final ChunkGeneratorThe field for thechunkGeneratorrecord component.private final ChunkPosThe field for thechunkPosrecord component.private final HeightLimitViewThe field for theheightAccessorrecord component.private final ChunkRandomThe field for therandomrecord component.private final NoiseConfigThe field for therandomStaterecord component.private final DynamicRegistryManagerThe field for theregistryAccessrecord component.private final longThe field for theseedrecord component.private final StructureManagerThe field for thestructureTemplateManagerrecord component.private final Predicate<RegistryEntry<Biome>>The field for thevalidBiomerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_7149(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureManager structureManager, long long2, ChunkPos chunkPos, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate) class_7149(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureManager structureManager, ChunkRandom chunkRandom, long long2, ChunkPos chunkPos, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebiomeSourcerecord component.Returns the value of thechunkGeneratorrecord component.chunkPos()Returns the value of thechunkPosrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theheightAccessorrecord component.private static ChunkRandommethod_41619(long long2, ChunkPos chunkPos) random()Returns the value of therandomrecord component.Returns the value of therandomStaterecord component.Returns the value of theregistryAccessrecord component.longseed()Returns the value of theseedrecord component.Returns the value of thestructureTemplateManagerrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalidBiomerecord component.
-
Field Details
-
registryAccess
The field for theregistryAccessrecord component. -
chunkGenerator
The field for thechunkGeneratorrecord component. -
biomeSource
The field for thebiomeSourcerecord component. -
randomState
The field for therandomStaterecord component. -
structureTemplateManager
The field for thestructureTemplateManagerrecord component. -
random
The field for therandomrecord component. -
seed
private final long seedThe field for theseedrecord component. -
chunkPos
The field for thechunkPosrecord component. -
heightAccessor
The field for theheightAccessorrecord component. -
validBiome
The field for thevalidBiomerecord component.
-
-
Constructor Details
-
class_7149
public class_7149(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureManager structureManager, long long2, ChunkPos chunkPos, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate) -
class_7149
public class_7149(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureManager structureManager, ChunkRandom chunkRandom, long long2, ChunkPos chunkPos, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate)
-
-
Method Details
-
method_41619
- Mappings:
Namespace Name Mixin selector official aLdgq$a;a(JLcce;)Lcxi;intermediary method_41619Lnet/minecraft/class_3195$class_7149;method_41619(JLnet/minecraft/class_1923;)Lnet/minecraft/class_2919;named method_41619Lnet/minecraft/world/gen/feature/StructureFeature$class_7149;method_41619(JLnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/gen/random/ChunkRandom;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
registryAccess
Returns the value of theregistryAccessrecord component.- Returns:
- the value of the
registryAccessrecord component
-
chunkGenerator
Returns the value of thechunkGeneratorrecord component.- Returns:
- the value of the
chunkGeneratorrecord component
-
biomeSource
Returns the value of thebiomeSourcerecord component.- Returns:
- the value of the
biomeSourcerecord component
-
randomState
Returns the value of therandomStaterecord component.- Returns:
- the value of the
randomStaterecord component
-
structureTemplateManager
Returns the value of thestructureTemplateManagerrecord component.- Returns:
- the value of the
structureTemplateManagerrecord component
-
random
Returns the value of therandomrecord component.- Returns:
- the value of the
randomrecord component
-
seed
public long seed()Returns the value of theseedrecord component.- Returns:
- the value of the
seedrecord component
-
chunkPos
Returns the value of thechunkPosrecord component.- Returns:
- the value of the
chunkPosrecord component
-
heightAccessor
Returns the value of theheightAccessorrecord component.- Returns:
- the value of the
heightAccessorrecord component
-
validBiome
Returns the value of thevalidBiomerecord component.- Returns:
- the value of the
validBiomerecord component
-