Uses of Record Class
net.minecraft.structure.StructureSet.WeightedEntry
-
Uses of StructureSet.WeightedEntry in net.minecraft.structure
Modifier 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.Modifier and TypeMethodDescriptionstatic StructureSet.WeightedEntry
StructureSet.createEntry
(RegistryEntry<Structure> structure) static StructureSet.WeightedEntry
StructureSet.createEntry
(RegistryEntry<Structure> structure, int weight) Modifier and TypeMethodDescriptionStructureSet.structures()
Returns the value of thestructures
record component.ModifierConstructorDescriptionStructureSet
(List<StructureSet.WeightedEntry> list, StructurePlacement structurePlacement) -
Uses of StructureSet.WeightedEntry in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionprivate boolean
ChunkGenerator.trySetStructureStart
(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos)