mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-26 14:53:21 +00:00
- SUPER AI Shutdown <init>
This commit is contained in:
1 parent
d657306e15
commit
37300f7d0c
14 files changed
+509
-17
No files matched your search
@@ -4,6 +4,7 @@ import cpw.mods.fml.common.eventhandler.EventPriority;
|
||||
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
|
||||
import cpw.mods.fml.common.gameevent.TickEvent;
|
||||
import makeo.gadomancy.common.Gadomancy;
|
||||
import makeo.gadomancy.common.blocks.tiles.TileAIShutdown;
|
||||
import makeo.gadomancy.common.blocks.tiles.TileBlockProtector;
|
||||
import makeo.gadomancy.common.blocks.tiles.TileNodeManipulator;
|
||||
import makeo.gadomancy.common.blocks.tiles.TileStickyJar;
|
||||
@@ -227,6 +228,9 @@ public class EventHandlerWorld {
|
||||
((TileNodeManipulator) te).breakMultiblock();
|
||||
}
|
||||
}
|
||||
if (event.block == RegisteredBlocks.blockStoneMachine && event.blockMetadata == 5) {
|
||||
TileAIShutdown.removeTrackedEntities(event.world, event.x, event.y, event.z);
|
||||
}
|
||||
if (event.world.provider.dimensionId == ModConfig.dimOuterId) {
|
||||
if(event.block == ConfigBlocks.blockEldritchNothing) {
|
||||
if(event.getPlayer().capabilities.isCreativeMode && MiscUtils.isANotApprovedOrMisunderstoodPersonFromMoreDoor(event.getPlayer())) return;
|
||||
|
||||
Reference in new issue
Block a user