Initial commit of BM 1.8
This commit is contained in:
parent
d99eadbea7
commit
c5681dc831
713 changed files with 6502 additions and 27334 deletions
|
@ -1,25 +1,25 @@
|
|||
package WayofTime.alchemicalWizardry.common.rituals;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import WayofTime.alchemicalWizardry.api.Int3;
|
||||
import WayofTime.alchemicalWizardry.api.rituals.LocalRitualStorage;
|
||||
import WayofTime.alchemicalWizardry.common.demonVillage.demonHoard.demon.IHoardDemon;
|
||||
|
||||
public class LocalStorageAlphaPact extends LocalRitualStorage
|
||||
{
|
||||
public static Set<IHoardDemon> hoardList = new HashSet();
|
||||
|
||||
public void thrallDemon(IHoardDemon demon)
|
||||
{
|
||||
if(demon instanceof IHoardDemon)
|
||||
{
|
||||
boolean enthrall = ((IHoardDemon) demon).thrallDemon(new Int3(this.xCoord, this.yCoord, this.zCoord));
|
||||
if(enthrall)
|
||||
{
|
||||
this.hoardList.add((IHoardDemon)demon);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//package WayofTime.alchemicalWizardry.common.rituals;
|
||||
//
|
||||
//import java.util.HashSet;
|
||||
//import java.util.Set;
|
||||
//
|
||||
//import WayofTime.alchemicalWizardry.api.Int3;
|
||||
//import WayofTime.alchemicalWizardry.api.rituals.LocalRitualStorage;
|
||||
//import WayofTime.alchemicalWizardry.common.demonVillage.demonHoard.demon.IHoardDemon;
|
||||
//
|
||||
//public class LocalStorageAlphaPact extends LocalRitualStorage
|
||||
//{
|
||||
// public static Set<IHoardDemon> hoardList = new HashSet();
|
||||
//
|
||||
// public void thrallDemon(IHoardDemon demon)
|
||||
// {
|
||||
// if(demon instanceof IHoardDemon)
|
||||
// {
|
||||
// boolean enthrall = ((IHoardDemon) demon).thrallDemon(new Int3(this.xCoord, this.yCoord, this.zCoord));
|
||||
// if(enthrall)
|
||||
// {
|
||||
// this.hoardList.add((IHoardDemon)demon);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue