public class EntityDecorator
extends org.bukkit.generator.BlockPopulator
Constructor and Description |
---|
EntityDecorator(org.bukkit.entity.EntityType... entityTypes) |
Modifier and Type | Method and Description |
---|---|
org.bukkit.entity.EntityType[] |
getEntityTypes() |
int |
getMaxGroup() |
int |
getMinGroup() |
float |
getRarity() |
void |
populate(org.bukkit.World world,
Random random,
org.bukkit.Chunk chunk) |
void |
setEntityTypes(org.bukkit.entity.EntityType... entityTypes) |
void |
setGroupSize(int minGroup,
int maxGroup) |
void |
setRarity(float rarity) |
public EntityDecorator(org.bukkit.entity.EntityType... entityTypes)
public void setEntityTypes(org.bukkit.entity.EntityType... entityTypes)
public void setGroupSize(int minGroup, int maxGroup)
public void populate(org.bukkit.World world, Random random, org.bukkit.Chunk chunk)
populate
in class org.bukkit.generator.BlockPopulator
public org.bukkit.entity.EntityType[] getEntityTypes()
public float getRarity()
public void setRarity(float rarity)
public int getMinGroup()
public int getMaxGroup()
Copyright © 2021. All rights reserved.