Package | Description |
---|---|
net.glowstone.generator.structures.util |
Modifier and Type | Method and Description |
---|---|
StructureBuilder.StructureMaterial |
StructureBuilder.getRandomMaterial(Random random,
Map<StructureBuilder.StructureMaterial,Integer> materials)
Chooses a random
StructureBuilder.StructureMaterial from a weighted list. |
Modifier and Type | Method and Description |
---|---|
void |
StructureBuilder.addRandomMaterial(Map<StructureBuilder.StructureMaterial,Integer> materials,
int weight,
org.bukkit.Material type,
int data) |
void |
StructureBuilder.fillWithRandomMaterial(org.bukkit.util.Vector min,
org.bukkit.util.Vector max,
Random random,
Map<StructureBuilder.StructureMaterial,Integer> materials)
Sets a box of blocks to have random types, chosen independently.
|
StructureBuilder.StructureMaterial |
StructureBuilder.getRandomMaterial(Random random,
Map<StructureBuilder.StructureMaterial,Integer> materials)
Chooses a random
StructureBuilder.StructureMaterial from a weighted list. |
void |
StructureBuilder.setBlockWithRandomMaterial(org.bukkit.util.Vector pos,
Random random,
Map<StructureBuilder.StructureMaterial,Integer> materials) |
Copyright © 2021. All rights reserved.