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<StructureType> structure) static StructureSet.WeightedEntry
StructureSet.createEntry
(RegistryEntry<StructureType> 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.method_41044
(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureManager structureManager, long long2, Chunk chunk, ChunkPos chunkPos, ChunkSectionPos chunkSectionPos)