public class HiveRegistry extends java.lang.Object implements IHiveRegistry
IHiveRegistry.HiveType| Constructor and Description |
|---|
HiveRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDrops(java.lang.String hiveName,
IHiveDrop... drops)
Add drops to a registered hive.
|
void |
addDrops(java.lang.String hiveName,
java.util.List<IHiveDrop> drops) |
java.util.List<IHiveDrop> |
getDrops(java.lang.String hiveName) |
java.util.List<Hive> |
getHives() |
void |
registerHive(java.lang.String hiveName,
IHiveDescription hiveDescription)
Adds a new hive to be generated in the world.
|
public void registerHive(java.lang.String hiveName,
IHiveDescription hiveDescription)
IHiveRegistryregisterHive in interface IHiveRegistrypublic void addDrops(java.lang.String hiveName,
IHiveDrop... drops)
IHiveRegistryaddDrops in interface IHiveRegistrypublic void addDrops(java.lang.String hiveName,
java.util.List<IHiveDrop> drops)
addDrops in interface IHiveRegistrypublic java.util.List<Hive> getHives()
public java.util.List<IHiveDrop> getDrops(java.lang.String hiveName)