Uses of Record Class
net.minecraft.structure.StructureSet.WeightedEntry
Packages that use StructureSet.WeightedEntry
-
Uses of StructureSet.WeightedEntry in net.minecraft.structure
Fields in net.minecraft.structure with type parameters of type StructureSet.WeightedEntryModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<StructureSet.WeightedEntry> StructureSet.WeightedEntry.CODEC
private final List
<StructureSet.WeightedEntry> StructureSet.structures
The field for thestructures
record component.Methods in net.minecraft.structure that return StructureSet.WeightedEntryModifier and TypeMethodDescriptionstatic StructureSet.WeightedEntry
StructureSet.createEntry
(RegistryEntry<Structure> structure) static StructureSet.WeightedEntry
StructureSet.createEntry
(RegistryEntry<Structure> structure, int weight) Methods in net.minecraft.structure that return types with arguments of type StructureSet.WeightedEntryModifier and TypeMethodDescriptionStructureSet.structures()
Returns the value of thestructures
record component.Constructor parameters in net.minecraft.structure with type arguments of type StructureSet.WeightedEntryModifierConstructorDescriptionStructureSet
(List<StructureSet.WeightedEntry> list, StructurePlacement structurePlacement) -
Uses of StructureSet.WeightedEntry in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk with parameters of type StructureSet.WeightedEntryModifier and TypeMethodDescriptionprivate boolean
ChunkGenerator.trySetStructureStart
(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos, RegistryKey<World> dimension)