Uses of Class
net.glowstone.generator.structures.util.StructureBuilder.StructureMaterial
-
Uses of StructureBuilder.StructureMaterial in net.glowstone.generator.structures.util
Modifier and TypeMethodDescriptionStructureBuilder.getRandomMaterial(Random random, Map<StructureBuilder.StructureMaterial,Integer> materials)
Chooses a randomStructureBuilder.StructureMaterial
from a weighted list.Modifier and TypeMethodDescriptionvoid
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.getRandomMaterial(Random random, Map<StructureBuilder.StructureMaterial,Integer> materials)
Chooses a randomStructureBuilder.StructureMaterial
from a weighted list.void
StructureBuilder.setBlockWithRandomMaterial(org.bukkit.util.Vector pos, Random random, Map<StructureBuilder.StructureMaterial,Integer> materials)