mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-14 01:14:18 +00:00
Added Slime Boots & Slimesling. (#44)
* Added Slime Boots & Slimesling. * Added tooltip to Slime Boots on how to stop bouncing. Added tooltip to Slimesling.
This commit is contained in:
1 parent
9e2c7e7641
commit
e77d237649
12 files changed
+738
No files matched your search
@@ -27,6 +27,8 @@ import tconstruct.armor.TinkerArmor;
|
||||
import tconstruct.armor.player.TPlayerHandler;
|
||||
import tconstruct.armor.player.TPlayerStats;
|
||||
import tconstruct.common.TProxyCommon;
|
||||
import tconstruct.gadgets.TinkerGadgets;
|
||||
import tconstruct.library.SlimeBounceHandler;
|
||||
import tconstruct.library.TConstructCreativeTab;
|
||||
import tconstruct.library.TConstructRegistry;
|
||||
import tconstruct.library.crafting.Detailing;
|
||||
@@ -148,6 +150,7 @@ public class TConstruct
|
||||
pulsar.registerPulse(new TinkerMechworks());
|
||||
pulsar.registerPulse(new TinkerArmor());
|
||||
pulsar.registerPulse(new TinkerWeaponry());
|
||||
pulsar.registerPulse(new TinkerGadgets());
|
||||
pulsar.registerPulse(new TinkerThaumcraft());
|
||||
pulsar.registerPulse(new TinkerWaila());
|
||||
pulsar.registerPulse(new TinkerBuildCraft());
|
||||
@@ -170,6 +173,7 @@ public class TConstruct
|
||||
TConstructRegistry.blockTab = new TConstructCreativeTab("TConstructBlocks");
|
||||
TConstructRegistry.equipableTab = new TConstructCreativeTab("TConstructEquipables");
|
||||
TConstructRegistry.weaponryTab = new TConstructCreativeTab("TConstructWeaponry");
|
||||
TConstructRegistry.gadgetsTab = new TConstructCreativeTab("TConstructGadgets");
|
||||
|
||||
tableCasting = new LiquidCasting();
|
||||
basinCasting = new LiquidCasting();
|
||||
@@ -240,6 +244,13 @@ public class TConstruct
|
||||
MinecraftForge.EVENT_BUS.register(new AchievementEvents());
|
||||
}
|
||||
}
|
||||
|
||||
/** Called on server shutdown to prevent memory leaks */
|
||||
@EventHandler
|
||||
public void serverStopping(FMLServerStoppingEvent event) {
|
||||
TinkerGadgets.log.info("Cleaning up SlimeBounceHandler data.");
|
||||
SlimeBounceHandler.BOUNCING_ENTITIES.clear();
|
||||
}
|
||||
|
||||
/* IMC Mod Support */
|
||||
@EventHandler
|
||||
|
||||
Reference in new issue
Block a user