From 190f7502585023ed6e95247c24d60adea35b99d6 Mon Sep 17 00:00:00 2001 From: Jeremy Diamond Date: Wed, 22 Jan 2014 20:53:42 -0800 Subject: [PATCH] Initial Commit --- assets/forbidden/lang/en_US.lang | 142 +++++++ assets/forbidden/textures/aspects/desidia.png | Bin 0 -> 981 bytes assets/forbidden/textures/aspects/gula.png | Bin 0 -> 2385 bytes .../forbidden/textures/aspects/infernus.png | Bin 0 -> 2617 bytes assets/forbidden/textures/aspects/invidia.png | Bin 0 -> 1830 bytes assets/forbidden/textures/aspects/ira.png | Bin 0 -> 2328 bytes assets/forbidden/textures/aspects/luxuria.png | Bin 0 -> 2157 bytes .../forbidden/textures/aspects/superbia.png | Bin 0 -> 1914 bytes .../forbidden/textures/blocks/cake_bottom.png | Bin 0 -> 253 bytes .../forbidden/textures/blocks/cake_inner.png | Bin 0 -> 269 bytes .../forbidden/textures/blocks/cake_side.png | Bin 0 -> 255 bytes assets/forbidden/textures/blocks/cake_top.png | Bin 0 -> 304 bytes .../forbidden/textures/blocks/crucible1.png | Bin 0 -> 373 bytes .../forbidden/textures/blocks/crucible2.png | Bin 0 -> 205 bytes .../forbidden/textures/blocks/crucible3.png | Bin 0 -> 571 bytes .../forbidden/textures/blocks/crucible4.png | Bin 0 -> 356 bytes .../forbidden/textures/blocks/crucible5.png | Bin 0 -> 496 bytes .../forbidden/textures/blocks/crucible6.png | Bin 0 -> 385 bytes .../textures/blocks/flower_black.png | Bin 0 -> 251 bytes .../forbidden/textures/blocks/spirit_box.png | Bin 0 -> 580 bytes assets/forbidden/textures/items/cake.png | Bin 0 -> 368 bytes .../forbidden/textures/items/chameleonaxe.png | Bin 0 -> 382 bytes .../textures/items/chameleonpick.png | Bin 0 -> 384 bytes .../textures/items/chameleonshovel.png | Bin 0 -> 349 bytes .../textures/items/chameleonsword.png | Bin 0 -> 357 bytes .../forbidden/textures/items/despairshard.png | Bin 0 -> 411 bytes .../textures/items/dye_powder_black.png | Bin 0 -> 286 bytes .../textures/items/emerald_nugget.png | Bin 0 -> 256 bytes .../forbidden/textures/items/emptycrystal.png | Bin 0 -> 327 bytes assets/forbidden/textures/items/envyshard.png | Bin 0 -> 470 bytes assets/forbidden/textures/items/eyeaxe.png | Bin 0 -> 225 bytes assets/forbidden/textures/items/eyepick.png | Bin 0 -> 223 bytes assets/forbidden/textures/items/eyeshovel.png | Bin 0 -> 223 bytes assets/forbidden/textures/items/eyesword.png | Bin 0 -> 217 bytes .../forbidden/textures/items/focus_wrath.png | Bin 0 -> 490 bytes assets/forbidden/textures/items/fork.png | Bin 0 -> 304 bytes .../textures/items/gluttonyshard.png | Bin 0 -> 522 bytes .../forbidden/textures/items/greedshard.png | Bin 0 -> 500 bytes .../forbidden/textures/items/hexiteingot.png | Bin 0 -> 483 bytes assets/forbidden/textures/items/lustshard.png | Bin 0 -> 350 bytes .../forbidden/textures/items/mobcrystal.png | Bin 0 -> 530 bytes .../forbidden/textures/items/prideshard.png | Bin 0 -> 515 bytes assets/forbidden/textures/items/skullaxe.png | Bin 0 -> 341 bytes .../forbidden/textures/items/slothshard.png | Bin 0 -> 1032 bytes .../textures/items/slothshard.png.mcmeta | 5 + assets/forbidden/textures/items/spork.png | Bin 0 -> 288 bytes .../forbidden/textures/items/taintpickaxe.png | Bin 0 -> 462 bytes .../forbidden/textures/items/taintshard.png | Bin 0 -> 641 bytes .../textures/items/taintshard.png.mcmeta | 5 + .../forbidden/textures/items/taintshovel.png | Bin 0 -> 308 bytes .../textures/items/wand_rod_blood.png | Bin 0 -> 314 bytes .../textures/items/wand_rod_infernal.png | Bin 0 -> 319 bytes .../textures/items/wand_rod_soul.png | Bin 0 -> 379 bytes .../textures/items/wand_rod_tainted.png | Bin 0 -> 346 bytes .../forbidden/textures/items/wrathshard.png | Bin 0 -> 2362 bytes .../textures/items/wrathshard.png.mcmeta | 5 + assets/forbidden/textures/misc/consuming.png | Bin 0 -> 1837 bytes .../forbidden/textures/misc/educational.png | Bin 0 -> 1805 bytes assets/forbidden/textures/misc/greedy.png | Bin 0 -> 1480 bytes .../forbidden/textures/misc/infernalism.png | Bin 0 -> 1565 bytes assets/forbidden/textures/misc/lucrative.png | Bin 0 -> 2023 bytes assets/forbidden/textures/misc/pigbane.png | Bin 0 -> 1399 bytes assets/forbidden/textures/misc/research.png | Bin 0 -> 4312 bytes .../textures/models/wand_cap_orichalcum.png | Bin 0 -> 392 bytes .../textures/models/wand_rod_blood.pdn | Bin 0 -> 9475 bytes .../textures/models/wand_rod_blood.png | Bin 0 -> 1654 bytes .../textures/models/wand_rod_infernal.png | Bin 0 -> 473 bytes .../textures/models/wand_rod_neutronium.png | Bin 0 -> 2050 bytes .../textures/models/wand_rod_soul.png | Bin 0 -> 3023 bytes .../textures/models/wand_rod_tainted.png | Bin 0 -> 2049 bytes src/com/spiteful/forbidden/CommonProxy.java | 9 + src/com/spiteful/forbidden/Compat.java | 193 +++++++++ src/com/spiteful/forbidden/Config.java | 203 ++++++++++ src/com/spiteful/forbidden/DarkAspects.java | 262 ++++++++++++ .../spiteful/forbidden/DarkResearchItem.java | 43 ++ .../spiteful/forbidden/FMEventHandler.java | 355 +++++++++++++++++ .../spiteful/forbidden/FauxResearchItem.java | 82 ++++ src/com/spiteful/forbidden/Forbidden.java | 81 ++++ .../spiteful/forbidden/ForbiddenRecipes.java | 113 ++++++ .../spiteful/forbidden/ForbiddenResearch.java | 96 +++++ src/com/spiteful/forbidden/ForbiddenTab.java | 32 ++ .../forbidden/blocks/BlockArcaneCake.java | 232 +++++++++++ .../forbidden/blocks/BlockBlackFlower.java | 109 +++++ .../forbidden/blocks/BlockWrathCage.java | 148 +++++++ .../forbidden/blocks/ForbiddenBlocks.java | 32 ++ .../forbidden/client/ClientProxy.java | 18 + .../client/TileEntityWrathCageRenderer.java | 56 +++ .../enchantments/DarkEnchantments.java | 29 ++ .../enchantments/EnchantmentCluster.java | 58 +++ .../enchantments/EnchantmentConsuming.java | 59 +++ .../enchantments/EnchantmentEducational.java | 65 +++ .../enchantments/EnchantmentGreedy.java | 65 +++ .../enchantments/EnchantmentPigBane.java | 78 ++++ .../forbidden/items/BloodWandUpdate.java | 69 ++++ .../forbidden/items/CreativeWandUpdate.java | 23 ++ .../spiteful/forbidden/items/DarkWandCap.java | 30 ++ .../forbidden/items/ForbiddenItems.java | 100 +++++ .../forbidden/items/InfernalWandUpdate.java | 41 ++ .../forbidden/items/ItemArcaneCake.java | 106 +++++ .../forbidden/items/ItemDeadlyShard.java | 72 ++++ .../forbidden/items/ItemDiabolistFork.java | 106 +++++ .../forbidden/items/ItemMobCrystal.java | 133 +++++++ .../forbidden/items/ItemMorphAxe.java | 111 ++++++ .../forbidden/items/ItemMorphPickaxe.java | 121 ++++++ .../forbidden/items/ItemMorphShovel.java | 111 ++++++ .../forbidden/items/ItemMorphSword.java | 113 ++++++ .../forbidden/items/ItemResource.java | 92 +++++ .../forbidden/items/ItemSkullAxe.java | 63 +++ .../forbidden/items/ItemTaintPickaxe.java | 66 ++++ .../forbidden/items/ItemTaintShovel.java | 79 ++++ .../forbidden/items/ItemWandCores.java | 81 ++++ .../forbidden/items/SoulWandUpdate.java | 71 ++++ .../forbidden/items/TaintedWandUpdate.java | 31 ++ .../forbidden/tiles/TileEntityWrathCage.java | 373 ++++++++++++++++++ .../forbidden/tiles/WrathSpawnerLogic.java | 343 ++++++++++++++++ 115 files changed, 4910 insertions(+) create mode 100644 assets/forbidden/lang/en_US.lang create mode 100644 assets/forbidden/textures/aspects/desidia.png create mode 100644 assets/forbidden/textures/aspects/gula.png create mode 100644 assets/forbidden/textures/aspects/infernus.png create mode 100644 assets/forbidden/textures/aspects/invidia.png create mode 100644 assets/forbidden/textures/aspects/ira.png create mode 100644 assets/forbidden/textures/aspects/luxuria.png create mode 100644 assets/forbidden/textures/aspects/superbia.png create mode 100644 assets/forbidden/textures/blocks/cake_bottom.png create mode 100644 assets/forbidden/textures/blocks/cake_inner.png create mode 100644 assets/forbidden/textures/blocks/cake_side.png create mode 100644 assets/forbidden/textures/blocks/cake_top.png create mode 100644 assets/forbidden/textures/blocks/crucible1.png create mode 100644 assets/forbidden/textures/blocks/crucible2.png create mode 100644 assets/forbidden/textures/blocks/crucible3.png create mode 100644 assets/forbidden/textures/blocks/crucible4.png create mode 100644 assets/forbidden/textures/blocks/crucible5.png create mode 100644 assets/forbidden/textures/blocks/crucible6.png create mode 100644 assets/forbidden/textures/blocks/flower_black.png create mode 100644 assets/forbidden/textures/blocks/spirit_box.png create mode 100644 assets/forbidden/textures/items/cake.png create mode 100644 assets/forbidden/textures/items/chameleonaxe.png create mode 100644 assets/forbidden/textures/items/chameleonpick.png create mode 100644 assets/forbidden/textures/items/chameleonshovel.png create mode 100644 assets/forbidden/textures/items/chameleonsword.png create mode 100644 assets/forbidden/textures/items/despairshard.png create mode 100644 assets/forbidden/textures/items/dye_powder_black.png create mode 100644 assets/forbidden/textures/items/emerald_nugget.png create mode 100644 assets/forbidden/textures/items/emptycrystal.png create mode 100644 assets/forbidden/textures/items/envyshard.png create mode 100644 assets/forbidden/textures/items/eyeaxe.png create mode 100644 assets/forbidden/textures/items/eyepick.png create mode 100644 assets/forbidden/textures/items/eyeshovel.png create mode 100644 assets/forbidden/textures/items/eyesword.png create mode 100644 assets/forbidden/textures/items/focus_wrath.png create mode 100644 assets/forbidden/textures/items/fork.png create mode 100644 assets/forbidden/textures/items/gluttonyshard.png create mode 100644 assets/forbidden/textures/items/greedshard.png create mode 100644 assets/forbidden/textures/items/hexiteingot.png create mode 100644 assets/forbidden/textures/items/lustshard.png create mode 100644 assets/forbidden/textures/items/mobcrystal.png create mode 100644 assets/forbidden/textures/items/prideshard.png create mode 100644 assets/forbidden/textures/items/skullaxe.png create mode 100644 assets/forbidden/textures/items/slothshard.png create mode 100644 assets/forbidden/textures/items/slothshard.png.mcmeta create mode 100644 assets/forbidden/textures/items/spork.png create mode 100644 assets/forbidden/textures/items/taintpickaxe.png create mode 100644 assets/forbidden/textures/items/taintshard.png create mode 100644 assets/forbidden/textures/items/taintshard.png.mcmeta create mode 100644 assets/forbidden/textures/items/taintshovel.png create mode 100644 assets/forbidden/textures/items/wand_rod_blood.png create mode 100644 assets/forbidden/textures/items/wand_rod_infernal.png create mode 100644 assets/forbidden/textures/items/wand_rod_soul.png create mode 100644 assets/forbidden/textures/items/wand_rod_tainted.png create mode 100644 assets/forbidden/textures/items/wrathshard.png create mode 100644 assets/forbidden/textures/items/wrathshard.png.mcmeta create mode 100644 assets/forbidden/textures/misc/consuming.png create mode 100644 assets/forbidden/textures/misc/educational.png create mode 100644 assets/forbidden/textures/misc/greedy.png create mode 100644 assets/forbidden/textures/misc/infernalism.png create mode 100644 assets/forbidden/textures/misc/lucrative.png create mode 100644 assets/forbidden/textures/misc/pigbane.png create mode 100644 assets/forbidden/textures/misc/research.png create mode 100644 assets/forbidden/textures/models/wand_cap_orichalcum.png create mode 100644 assets/forbidden/textures/models/wand_rod_blood.pdn create mode 100644 assets/forbidden/textures/models/wand_rod_blood.png create mode 100644 assets/forbidden/textures/models/wand_rod_infernal.png create mode 100644 assets/forbidden/textures/models/wand_rod_neutronium.png create mode 100644 assets/forbidden/textures/models/wand_rod_soul.png create mode 100644 assets/forbidden/textures/models/wand_rod_tainted.png create mode 100644 src/com/spiteful/forbidden/CommonProxy.java create mode 100644 src/com/spiteful/forbidden/Compat.java create mode 100644 src/com/spiteful/forbidden/Config.java create mode 100644 src/com/spiteful/forbidden/DarkAspects.java create mode 100644 src/com/spiteful/forbidden/DarkResearchItem.java create mode 100644 src/com/spiteful/forbidden/FMEventHandler.java create mode 100644 src/com/spiteful/forbidden/FauxResearchItem.java create mode 100644 src/com/spiteful/forbidden/Forbidden.java create mode 100644 src/com/spiteful/forbidden/ForbiddenRecipes.java create mode 100644 src/com/spiteful/forbidden/ForbiddenResearch.java create mode 100644 src/com/spiteful/forbidden/ForbiddenTab.java create mode 100644 src/com/spiteful/forbidden/blocks/BlockArcaneCake.java create mode 100644 src/com/spiteful/forbidden/blocks/BlockBlackFlower.java create mode 100644 src/com/spiteful/forbidden/blocks/BlockWrathCage.java create mode 100644 src/com/spiteful/forbidden/blocks/ForbiddenBlocks.java create mode 100644 src/com/spiteful/forbidden/client/ClientProxy.java create mode 100644 src/com/spiteful/forbidden/client/TileEntityWrathCageRenderer.java create mode 100644 src/com/spiteful/forbidden/enchantments/DarkEnchantments.java create mode 100644 src/com/spiteful/forbidden/enchantments/EnchantmentCluster.java create mode 100644 src/com/spiteful/forbidden/enchantments/EnchantmentConsuming.java create mode 100644 src/com/spiteful/forbidden/enchantments/EnchantmentEducational.java create mode 100644 src/com/spiteful/forbidden/enchantments/EnchantmentGreedy.java create mode 100644 src/com/spiteful/forbidden/enchantments/EnchantmentPigBane.java create mode 100644 src/com/spiteful/forbidden/items/BloodWandUpdate.java create mode 100644 src/com/spiteful/forbidden/items/CreativeWandUpdate.java create mode 100644 src/com/spiteful/forbidden/items/DarkWandCap.java create mode 100644 src/com/spiteful/forbidden/items/ForbiddenItems.java create mode 100644 src/com/spiteful/forbidden/items/InfernalWandUpdate.java create mode 100644 src/com/spiteful/forbidden/items/ItemArcaneCake.java create mode 100644 src/com/spiteful/forbidden/items/ItemDeadlyShard.java create mode 100644 src/com/spiteful/forbidden/items/ItemDiabolistFork.java create mode 100644 src/com/spiteful/forbidden/items/ItemMobCrystal.java create mode 100644 src/com/spiteful/forbidden/items/ItemMorphAxe.java create mode 100644 src/com/spiteful/forbidden/items/ItemMorphPickaxe.java create mode 100644 src/com/spiteful/forbidden/items/ItemMorphShovel.java create mode 100644 src/com/spiteful/forbidden/items/ItemMorphSword.java create mode 100644 src/com/spiteful/forbidden/items/ItemResource.java create mode 100644 src/com/spiteful/forbidden/items/ItemSkullAxe.java create mode 100644 src/com/spiteful/forbidden/items/ItemTaintPickaxe.java create mode 100644 src/com/spiteful/forbidden/items/ItemTaintShovel.java create mode 100644 src/com/spiteful/forbidden/items/ItemWandCores.java create mode 100644 src/com/spiteful/forbidden/items/SoulWandUpdate.java create mode 100644 src/com/spiteful/forbidden/items/TaintedWandUpdate.java create mode 100644 src/com/spiteful/forbidden/tiles/TileEntityWrathCage.java create mode 100644 src/com/spiteful/forbidden/tiles/WrathSpawnerLogic.java diff --git a/assets/forbidden/lang/en_US.lang b/assets/forbidden/lang/en_US.lang new file mode 100644 index 0000000..22e3eba --- /dev/null +++ b/assets/forbidden/lang/en_US.lang @@ -0,0 +1,142 @@ +# +# Aspects +tc.aspect.infernus=The Nether, Demons, Hellfire +tc.aspect.ira=Wrath, Anger, Rage +tc.aspect.gula=Gluttony, Consumption, Indulgence +tc.aspect.invidia=Envy, Jealousy, Insecurity +tc.aspect.superbia=Pride, Arrogance, Disdain +tc.aspect.desidia=Sloth, Laziness, Procrastination +tc.aspect.luxuria=Lust, Desire, Excess +# +# Items +item.NetherShard.wrath.name=Wrath Shard +item.NetherShard.envy.name=Envy Shard +item.NetherShard.gluttony.name=Gluttony Shard +item.NetherShard.pride.name=Pride Shard +item.NetherShard.lust.name=Lust Shard +item.NetherShard.sloth.name=Sloth Shard +item.NetherShard.greed.name=Greed Shard +item.NetherShard.taint.name=Taint Shard +item.NetherShard.despair.name=Despair Shard +item.SkullAxe.name=Axe of the Skulltaker +item.ArcaneCake.name=Thaumic Cake +item.TaintShovel.name=Shovel of the Purifier +item.TaintPickaxe.name=Pickaxe of Distortion +item.MorphPickaxe.name=Chameleon Pickaxe +item.MorphSword.name=Chameleon Sword +item.MorphShovel.name=Chameleon Shovel +item.MorphAxe.name=Chameleon Axe +item.WandCores.tainted.name=Tainted Rod +item.WandCores.infernal.name=Infernal Rod +item.WandCores.soul.name=Eldritch Rod +item.WandCores.blood.name=Blood Rod +item.Wand.tainted.rod=Tainted +item.Wand.infernal.rod=Infernal +item.Wand.neutronium.rod=Cosmic Neutronium +item.Wand.soul.rod=Eldritch +item.Wand.blood.rod=Blood +item.Wand.orichalcum.cap=Orichalcum Studded +item.FMResource.0.name=Emerald Fragment +item.FMResource.1.name=Shadow Ink +item.MobCrystalEmpty.name=Blank Imprinting Crystal +item.MobCrystal.name=Imprinted Crystal +item.DiabolistFork.name=Diabolist Fork +item.DiabolistSpork.name=Spork of Doom +# +# Blocks +tile.ArcaneCake.name=Thaumic Cake +tile.InkFlower.name=Umbral Rose +tile.WrathCage.name=Wrath Cage +# +# Enchantments +enchantment.cluster=Fiery Core +enchantment.pigbane=Porcivore +enchantment.greedy=Greedy +enchantment.consuming=Consuming +# +# Misc +itemGroup.forbidden=Forbidden Magic +itemGroup.mobcrystal=Imprinting Crystals +tc.research_category.INFERNALISM=Infernalism +# +# Research +forbidden.research_name.NETHERSHARDS=Nether Shards +forbidden.research_text.NETHERSHARDS=Aim to misbehave. +forbidden.research_page.NETHERSHARDS.1=Strange energies swirl through the Nether. On occasion, they have been known to solidify into crystal shards when certain sympathetic events occur. +forbidden.research_page.NETHERSHARDS.2=These crystals are imbued with different vices and have many uses for more unscrupulous Thaumaturges.
There are seven documented types of nether shard, each attuned to a different "deadly sin."

forbidden:textures/misc/research.png:0:0:111:16:1
+forbidden.research_page.NETHERSHARDS.2b=These crystals are imbued with different vices and have many uses for more unscrupulous Thaumaturges.
There are six documented types of nether shard, each attuned to a different "deadly sin."

forbidden:textures/misc/research.png:0:16:95:16:1
+forbidden.research_page.NETHERSHARDS.3=Wrath Shards crystallize around acts of violence. The more excessive the physical force used, the more likely it is for a Wrath Shard to appear.

Sloth Shards congeal when proxies and accidents are used to collect resources without effort.

Envy Shards are taken from those who have them by those that covet them.

Pride Shards materialize when a creature of truly great power is cut down to size.

More sympathetic events may reveal themselves as time goes on. +# +forbidden.research_name.SKULLAXE=Axe of the Skulltaker +forbidden.research_text.SKULLAXE=Off with their heads! +forbidden.research_page.SKULLAXE.1=Some monsters just really boil your blood. Skeletons! Always clacking around and using you for target practice. Or those Creepers! They just creep around blowing things up like they own the place! You wish you could just chop all their smug heads off and place them on pikes.

Fortunately, you've discovered an item that will let you do just that. The Axe of the Skulltaker has a chance to remove the heads of monsters it slays. It might even work on other humans! Unfortunately, the infusion leaves the axe far too bloodthirsty to effectively cleave through boring plant matter. +# +forbidden.research_name.ARCANECAKE=Thaumic Cake +forbidden.research_text.ARCANECAKE=Let them eat cake. +forbidden.research_page.ARCANECAKE.1=If there's one thing you love, it's cake. You would eat its delicious goodness all day if you could, but it always runs out in the end.

To remedy this, you have devised a recipe to infuse a cake with longevity-enhancing magic. The Thaumic Cake lasts significantly longer than a mundane one and will slowly repair itself as long as there's at least a sliver left. The enchantments are unstable, however, and the cake cannot be moved again through conventional means once placed down. +# +forbidden.research_name.TAINTSHOVEL=Shovel of the Purifier +forbidden.research_text.TAINTSHOVEL=Like a hot knife through really gross butter +forbidden.research_page.TAINTSHOVEL.1=Sometimes, the easiest way to remove patches of taint is to just physically remove them.

By reinforcing a thaumium shovel with Silverwood and Order Shards, you have created a tool capable of combating Taint. The Shovel of the Purifier can dig through pulpy tainted lands as effectively as it can through normal earth. If held in your hand and right-clicked, the shovel cures you of Flux Taint at the cost of durability. +forbidden.research_page.TAINTSHOVEL.2=When digging through taint with the shovel, there's a chance that the twisted energies released will crystallize into Taint Shards. Unlike other tainted materials, the crystalline pattern keeps these shards stable enough to carry around. +# +forbidden.research_name.TAINTPICK=Pickaxe of Distortion +forbidden.research_text.TAINTPICK=Obsidian Buster +forbidden.research_page.TAINTPICK.1=By infusing a thaumium pickaxe with taint, you create a tool capable of cutting through difficult materials.

The Pickaxe of Distortion infects hard materials with taint, weakening them. The harder the material, the more effective the pickaxe is at removing it. Unfortunately, the effects of the taint have an inverse effect when mining softer materials, rendering the pickaxe less effective than just pawing at the block with your bare hands. +# +forbidden.research_name.ROD_tainted=Tainted Wand Core +forbidden.research_text.ROD_tainted=Squiggly vis storage +forbidden.research_page.ROD_tainted.1=Tainted Lands are places of great and terrible power for those Thaumaturges who know how to tap into them.

The Tainted Wand Core can store up to 150 vis of each type and slowly replenishes itself up to 10% in every aspect as long as it is being held inside of a Tainted Land. While the wand is held in your hand, it can also feed off of taint coursing through your veins, randomly restoring vis every time you take damage from flux taint. +# +forbidden.research_name.ROD_infernal=Infernal Wand Core +forbidden.research_text.ROD_infernal=Devilish vis storage +forbidden.research_page.ROD_infernal.1=A great and powerful thaumaturge like you deserves a powerful and imposing wand befitting your station. Some hippy silverwood wand just won't cut it. You need a wand that will serve as your scepter of authority.

You've discovered a way to create a wand infused with the power of the Nether. The Infernal Wand Core can hold up to 150 vis and will slowly replenish its supply of Ignis up to 20%. While within the Nether, the wand will also replenish its other aspects to 10%. +forbidden.research_page.ROD_infernal.2=The wand also imbues you with some protection from the Nether's hazards, extinguishing you if you are on fire or protecting you from the effects of Withering as long as it is in your inventory. While the wand is held in your hand, it will completely protect you from all fire damage. +# +forbidden.research_name.ROD_soul=Eldritch Wand Core +forbidden.research_text.ROD_soul=Corrupting vis storage +forbidden.research_page.ROD_soul.1=You've discovered a way to tap the energy flowing through a Player Beacon and turn it into vis. As long as you're in a dimension with an active Player Beacon attuned to yourself, the Eldritch Wand Core will slowly charge all its internal reserves, which can hold up to 100 vis.

Channeling such great amounts of energy through your soul comes at a price, however. Each point of vis creates large amounts of corruption in your soul. It's best not to rely on its recharge abilities too greatly... +# +forbidden.research_name.ROD_blood=Blood Wand Core +forbidden.research_text.ROD_blood=Bloody vis storage +forbidden.research_page.ROD_blood.1=You've created a bridge between Thaumaturgy and Alchemical Wizardry. The Blood Wand can store up to 100 vis and will gradually fill itself using Life Points.

Be very careful with this wand! It will bind itself to the first person to pick it up and can be excessively lethal if you have no Life Points to spare. +# +forbidden.research_name.TRANSEMERALD=Emerald Transmutation +forbidden.research_text.TRANSEMERALD=Transformation of valuables into emerald +forbidden.research_page.TRANSEMERALD.1=You have discovered a way to multiply emeralds by steeping emerald fragments in lucrum harvested from other substances. +# +forbidden.research_name.BLACKFLOWER=Umbral Rose +forbidden.research_text.BLACKFLOWER=Save the squid! +forbidden.research_page.BLACKFLOWER.1=There's no sight more pathetic than a soggy Thaumaturge. For all your great and miraculous powers, you still have to go jump in the nearest lake and hunt for squids every time you want to refill your inkwell.

You're done squid hunting. By infusing a rose with tenebrae and victus, you create a flower that spreads like a weed and whose petals can be crushed for ink. +# +forbidden.research_name.WRATHCAGE=Wrath Cage +forbidden.research_text.WRATHCAGE=Neverending battle +forbidden.research_page.WRATHCAGE.1=Sometimes, it's not enough to just kill something. Sure, slaying a single monster may be rather cathartic, but imagine just mowing down a crowd of the obnoxious little jerks.

To that end, you've discovered a way to recreate the monster spawners found in the ancient ruins. Unlike the original monster spawners, the Wrath Cage responds to redstone controls instead of the presence of human beings and can run much faster than the ancient devices. +forbidden.research_page.WRATHCAGE.2=However, you haven't been able to duplicate the original method of infinite creation. For every creature spawned, the Wrath Cage requires a bit of essentia piped into its internal reserves. The device will accept different types of essentia depending on the creature it is attuned to. Alternatively, piping Ira into the cage can serve as a fuel. The cage can also accept Desidia for some reason. +forbidden.research_page.WRATHCAGE.3=To attune a wrath cage to a specific creature, right click on it with an imprinted crystal. Slaying a compatible creature with a Diabolist Fork while carrying a blank imprinting crystal will attune the crystal to that monster. +# +forbidden.research_name.FORK=Diabolist Fork +forbidden.research_text.FORK=Arcane tinkering tool +forbidden.research_page.FORK.1=You've created a tool to help you tinker with various infernal contraptions. The quartz prongs on the Diabolist Fork allow it to attune itself to arcane energies.

Along with being used to tune devices, the fork also makes for a functional weapon.

More information should appear in the following pages as you uncover more research. +forbidden.research_page.FORK.wc=If the Diabolist Fork is used to slay a compatible creature with a Blank Imprinting Crystal in your inventory, it will imprint on the crystal. The Imprinted Crystal can then be used to attune a Wrath Cage to that monster. +# +forbidden.research_name.MORPHTOOLS=Chameleon Tools +forbidden.research_text.MORPHTOOLS=There's an enchantment for that... +forbidden.research_page.MORPHTOOLS.1=Chameleon Tools are like three tools in one. When first enchanted, right-clicking while sneaking with the tool in your hand changes it to a blank new enchanting slate, allowing you to enchant it with a completely different set of enchantments. Each tool can hold up to three separate enchantment sets which can be alternated between by right-clicking while sneaking.

The tools have no innate way to remove enchantments once fully enchanted, so make each enchantment count! +# +forbidden.research_name.CLUSTER=Enchantment: Fiery Core +forbidden.research_text.CLUSTER=Chameleon of the Core +forbidden.research_page.CLUSTER.1=You've discovered an enchantment to allow the Chameleon Pickaxe to imitate the effects of the Pickaxe of the Core. A Chameleon Pickaxe with the Fiery Core enchantment has a chance of dropping clusters when mining certain ores. Clusters are a lot purer than raw ore and can be smelted for two of the ore's normal smelting result. Higher levels of Fiery Core increase the chance of dropping clusters. +# +forbidden.research_name.GREEDY=Enchantment: Greedy +forbidden.research_text.GREEDY=I want your money AND your life! +forbidden.research_page.GREEDY.1=You've discovered a weapon enchantment that allows you to profit from taking lives. Every time a Greedy weapon slays a hostile creature, there's a chance to drop an Emerald Fragment. If a Greedy Weapon is used to kill a villager, it will instead drop one of the villager's emeralds. +# +forbidden.research_name.CONSUMING=Enchantment: Consuming +forbidden.research_text.CONSUMING=Garbage Disposal +forbidden.research_page.CONSUMING.1=Sick of having to empty your pack of worthless junk, you've devised an enchantment that will automatically destroy common, unwanted materials. Any Cobblestone, Dirt, or Netherrack mined by a Consuming tool will be destroyed instead of falling to the ground. +# +forbidden.research_name.PIGBANE=Enchantment: Porcivore +forbidden.research_text.PIGBANE=Show those Zombie Pigmen who's at the top of the food chain! +forbidden.research_page.PIGBANE.1=Zombie Pigmen think they're so great. They're always stomping around the Nether ganging up on innocent travelers. It's time someone put a stop to them.

Weapons with the Porcivore enchantment will do excessive amounts of damage to Pigs and Zombie Pigmen. +# \ No newline at end of file diff --git a/assets/forbidden/textures/aspects/desidia.png b/assets/forbidden/textures/aspects/desidia.png new file mode 100644 index 0000000000000000000000000000000000000000..a29e7910d3e10832e301467955ff8d9cafce3723 GIT binary patch literal 981 zcmV;`11kK9P)N2bPDNB8 zb~7$DE-^7j^FlWO00U7;L_t(oN7a{2NSbjNz@yU+BSK;@cGzJscG#iYV25_tdB+iy zhp;ZqMjd2@1s+B@a%EW1_cDnvDay#D6tOy_Bb8;DLzksC)0*VhoaV>7=Lrn4x8?u! z9b^CF>+^q}-}Cu@EGhZlj#MgrzP!Aww_2@Xm&=v3*=#>oR#q&1eSO@&>PuZ+-EFN_ zYdAkYr|3>5lc6>?HokRtci&|lgvaAmn9b$@t>wIr`}_O90OApA5LH!Gr3Qn+Q;6}b z45TH}*49?W3dHQ}tdhidR#vCe8H)yx$z%`1;c$itKr)%6pkQAX1p!6(nThf29Z21G z#sC6=fOB?s#>o3D07jv!tLrHvh^eV5Nip7M?=CDXXc+-OPdnHE*xA_$F#_;-JoFQX zkSZRJQ?<3V%|8K2C9hwV6IoQW*rnM6pHsm03#zKA~pf$=H^sH z04kMA%qDUqrXtoj^!@1)WZ3oDSG%G@j`7dJnYX zMpo&Fb}fQ-MGr14{jagM+-`;o(7j+T7e+4n{Nx z5(r>7NsKA*F`zHSFc$WqYT+gpRmQ>hdM3TzUIF|@e{Jv%);P3M2lm5Ie-l;7`9 zfR>h) zJ9I6Gg^BOHQmOnfHZ~@JPI;@*Xg(buA74os%0d@CV+4SgVBI$67a~l_*K`VnLLp~! zbJLY8zqPgHWo#TTc6N4F=C&K`2=YHEge9iz=;-L;6-Dm>mh2ItQw~e18WrMpQ(s^I z;3kh?jWeVC>gwwDO|k|3-rCw)3Ze9&QXJ0?ha(2#)eY&{hTQ9ymX=I7tV|};51-GM zLOHwL9&2xJCvUy$hydx2U5nP5|V{WfI7@3ZajvLcN zV)u&d(9qBe0QrJphL9)WuUH&X@U_3cpI?;Xe|7mcPMP2T_gGQj00000NkvXXu0mjf D!^6Fv literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/aspects/gula.png b/assets/forbidden/textures/aspects/gula.png new file mode 100644 index 0000000000000000000000000000000000000000..d83eaeac6acfc675b26c52c3c676831f61bd4972 GIT binary patch literal 2385 zcmV-X39j~uP)N2bPDNB8 zb~7$DE-^7j^FlWO00_-VL_t(oM~zntP>pFAKBrSrc3pOt&1F}sP%24EZecTFcPF!$ zHH#U{m=QZ@S8T0~utjyqXjU%CvhHz|RW1=q+F2GUNiLbwji{8=cD2v*?f*5u!`Qx= zxAXV@|Np+v_q>4Ix3=*)Q! zqIGd`5zlJgvG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s2F9|>jT}VknZ@uJ3u+0$#_qlI`tdW`gmpNa0FvMI0Jlf-wC=8I3bgDj$<5#-uS{I z0M7QR5lw_gev~RBIHz9@FqWL}l(Cy1AWYtFOk#yG`BB=1;~jK-R*dijAd>L^mW_># z*3QmO&_&wbCbE>7yliZWaMGfP|CKSm?X#UMaI^mc^1w?p2hn6400000NkvXXu0mjf D5@Tx$ literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/aspects/infernus.png b/assets/forbidden/textures/aspects/infernus.png new file mode 100644 index 0000000000000000000000000000000000000000..e5ec8d7119dfa4c443948001ec40c7d05997f0b1 GIT binary patch literal 2617 zcmV-93dZ$`P)N2bPDNB8 zb~7$DE-^7j^FlWO01358L_t(oM}?OOY>wF)$G@)|-4s)$rE00FE?Qff?o-B;v5sZT zy~Rby9mXUGL9CM@5k?Wc7gsH1?6j8Bnp(;gd#zU~RiU;TT`aZK();_rdB2-p=|q#K z-+9k@&U60f*^k9y{sjjITWu5+6l4ty479ds)5hAmb!%&@R;>)uSo7`LwX=hqAa}?E zs;fDz`TP4@TefWZe|rJ~0<_1F9}*H`{QCL%S#4)q!o$O@?c29EC^R(GAQkd%;q@<*<#fujwvab=}j^YuGD`1i(nUXI60%`)VS~M9J7FLt& z_;!HmvgXbPcLdjwAPHr&J@YOdI&^4z@ZiBUmoH!boiXfT(uRY{Bk)e_b(0J(=nP4w z0YsP3g$xjy5CCZbvO}07)SzR>jsab|bcsw(P9BI5FN6t%GlD(%_UYWYbI+2JlCn2% z-cLWUaiBTmM&fTk81O8_wL>MnTub!a%EC%Y-|8y zPxkmFZVu7L0n2-Xcv$Q(5RIC8irjB$q!9m=%{&&tX=#Kw*iID7W& zAIr+h{(x`9#fujUs;a80-@kufU0hsT4$r9Dw{QPv>(;Hm!mAqxuUofntxZl|Ufzx9 z=;&U|d$aCjGl$It_AJ!n=AF~i(=%sHhl#-8m$D)~s0zYsxxt;zS;2#3HMq=@W(q?D(k5rq(?Ay0*{fiebsy=@FSY1(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foU$|1ttJ7#B+`SaHF@>@~s>!M+=m9!&FzVA-!Z|U)kAoI)$bBx)6Z$-nDDjN`PMl z%-fom5ime*C(k6nZ@dd?K2DU1BhH^ce}vq8k3#Vyhj-v`+0$?=Ig;(sDX$d>lLW+( z{jR3E{Q=WS<{^}aksW^;HEPuN$`8!zGXHxSDYFuW#v4+p*q>%&7Pt5k#+LF>m?hYF zz0_pZ27wW2-hAyE8j)R1=W4)SFXo!?tLo_iIjfM_Zmz>sUr0t)i_$N`yaA#Yt_vGw zYugLiI7|nN+1c6Is^p>ipeMHk*|Z|Sax7%%MeM+uBYUMmRZ%02OLN+zr+(9>O|2dt b9@hT?l>On~Y0Sxr00000NkvXXu0mjfgg_B& literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/aspects/invidia.png b/assets/forbidden/textures/aspects/invidia.png new file mode 100644 index 0000000000000000000000000000000000000000..24b50197992d43463277ad48c770c579722e2836 GIT binary patch literal 1830 zcmV+>2if?EP)N2bPDNB8 zb~7$DE-^7j^FlWO00yE-L_t(oN9|T?OjK78-pj*v zG{IOaMq{dpiLDwGD~%CX1VK;&wUlZAQ6f;v!^q1Nd74m6vjL!FJcKU0ZTAmIf9ixCIL z@PbH!-e6o1T#6Nu1PFxI)z!UakO0q~JsVrUe*L%i@89p00NdN!`@_S-v&P28rsgAE zP*8A@#|5CJ05v5MO~8uTr7I-hmz|w`eJ*1e85xa;g=*b@)6>&$_U+sEU0GRK^Z5Aq zTO@AXx^-{!=FMN%*4Ey@Q7G4~Tj#_8#`pt>5rb4pd8WM#?y`%Hjy_1ky3fSK#58t) z1+E{|CwKYsU2?goK1I zfa3vKikMr#RL7WUFA}go@N7UFJkbSGtJQ;Wb+$gS{{H^az`(#Hf(#4{jJCD4J%KmW z0KXj&5D*K!KO{Stt3f7JU^A0H-~rBB5dRRe03wo*femxt4gd3X3BZLthYuev(cgVa zO3GbG?OaE;XV0E&#EX_dWo4xr-YMf+25EVDc^$kK3b6ti7C8f%rs6F_dPO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C&f;18a~8x zU+mJ6Ap@Xq9z1yPM3{r{^x>To7_(z%4Syr)Tt`P|*nlk@n+6RH4e7**6Qz23dNOci zhq+5ZEn2i_CC-R$k%L!}k&*iV!iurRuNkVIcUoH7Sz#VJtzI1U2Qg+25M#iolESS# z8Im(Y7F4klTO3q(#4I3vo6sA4!jlgm#xVmp50y4T&GR{?dzGz0);g#fU- zB>;IC$iiqWG82@>l3FnnXhv=W#0N}ec~w-!y@7*+!@}I$+&mVe-Me>30)P=VG)f@= z)B|-O5-7Ex&W`8Ekt0W;^f!7S7<5o2_<&hX!LlU78HVRiSNlA8PWo16}#PdT# zApo4jhEl`=vxFct0Ky8*>{gs5HDV@eYik=(AwS0)J2=z9Zq@OQzN@RNJH`sobNV2| zv=s)x&n}^6hzgf7OD)e50C^8(`cQs;ei?J0V0wCbdeI~Nit6bN_6*^0Ja(;%FDnP= zWh=5^lEMHuks%NlEjbW=2dK!)tqFiQdw6)PIB?*=!K|#T3-|8b%c-uezI*N3wJ+AL zU26!ZV_@n*K|!cRQ^pPn04EcG@UbC)VYP(u>u40i!ZZUQ3;a6a*Bv34hj$RgY2%Pl jBVfZ(Uq()zJbA?5m0b_ff4a#H00000NkvXXu0mjfEUD1& literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/aspects/superbia.png b/assets/forbidden/textures/aspects/superbia.png new file mode 100644 index 0000000000000000000000000000000000000000..4cf797296289b0fcc7fd7694fb954882379d3344 GIT binary patch literal 1914 zcmV-=2Zi{FP)N2bPDNB8 zb~7$DE-^7j^FlWO00#C+L_t(oN2OP3OjK7GeZz=SWr?DxK#Rj7`zAZmfJg&UX&T!m zK%*6zMp|rR)QD+K6+sl5pd=)UjZ`hxNE?kHM%tue(W(eP0Fi=(5XK^lvPHrU_MDgZ z%yS&-pp)Fpd-r|cIp=GX%`zH`>7V zFZ$4z80d2&Cb4C~6hU5rN~F=NVXzR!@4{(Ket!P(_V)JPXNup!g9rBjzz)q4wzdFu zMRUV5`>gmaJ3D)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Agj66=Z_9Zbh`Zf@>3Jnwn1$=lD?*7nsRD1h5Vihw9!+qP|= zp+px8OO#TNK>i6r%u9v^{&}CUN8hK-&CNZu!7iCdPfyn}+hP9I#3H8A0(dYf1n{~Q za^l2^Qi7u*Y5-Xj`m7*;w<$G5Sm8Yimy~~KgLL~l-d96_6$S7dAm*F}NcX+P6o72@ zBlh|vPP=|oLow)ELUJY+CYhk1p!d7Fy83uY$;rt%jlM8OkN3#e5q|Kvg-OE{-7<{>cdo*f_!>{>_)+*)F}rGOU*UhJZjXzw+v%1`KxvQkXCD zvVYtt)sSbc7oKR^FhTr6Y|CZVBN8ss`U>nyX5kOMGAX7jv+L=c6%ge%=v8r7UU#I` qTyf$oCC;kGB~v^C(-x_?Gc%kKTCGyRr2GVEFN3G6pUXO@geCy;a7jG? literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/blocks/cake_inner.png b/assets/forbidden/textures/blocks/cake_inner.png new file mode 100644 index 0000000000000000000000000000000000000000..e173e19d6f45adac1d3dc684b849596397ddaeb6 GIT binary patch literal 269 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL8%hgh?3y^w370~qEv=}#LT=BJwMkFg)(D3 zQ$0gN_s>q|KvgxKE{-7<{>cdvtcw*HcpGEq?*D(^vb}Sv#HxSY#!H$FciDLG+c4NJ zUG|?{v+myq^BHPv&0i8E796|qL%t=EZNcV=PYrn*EJfW8n;bS-csjY1@k|q|Kvj93E{-7<{>cdvtcw*HcpGEq?*D(^(p`$}Wh1*n$LBwanG&lR6&z<| zJFq=^oGig0#1R(3cg&!-jg_m!8c3(goe|j^|furm%9Ss?l7=+cbOElkT`60n} sz(o17g7|{&!$%Bw7&s?%ImR(CJdQNtskDvQ4YZlT)78&qol`;+0AbrrF8}}l literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/blocks/cake_top.png b/assets/forbidden/textures/blocks/cake_top.png new file mode 100644 index 0000000000000000000000000000000000000000..63f963e9bad61479332b1283d82816db822469b8 GIT binary patch literal 304 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL8%hgh?3y^w370~qEv=}#LT=BJwMkFg)(D3 zQ$0gN_s>q|KvnZST^vI!{MQEG=50{mNfA7jP`=!N??HdORQLzx;K|16wgJs5e@wo_ z=_>vyY|A^H{Qqs#`IEV4KYw|5Y=>O_+UINxqF#ct9Ml+tqKqUWCSK*4k}Y&Vu8JWq zWwj6k&%Cp*-o&OIIFrz%n(`^5k(p^VqjJo-6&9?bN)48al^C8c__o-}%_DXFgtu=) tmp>?PC|;oz@XuSjF7U#inNf9L_}=hu^5vH;o(yy%u literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/blocks/crucible1.png b/assets/forbidden/textures/blocks/crucible1.png new file mode 100644 index 0000000000000000000000000000000000000000..9fec2eb5210ed64ffae5c9107bff4048d6f8a6cf GIT binary patch literal 373 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DDyK$uZbZ`*dDAbW|YuPggq7FHfB#RDIXJOBzwmAFQf1m~xflqVLYG6W=M=9TFA zxrQi|8S9zq85+8Ob}|R5y65TQ7-Hc+cXA}(Ap;(l+NO7Zn39%X;9_BFbhz_B#O?fv z0K2(fxpR)pJ6AEWwDe-_=L_5Ryo#xiUNg5&E}gyi_a-ie$vMkEKU#2k z&*jK_^||L5WbQpaymLP1iS9=$glc{Wp5blqHHhnQ^fO{kkznX_2%mD$BD{es6thHPzR`Ncvt6B=qhe&apHeKwupg~H-M1_=YUOZ{=4 zp+8=`2r(_<=jv&5ermSmW1{LY6^Fyer*{3gVRY`v@#DALXH@_3u=^&R|6-oF?)ejs QfIemLboFyt=akR{0M%@h2LJ#7 literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/blocks/crucible2.png b/assets/forbidden/textures/blocks/crucible2.png new file mode 100644 index 0000000000000000000000000000000000000000..fe0616ceeee102d6f0bc1e5d4bcfed52ab3f1120 GIT binary patch literal 205 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DDyK$uZbZ`*dDAbW|YuPggq7FHfB-IHz|r-4FJC9V-A!TD(=<%vb93;~Imc_n&& zt|1C##(JiDhKBB+oy>u%%sgEjLoEE0Cp-xI!+)5^g-OIV#JIuZ^utpgrKT&N^{?XVI&A;| literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/blocks/crucible3.png b/assets/forbidden/textures/blocks/crucible3.png new file mode 100644 index 0000000000000000000000000000000000000000..8e1e1ad0b16d3e3e579a26231c11f25c1024028e GIT binary patch literal 571 zcmV-B0>u4^P)|R}40000QbVXQn zQ*UN;cVTj608n9RZgehAMN}YmGcGkQF)>H;LN@>a0i;PpK~y+Tjgnb!!axj!_la@^ z0)&J!<-Vb`K&u|ADplhD|08!lQ%5|}BANB>+B4(Hx=Hvbv)WPS^=FyZ4zg^#%A)?F z>vhiks_~|E)YErgS&JhXhkHG=#!d8*0bJ)+15pML-o?@^^rTZBOFvjB*r>Y8)}hY{ z&IZ-3bc3n1eQiD8l1i>2E-t3hE6==~l^@|K>*!rzg~digHfO95q?M(DM4s5eO!Fvw zP+7MCX7!WK4M;DTOHvvDFj479G^5N|Ji$0K_cFIv8a`=Hr#uzc4ZQs7#?QG`5CZAQ zYnR5721~y`si~Z!0JVKTM#uZ13Q|V!jrK*5*evwLIj6B}er3RBGClMv0Q2B5=&+E- zg){@$$KN^z0TFeV5j+5H0>B}SFp$HrjXvcNpXHF8vvVT?pj8@*;}0K9g-NtRbDi<* zEtq`B6~KI;*aARUEKC)^0C2Ag!hEbRs$CjMQXD8)>o@0-5$rAOzLJZCUKbU6Qp+b& z^-r2-?Onh5qn0|JGQDad9>D%rv)!YHp6n~IVb=cw-~siJ{{S2`F}Y|9V}1Yt002ov JPDHLkV1lGS^X&it literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/blocks/crucible4.png b/assets/forbidden/textures/blocks/crucible4.png new file mode 100644 index 0000000000000000000000000000000000000000..041eb5ce33f37b4db0a2920ec86dac56f9ee05a6 GIT binary patch literal 356 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DDyK$uZbZ`*dDAbW|YuPggq7FHf>#hb6cE(8immAFQf1m~xflqVLYG6W=M=9TFA zxrQi|8S9zq85+8Ob}|R5I_v4;7-Hc+by6hXAp;(l+NO7ZE^%piFBIiqVG=F;AN_HS z&>a_`zp5l+`9hW8RwrVo*{=q7%wthIaxS&?(8k`OPht1 z9=zQDFC%l##*=zt5;E;#>=RgD^%{koO>pRE-oY-U%yW9lZ$lQvg_%mk@Az zoyM@@TX}=32B+e^FgtZF9+idnpL96v{kV_MVVZqK!hweVoQRsH*kAii7%mh^6mMD} xG-ZS9k~69Ym8380&6KRx-ZW+PR_|($eKPEN?bl-e@B=-@;OXk;vd$@?2>?7JgyaAK literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/blocks/crucible5.png b/assets/forbidden/textures/blocks/crucible5.png new file mode 100644 index 0000000000000000000000000000000000000000..7d4f8b5a0acd35702303f9a1f60d02d19a8116e4 GIT binary patch literal 496 zcmVH;LN@>a0a-~zK~y+TeUj}?!axv38-EII zp%5b~iCU}mi&GSNG@N5OV|l5!kgg*6ahee>7+V zpbO~srx<~5$bhsTfKhi5fcT8ZRuH&$7CN&o;I=bM84r5Vg%*Kv(4K*CJ9X`Ic>tV) z0y04U9|kpq0@x1+P;j6v4!lvI6;>1s;*b z3=DDyK$uZbZ`*dDAbW|YuPggq7FHf>)5C^}cYs1tC9V-A!TD(=<%vb93;~Imc_n&& zt|1C##(JiDhKBB+oy>u%UU|AWhFJLbPCChV$biSCx;?1x&2EN9hY$blk9WtJggk9} z;&xKy+l|YaW|MEPtCqNZa&GC}IL4!~M`NY;J^tca!0s|Z;e~SH!C4PnmA1O3SeN+E z+i0da=aWeE*6C{=76wOgF~6Vow$ji}@{ME4gf1;r#q@QR=JN8wPgXcq%-V9Ub$$Bc zTBmsvrc9fmT(Y0@33JftU7<_sh0ZjtIwMe+)w9g{5+sjn&IAA{L5@({$#=6W|8a{ljHNFf|S$Z+qUi5>VLWXUDC@7 an|?AJR1f8JKQ99cQwC30KbLh*2~7Zm@|3#( literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/blocks/flower_black.png b/assets/forbidden/textures/blocks/flower_black.png new file mode 100644 index 0000000000000000000000000000000000000000..6a9ba6ac015de2cb502bddab7412e926b965c153 GIT binary patch literal 251 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL8%hgh?3y^w370~qEv=}#LT=BJwMkFg)(D3 zQ$0gN_s>q|Kvh|uE{-7<{>cdvtXp^)IXOH3EBH*)Rp@>5=FR`smX?2?KYnb?T*S+y z*_JrN(IvZ0lO>boCQlLT8C4ZYrlQ6O>%;YpDQu7C_T@QmSuL45%TZ6^Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D02*{fSaefwW^{L9 za%BKeVQFr3E>1;MAa*k@H7+qRNAp5A0005ANklfc>Wu#)!BP|5z zNC{`uD;<$0Qpbb5r-}1XU#I|{wrxAEr;2edXF9{cncTKrCp+Kg)X0%NWb}5(G?yA? zl;@-wD;krZk~bYUxS)I>O3^hFdQ^8fP)0Why!eDgtln!oKRz{mhwHSj@;$GE-l$KWO;oofZdaPiad=&plU4tDxp z&L=lgpH0p+AvN44>b4mi^WG(J_p*&Aa@`5PCuN+tcT2kxb_FG5fW+;qWBE@D5!h_x znvgB@LJKi~W?aXh2y(W3^m$3Qq-76WS-Op$IwYNUwg-zacU|crX^%dM`+$%S|Cu_r zUqCqm8j&C5?}xVGKhu}~#{4_iLe?n((k+{YEnGTqfo<{u-=^}G?ua_e59Ak4CeN_9 SOZcn+0000q|KvnlWT^vI!{I^ct$a}~@!1ZpxM#f31DqPDF7_y|K*b-RH5}4dPthl6( zu&i-xb#ZABB5`4w(t&F_8Uhc>S4-v^IXrmF5b>hhu0(|O&h7OxFRocA_P5A`DYMBU zwv<8Y_dcfHIS)e*RF!Edc(_(RPP?~4ojF0!i7WfqX4Vbs8Qx3_Z`{_sxv7B1ESark zs}AEoEtiLZ4%-Z7Xk5|gec#R=$*jCN{X^V_ljj#te>uI4|EdM|>uw#Wn@O1Ta JS?83{1OWKsiJt%f literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/chameleonaxe.png b/assets/forbidden/textures/items/chameleonaxe.png new file mode 100644 index 0000000000000000000000000000000000000000..b1fe48838068607efd54371997895484d883ce4e GIT binary patch literal 382 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DGnK$vmjuD&{;AbW|YuPggqWzQ)Fc|akl64!{5;QX|b^2DN4hJeJ(yb?V> z*ARs=V?9$nLqqq^PUb*W&pllnLoEE4_SteVIr6k_KK+PSgvC)ON94%4tb@nGzA%J6 zDoaXC&wQ+V

)WlYW|yn(;f8-8-82>jN4s*9Vt+yj}fF`p=SIUhh=4+$vFMt8|;ttRJN9X8MpJ{rz2? z!^bQ2+i_AGFpYJM>IRN?Vk|+^8c#4?6XM8Pzsle=kRkD9L+p>d7IRG< WXoYH_^X7F_Nb6Mw<&;$TkSdr%d literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/chameleonpick.png b/assets/forbidden/textures/items/chameleonpick.png new file mode 100644 index 0000000000000000000000000000000000000000..84ecdc0cce2b788e25c0364b4a882ef048d81f18 GIT binary patch literal 384 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DF6K$!8Ji|==!AbW|YuPggqWlyK@#z2mGu_0g^}Tn6tt Y&33B(%hgAdfSzXXboFyt=akR{05121sQ>@~ literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/chameleonshovel.png b/assets/forbidden/textures/items/chameleonshovel.png new file mode 100644 index 0000000000000000000000000000000000000000..6bc4f217ab52a006f1a71449ac0485e3cd3223f9 GIT binary patch literal 349 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DF6K$!8Ji|==!AbW|YuPggqW-R_Wb2ZfTn^tXQP*9XOwpDS~TcgFT$4lkgR9$|WGJJYn_8?8x zSwTv&M1}R!=Ge|Pww#8WzB~<_b2@L9+4Sbx5<7+4XH7rdd{V#7*|~#5EVtrzqm+<= oHLIlf$F?>PbBWD!XTD^<_$X<`s+^@cKp!!9y85}Sb4q9e0J>Fvr~m)} literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/chameleonsword.png b/assets/forbidden/textures/items/chameleonsword.png new file mode 100644 index 0000000000000000000000000000000000000000..ad3eb9e4c7ec4572f63d7271807439839e0ba29e GIT binary patch literal 357 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DF6L735odA%@DkiEpy*OmP)vmlqMtheyB$v`2g64!{5;QX|b^2DN4hJeJ(yb?V> z*ARs=V?9$nLqqq^PUb*W=R92;LoEDz`%m*8a^P{{W$$wE5OLu3=wN!$plvSo;6$sQ zfNcQdRLTBi^?Uh7mo(13+p}?6RnoIVTa^7|LYWtdR?Ilh%{?iXVSUnpA61ULEv5|$ zGKuq_b3I5ZZuq({+<-lMS?Glp!{@A0=kDH!5z7fbtm>hOzK_i-ygTxZ~x2js%+-!1*i2H>gTKPleu=d(VqAIye$q+H*5}F xxWvT!;H=?`4YmjUq@5gM_FO*qcD>>vdrz(8V)n9}+d!W&c)I$ztaD0e0syFyfL8zj literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/despairshard.png b/assets/forbidden/textures/items/despairshard.png new file mode 100644 index 0000000000000000000000000000000000000000..ea2e847b87f77e5e29a75bdf1696eed6a72a9aae GIT binary patch literal 411 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DGnL736`Z_X^BAbW|YuPggqW)PX`$C9V-A!TD(=<%vb93;~Imc_n&& zt|1C##(JiDhKBB+oy-{+7+E}B978PpmrlOf)f^z;viQM1?RVPie*Bk@aE?8ZD&u=> zLOYxMo6DiGwer9B+3#DqewJkfQ%GoQqQnIg-uW7n7;bMf^c6m}spb9eg4pk39!x%$ zU1G22IE99CG%@r&{=;qgrh)hNHcpSrCLD(aLXK6XzGnDf!=HPbi=q4e8lBS%UjI^k zvP7XTd1cdtM2QyFs69c2T@%f2desst$KGMGu@ye@vTISzvIln`|6*Kbzh|?oe<&#U89ZJ6T-G@yGywoe CR-K;! literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/dye_powder_black.png b/assets/forbidden/textures/items/dye_powder_black.png new file mode 100644 index 0000000000000000000000000000000000000000..6ff487b1c5ce7accda8a8f6f3ef1cc0c55af86fc GIT binary patch literal 286 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL8%hgh?3y^w370~qEv=}#LT=BJwMkFg)(D3 zQ$0gN_s>q|Kvlh-E{-7<{&y#B>nb8;?eT&8=@iKi=(oE|4Z9$Xpq2-H_HSaJyT= z`OIgXy^N1yFZgN{CTiHm$(+luetC*(XY^79E}JK7r@q;`D={s+ymEycbLhz^xvS^v aZ5W@e%k>ktdmsaJ7=x#)pUXO@geCxcd}KEO literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/emerald_nugget.png b/assets/forbidden/textures/items/emerald_nugget.png new file mode 100644 index 0000000000000000000000000000000000000000..557207ddb35f9f3486c805e55ee23cf9542bbc80 GIT binary patch literal 256 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=Dh+K$tP>S|=w^P^!c=q9iy!t)x7$D3u`~F*C13&(AePq0Cs%RL{`R{j-xfP*shm zi(`m|f3if)ga7~kR~QB|%ytt{lVvgf!=Ai}A>i@4|KSH_9Gv9goZu(Q|C~8H=hrr| z9?7tm0_hxP%tzj<{Y}r9&MM6?nLTk0gPP|y#sY>Ap36S-7!?>keP&DMVB2In?Zw0e vl57rb3>&Wo$xhhbVa~8jK$hS80MM~s*A8;kUp!g}bO(c{tDnm{r-UW|4A@a* literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/emptycrystal.png b/assets/forbidden/textures/items/emptycrystal.png new file mode 100644 index 0000000000000000000000000000000000000000..93429d4d10fa05712da4cc3e19fb53a598cd6e92 GIT binary patch literal 327 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL8%hgh?3y^w370~qEv=}#LT=BJwMkFg)(D3 zQ$0gN_s>q|Kvmm3T^vI!{FhGl<~wA-~{=cuA?X8}jzDYaH7iV_y4Y+Oqgr$C4S3_Bb;B zIe)WfkBA<_=B5TkhPW=N4X(%kO!8iA=<$&0g#=?x7hl8AnY$|++}ADsrDN3~CowUb z(e;WF!-k@WlECJ=t!ep-cC&s1D*XOJbNURk#`Jr$S*_XMDgQF}X;&*{tpB}WgLGT? RET9h!lvI6;>1s;*b z3=DDyK$uZbZ`*dDAbW|YuPggqW)PX`$C9V-A!TD(=<%vb93;~Imc_n&& zt|1C##(JiDhKBB+oy-{+80|e>978PplPCN-e!ziqnTPR-q#cYtLOlN?c_sdB&M^9; ze$=&q`Nmzzf8F3^6C8F@A{AH6ZRK)NM~A>AS%S;ob<-cI1U;UDpP2S3bT&n;oM>jtl5 zsUt&3F>l1j`j6ob?{%1}at#mHn`JBUFtpmWiyy9^C@jF7aPPs&lpp7V`Am*5T^8sm zVfe&WZ-3$2ai0G>jTzkyFO=e!lvI6;>1s;*b z3=DkxL735kHCP2GC{^MbQ4*Y=R#Ki=l*$m0n3-3i=jR%tP-d)Ws%L2E{@KYKs4CXe z#WBRfKRH2S%Y*;_|MT21xX8C`7vsT$2md?H$Phmu(iFpV>BpCsm;cW;%l-BK(IX}i zr;7dsjS5Ezopr0338ncK`qY literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/eyepick.png b/assets/forbidden/textures/items/eyepick.png new file mode 100644 index 0000000000000000000000000000000000000000..baa90a6ee2e96f48bfa467e2b2f80b2abb8f35af GIT binary patch literal 223 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DkxK$!8B)5ZfpL8%hgh?3y^w370~qEv=}#LT=BJwMkFg)(D3Q$0gN_s>q|KvmJ6 zE{-7<{>cdvTOR!X|DWfE!9_l|>u;Vv|1RHh(uiTn$CsCv|2NOQw1S-!yAXAO9j>Zs>Kg5O#Ua P)-ZUw`njxgN@xNAcQZ=F literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/eyeshovel.png b/assets/forbidden/textures/items/eyeshovel.png new file mode 100644 index 0000000000000000000000000000000000000000..7348f9d012c75ea398db307aa9fecbe6dd99caaa GIT binary patch literal 223 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DkxL735kHCP2GC{^MbQ4*Y=R#Ki=l*$m0n3-3i=jR%tP-d)Ws%L2E{@KYKs4Cji z#WBRfKRH2S%Y*;_|MT21xX9;r{mr{~|KwXv8Zj*S`111d|K_>3TxKaM+;-4olw`Pc z=kjG{GlrX`EU_%XJfE3%UGFe!c;j$%si2x)wfF(1NsCMzFU(YqVPx=rzq5AYMh14E OH4L7velF{r5}E*GZb_8@ literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/eyesword.png b/assets/forbidden/textures/items/eyesword.png new file mode 100644 index 0000000000000000000000000000000000000000..31a527553b339ad8bfe836fb669d7f844923a66b GIT binary patch literal 217 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DkxL735kHCP2GC{^MbQ4*Y=R#Ki=l*$m0n3-3i=jR%tP-d)Ws%L2E{@KYKs4CRc z#WBRfKRIE6_>cep?U}8PWt*GvI-g;f@t>ozH9>}_hwWdKcYZXh)vL3L*!GB7bSATlyKGdMaiHy|r8GB7Zb?x1l1000McNliru z-3SN=1T~-_(cJ(5010qNS#tmY9>D+r9>D>_X;f1H000DMK}|sb0I`n?{9y$E00BZt zL_t(|+QpK~O2bePhNmS2Z9y#xDky^1jT<-a^Z`VD5OL>Y`2z05g&+uC778L_@Cp@L zFV&bxTjF={x6~y220qTooSA>loEfuze}z2bx>+*JIt~qZfOj~}@%Pe(ErQorm!JY6 zT)-}rIXg&+{1e#3VVkvDA=LNHnoYAfwo;PV9CrTf3!jr7k*>fB2g@$l!{h{NH9LwT zyT=y5D7dnw;1k~~iF5@@P=uX!+h&8nV)pxRsh|bDhuh!fl`sS^@F?owL}ny@4Y%?e z=@BUYZT#P>*|UT?Frc$nIG50LN}zj#554#sv?P$I&+dOvUGemonHx0J>v?5qDRZcx zs>*p%lFSVbNk)Ci2KxyS>Wu!|7<|KVYM?TcwTj3h>!ey&P{* g^th4bk8=ON9|t2>4XJiw9PZ~y=R literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/fork.png b/assets/forbidden/textures/items/fork.png new file mode 100644 index 0000000000000000000000000000000000000000..6d9b43d5eb57147a229dee278b92fa1fd1be30d2 GIT binary patch literal 304 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1quc!K0oojv*HQb0_TOJ!Bx#qWd&mm`kN?Q6iI9 zmCCmSX0-%{Um+nOYa9}broDgp$D`xnl5YKN?=O2dU4OZufBS3IKCa?_0^VoNAGdus zOYi3N#8aE5ZP+P!z4-QZW`O{yqL(+m#VdxK`gN8oapo~g-=%9FCl_bd%7~REC#Ok#glK?PP?i#S0!Kdrfqyc?rgn1VXu=W w)qIg|5SY7!i-D2JnQJ9m1tXJq!+)8>(hAv?3Uag7gM7*0>FVdQ&MBb@0EYr|82|tP literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/gluttonyshard.png b/assets/forbidden/textures/items/gluttonyshard.png new file mode 100644 index 0000000000000000000000000000000000000000..7641485c75bf28551526fb458b83199f293cc01b GIT binary patch literal 522 zcmV+l0`>igP)H;LN@>a0dq-2K~y+TrIWo&f>9KQ&tDJ@ z5kk-xL`evaqUhkDsQ57i4&uk8i<3(~=dYmkWo(p`BY-WdK5<5aaQfR;xuiohFe; zSOOUUkHawq%b^LfJI@K%Va2hnJhg*f<>3%cDd#bS|QFi0Q}*a$KKQmGUV za;TE^^(03;YWr%niqq*_3o!v=u^8oYnZ;tEt5|9=7z}8)+jza+?EuyNNF>6Goag|x zrqe0cvdfhgZnt{{vf=|(#;w?y&*zLrBfTeYaz>?6p;RgnkH<}rwMHrw3N#uGUgeYz zIoFj8heIx9M<4M|pKNquHk;)}_UQF`OePcFHPF2rph~m^P)W&Tl1wH;tybe%j+xD7 z)a!M8KA!=x^cU20a=9GMW|MxuZ}NpDz_(;&G{4`E&1UH;LN@>a0bNN%K~y+TrIXJq!(kl9-+zFE zoZOUh5Q|c4%p__v+NP)-)^PD7Hng&*N!d zzP9nK9X_|`^ZL9$@6Y?e$2pKmWz;MO8-Uy#u(SXy%mdR=WB^=N@MZ&yhQNRm^i}GC z3_wLOxHbyDoq@~4V4E9s+x~}`JZLBfUyr|F7LH)zRE4lw~dcCgl5dFCUy#>n6~T&#l%C9+ qbD;%@OO`>a64SG@(p2!*=lTTs(A7G$$TngC0000H;LN@>a0Zd6mK~y+TrIX7mMPU@hS9!a~ zMPzd2c;wa1Ya&x619{w%OGIullYyD3Ohn!aQ9_L5ukrURd+)pWXRq3>40ly}#&Day|Mj#PD*wl_AcHxRWxM3$Q>EePJ927we z5H`6uXFu+l#go+`JaZT?_T7zZw&9R1*!Ce}PBVpN_Ttu>NAbonyqgB_U=z4FljIXI zWlK~cX90}k!yqGg328P=%?orau9}J_O^%d1SHQ!hf*D ZfNy1uL^V!lvI6;>1s;*b z3=DDyK$uZbZ`*dDAbW|YuPggqW)PX`$C9V-A!TD(=<%vb93;~Imc_n&& zt|1C##(JiDhKBB+oy>u%j(fT|hFJI~CrFqm+`91Bp5yrJinr{E^|{gP0&2G!MWiPr zJ=-qdB7Z&S5C0+7Z4VRPEXumXaEK+=X(OYf6(6rcjZXTvdV#vzJD7XIk8f+**xBR8 z%<;H{^C;T^pLNBazxWU3OO-WzyxGK>Feg!x<5*qPHa>-(%c?+=)84&jI27FM^}qSU z;Z02JU1NP4FCWD literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/mobcrystal.png b/assets/forbidden/textures/items/mobcrystal.png new file mode 100644 index 0000000000000000000000000000000000000000..fddc7a193891b473d5c6f003a053f67fe44c0be2 GIT binary patch literal 530 zcmV+t0`2{YP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D02*{fSaefwW^{L9 za%BKeVQFr3E>1;MAa*k@H7+qRNAp5A0004jNklg+9mGh6mI?I z7h$)FH5we(q)Ac8;`pM%Q$XTrNg>=IaOM)Y_X$Ls1$y%ggsUwmO_f5&znN5cn38y1 zF>%=@uwN-~S}$;<1bS$2z!WQPM>^NYG|roDA^Wk?I&l+}LKZhg}vZ4v_$vAuU|<@tvP;5_WEe zct#h+-bA79I+ieSv%58$QR>LUEb@~H;LN@>a0c=S`K~y+TrPEC)gK-=O@GpfN zHX3=!>*Vzya*!s3~B3XCnNy2%e0BflkonGDi$|;BEpFK~P-+BM~qZ0-a6}Qt6+kF#x_+@M1y$ zYHFfU5x%S?c5FmXC?j5)Ue2 zj}g`xqRej&Bpc?PBUUzu<0#SgOmut@4d)zzoE?xv#=K(VEK$8nG~ZCcD>t#vehleI zR&N0o52rEDZ5)cSUDE+6H{iF@65L|@Fs&&6ACT#7`~V!so$B!L6i@&F002ovPDHLk FV1gKY$d~{C literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/skullaxe.png b/assets/forbidden/textures/items/skullaxe.png new file mode 100644 index 0000000000000000000000000000000000000000..02bcf1cd6c1362d0e2ce7d5b45b8d544a05a7717 GIT binary patch literal 341 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=DDyK$uZbZ`*dDAbW|YuPggqWzQ)Fc|akl64!{5;QX|b^2DN4hJeJ(yb?V> z*ARs=V?9$nLqqq^PUb*W`#fD7LoEE4PWBdRQQ&bY7V3LY6j8g>v znEhSj{oXc#S(YZXk>wW7d*-h$Ubp2?*{OYUXWl-2nWNZHq!!!2YGgL&W*6&}GWY2m zkETpAGHcoTTOeWX+W^VA?sr(PB-LEm9pO`#eel?}wSV`X`or+NXI^;Sx=9QSK9wc0 g=?AzCx-FSyoK$?S1g>?{0s4f&)78&qol`;+0Q1XwcmMzZ literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/slothshard.png b/assets/forbidden/textures/items/slothshard.png new file mode 100644 index 0000000000000000000000000000000000000000..ff1af426ea03cf83ea41d5e91119db0e2eaea057 GIT binary patch literal 1032 zcmV+j1o!)iP)H;LN@>a193@2K~zXf&6dkc)KL`2eLFtT zA0iGSIxcK{Fs<6PaU(NsW?>r<6u|^18eFLO7{^f%S1sDLY#TwFiWWkf{sciPH&GN+ zO7ARZevjMtd$~6x;&<;DML)RwhToj~x!-f{Ip^MrivQ(ty1TotZEkK(o>kDJ%F44Zefg+FDmZLKz2y za55AKy#0JWUnF3CeOOy7#NV!sRn@W z1Wim#c-7U_z6rqpGgLA(G$d85uCBU-;q3z;dV70gHjpbY^6TpAylgfr)i9vk-mb2$ zcQydpq%ew%KHWlMiFiEDH@7rm3!$BZu?q~#mIL_J_THaN{yTFWB+qL^`V#Ob z7))FGZT-+#EH5v6EiElNNCMwHYXT#jNF+R6JSZyN8@OfXY(Vd^zq%4jss_Fx^OytN zzO)IFWWvnM%rN7=q8gvDBGDiG=H_Mss3c>8uvnP3Eag`yA~qM9#_jFxOkaX7hCwcK zrNza?0DVACJk?z2%CUlk3Xv*QL(ys;5JY#BE7>qYf<}XbgK~AaQGz=Mn9R5cz@Op& z=cZWPBBZmk(^pE00I(;B(b3WGaD|CxeC`v%9@*E|7qBO=J8`ILGy-T4r(AX?wtT|S zo#hEOGBUDnMbJj6R4QLzU;i^ZaRgp13-E7@5#@cP@#8bChGx0V;6$U*0A1vgvPoO5eJVTD3PG4si{31 zh`eAdEiHXQFhBAzWi6n^NhRasRu$~=jU&rvG7>usq9WqPsRO5|}jmZNR!`u`4`}@ypNG6kEw|)VTkDZY*F{;o8h|6bA zz{NuLNM16OiVM~d7(P|2$~eG9^N#$E4mWO}{{91j)zyCUfxNH)0000!lvI6;>1s;*b z3=G^rh1>#+YnAtw0tKZ?Tq8n>Kmmp!Pt%lSRu1=~gZwL&hrUseb#nehIr_m!RE z{T(~zY~JIr?b^ndETT>V@Ao<@G&gQu&X%Q~loCIH+BYi$4k literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/taintpickaxe.png b/assets/forbidden/textures/items/taintpickaxe.png new file mode 100644 index 0000000000000000000000000000000000000000..118c2e8d02b1aedd3f462f148463d2cffa5a2220 GIT binary patch literal 462 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=DinK$vl=HlH+5kiEpy*OmPqqkxE};2sCrRG^S-W=KSdbAE1aYF-JD%fR4Vl$uzQ znxasiS(2gP?&%wlqL<3fz`$ta>Eak-ae8U+Mz6yGBDU*0B8*xj4thB%N%^o&eK6rc zh=z!HxcL5q`5*QFFkSTX^I|_65TM9cDscOf!1M$u#p6di%nUof9FV=&T6}Nk^SkOE zNn&Sw%}b6h*|mX5zozxI^&$_46w3>ulcQI)RSrwSZV5>pE36Z6HN|gTsnUGH#6TfzXhJV&+ryX&9)ZY<1W8= zeX&Tp#@hv{ukVH;LN@>a0qRLaK~zXf?UqX@L{S*W|6`%- zP#77nkfxCG%rjyzx*mloljnksm5r<|6bn0rm27O;P)gacwkD62*s;XlIY)E5XWVP% z&L}C1vpeT^zVm(G|9?Kr;vLDXqz=oAO+XsF%tSTQ;isF3Oh6ubIErhwV233LvjBr} zflNR)n%IGT&ft}8*ku`}=|f*kh&2byM?WX=A`h_}hb+fD^AKPzIvqh8pco+raHIfo z_2Ps*IA$Hzn1M=LNK^y{E3n83JS)Hq-e};Q?bu@unqvYK%!i;l6p12)TUKFNtR-fl z@e4$YKmz158nD3-?m3K0m6LHiuokQIV?k7BK!eydl1Sbho3SOzdc`oFR5S)IScDN( zVr!q+0_28LOtJfH)!F?M)RVLsYtht;5%j70yQy1Jx|a_<<^EvVNenpQs;b!ub_Hh_tme5|0}{u(NGV#%}x|TK_5%%W`cfjuLmJ zeLK_n_k$ny1CRWH{`Pzz+f%k|!hT>?qxg*zn-4S*xt$Ljrt*) zw2rhnN^P1dexR@+#PWu~ny!n6KE@uCcUN4i*M3-FFkgdtLnhlr7fFU7hC?rAIo60U z|NDEdS-e>!=`znH?+Xo!nkM|;$F{LxxCpB6yT!x){g?Uv-@b$YQpXy} zmO?3p&6Y-oIM+xnVT(29SX_`W%h9YU$85qD=Il1f2HwR54qO*=)lM-uXfSzLTboFyt=akR{08zVf AX#fBK literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/wand_rod_blood.png b/assets/forbidden/textures/items/wand_rod_blood.png new file mode 100644 index 0000000000000000000000000000000000000000..4630cbd3821adaae078c4115332d385879eb6cb3 GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=G^rh1>#+YnAtw0tMMiJbhi+?{dkrYsfV%t_KN8mAFQf1m~xflqVLYG6W=M=9TFA zxrQi|8S9zq85+8Ob}|R5TI}iK7-HeSchW{KW<>!PR&EHeKXB>Nq5Gb~94BQJ3(EKJ zyU7_-Z6GH2rpDUXTI%zA;p8a-O+GJ~)@?m?R)Xh2+mb0y7GDTnU)U<`8~y~%c=tO-Vw>;b7h(?NQ1cpmP~KUHx3vIVCg!01~xs Avj6}9 literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/wand_rod_infernal.png b/assets/forbidden/textures/items/wand_rod_infernal.png new file mode 100644 index 0000000000000000000000000000000000000000..141673f0109d97cef0d0a7351243a028c37509e3 GIT binary patch literal 319 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=G_YAk0{w5<>&kwYQ$S3JQ|(_n$UvzQ*NBqf{Irtt#G+J&fW*wa5hJyShHL-)^4=0H^|JY5_^Ec}xb7MN=!C;W(KI+Aj8H}i@@b%A!qjchC1)-Ys6 zFddO@u;>gqtC0RaK=|i!lvI6;>1s;*b z3=G^rh1>#+YnAtw0tMMiJbhi+?{aYSD)6SgSacUCBvs-XQ4*Y=R#Ki=l*$m0n3-3i z=jR%tP-d)Ws%L2E{@KYKsOpKQi(`m||I%Pj?j{G3I`QYdj@xF=&~3n0Y+wUFL=b z$Lw!AUvhohav-05+KSJOD-P`|_xr8Br)gJiM6QN@OzzWuj#nOW+vhG@VVW#9Nxk5W W|F8cK3*&(PW$<+Mb6Mw<&;$Tq(u_O+ literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/wand_rod_tainted.png b/assets/forbidden/textures/items/wand_rod_tainted.png new file mode 100644 index 0000000000000000000000000000000000000000..936649d3b90e45e5439e469586f0aaa2a853d000 GIT binary patch literal 346 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmSN`?>!lvI6;>1s;*b z3=G^rh1>#+YnAtw0tMMiJbhi+?{dkrYsfV%t_KN8mAFQf1m~xflqVLYG6W=M=9TFA zxrQi|8S9zq85+8Ob}|R5I_&A<7-Hd{oUp)LAZ^8O{UZUt=j&9rO1}C(+i=bA^(PD@ zGa8gL+dK@n{NJ8_gV(HKs^V;uvs^sF|9%_H{hNPo!$*5_XTi)_trA)Pb{ont-sbyc z?^!oJ?FCDAS*iukmYppoXS;YN|7$OZ`JaD$!)JSLXSK{(ie~bxkCK;ION)d~xDe-G zRdbl>%$!8#fMV0kb8JU-J(M{n%Y?@8v_7yfONj8>l@_ok%izq<_2)ORym;brX%4Tq lh!oG}6Psr)32AjUWVmh=A?=WzAPe*kgQu&X%Q~loCIIWmdXNAB literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/items/wrathshard.png b/assets/forbidden/textures/items/wrathshard.png new file mode 100644 index 0000000000000000000000000000000000000000..30d7e2497f8f45f31c4e358c91b6249a3b963053 GIT binary patch literal 2362 zcmV-A3B~q_P)H;LN@>a2%||vK~z{rrB_>TRM#2Zb31dj zXU1cD>@mIq4oQGGm&T!lkeU)8v;~T2T4ALMf~25UCMGoWl1p78oRCtPB#k0PRipN) z4}IxdU)mo~sZXh@iZrD+5^M}6w&&)V)wRAeCPGk!G!LKmnRE93uIpR-v#ZCP`z-RA z4$JU01^9jpi?6Q%eiFi`@#td(M7j8+>#|mD^V~B?bDQhTK-f*ZM z-u{V7uFJvF9|}nG@I4K|Q+>c&-M|6&KNVf40F!Cl!Ncn)n<=A|2PrEl7Y?tysgmmz zjJKkjn;)fomGUFXKFa4Q)t}zniyO)~eJE`QHc<9Zwo!VO*ohP>dy+SJaf1T9JcvFX zSl>{hPzsb5DS7q*;MBl%N^T0I`LlUke8u6uhLXFuex;!l+iyXEfK>aI!|gmYLV1ib zK{-H~IXV2v9xNjfOx)a=B)0J2Hz`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uEL}tTVd~0BbH);sM+r3iH&~7S`Dj7OHke;U% zXd0``(vZb{O6Ik-eu=VQ!Csc@L29wX&={}DXQ}wA=X?M?&WF%F>~nIIOg1i25m4Jg*KR(~WB^ zl^o+k>0aoI?Y9g6TC|3As1M_;>ek3eBr-T04o8=GQj8Q0@Oc|Z7ajNp*Tr%Y+VfSm z0I+pB$#ng;BrBuF+)x2;!B)i5{OJE!vhFhpQgu?56QQ-JmP@okGDpvM=Eh4h-nbky z4|wNW;&WT=)R1Da$;yLLfheJZ#k2)WTG#bz_T~6Ebah_8Be&7m*J1PZZ-Vy?Krtkq z5Zz+Qa%I&GqsX!Kn)6VEYVl4erzh^0fv7W`*~XY*pedMiXq@#S7p!Nj6|5V{=Z)B+ z2LXUgHLfFo1p6>FV+-j-BNv{BHNL~HXdC9hds`pDDn5w*gjI0_$GD5;0zF^P3P#(r zs`Y3Is`9hR13wP6I9b=UpAUdOM=OvN6$&N8k$1xTvB7+gWq65AAgB0n`YZ3lHi-9O zk=0a8M6DQOMXaG%e#1lr2bN?QV>J^~L?^z4_hlQ|2)Z9BjL*=}2%BX8ZD>H0SGiC|KuN3ONJ=*$(K&va~9})-jE% z4XhvCrS1UyA-3RNgGZV30o4&c;Kxzyo-P#tQ5%NijF7{7vTbEHc8?rzpGuHcE0I$w z<7yKo%Cn*oY=cyG;JyH0QkrvhRsVBvD6wxwCD0{c_o|EoW$kcHtE<&SjJDnr3wbZP zo)4pYRWh10^{Yy1we?I^YPW!xB#Kp8UjC|+{vL=q!SMKbij vo8dUo5fo literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/misc/greedy.png b/assets/forbidden/textures/misc/greedy.png new file mode 100644 index 0000000000000000000000000000000000000000..c1f5543a634ccd4a71c34b6707aa2cf0843f363c GIT binary patch literal 1480 zcmV;(1vmPMP)N2bPDNB8 zb~7$DE-^7j^FlWO00l%zL_t(oN41w}Y*kehg_nv08nqThMQgz#qLEsxl&Mpw16Zh) zqD9jvS_1+K1W=(0)d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*D77(+qIy5S$ec4k+0GJMhwN~m|H8qahRcYU@37B3 P00000NkvXXu0mjf{l(e= literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/misc/lucrative.png b/assets/forbidden/textures/misc/lucrative.png new file mode 100644 index 0000000000000000000000000000000000000000..1f5710dd84950f947c5c457d5aba83b0ca773ed7 GIT binary patch literal 2023 zcmVN2bPDNB8 zb~7$DE-^7j^FlWO00(19L_t(oM~znrP?TjDeh?H9R8%}LybtgMF$L5-Fa+-e#Ut=Q zG1F2rCn?7OoDgePei>_s1!QA2q9##? zs7H94O)Ku`MT~HE!qib6us(MbPTk9_n9RwkxE|FGncUx*s7r`zMTbLoi222L;zRL& zOTw4%6Ev-bz~vE0+&3N@za4|kb6>+6pBl*asDhRAdg0);G(0g{kJPnT`o1^g~Wrq;82+?O9 z4<_G8%7}?-jq8LE`Zl?N2U4TjVjI)V&LY;N&ZVFvKOJTI8Z$y2PeRG_Y$&FzVvH!U zV0sU%rTn($m$i-uOCb^hoEEaI{^FlMe`8o>B-#r$2VJ)$g8#8Bi z!yXDMHWFDDt|@VHg7T{iHK{YyO_Gv*cjrQ-^{^$z>?vaa&*qsXW-Ev*ET)j)kV51) zEf}ePXW&68eaE!B7TFfLB)8?%RNE+L1vL@SNwAt$7_`>JB`eGUsawH9K(C1Mz_+Up zCSFO!UH$M6ak$mFA@=Ty)z-w%>>bLbl7@}+xwRq*M)Ci$eo%vap;#eJ&!ub!`5=ip zr07X3*p*1#675>mLE@EJxUUQTX8}r?A(uWMjskt{j})l9@tW{+)1elILNRt!waVqz z5evo9J^C32Xdc)636F{hNN`m9cqqcWJrLf>8%qi@Z0r8+SQOF{b|qMp>n<^VySbDH z>-p&@;BzTXUP8b~LI}7sWqfJ2?TKBmiVbLI3G>?8#206vO zO@`D3T36is*6>e_BlKTXsG zou2{qZiMzbx_vo;#xtc})2U{$V>&OE7km}A2?XyF%(V76~LG_4l zBw+hhnZ2NTG=cK<(t`1mNT?@_4RMWB$Pu&(UqZQ(w2))qnyfWF1grVKoo)eRCI|_M z1uqJTpbIPoNhc#pjR6m032?Itv`RqADM>PU?!4 z#te|iHxdv9MGNiM#Y#sKSQXhjM9%4H$mdxZUShfcS$y7t5cite@yn2qfRwR4gcWhOPGZd|er6lX`%B%}u`GopldgX4kTrj(Pq?@8EA z#SR(pfiWxei>#Qi8PW6g7D(eoW*2+MS-x>TgYf#!Se#_7&uvrJq*!LaMuZeLqjHh| zzn_Y(*%Fv?os)hpH)5Ij2M}_VA4c>ex|m6d$sOL7{{>q literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/misc/pigbane.png b/assets/forbidden/textures/misc/pigbane.png new file mode 100644 index 0000000000000000000000000000000000000000..05c9e00c900895057c0a09cad6780d5763782d95 GIT binary patch literal 1399 zcmV--1&I2IP)N2bPDNB8 zb~7$DE-^7j^FlWO00i?%L_t(oN3~XKOp{j_1`5i6mdg-nxmD@pE|i;4H>I@PCCDrk z+H#S03X~S4Ew^wn;sv)6_h)9)xTrB3QNi2hrqfLj%*S}La(QX{ZWm)UP!#eI-%=b@~DEsivw-*2>&>S&g+A?{vqC1<^%a0fv3 znC>BU|Gp_9-b6xX69AnxCrJ6SWjXJwN_&x_Wg;K%a)ya+Y1%-dfZsD|ZnWMs)J1~ofa|di03vKc zT~JYT$05<6z7={n*tA-*`=#LEst8|SMS_5@R>#CxcFEEYp@5BA+gfHBfY#RL*`bXU zW5^>GTgWbm5Q=vX7$qSu7$qWS8_hINIUy=ZAkd=8x%D(lgOwH6Xl+5a&-2ezS9oqN z&a%&RRks-sr%RNdV?J)4XUuCGV-oxhgY4hB)bhxVW3^lb7*nU@M=VYQDMlPU1+K^3|8XpsY zy?Hq&@J^+iwZW^5jWshqzG=|^P#7K-Z*vK;5sFATz^tRRAHp1~jV@7~a;w2O{jja& zPkmD2MReFo%t^pT4syV|l$;0vI;zJ=P>ool2A9<#L}nahzVbK3{J62s%3MtIhYJg? zxi~px;#SfLxrNoi)y0dA|CJRf0%{Ty8f@BN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246PU*Oak>aCLKI;6WVRhvF9Q4!6_>&Sq5k}>XZgI0R zH^x|~o`#2?1H_P<)_IZr`5dSJ;K7W!rlI0<2IIp&ZiTHTR6Z}{>8r8L7ne(Qs#q{8 zpCwT5&<|<$HedOhVH7Eg++5$c@1P>st<#)r-T!UD>hez#ps!oDFF+N|$i6CFv#i@2 zc-o{Lr3Ny$7^3)rz*ApWKi9C{?bUcYup0=qW3*b2r{d;0DcEeA~?;i zJ;VACzf1wDJD55_I8@F4#`#JCzvx1GQIr3P@({V30?H4~T7OGf6l;fo1r9z^xs=}e zDRAAAY6_-mZ|jb8)<#&nj9S&i*DR^!b3nT0E-I-@bo~ailI!+8V^Qq7)DAB%?Mre_ z=(va{i-Rf!Ktv>!RudHw$shyTW}z%f1tuPdqpRl!I=@5C_wOT1nOs3GjK+xqHBOmp z1dPf=FcP%U4Yzt42lp9*z2+0~@#tH{f%{ekOz^*>5#?OLx@UW2oyl1(90F9UN3207 z!qAV5&MJ`$Hm4F$K2zTzH@+-=jG5RGiJB23kmeW-O9|?ZphQb*#88(sQ_>*kLNS%G}c0*}aI z1_r)^Ak4U9V)k30AbW|YuPggq4pu=+o_Zd!5}=S&iEBhjaDG}zd16s2LqK9?UWuNc zYluRbv7V`(p`rU{Cv%{xkDe}$ArbD$2@Op<=ZF2-zUTAv|1I{~|HK&#edgqqJX|mO z|LDJ(fAX8YpReEhyZ*&G0|Lf4>~?cbFk!()OmJdg*xuExI+f4x QE70={p00i_>zopr01uF-Pyhe` literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/models/wand_rod_blood.pdn b/assets/forbidden/textures/models/wand_rod_blood.pdn new file mode 100644 index 0000000000000000000000000000000000000000..39b8d76d9aad71bf849f5542cc8690d9fa111928 GIT binary patch literal 9475 zcmeHLdw5jUwa-Xi1E`@ssEQ;8ZLNcucV>G9%*>fLV*GA< zt)Eorwf*F_J|bElt%46!L_zHBRjO7}KuP7PPz)L%R@4ykICt-v3<+L(ZTsE(SMPzd z=In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z-&d_Se|m6qc=(N9vd|P8^orgS$31@@J2XOnaQ)Z!j^b|}CdV#qD10^XdvwkKlNn5X}Uy_$?^xq+UtRr0*Jt$WJ8yrWc^JDy zcX;hx^A}7Ej^Yom{_yPD_j<91!W|u8Jd)4+~>)x&t z?boWt2A(=RuyFqychGG7qU2gOv-cC}z9*j<+P-(?onwuvZO6vfW?Ac2)-n2vGuxWJ zK78+G7;k*@+3&XR{AB1v`@wfso?X}a+~M^+3L zZyWi^M&J0N?{&_4Vb%DXw##lBz8PHF%Wk{+#o@+d+gJRMo%4QwbV2{X?Jtk^#CP^y z(fe*@Xx2oX=k(C%1EL|~plj`1K9>#LJ^BT`e8b4_@X|5ynYv2!o|!T8iKeGeYWOeg CxvzHs literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/models/wand_rod_blood.png b/assets/forbidden/textures/models/wand_rod_blood.png new file mode 100644 index 0000000000000000000000000000000000000000..6376a3751f854d262fd839ef09e252cfa2bf9d99 GIT binary patch literal 1654 zcma)-X;72*7RLW?7P26cvNlYFSgE+sXhjr|CDwb53~# zBiIV>ga-gvg@(|+G}ol)TATU(8`s7(r3wuRJK8luthm z)}1^K0D3-@78u1zT&+EkyL60D_Nd_XuVt2wl(XG=uLsLaVHF^7Zf*RJEvoi~eKC)b zcUaW3=R$Jocq;F98)eP&vj0S$*S$X_Xa1^0M3V8e>-z}k2CChS|GP-p6l@5H%$BZUdASB9^N@YWSQIWLiEQ@vMfLJW99Q8PESlTiI z&iMz>8ycWcC=R2VOxoh}otl8$8P%#n=Q8bcbrs&&&}y~)TH2%a_wQ?V@(vs+xz>;C z$EYi^l}OM1{?5B@HcJ#-i%ZFIy|2>qNCP6lZSEKZxr+`zJO~NuRj=zjZWG9VSN)af`bE& zCh01S1%!8PApNZyjxx}K2KAQIAJp?xS&w_BxI1KsG_;-r>knn;-(Ts`lpb4n_K`nx zKCG%qDJJpwND3P*GT6aQ8YIsK(AS$Ecmo|T1JW7+0hKU>I0d>bK%m!TwYOwL?SnsF zZukIRq37Mde=U|()c1=ngu2Bku3M~aaqiAEz>T<>@R~RFfP4yERefX4+lw;5QwYK} z6mQN%0K;YhgnxW+=&7fSD;+U9zutEU<^C87`aGZBpY4%aoV(3Qr|9UY-3hQ2Ibb)- z8n^@;0O!Ir(GLqX!u%$XhVGMT3E)b=$P2~z`LXz0-@I~>q?7zw^_LNH$HKV_X~Z3a zOeEQBLXxGM@LTyAqwb9U0#D9Zpm(y|k?UwGrCE8iP=W(7>gKWxC;{-^WV`DQyz0>z zjm9#q;aF3ZP41r=T;HSy_^E@TNTFZ3a?8e1!6O6G2bWN?pqbXY<-`R(*miJOTyZ79 z;cy%$a^gvWNnmfxe-KXvM@Phh;6R}q8e<)_tB~4RJtP%F!P7`u_(f9sXl?W^p7^8R z1wdWe5`3cZKl=gc_rLK$WV}`w{|S|#LM(4wZ#rpyG?4ggeGq>A2g4tD@DN(O<(*=!+9$_`U_ z{ZmuIJTxg7*xsQjh|{_jD}Vkuv2C<~))!M7HGI9#75s!LH1+z`=Rl*xXwYspkguFY z_!2b-Q)~of0w3FHJkfZntE+dL;bp)%!q|@iinF&*MzUJ#&M5!*(GpayC0I_zwcA`` zmPkb)y&~KbqsDdp8t9ET;fJCcq`Ybr7PI<)Q=2wpk?OZ|JO?d;i zGr%tmdYQkl0_70soCClh0dq_$oj;oiPV+^@G^dxJRfMwdV5BJtCn9`O5vLL z{cF}~VeDUR1+AC3%H`ftscy0(C$PG*8B{xJ>s%+buAn*|&$AHq+La9bhBSLe9Y#0} zN-7?Tb)83H%n5~L%R6}u_Al2(d-UlHu+htT8{)hL7}yFeG+naZn`=kKf*i|rq)1t( zf5z+p{3LcFge?hQP@Nk=2o}U~|MS|)qVSuR{Xe literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/models/wand_rod_infernal.png b/assets/forbidden/textures/models/wand_rod_infernal.png new file mode 100644 index 0000000000000000000000000000000000000000..442d19d541cb80cc68c876eb2be7cae3e1bfcc7a GIT binary patch literal 473 zcmV;~0Ve*5P)H;LN@>a0YXVcK~z{r?Ut<$!e9(Vmu!0c zJsu$;Bp8ChpfCi3Bp4(PgToS@ZR^=~mpN2B^NFTxf}Xaw?XqQ=XJgu^!AU#;qza@8 z^c6Tv@(SCT9nGS4Ll3YnTY$Y8zrz5w77!!zO$Q+lj5kO|xlhxgDf`*{#q4edR0sgs zUM=8rR#cyPYXDIZyn6-6lt7OTfC}(T_CUA;5DX(Qh7fs{cL$)~!=Pw^?0I*KXu;ch z{#z8)*Sz)snh2}F%X&|6yu?T5{N}xT3m82F$P@@bODUuU2oDHlP5(6+A!Ep>(Qm}3 zrGy4Fita5~*&@;bA}Csr0I7sKfCcE+F0DWdjHVWnJAe+6Mi2l*DNVQoXzO){r_q5b z07w{sK=fgv6&(Vg(@XZ63IVwTP(||{a!`t8v;2q%K|EJIL(JN2`8#7zfZE-Wa P00000NkvXXu0mjfh?KJP literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/models/wand_rod_neutronium.png b/assets/forbidden/textures/models/wand_rod_neutronium.png new file mode 100644 index 0000000000000000000000000000000000000000..d165b00c9bbe3e6dd1c8d7c8c5e2fae22475beab GIT binary patch literal 2050 zcmbVN{Xf%v7yoR1mu<>J$R(%7nFob$tZo%hLN&}mz-JFozNt!}QA zgHjCo$IzRle)e*Lr4*o0#{-T4+{=~y8H|#~m>5^zH~{3@{xO6gKSCrWWms+ps4`R7 z-7Dx(GLlqj%yF zQRzpI0IG5)CQB1?LMy9NF!HB;C@-EGco++{It`5NZ`5?!(-4n*-x`b1`HrQfdFnTD26Jh<8UTd+wC+f2*-KR^!AcrOyE zFxhPX+cPu471lO38QdIW{HaR0>8jGGWjnd)0>sy~HQA6`*YoogEBZ^Vv`6#<#lvgg zq?s$$uo9AJY^*u5yv$?p`Fy7d`*-SoOMyo!56Of#={V;t4 z>j@9;ldtbsZSynuN`<-~kB%QNpNY#k^YHgyO}h}f*X6csLF>G++dDiw{BUe+47&8@ zNnTA&jX!qoT|%X}{!Y;P1V5Cz+Wy4xO}x7R;&zOBH{3ztl1Fn(66kJ!V zzHhN~V6a~C^V2*Qi*=j(KD;KmT0*Ryi07lptA{8mz0nZ7U;{(S+u^0LGR$lg-jL@D zb&F6JI7gwFXG*Fwhs?GG*;e9awsEI!Hlf$Tp>DCD$?Py~y)WD+FtGd#;YW{wji_TW z%>9=368!7eg4!F@%`LTBfbJY$^)yiym#O4pOM8q0D?7>Oe^hw9LZQx95Z6yYb8#so zDTL`9^ODm_0}7}vc3^t$+lGb)TtOeIueTSilj&DdROGiJ>>n7oGdDwjnS8nh?f0h@ zoA!XWyb(7vHdbvd{;~J>C$m5?VLr?GyvKVI)4lh;=ew7@*geOlaT{g zf<&l*xI5rMQxj!Z>h?m>N8|E@goI3^MM`A-6TN_d0Iu!ZhY9wRNnQSVbqI%m^H|T; z#oKf9-t{(sK~l%Q)h|ia0KZZx2p>Dz{@3?Vj2s{5SuPO^x{zlw-G9Y0W5b+ zsP!P7PG^oO)lNO1W^9)~K0zI?)|)-+7wAlGVE?rPKMe~D|M+>7zLO+xCJ4?j_9Lt+(l+q^Byqu1p?`<(#t*y z5iLfxz%()jOioVDSftsjp6K&X`Fu*7Zr|XlURk!%T&L!naxx+!;tZ?`ii?~E-$a)) z{bmnxCkmx{Kxpq}A>rDB2eO7ax0Xr}Qt_KjM1mI!>`3lJ{||jYT(0Tp`5g5>A6={0 ar&b5CdB45mv*BaX=M3DabV{955a+*)NtV(8 literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/models/wand_rod_soul.png b/assets/forbidden/textures/models/wand_rod_soul.png new file mode 100644 index 0000000000000000000000000000000000000000..2042790539ce7e86fa3f23cd6230017ab8763350 GIT binary patch literal 3023 zcmb7`=|2=~7sszzj4>f2vW#VrB|AfCq?rtoJ(RjFV~LPbgcyu{&(fV#vLw+$6M5{6 zB}-}~WhdKB2!rfP&vgF*&*$^JIOlxMd2zkC&i9=2ORzLI;z9|d003OZXG!N-k^IMy z2$rAB3e;u=xChaU2*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p5$0mt-ElTdHKq7Z$?)GZ*TvXu%-excWd5;;)MWS`ZR{sr}+MGj|owq6cqKtZe#TW z1bur_LfLaxVs~GjuYSQ5`S8WO%GOu-czn1z2YI30A2>jcjs@U22w&N>d0RI%4vI+h z)iN~4?~xufIkO2pGM89#L9VsjUTwC$pi@HbpK_|-HR-HqlhKtjrq=Ql@!+IQ-zVzU z67Te-b1A4fS!W)IZiBrTd)Fw}-tX*QG))|d7#D@D9;*}lX#-k+A?=vDgyfy3TPm$s zBt5-G!4Ur1oVJCcld_2eEgVOkU;`GRd&~cFWM&Aq>(SU*aJ&JIT}GW<(FE4OJhC>N zO=3KP@*0Dp4Mk9yGTz=1_0nH~OAQw>d;H2(MwH|I%?A%Oe*~RZv|y?g;!R)WTVInA zlPG_j#%veAhNG@Vu*(Yz(l5V(Nb(RtAPX!*Y=fij{>!-4fR~V4<;=-^0mg~$NS|H) zc)Wrz^P2r_W6OUO>?|&)>i4+u zB{FYAZ{1RD%UOu1k*tw-aaw;1f%tN6v$%D;Mmq-X9CQ`A+W&S1X@<=vQ`Pyo+&=;# zih{4CaNTJ=K4-UnHu1n{hNn5lNiHiMfYklTA6V;YhY0lYxhhqK^r6WwT?cQ8*xBrc zRH-s$d8F(HXD~C!Jnv%3D!_JIO?y8`Sj*F=%@Klo_NDcg?oxJmm&`15Rg$_`uVg=S zeO^Mn8VxDli#psGQQBYN zkk8+ElumU8`YHnEp7 zSFFntG=&b(z2-U&TME9%Xoe@rNR6YVmy?k+4FlGx09Ev(YbU3brq*10b8iZ-urzVdP{%CQ)m3iY4iD zYsbOhdX|@7+~NJ%nvI+QkD>DFnjUf^$FL~m&BLc~-Z$;{m0cdOPhVkXmR&^=+CrxCL+N#l;G zan6#UiAg=pV~40-kHmSM9Qrf`Sz?@Wih8+1{ DYzbqk literal 0 HcmV?d00001 diff --git a/assets/forbidden/textures/models/wand_rod_tainted.png b/assets/forbidden/textures/models/wand_rod_tainted.png new file mode 100644 index 0000000000000000000000000000000000000000..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b=b~{UY+@i>vUK72s7jkvItNz+>p~}NK1Qhu|vO1-} zM~c+LR^kDsz*LboSroE;JP4Y_t1VzJrUS7(o3qN1_Ty2D&YD<(Y*#-jVvjr%u)zCDAokI>EedNzJ+0@V_o!%g`As>CV@9Fd=(a!lANrp13XQ88r#R&Y z&Lnx7Wvq;nf_+p5j5&_ZI&b%PD$=`~`$3T0cZ>SmE36n6cW1*Nr~0Pw72M^cO2UW| zy{yrxDv|4&L_746naSq*+~}-!p2w7j!R%F_5HYj9*f5{sHDnWG*&Icg`9s@1LY z$M!^7hP$3cIy(m@tRTvCeAJc=Rx3NXJ}FmU893FDGPydhKp@ZzEb3A7uh~ICXa0VE zxOdjA*_G7S+FZaMUApcIV#S`*6*n#}os5moB+C$$XGp_+1P_>ai_J#p=rRHuo>p)| zaQOg*RBr84H5@qVbNO9O^ix2W5O-_b7&gctiN#JYXQ6%T~gm;9-bP|GmPJigvdo!rfe36Of z1A%|>2NUI(7_bZczJ!`x!rUqCj@i8tf5^{DVn!mlYJ{rh^Vi15WkjxrTYz{y)NcEU z{;-X5(;X%{$ao28j?6f}Sh;({d%6>2-|4rFE=ZVkS-{tfsE;?`;xd6}s_Llt@fdJ& zjcMup6@@H6%wCsCOPE%!_>2J{)GMDcqJYeZaLcxDx3vSl#p8vIO$%+|Cr9rzl|e8o zorS(;(0;{BVcKyD@y4iC*kGxn#pAt@q`TK5qQTghoX;2=GnhfhwIPeyjd!atan7(3 zfs&@SBg62a!G$<;h+l>##DFYD|HsMEVF?=$saj#)*h(mU^P2&hm4jvVL7&8b05ng0 AlmGw# literal 0 HcmV?d00001 diff --git a/src/com/spiteful/forbidden/CommonProxy.java b/src/com/spiteful/forbidden/CommonProxy.java new file mode 100644 index 0000000..a71a860 --- /dev/null +++ b/src/com/spiteful/forbidden/CommonProxy.java @@ -0,0 +1,9 @@ +package com.spiteful.forbidden; + +public class CommonProxy { + + public void registerRenderInfo(){ + + } + +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/Compat.java b/src/com/spiteful/forbidden/Compat.java new file mode 100644 index 0000000..e2077bd --- /dev/null +++ b/src/com/spiteful/forbidden/Compat.java @@ -0,0 +1,193 @@ +package com.spiteful.forbidden; + +import com.spiteful.forbidden.items.ForbiddenItems; + +import java.util.logging.Level; +import java.lang.reflect.Field; +import java.lang.reflect.Method; +import cpw.mods.fml.common.FMLLog; +import cpw.mods.fml.common.Loader; +import cpw.mods.fml.common.registry.GameRegistry; +import net.minecraft.util.ResourceLocation; +import net.minecraft.block.Block; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.aspects.AspectList; +import thaumcraft.api.ThaumcraftApi; +import thaumcraft.api.ThaumcraftApiHelper; +import thaumcraft.api.ItemApi; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.aspects.AspectList; +import thaumcraft.api.aspects.IEssentiaContainerItem; +import thaumcraft.api.wands.WandCap; +import thaumcraft.api.wands.WandRod; +import thaumcraft.api.wands.WandTriggerRegistry; +import thaumcraft.api.crafting.InfusionRecipe; +import thaumcraft.api.research.ResearchCategories; +import thaumcraft.api.research.ResearchCategoryList; +import thaumcraft.api.research.ResearchItem; +import thaumcraft.api.research.ResearchPage; +import playerbeacons.common.PlayerBeacons; + +public class Compat { + + public static boolean tt = false; + public static boolean kami = false; + public static boolean tx = false; + public static boolean natura = false; + public static boolean pb = false; + public static boolean bm = false; + + public static int tabletID = -1; + + public static void initiate() + { + if(Loader.isModLoaded("ThaumicTinkerer")) + tt = true; + if(Loader.isModLoaded("ThaumicTinkererKami")) + kami = true; + if(Loader.isModLoaded("ThaumicExploration")) + tx = true; + if(Loader.isModLoaded("Natura")) + natura = true; + if(Loader.isModLoaded("PlayerBeacons")) + pb = true; + if(Loader.isModLoaded("AWWayofTime")) + bm = true; + } + + public static void compatify() + { + ItemStack i; + AspectList list; + + if(tt && pb) + { + try + { + tabletID = ((Block)(Class.forName("vazkii.tinkerer.common.block.ModBlocks").getField("animationTablet").get(null))).blockID; + } + catch(Exception e) + { + FMLLog.log(Level.INFO, e, "Forbidden Magic doesn't have Thaumic Tinkerer's nose."); + e.printStackTrace(); + } + } + + if(tt && kami) + { + try { + + Item kamiShards = (Item)(Class.forName("vazkii.tinkerer.common.item.ModItems").getField("kamiResource").get(null)); + list = new AspectList().add(DarkAspects.NETHER, 2).add(Aspect.MAGIC, 1).add(Aspect.CRYSTAL, 1); + ThaumcraftApi.registerObjectTag(kamiShards.itemID, 6, list); + list = new AspectList().add(Aspect.ELDRITCH, 2).add(Aspect.MAGIC, 1).add(Aspect.CRYSTAL, 1); + ThaumcraftApi.registerObjectTag(kamiShards.itemID, 7, list); + + } + catch(Exception e) + { + FMLLog.log(Level.INFO, e, "Forbidden Magic doesn't have Thaumic Tinkerer's nose."); + e.printStackTrace(); + } + } + + if(natura) + { + try + { + list = (new AspectList()).add(Aspect.BEAST, 2).add(DarkAspects.NETHER, 4).add(DarkAspects.SLOTH, 2); + ThaumcraftApi.registerEntityTag("Natura.Imp", list); + list = (new AspectList()).add(Aspect.BEAST, 3).add(Aspect.FIRE, 3).add(DarkAspects.NETHER, 2); + ThaumcraftApi.registerEntityTag("Natura.HeatscarSpider", list); + ThaumcraftApi.registerEntityTag("Natura.FlameSpider", list); + list = (new AspectList()).add(Aspect.BEAST, 1).add(Aspect.FIRE, 2).add(DarkAspects.NETHER, 1); + ThaumcraftApi.registerEntityTag("Natura.BabyHeatscarSpider", list); + ThaumcraftApi.registerEntityTag("Natura.FlameSpiderBaby", list); + list = (new AspectList()).add(Aspect.BEAST, 2).add(Aspect.FIRE, 4).add(DarkAspects.NETHER, 2).add(Aspect.ENTROPY, 4); + ThaumcraftApi.registerEntityTag("Natura.NitroCreeper", list); + + i = GameRegistry.findItemStack("Natura", "Dark Tree", 1); + if(i != null){ + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(i.itemID, 1, 1)); + list.add(DarkAspects.WRATH, 2); + ThaumcraftApi.registerObjectTag(i.itemID, 1, list); + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(i.itemID, 1, 0)); + list.add(Aspect.DARKNESS, 2); + ThaumcraftApi.registerObjectTag(i.itemID, 0, list); + } + i = GameRegistry.findItemStack("Natura", "soil.tainted", 1); + if(i != null){ + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(i.itemID, 1, 0)); + list.add(DarkAspects.NETHER, 1); + ThaumcraftApi.registerObjectTag(i.itemID, -1, list); + } + i = GameRegistry.findItemStack("Natura", "heatsand", 1); + if(i != null){ + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(i.itemID, 1, 0)); + list.add(DarkAspects.NETHER, 1); + ThaumcraftApi.registerObjectTag(i.itemID, -1, list); + } + i = GameRegistry.findItemStack("Natura", "rawImphide", 1); + if(i != null){ + list = (new AspectList()).add(Aspect.FLESH, 4).add(Aspect.HUNGER, 1).add(DarkAspects.NETHER, 1); + ThaumcraftApi.registerObjectTag(i.itemID, 0, list); + list = (new AspectList()).add(Aspect.FLESH, 4).add(Aspect.POISON, 2).add(Aspect.FIRE, 2).add(DarkAspects.NETHER, 1); + ThaumcraftApi.registerObjectTag(i.itemID, 1, list); + } + } + catch(Exception e) + { + FMLLog.log(Level.INFO, e, "Forbidden Magic had an allergic reaction to Natura."); + e.printStackTrace(); + } + } + if(pb) + { + try + { + InfusionRecipe soul_recipe = ThaumcraftApi.addInfusionCraftingRecipe("ROD_soul", new ItemStack(ForbiddenItems.wandCore, 1, 2), 5, (new AspectList()).add(Aspect.ELDRITCH, 32).add(Aspect.MAGIC, 12).add(Aspect.SOUL, 16), new ItemStack(PlayerBeacons.defiledSoulPylonBlock), new ItemStack[]{ItemApi.getItem("itemResource", 14), new ItemStack(PlayerBeacons.defiledSoulConductorBlock), new ItemStack(PlayerBeacons.defiledSoulConductorBlock), new ItemStack(PlayerBeacons.defiledSoulConductorBlock), new ItemStack(PlayerBeacons.defiledSoulConductorBlock), new ItemStack(Item.eyeOfEnder), new ItemStack(Item.eyeOfEnder)}); + (new DarkResearchItem("ROD_soul", "THAUMATURGY", (new AspectList()).add(Aspect.ELDRITCH, 2).add(Aspect.SOUL, 1).add(Aspect.TOOL, 1), -5, 7, 4, new ItemStack(ForbiddenItems.wandCore, 1, 2))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.ROD_soul.1"), new ResearchPage(soul_recipe)}).setParents(new String[]{"ROD_silverwood", "PB_CRYSTAL"}).setConcealed().registerResearchItem(); + } + catch(Exception e) + { + FMLLog.log(Level.INFO, e, "Player Beacons showed Forbidden Magic who the Alpha Fox is."); + e.printStackTrace(); + } + } + if(bm) + { + try + { + Class bloodItems; + try + { + bloodItems = Class.forName("WayofTime.alchemicalWizardry.common.ModItems"); + } + catch(Exception e) + { + bloodItems = Class.forName("WayofTime.alchemicalWizardry.AlchemicalWizardry"); + } + Item masterOrb = (Item)(bloodItems.getField("masterBloodOrb").get(null)); + Item imbuedSlate = (Item)(bloodItems.getField("imbuedSlate").get(null)); + Item magicales = (Item)(bloodItems.getField("magicales").get(null)); + Item aether = (Item)(bloodItems.getField("aether").get(null)); + Item terrae = (Item)(bloodItems.getField("terrae").get(null)); + Item aquasalus = (Item)(bloodItems.getField("aquasalus").get(null)); + Item incendium = (Item)(bloodItems.getField("incendium").get(null)); + Item sanctus = (Item)(bloodItems.getField("sanctus").get(null)); + Item tennebrae = (Item)(bloodItems.getField("tennebrae").get(null)); + + InfusionRecipe blood_recipe = ThaumcraftApi.addInfusionCraftingRecipe("ROD_blood", new ItemStack(ForbiddenItems.wandCore, 1, 3), 2, (new AspectList()).add(Aspect.LIFE, 32).add(Aspect.MAGIC, 12).add(Aspect.WATER, 16), new ItemStack(masterOrb), new ItemStack[]{new ItemStack(magicales), new ItemStack(imbuedSlate), new ItemStack(imbuedSlate), new ItemStack(tennebrae), new ItemStack(sanctus), new ItemStack(aquasalus), new ItemStack(incendium), new ItemStack(terrae), new ItemStack(aether)}); + (new DarkResearchItem("ROD_blood", "THAUMATURGY", (new AspectList()).add(Aspect.LIFE, 2).add(Aspect.WATER, 1).add(Aspect.WEAPON, 1), -5, 9, 4, new ItemStack(ForbiddenItems.wandCore, 1, 3))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.ROD_blood.1"), new ResearchPage(blood_recipe)}).setParents(new String[]{"ROD_silverwood"}).setConcealed().registerResearchItem(); + + } + catch(Exception e) + { + FMLLog.log(Level.INFO, e, "Forbidden Magic tried to do some Blood Magic, but bled out."); + e.printStackTrace(); + } + } + } +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/Config.java b/src/com/spiteful/forbidden/Config.java new file mode 100644 index 0000000..b874324 --- /dev/null +++ b/src/com/spiteful/forbidden/Config.java @@ -0,0 +1,203 @@ +package com.spiteful.forbidden; + +import java.io.File; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Iterator; +import java.util.logging.Level; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.CraftingManager; +import net.minecraft.item.crafting.FurnaceRecipes; +import net.minecraft.util.WeightedRandomChestContent; +import net.minecraftforge.common.BiomeDictionary; +import net.minecraftforge.common.ChestGenHooks; +import net.minecraftforge.common.Configuration; +import net.minecraftforge.common.Property; +import net.minecraftforge.common.BiomeDictionary.Type; +import net.minecraftforge.oredict.OreDictionary; +import cpw.mods.fml.common.FMLLog; +import thaumcraft.api.ThaumcraftApi; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.ItemApi; + +public class Config +{ + public static HashMap spawnerMobs = new HashMap(); + + public static int shardID; + public static int skullAxeID; + public static int arcaneCakeItemID; + public static int taintShovelID; + public static int wandCoreID; + public static int resourceID; + public static int taintPickaxeID; + public static int mobCrystalID; + public static int forkID; + public static int morphPickaxeID; + public static int morphSwordID; + public static int morphShovelID; + public static int morphAxeID; + + public static int arcaneCakeBlockID; + public static int blackFlowerBlockID; + public static int wrathCageID; + + public static int clusterEnchID; + public static int pigBaneEnchID; + public static int greedyEnchID; + public static int consumingEnchID; + + public static int thaumcraftResourceID; + public static int thaumcraftTaintBlockID; + public static int thaumcraftTaintPotionID; + public static int thaumcraftTaintBiomeID; + + public static boolean noLust = false; + public static boolean silverfishEmeralds = true; + public static boolean noMeddling = false; + public static boolean tagResearch = true; + public static boolean wrathCage = true; + public static boolean spork = false; + public static boolean greedyEnch = true; + + public static int wrathCost = 5; + public static int wrathEff = 4; + + public static Material taintMaterial; + + public static void configurate(File targ) + { + Configuration conf = new Configuration(targ); + + try + { + conf.load(); + int idCount = 9342; + shardID = conf.getItem("Nether Shards", idCount++).getInt(); + skullAxeID = conf.getItem("Axe of the Skulltaker", idCount++).getInt(); + arcaneCakeItemID = conf.getItem("Thaumic Cake", idCount++).getInt(); + taintShovelID = conf.getItem("Shovel of the Purifier", idCount++).getInt(); + wandCoreID = conf.getItem("Wand Cores", idCount++).getInt(); + resourceID = conf.getItem("Various Resources", idCount++).getInt(); + taintPickaxeID = conf.getItem("Pickaxe of Distortion", idCount++).getInt(); + mobCrystalID = conf.getItem("Imprinting Crystal", idCount++).getInt(); + forkID = conf.getItem("Diabolist Fork", idCount++).getInt(); + morphPickaxeID = conf.getItem("Chameleon Pickaxe", idCount++).getInt(); + morphSwordID = conf.getItem("Chameleon Sword", idCount++).getInt(); + morphShovelID = conf.getItem("Chameleon Shovel", idCount++).getInt(); + morphAxeID = conf.getItem("Chameleon Axe", idCount++).getInt(); + + int blockCount = 3000; + arcaneCakeBlockID = conf.getBlock("Thaumic Cake", blockCount++).getInt(); + blackFlowerBlockID = conf.getBlock("Umbral Rose", blockCount++).getInt(); + wrathCageID = conf.getBlock("Wrath Cage", blockCount++).getInt(); + + int enchCount = 66; + clusterEnchID = conf.get("enchantments", "Lucrative", enchCount++).getInt(); + pigBaneEnchID = conf.get("enchantments", "Porcivore", enchCount++).getInt(); + greedyEnchID = conf.get("enchantments", "Greedy", enchCount++).getInt(); + consumingEnchID = conf.get("enchantments", "Consuming", enchCount++).getInt(); + + Property nl = conf.get("general", "No Lust", noLust); + nl.comment = "Enable to remove Luxuria aspect and related items."; + noLust = nl.getBoolean(false); + Property sf = conf.get("general", "Silverfish Drop Emerald Nuggets", silverfishEmeralds); + sf.comment = "Disable to prevent Silverfish from dropping emerald nuggets."; + silverfishEmeralds = sf.getBoolean(true); + Property ge = conf.get("general", "Greedy Enchantment", greedyEnch); + ge.comment = "Disable to remove the recipe and effects of the Greedy enchantment."; + greedyEnch = ge.getBoolean(true); + Property nm = conf.get("general", "Don't Be That Guy", noMeddling); + nm.comment = "Enable to turn the Infernal Furnace and Wand Focus: Nine Hells back to normal."; + noMeddling = nm.getBoolean(true); + Property tr = conf.get("general", "Tag Research Items", tagResearch); + tr.comment = "Disable to get rid of the [FM] tags in the Thaumonomicon."; + tagResearch = tr.getBoolean(true); + Property wc = conf.get("general", "Wrath Cage Enabled", wrathCage); + wc.comment = "Disable if you don't want players using the Wrath Cage."; + wrathCage = wc.getBoolean(true); + Property wf = conf.get("general", "Wrath Cage Fuel Cost", wrathCost); + wf.comment = "Cost of essentia per round of spawns in the Wrath Cage. Raise to increase essentia costs. Defaults to 1. Set to 0 to remove the need to fuel the Wrath Cage. Setting the cost above 64 is not recommended."; + wrathCost = wf.getInt(5); + Property we = conf.get("general", "Wrath Cage Fuel Efficiency", wrathEff); + we.comment = "Number of spawns a Wrath Cage can get per fuel cost. Defaults to 5. Lower to make the cage less efficient and raise to make it more efficient."; + wrathEff = we.getInt(4); + if(wrathEff < 0) + wrathEff = 4; + Property sd = conf.get("general", "Spork of Doom", spork); + sd.comment = "What is this? I don't even..."; + spork = sd.getBoolean(false); + } + catch (Exception e) + { + FMLLog.log(Level.SEVERE, e, "Forbidden Magic has a problem loading its configuration."); + } + finally + { + conf.save(); + } + + try { + + thaumcraftResourceID = ItemApi.getItem("itemResource", 0).itemID; + thaumcraftTaintBlockID = ItemApi.getBlock("blockTaint", 0).itemID; + taintMaterial = Block.blocksList[thaumcraftTaintBlockID].blockMaterial; + + thaumcraftTaintPotionID = Class.forName("thaumcraft.common.config.Config").getField("potionFluxTaintID").getInt(null); + thaumcraftTaintBiomeID = Class.forName("thaumcraft.common.config.Config").getField("biomeTaintID").getInt(null); + } + catch(Exception e) + { + FMLLog.log(Level.SEVERE, e, "Forbidden Magic is having a problem retrieving information from Thaumcraft."); + e.printStackTrace(); + } + + } + + public static void spawnilify() + { + if(wrathCage){ + spawnerMobs.put("Zombie", Aspect.FLESH); + spawnerMobs.put("Skeleton", Aspect.DEATH); + spawnerMobs.put("Creeper", Aspect.FIRE); + spawnerMobs.put("EntityHorse", Aspect.BEAST); + spawnerMobs.put("Pig", Aspect.BEAST); + spawnerMobs.put("Sheep", Aspect.CLOTH); + spawnerMobs.put("Cow", Aspect.BEAST); + spawnerMobs.put("MushroomCow", Aspect.PLANT); + spawnerMobs.put("Ozelot", Aspect.BEAST); + spawnerMobs.put("Chicken", Aspect.FLIGHT); + spawnerMobs.put("Squid", Aspect.SENSES); + spawnerMobs.put("Wolf", Aspect.BEAST); + spawnerMobs.put("Bat", Aspect.FLIGHT); + spawnerMobs.put("Spider", Aspect.CLOTH); + spawnerMobs.put("Slime", Aspect.SLIME); + spawnerMobs.put("Ghast", DarkAspects.NETHER); + spawnerMobs.put("PigZombie", Aspect.GREED); + spawnerMobs.put("Enderman", Aspect.ELDRITCH); + spawnerMobs.put("CaveSpider", Aspect.POISON); + if(silverfishEmeralds) + spawnerMobs.put("Silverfish", Aspect.GREED); + else + spawnerMobs.put("Silverfish", Aspect.STONE); + spawnerMobs.put("Blaze", Aspect.FIRE); + spawnerMobs.put("LavaSlime", Aspect.FIRE); + spawnerMobs.put("Witch", Aspect.MAGIC); + spawnerMobs.put("Firebat", Aspect.FIRE); + spawnerMobs.put("Wisp", Aspect.AURA); + spawnerMobs.put("ThaumSlime", Aspect.TAINT); + spawnerMobs.put("BrainyZombie", Aspect.MIND); + spawnerMobs.put("TaintSpider", Aspect.TAINT); + spawnerMobs.put("TaintSwarm", Aspect.TAINT); + spawnerMobs.put("TaintedPig", Aspect.TAINT); + //spawnerMobs.put("TaintedSheep", Aspect.TAINT); + spawnerMobs.put("TaintedCow", Aspect.TAINT); + spawnerMobs.put("TaintedChicken", Aspect.TAINT); + spawnerMobs.put("TaintedVillager", Aspect.TAINT); + //spawnerMobs.put("Taintacle", DarkAspects.LUST); + + } + } +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/DarkAspects.java b/src/com/spiteful/forbidden/DarkAspects.java new file mode 100644 index 0000000..d841b57 --- /dev/null +++ b/src/com/spiteful/forbidden/DarkAspects.java @@ -0,0 +1,262 @@ +package com.spiteful.forbidden; + +import com.spiteful.forbidden.items.ForbiddenItems; +import com.spiteful.forbidden.blocks.ForbiddenBlocks; + +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.aspects.AspectList; +import thaumcraft.api.ThaumcraftApi; +import thaumcraft.api.ThaumcraftApiHelper; +import thaumcraft.api.ItemApi; +import net.minecraft.util.ResourceLocation; +import net.minecraft.block.Block; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import java.util.Iterator; + +public class DarkAspects +{ + public static Aspect NETHER; + public static Aspect WRATH; + public static Aspect ENVY; + public static Aspect GLUTTONY; + public static Aspect PRIDE; + public static Aspect LUST; + public static Aspect SLOTH; + + public static void initAspects() + { + NETHER = new Aspect("infernus", 0xff0000, new Aspect[] {Aspect.FIRE, Aspect.MAGIC}, new ResourceLocation("forbidden", "textures/aspects/infernus.png"), 771); + if(!Config.noLust){ + LUST = new Aspect("luxuria", 0xffc1ce, new Aspect[] {Aspect.FLESH, Aspect.HUNGER}, new ResourceLocation("forbidden", "textures/aspects/luxuria.png"), 1); + } + PRIDE = new Aspect("superbia", 0x9639ff, new Aspect[] {Aspect.FLIGHT, Aspect.VOID}, new ResourceLocation("forbidden", "textures/aspects/superbia.png"), 1); + GLUTTONY = new Aspect("gula", 0xd59c46, new Aspect[] {Aspect.HUNGER, Aspect.HUNGER}, new ResourceLocation("forbidden", "textures/aspects/gula.png"), 1); + ENVY = new Aspect("invidia", 0x00ba00, new Aspect[] {Aspect.SENSES, Aspect.HUNGER}, new ResourceLocation("forbidden", "textures/aspects/invidia.png"), 1); + SLOTH = new Aspect("desidia", 0x6e6e6e, new Aspect[] {Aspect.TRAP, Aspect.SOUL}, new ResourceLocation("forbidden", "textures/aspects/desidia.png"), 771); + WRATH = new Aspect("ira", 0x870404, new Aspect[] {Aspect.WEAPON, Aspect.FIRE}, new ResourceLocation("forbidden", "textures/aspects/ira.png"), 771); + } + + public static void addAspects() + { + AspectList list; + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Block.netherrack)); + list.add(NETHER, 1); + ThaumcraftApi.registerObjectTag(Block.netherrack.blockID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Block.portal)); + list.add(NETHER, 4); + ThaumcraftApi.registerObjectTag(Block.portal.blockID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Block.oreNetherQuartz)); + list.add(NETHER, 2); + ThaumcraftApi.registerObjectTag(Block.oreNetherQuartz.blockID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.netherStar)); + list.add(NETHER, 8).add(PRIDE, 8); + ThaumcraftApi.registerObjectTag(Item.netherStar.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.netherStalkSeeds)); + list.add(NETHER, 1); + ThaumcraftApi.registerObjectTag(Item.netherStalkSeeds.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.netherrackBrick)); + list.add(NETHER, 1); + ThaumcraftApi.registerObjectTag(Item.netherrackBrick.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.ghastTear)); + list.add(NETHER, 4); + ThaumcraftApi.registerObjectTag(Item.ghastTear.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.skull.itemID, 1, 1)); + list.add(NETHER, 4); + ThaumcraftApi.registerObjectTag(Item.skull.itemID, 1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.skull.itemID, 1, 4)); + list.add(WRATH, 2); + ThaumcraftApi.registerObjectTag(Item.skull.itemID, 4, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.enderPearl)); + list.add(PRIDE, 1); + ThaumcraftApi.registerObjectTag(Item.enderPearl.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.rottenFlesh)); + list.add(GLUTTONY, 1); + ThaumcraftApi.registerObjectTag(Item.rottenFlesh.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Block.slowSand)); + list.add(NETHER, 1); + ThaumcraftApi.registerObjectTag(Block.slowSand.blockID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Block.tnt)); + list.add(WRATH, 2); + ThaumcraftApi.registerObjectTag(Block.tnt.blockID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.helmetGold)); + list.add(PRIDE, 2); + ThaumcraftApi.registerObjectTag(Item.helmetGold.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.plateGold)); + list.add(PRIDE, 1); + ThaumcraftApi.registerObjectTag(Item.plateGold.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.legsGold)); + list.add(PRIDE, 1); + ThaumcraftApi.registerObjectTag(Item.legsGold.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.bootsGold)); + list.add(PRIDE, 1); + ThaumcraftApi.registerObjectTag(Item.bootsGold.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.swordGold)); + if(list != null) + list.add(PRIDE, 2); + ThaumcraftApi.registerObjectTag(Item.swordGold.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.bed)); + list.add(SLOTH, 2); + ThaumcraftApi.registerObjectTag(Item.bed.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.eyeOfEnder)); + list.add(ENVY, 4); + ThaumcraftApi.registerObjectTag(Item.eyeOfEnder.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.cake)); + list.add(GLUTTONY, 7); + ThaumcraftApi.registerObjectTag(Item.cake.itemID, -1, list); + + list = ThaumcraftApiHelper.getObjectAspects(new ItemStack(Item.cookie)); + list.add(GLUTTONY, 1); + ThaumcraftApi.registerObjectTag(Item.cookie.itemID, -1, list); + + Iterator mobCount = ThaumcraftApi.scanEntities.iterator(); + + while (mobCount.hasNext()) + { + ThaumcraftApi.EntityTags mobTag = (ThaumcraftApi.EntityTags)mobCount.next(); + + if (mobTag.entityName.equals("BrainyZombie")) + { + mobTag.aspects.add(WRATH, 3); + } + + else if (mobTag.entityName.equals("GiantBrainyZombie")) + { + mobTag.aspects.add(WRATH, 4); + } + + else if (mobTag.entityName.equals("Firebat")) + { + mobTag.aspects.add(WRATH, 1).add(NETHER, 2); + } + + else if (mobTag.entityName.equals("Skeleton") && mobTag.nbts.length > 0) + { + mobTag.aspects.add(NETHER, 3); + } + + else if (mobTag.entityName.equals("Creeper")) + { + if(mobTag.nbts.length > 0) + mobTag.aspects.add(WRATH, 4); + else + mobTag.aspects.add(WRATH, 2); + } + + else if (mobTag.entityName.equals("WitherBoss")) + { + mobTag.aspects.add(NETHER, 7).add(WRATH, 7); + } + + else if (mobTag.entityName.equals("Ozelot")) + { + mobTag.aspects.add(SLOTH, 3); + } + + else if (mobTag.entityName.equals("Enderman")) + { + mobTag.aspects.add(PRIDE, 4).add(ENVY, 4); + } + + else if (mobTag.entityName.equals("Ghast")) + { + mobTag.aspects.add(NETHER, 3).add(WRATH, 3); + } + + else if (mobTag.entityName.equals("PigZombie")) + { + mobTag.aspects.add(WRATH, 6); + } + + else if (mobTag.entityName.equals("EnderDragon")) + { + mobTag.aspects.add(PRIDE, 10); + } + + else if (!Config.noLust && mobTag.entityName.equals("Taintacle")) + { + mobTag.aspects.add(LUST, 3); + } + + else if (mobTag.entityName.equals("Pig")) + { + mobTag.aspects.add(GLUTTONY, 3); + } + + else if(mobTag.entityName.equals("LavaSlime")) + { + mobTag.aspects.add(NETHER, 1); + } + + else if(!Config.noLust && mobTag.entityName.equals("TwilightForest.Forest Bunny")) + { + mobTag.aspects.add(LUST, 5); + } + + else if(mobTag.entityName.equals("TwilightForest.Mini Ghast")) + { + mobTag.aspects.add(NETHER, 1).add(WRATH, 1); + } + + else if(mobTag.entityName.equals("TwilightForest.Tower Boss")) + { + mobTag.aspects.add(NETHER, 10).add(WRATH, 10); + } + + else if(mobTag.entityName.equals("TwilightForest.Tower Ghast")) + { + mobTag.aspects.add(NETHER, 3).add(WRATH, 3); + } + + else if(mobTag.entityName.equals("TwilightForest.Twilight Lich")) + { + mobTag.aspects.add(PRIDE, 10); + } + + else if(!Config.noLust && mobTag.entityName.equals("TwilightForest.Pinch Beetle")) + { + mobTag.aspects.add(LUST, 3); + } + + else if(mobTag.entityName.equals("TwilightForest.King Spider")) + { + mobTag.aspects.add(PRIDE, 4); + } + } + + ThaumcraftApi.registerObjectTag(ForbiddenItems.deadlyShards.itemID, 0, (new AspectList()).add(NETHER, 1).add(WRATH, 2).add(Aspect.CRYSTAL, 1)); + ThaumcraftApi.registerObjectTag(ForbiddenItems.deadlyShards.itemID, 1, (new AspectList()).add(NETHER, 1).add(ENVY, 2).add(Aspect.CRYSTAL, 1)); + ThaumcraftApi.registerObjectTag(ForbiddenItems.deadlyShards.itemID, 2, (new AspectList()).add(Aspect.TAINT, 3).add(Aspect.CRYSTAL, 1)); + ThaumcraftApi.registerObjectTag(ForbiddenItems.deadlyShards.itemID, 3, (new AspectList()).add(NETHER, 1).add(PRIDE, 2).add(Aspect.CRYSTAL, 1)); + if(!Config.noLust) + ThaumcraftApi.registerObjectTag(ForbiddenItems.deadlyShards.itemID, 4, (new AspectList()).add(NETHER, 1).add(LUST, 2).add(Aspect.CRYSTAL, 1)); + else + ThaumcraftApi.registerObjectTag(ForbiddenItems.deadlyShards.itemID, 4, (new AspectList()).add(Aspect.VOID, 1)); + ThaumcraftApi.registerObjectTag(ForbiddenItems.deadlyShards.itemID, 5, (new AspectList()).add(NETHER, 1).add(SLOTH, 2).add(Aspect.CRYSTAL, 1)); + ThaumcraftApi.registerObjectTag(ForbiddenItems.deadlyShards.itemID, 6, (new AspectList()).add(NETHER, 1).add(Aspect.GREED, 2).add(Aspect.CRYSTAL, 1)); + ThaumcraftApi.registerObjectTag(ForbiddenItems.resource.itemID, 0, (new AspectList()).add(Aspect.CRYSTAL, 1)); + ThaumcraftApi.registerObjectTag(ForbiddenItems.resource.itemID, 1, (new AspectList()).add(Aspect.DARKNESS, 1)); + ThaumcraftApi.registerObjectTag(ForbiddenBlocks.blackFlower.blockID, -1, (new AspectList()).add(Aspect.PLANT, 1).add(Aspect.LIFE, 1).add(Aspect.SENSES, 1).add(Aspect.DARKNESS, 1)); + } +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/DarkResearchItem.java b/src/com/spiteful/forbidden/DarkResearchItem.java new file mode 100644 index 0000000..2b69fa7 --- /dev/null +++ b/src/com/spiteful/forbidden/DarkResearchItem.java @@ -0,0 +1,43 @@ +package com.spiteful.forbidden; + +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraft.util.StatCollector; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.aspects.AspectList; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import thaumcraft.api.research.ResearchItem; + +public class DarkResearchItem extends ResearchItem +{ + public DarkResearchItem(String par1, String par2) + { + super(par1, par2); + } + + public DarkResearchItem(String par1, String par2, AspectList tags, int par3, int par4, int par5, ResourceLocation icon) + { + super(par1, par2, tags, par3, par4, par5, icon); + } + + public DarkResearchItem(String par1, String par2, AspectList tags, int par3, int par4, int par5, ItemStack icon) + { + super(par1, par2, tags, par3, par4, par5, icon); + } + + @SideOnly(Side.CLIENT) + public String getName() + { + return StatCollector.translateToLocal("forbidden.research_name." + key); + } + + @SideOnly(Side.CLIENT) + public String getText() + { + if(Config.tagResearch) + return "[FM] " + StatCollector.translateToLocal("forbidden.research_text." + key); + else + return StatCollector.translateToLocal("forbidden.research_text." + key); + } +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/FMEventHandler.java b/src/com/spiteful/forbidden/FMEventHandler.java new file mode 100644 index 0000000..bea0d30 --- /dev/null +++ b/src/com/spiteful/forbidden/FMEventHandler.java @@ -0,0 +1,355 @@ +package com.spiteful.forbidden; + +import com.spiteful.forbidden.items.ForbiddenItems; +import com.spiteful.forbidden.blocks.ForbiddenBlocks; +import com.spiteful.forbidden.blocks.BlockBlackFlower; +import com.spiteful.forbidden.enchantments.*; + +import java.util.Random; +import net.minecraft.block.Block; +import net.minecraft.entity.EnumCreatureAttribute; +import net.minecraft.entity.EntityList; +import net.minecraft.entity.EntityLiving; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.boss.IBossDisplayData; +import net.minecraft.entity.monster.IMob; +import net.minecraft.entity.monster.EntityCreeper; +import net.minecraft.entity.monster.EntityPigZombie; +import net.minecraft.entity.monster.EntitySilverfish; +import net.minecraft.entity.monster.EntitySkeleton; +import net.minecraft.entity.monster.EntitySpider; +import net.minecraft.entity.monster.EntityZombie; +import net.minecraft.entity.passive.EntityVillager; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemTool; +import net.minecraft.item.ItemSword; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.enchantment.Enchantment; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagString; +import net.minecraft.world.biome.BiomeGenBase; +import net.minecraftforge.common.FakePlayer; +import net.minecraftforge.event.ForgeSubscribe; +import net.minecraftforge.event.entity.living.LivingAttackEvent; +import net.minecraftforge.event.entity.living.LivingDeathEvent; +import net.minecraftforge.event.entity.living.LivingDropsEvent; +import net.minecraftforge.event.entity.living.LivingHurtEvent; +import net.minecraftforge.event.entity.living.LivingSetAttackTargetEvent; +import net.minecraftforge.event.entity.living.LivingSpawnEvent; +import net.minecraftforge.event.entity.player.ItemTooltipEvent; +import net.minecraftforge.event.world.BlockEvent.HarvestDropsEvent; +import net.minecraftforge.event.Event.Result; +import net.minecraftforge.event.entity.player.BonemealEvent; +import thaumcraft.common.entities.ITaintedMob; +import thaumcraft.common.entities.monster.EntityFireBat; +import thaumcraft.common.items.wands.ItemWandCasting; +import thaumcraft.common.lib.Utils; +import thaumcraft.api.aspects.Aspect; + +public class FMEventHandler +{ + Random randy = new Random(); + final Aspect[] primals = {Aspect.ENTROPY, Aspect.ORDER, Aspect.FIRE, Aspect.WATER, Aspect.EARTH, Aspect.AIR}; + + @ForgeSubscribe + public void onLivingDrops(LivingDropsEvent event) + { + if(Config.silverfishEmeralds && event.entityLiving instanceof EntitySilverfish){ + + if(event.entityLiving.worldObj.getBiomeGenForCoords((int)event.entityLiving.posX, (int)event.entityLiving.posZ).biomeID == + BiomeGenBase.extremeHills.biomeID){ + if(event.recentlyHit && event.source.getEntity() != null + && event.source.getEntity() instanceof EntityPlayer && randy.nextInt(30) <= (2 + event.lootingLevel * 2)) + addDrop(event, new ItemStack(ForbiddenItems.resource, 1, 0)); + } + else if(event.recentlyHit && event.source.getEntity() != null && event.source.getEntity() instanceof EntityPlayer + && !(event.source.getEntity() instanceof FakePlayer) && randy.nextInt(70) <= (1 + event.lootingLevel * 3)){ + + addDrop(event, new ItemStack(ForbiddenItems.resource, 1, 0)); + } + + } + + if(Config.greedyEnch && (event.entityLiving instanceof EntityVillager || event.entityLiving instanceof IMob) && + event.recentlyHit && event.source.getEntity() != null && event.source.getEntity() instanceof EntityPlayer) + { + EntityPlayer player = (EntityPlayer)event.source.getEntity(); + ItemStack equip = player.getCurrentEquippedItem(); + if(equip != null && EnchantmentHelper.getEnchantmentLevel(DarkEnchantments.greedy.effectId, equip) > 0 + && event.lootingLevel <= 0) + { + if(event.entityLiving instanceof EntityVillager) + addDrop(event, new ItemStack(Item.emerald, 1)); + else if(randy.nextInt(35) < 3) + addDrop(event, new ItemStack(ForbiddenItems.resource, 1, 0)); + } + } + + if (event.entityLiving.getClass() == EntitySkeleton.class && event.recentlyHit && event.source.getEntity() != null + && event.source.getEntity() instanceof EntityPlayer) + { + ItemStack weap = ((EntityPlayer)event.source.getEntity()).getCurrentEquippedItem(); + + if (weap != null && weap.itemID == ForbiddenItems.skullAxe.itemID && randy.nextInt(26) <= (3 + EnchantmentHelper.getEnchantmentLevel(Enchantment.looting.effectId, weap))) + { + addDrop(event, new ItemStack(Item.skull.itemID, 1, ((EntitySkeleton)event.entityLiving).getSkeletonType())); + } + } + + if (event.entityLiving.getClass() == EntityZombie.class && event.recentlyHit && event.source.getEntity() != null + && event.source.getEntity() instanceof EntityPlayer) + { + ItemStack weap = ((EntityPlayer)event.source.getEntity()).getCurrentEquippedItem(); + + if (weap != null && weap.itemID == ForbiddenItems.skullAxe.itemID && randy.nextInt(26) <= (2 + 2 * EnchantmentHelper.getEnchantmentLevel(Enchantment.looting.effectId, weap))) + { + addDrop(event, new ItemStack(Item.skull.itemID, 1, 2)); + } + } + + if (event.entityLiving.getClass() == EntityCreeper.class && event.recentlyHit && event.source.getEntity() != null + && event.source.getEntity() instanceof EntityPlayer) + { + ItemStack weap = ((EntityPlayer)event.source.getEntity()).getCurrentEquippedItem(); + + if (weap != null && weap.itemID == ForbiddenItems.skullAxe.itemID && randy.nextInt(26) <= (2 + 2 * EnchantmentHelper.getEnchantmentLevel(Enchantment.looting.effectId, weap))) + { + addDrop(event, new ItemStack(Item.skull.itemID, 1, 4)); + } + } + + if (event.entityLiving instanceof EntityPlayer && event.recentlyHit && event.source.getEntity() != null + && event.source.getEntity() instanceof EntityPlayer) + { + ItemStack weap = ((EntityPlayer)event.source.getEntity()).getCurrentEquippedItem(); + + if (weap != null && weap.itemID == ForbiddenItems.skullAxe.itemID && randy.nextInt(11) <= (1 + EnchantmentHelper.getEnchantmentLevel(Enchantment.looting.effectId, weap))) + { + ItemStack head = new ItemStack(Item.skull.itemID, 1, 3); + NBTTagCompound nametag = new NBTTagCompound(); + nametag.setString("SkullOwner", ((EntityPlayer)event.entityLiving).username); + head.setTagInfo("SkullOwner", nametag); + addDrop(event, head); + } + } + + if (event.entityLiving.worldObj.provider.dimensionId != -1) + return; + + if (!event.recentlyHit || event.source.getEntity() == null || !(event.source.getEntity() instanceof EntityPlayer) + || event.source.getEntity() instanceof FakePlayer) + { + if (randy.nextInt(30) < 4) + { + addDrop(event, new ItemStack(ForbiddenItems.deadlyShards, 1 + randy.nextInt(3), 5)); + } + } + + if (event.recentlyHit && event.source.getEntity() != null && event.source.getEntity() instanceof EntityPlayer + && !(event.source.getEntity() instanceof FakePlayer)) + { + if (event.entityLiving instanceof IMob) + { + int wrath = 2; + ItemStack heldItem = ((EntityPlayer)event.source.getEntity()).getCurrentEquippedItem(); + + if (heldItem != null) + { + if (heldItem.getItem() instanceof ItemTool) + { + wrath += (int)(((ItemTool)heldItem.getItem()).damageVsEntity); + } + else if (heldItem.getItem() instanceof ItemSword) + { + wrath += (int)(((ItemSword)heldItem.getItem()).func_82803_g() + 4.0F); + } + + wrath += EnchantmentHelper.getEnchantmentLevel(Enchantment.sharpness.effectId, heldItem); + wrath += EnchantmentHelper.getEnchantmentLevel(Enchantment.power.effectId, heldItem); + + if (!event.entityLiving.isImmuneToFire()) + { + wrath += EnchantmentHelper.getEnchantmentLevel(Enchantment.fireAspect.effectId, heldItem); + wrath += EnchantmentHelper.getEnchantmentLevel(Enchantment.flame.effectId, heldItem); + } + + if (event.entityLiving.isEntityUndead()) + { + wrath += EnchantmentHelper.getEnchantmentLevel(Enchantment.smite.effectId, heldItem); + } + + if (event.entityLiving.getCreatureAttribute() == EnumCreatureAttribute.ARTHROPOD) + { + wrath += EnchantmentHelper.getEnchantmentLevel(Enchantment.baneOfArthropods.effectId, heldItem); + } + } + + if (randy.nextInt(61) <= wrath) + { + addDrop(event, new ItemStack(ForbiddenItems.deadlyShards, 1, 0)); + } + + if(event.entityLiving instanceof IBossDisplayData){ + addDrop(event, new ItemStack(ForbiddenItems.deadlyShards, 2 + randy.nextInt(1 + event.lootingLevel), 3)); + } + } + + if (event.entityLiving instanceof EntityPigZombie && !(event.source.getEntity() instanceof FakePlayer)) + { + if (event.entityLiving.getHeldItem() != null && event.entityLiving.getHeldItem().itemID == ForbiddenItems.deadlyShards.itemID + && event.entityLiving.getHeldItem().getItemDamage() == 1) + { + addDrop(event, new ItemStack(ForbiddenItems.deadlyShards, 1, 1)); + } + } + } + } + + public void addDrop(LivingDropsEvent event, ItemStack drop) + { + EntityItem entityitem = new EntityItem(event.entityLiving.worldObj, event.entityLiving.posX, event.entityLiving.posY, event.entityLiving.posZ, drop); + entityitem.delayBeforeCanPickup = 10; + event.drops.add(entityitem); + } + + @ForgeSubscribe + public void onDeath(LivingDeathEvent event){ + if(event.source.getEntity() != null && event.source.getEntity() instanceof EntityPlayer + && ((EntityPlayer)event.source.getEntity()).getCurrentEquippedItem() != null + && ((EntityPlayer)event.source.getEntity()).getCurrentEquippedItem().itemID == ForbiddenItems.fork.itemID){ + String name = null; + try { + name = EntityList.getEntityString(event.entityLiving); + } + catch(Exception e){ + try { + name = event.entityLiving.getEntityName(); + } + catch(Exception ee){ + return; + } + } + finally { + if(name == null) + return; + } + if(Config.spawnerMobs.containsKey(name)) + imprintCrystal((EntityPlayer)(event.source.getEntity()), name); + } + } + + public void imprintCrystal(EntityPlayer player, String mob){ + for(int x = 0; x < player.inventory.getSizeInventory(); ++x) { + ItemStack item = player.inventory.getStackInSlot(x); + if(item != null && item.itemID == ForbiddenItems.mobCrystal.itemID + && (!item.hasTagCompound() || item.getTagCompound().getTag("mob") == null)){ + NBTTagString mobTag = new NBTTagString("mob", mob); + item.setTagInfo("mob", mobTag); + return; + } + } + } + + @ForgeSubscribe + public void onHarvest(HarvestDropsEvent event) + { + EntityPlayer player = event.harvester; + if(player != null && player.inventory.getCurrentItem() != null) + { + ItemStack equip = player.inventory.getCurrentItem(); + if(equip.itemID == ForbiddenItems.taintShovel.itemID + && event.block.blockMaterial == Config.taintMaterial && !(event.block.blockID == Config.thaumcraftTaintBlockID && event.blockMetadata == 2)) + { + int fortune = EnchantmentHelper.getFortuneModifier(player); + int chance = 1 + (2 * fortune); + if(event.isSilkTouching) + chance += 6; + + if(randy.nextInt(51) <= chance) { + event.drops.add(new ItemStack(ForbiddenItems.deadlyShards, 1, 2)); + } + } + if(EnchantmentHelper.getEnchantmentLevel(DarkEnchantments.cluster.effectId, equip) > 0 && EnchantmentHelper.getFortuneModifier(player) == 0){ + if(event.drops != null && event.drops.size() > 0) { + int cluster = EnchantmentHelper.getEnchantmentLevel(DarkEnchantments.cluster.effectId, equip); + float chance = 0.2F + (float)cluster * 0.075F; + + for(int a = 0; a < event.drops.size(); ++a) + { + ItemStack is = (ItemStack)event.drops.get(a); + ItemStack smr = Utils.findSpecialMiningResult(is, chance, event.world.rand); + if(!is.isItemEqual(smr)) + { + event.drops.set(a, smr); + if(!event.world.isRemote) + { + event.world.playSoundEffect((double)((float)event.x + 0.5F), (double)((float)event.y + 0.5F), (double)((float)event.z + 0.5F), "random.orb", 0.2F, 0.7F + event.world.rand.nextFloat() * 0.2F); + } + } + } + } + } + if(EnchantmentHelper.getEnchantmentLevel(DarkEnchantments.consuming.effectId, equip) > 0){ + for(int x = 0;x < event.drops.size();x++) + { + ItemStack drop = (ItemStack)event.drops.get(x); + if(drop != null && (drop.itemID == Block.cobblestone.blockID || drop.itemID == Block.dirt.blockID || drop.itemID == Block.netherrack.blockID)) + event.drops.remove(x); + } + } + } + } + + @ForgeSubscribe + public void onBonemeal(BonemealEvent event){ + if(event.ID == ForbiddenBlocks.blackFlower.blockID){ + ((BlockBlackFlower)ForbiddenBlocks.blackFlower).spreadFlowers(event.world, event.X, event.Y, event.Z, randy); + event.setResult(Result.ALLOW); + } + } + + @ForgeSubscribe + public void onSpawn(LivingSpawnEvent event){ + if(event.entityLiving.worldObj.provider.dimensionId == -1 && event.entityLiving instanceof EntityPigZombie + && randy.nextInt(175) == 1) + event.entityLiving.setCurrentItemOrArmor(0, new ItemStack(ForbiddenItems.deadlyShards, 1, 1)); + } + + @ForgeSubscribe + public void onGetHurt(LivingHurtEvent event){ + if(event.entityLiving instanceof EntityPlayer && ((EntityPlayer)event.entityLiving).getCurrentEquippedItem() != null + && ((EntityPlayer)event.entityLiving).getCurrentEquippedItem().getItem() instanceof ItemWandCasting){ + + ItemStack wand = ((EntityPlayer)event.entityLiving).getCurrentEquippedItem(); + if(event.source.getDamageType().equals("taint") && ((ItemWandCasting)wand.getItem()).getRod(wand).getTag().equals("tainted")){ + + for(int x = 0;x < 3;x++){ + ((ItemWandCasting)wand.getItem()).addVis(wand, primals[randy.nextInt(6)], 1, true); + } + + } + + if((event.source.getDamageType().equals("wither") || event.source.isFireDamage()) + && ((ItemWandCasting)wand.getItem()).getRod(wand).getTag().equals("infernal")){ + + event.setCanceled(true); + } + } + } + + @ForgeSubscribe + public void onTooltip(ItemTooltipEvent event) + { + if(!Compat.bm) + return; + if(event.itemStack.getItem() instanceof ItemWandCasting && ((ItemWandCasting)event.itemStack.getItem()).getRod(event.itemStack).getTag().equals("blood")){ + if (!event.itemStack.stackTagCompound.getString("ownerName").equals("")) + { + event.toolTip.add("Current owner: " + event.itemStack.stackTagCompound.getString("ownerName")); + } + } + } + +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/FauxResearchItem.java b/src/com/spiteful/forbidden/FauxResearchItem.java new file mode 100644 index 0000000..14c2000 --- /dev/null +++ b/src/com/spiteful/forbidden/FauxResearchItem.java @@ -0,0 +1,82 @@ +package com.spiteful.forbidden; + +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import net.minecraft.util.StatCollector; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.aspects.AspectList; +import thaumcraft.api.research.*; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +public class FauxResearchItem extends ResearchItem +{ + public ResearchItem original; + + public FauxResearchItem(String name, String cat, String origin, String originCategory, int x, int y, ResourceLocation icon) + { + super(name, cat, new AspectList(), x, y, 1, icon); + original = ((ResearchCategoryList)ResearchCategories.researchCategories.get(originCategory)).research.get(origin); + bindToOriginal(); + setStub(); + setHidden(); + } + + public FauxResearchItem(String name, String cat, String origin, String originCategory, int x, int y, ItemStack icon) + { + super(name, cat, new AspectList(), x, y, 1, icon); + original = ((ResearchCategoryList)ResearchCategories.researchCategories.get(originCategory)).research.get(origin); + bindToOriginal(); + setStub(); + setHidden(); + } + + private void bindToOriginal() + { + if(original.siblings == null) + original.setSiblings(new String[]{key}); + else + { + String[] family = original.siblings; + String[] newFamily = new String[family.length + 1]; + for(int x = 0;x < family.length;x++){ + newFamily[x] = family[x]; + } + newFamily[family.length] = key; + original.setSiblings(newFamily); + } + } + + public ResearchPage[] getPages() + { + return original.getPages(); + } + + @SideOnly(Side.CLIENT) + public String getName() + { + return original.getName(); + } + + @SideOnly(Side.CLIENT) + public String getText() + { + return original.getText(); + } + + public boolean isStub() + { + return true; + } + + public boolean isHidden() + { + return true; + } + + public int getComplexity() + { + return 1; + } + +} diff --git a/src/com/spiteful/forbidden/Forbidden.java b/src/com/spiteful/forbidden/Forbidden.java new file mode 100644 index 0000000..c834b9d --- /dev/null +++ b/src/com/spiteful/forbidden/Forbidden.java @@ -0,0 +1,81 @@ +package com.spiteful.forbidden; + +import com.spiteful.forbidden.items.ForbiddenItems; +import com.spiteful.forbidden.blocks.ForbiddenBlocks; +import com.spiteful.forbidden.enchantments.DarkEnchantments; +import com.spiteful.forbidden.client.ClientProxy; + +import net.minecraftforge.common.MinecraftForge; +import cpw.mods.fml.common.FMLLog; +import cpw.mods.fml.common.Mod; +import cpw.mods.fml.common.SidedProxy; +import cpw.mods.fml.common.Mod.EventHandler; +import cpw.mods.fml.common.Mod.ServerStarting; +import cpw.mods.fml.common.Mod.Instance; +import cpw.mods.fml.common.Mod.PostInit; +import cpw.mods.fml.common.Mod.PreInit; +import cpw.mods.fml.common.event.FMLInitializationEvent; +import cpw.mods.fml.common.event.FMLInterModComms; +import cpw.mods.fml.common.event.FMLPostInitializationEvent; +import cpw.mods.fml.common.event.FMLPreInitializationEvent; +import cpw.mods.fml.common.event.FMLInterModComms.IMCMessage; +import cpw.mods.fml.common.event.FMLServerStartingEvent; +import cpw.mods.fml.common.network.NetworkMod; +import cpw.mods.fml.common.network.NetworkRegistry; +import cpw.mods.fml.common.registry.GameRegistry; +import thaumcraft.api.aspects.Aspect; +import java.util.logging.Level; + +@Mod( + modid = "ForbiddenMagic", + name = "Forbidden Magic", + version = "0.2", + dependencies = "required-after:Thaumcraft;after:Natura;after:ThaumicTinkerer;after:ThaumicExplorer" +) +@NetworkMod( + clientSideRequired = true, + serverSideRequired = false + //channels = {"forbiddenmagic"}, + //packetHandler = PacketHandler.class +) +public class Forbidden +{ + @Instance("ForbiddenMagic") + public static Forbidden instance; + public static ForbiddenTab tab = new ForbiddenTab("forbidden"); + public static ForbiddenTab crysTab = new ForbiddenTab("mobcrystal", true); + @SidedProxy( + clientSide = "com.spiteful.forbidden.client.ClientProxy", + serverSide = "com.spiteful.forbidden.CommonProxy" + ) + public static CommonProxy proxy; + + @EventHandler + public void prelude(FMLPreInitializationEvent event) + { + instance = this; + Config.configurate(event.getSuggestedConfigurationFile()); + Compat.initiate(); + DarkAspects.initAspects(); + Config.spawnilify(); + ForbiddenItems.addItems(); + ForbiddenBlocks.addBlocks(); + DarkEnchantments.hex(); + proxy.registerRenderInfo(); + } + + @EventHandler + public void crescendo(FMLInitializationEvent event) + { + MinecraftForge.EVENT_BUS.register(new FMEventHandler()); + } + + @EventHandler + public void outro(FMLPostInitializationEvent event) + { + DarkAspects.addAspects(); + ForbiddenRecipes.addRecipes(); + ForbiddenResearch.addResearch(); + Compat.compatify(); + } +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/ForbiddenRecipes.java b/src/com/spiteful/forbidden/ForbiddenRecipes.java new file mode 100644 index 0000000..526e953 --- /dev/null +++ b/src/com/spiteful/forbidden/ForbiddenRecipes.java @@ -0,0 +1,113 @@ +package com.spiteful.forbidden; + +import com.spiteful.forbidden.items.ForbiddenItems; +import com.spiteful.forbidden.blocks.ForbiddenBlocks; +import com.spiteful.forbidden.enchantments.DarkEnchantments; + +import cpw.mods.fml.common.registry.GameRegistry; +import java.util.Arrays; +import java.util.Iterator; +import net.minecraft.block.Block; +import net.minecraft.enchantment.Enchantment; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.CraftingManager; +import net.minecraft.item.crafting.FurnaceRecipes; +import net.minecraft.item.crafting.IRecipe; +import net.minecraft.nbt.NBTTagByte; +import net.minecraftforge.oredict.ShapedOreRecipe; +import net.minecraftforge.oredict.ShapelessOreRecipe; +import thaumcraft.api.ThaumcraftApi; +import thaumcraft.api.ItemApi; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.aspects.AspectList; +import thaumcraft.api.aspects.IEssentiaContainerItem; +import thaumcraft.api.wands.WandCap; +import thaumcraft.api.wands.WandRod; +import thaumcraft.api.wands.WandTriggerRegistry; +import thaumcraft.api.crafting.InfusionRecipe; +import thaumcraft.common.items.wands.ItemWandCasting; + +public class ForbiddenRecipes +{ + public static void addRecipes() + { + ForbiddenResearch.recipes.put("SkullAxe", ThaumcraftApi.addInfusionCraftingRecipe("SKULLAXE", new ItemStack(ForbiddenItems.skullAxe), 1, (new AspectList()).add(DarkAspects.WRATH, 8).add(Aspect.WEAPON, 8).add(DarkAspects.NETHER, 8), ItemApi.getItem("itemAxeThaumium", 0), new ItemStack[] {new ItemStack(ForbiddenItems.deadlyShards.itemID, 1, 0), new ItemStack(ForbiddenItems.deadlyShards.itemID, 1, 0), new ItemStack(Item.diamond), new ItemStack(Item.skull.itemID, 1, 1)})); + ForbiddenResearch.recipes.put("ArcaneCake", ThaumcraftApi.addInfusionCraftingRecipe("ARCANECAKE", new ItemStack(ForbiddenItems.arcaneCakeItem), 3, (new AspectList()).add(DarkAspects.GLUTTONY, 12).add(Aspect.HUNGER, 24).add(Aspect.CRAFT, 24), new ItemStack(Item.cake), new ItemStack[] {ItemApi.getItem("itemResource", 14), new ItemStack(Item.egg), new ItemStack(Item.bucketMilk), new ItemStack(Item.egg), new ItemStack(Item.sugar), new ItemStack(Item.sugar)})); + ForbiddenResearch.recipes.put("TaintShovel", ThaumcraftApi.addInfusionCraftingRecipe("TAINTSHOVEL", new ItemStack(ForbiddenItems.taintShovel), 5, (new AspectList()).add(Aspect.HEAL, 8).add(Aspect.CRYSTAL, 24).add(Aspect.MINE, 12), ItemApi.getItem("itemShovelThaumium", 0), new ItemStack[]{ItemApi.getItem("itemShard", 4), ItemApi.getItem("itemShard", 4), new ItemStack(Item.diamond), ItemApi.getBlock("blockMagicalLog", 1)})); + ForbiddenResearch.recipes.put("TaintPick", ThaumcraftApi.addInfusionCraftingRecipe("TAINTPICK", new ItemStack(ForbiddenItems.taintPickaxe), 1, (new AspectList()).add(Aspect.ENTROPY, 8).add(Aspect.MINE, 8).add(Aspect.TAINT, 12), ItemApi.getItem("itemPickThaumium", 0), new ItemStack[]{ItemApi.getItem("itemShard", 5), ItemApi.getItem("itemShard", 5), new ItemStack(Item.diamond), ItemApi.getBlock("blockMagicalLog", 0)})); + ForbiddenResearch.recipes.put("MorphPick", ThaumcraftApi.addInfusionCraftingRecipe("MORPHTOOLS", new ItemStack(ForbiddenItems.morphPickaxe), 6, (new AspectList()).add(Aspect.EXCHANGE, 32).add(DarkAspects.ENVY, 16).add(Aspect.TOOL, 16), ItemApi.getItem("itemPickThaumium", 0), new ItemStack[]{new ItemStack(ForbiddenItems.deadlyShards.itemID, 1, 1), new ItemStack(ForbiddenItems.deadlyShards.itemID, 1, 1), new ItemStack(Item.diamond), ItemApi.getItem("itemResource", 3), ItemApi.getBlock("blockMagicalLog", 1)})); + ForbiddenResearch.recipes.put("MorphSword", ThaumcraftApi.addInfusionCraftingRecipe("MORPHTOOLS", new ItemStack(ForbiddenItems.morphSword), 6, (new AspectList()).add(Aspect.EXCHANGE, 32).add(DarkAspects.ENVY, 16).add(Aspect.WEAPON, 16), ItemApi.getItem("itemSwordThaumium", 0), new ItemStack[]{new ItemStack(ForbiddenItems.deadlyShards.itemID, 1, 1), new ItemStack(ForbiddenItems.deadlyShards.itemID, 1, 1), new ItemStack(Item.diamond), ItemApi.getItem("itemResource", 3), ItemApi.getBlock("blockMagicalLog", 1)})); + ForbiddenResearch.recipes.put("MorphShovel", ThaumcraftApi.addInfusionCraftingRecipe("MORPHTOOLS", new ItemStack(ForbiddenItems.morphShovel), 6, (new AspectList()).add(Aspect.EXCHANGE, 32).add(DarkAspects.ENVY, 16).add(Aspect.TOOL, 16), ItemApi.getItem("itemShovelThaumium", 0), new ItemStack[]{new ItemStack(ForbiddenItems.deadlyShards.itemID, 1, 1), new ItemStack(ForbiddenItems.deadlyShards.itemID, 1, 1), new ItemStack(Item.diamond), ItemApi.getItem("itemResource", 3), ItemApi.getBlock("blockMagicalLog", 1)})); + ForbiddenResearch.recipes.put("MorphAxe", ThaumcraftApi.addInfusionCraftingRecipe("MORPHTOOLS", new ItemStack(ForbiddenItems.morphAxe), 6, (new AspectList()).add(Aspect.EXCHANGE, 32).add(DarkAspects.ENVY, 16).add(Aspect.TOOL, 16), ItemApi.getItem("itemAxeThaumium", 0), new ItemStack[]{new ItemStack(ForbiddenItems.deadlyShards.itemID, 1, 1), new ItemStack(ForbiddenItems.deadlyShards.itemID, 1, 1), new ItemStack(Item.diamond), ItemApi.getItem("itemResource", 3), ItemApi.getBlock("blockMagicalLog", 1)})); + ForbiddenResearch.recipes.put("WandRodTainted", ThaumcraftApi.addInfusionCraftingRecipe("ROD_tainted", new ItemStack(ForbiddenItems.wandCore, 1, 0), 5, (new AspectList()).add(Aspect.TAINT, 24).add(Aspect.MAGIC, 12).add(Aspect.ENTROPY, 12), ItemApi.getItem("itemResource", 12), new ItemStack[]{ItemApi.getItem("itemResource", 14), new ItemStack(ForbiddenItems.deadlyShards, 1, 2), new ItemStack(ForbiddenItems.deadlyShards, 1, 2), new ItemStack(ForbiddenItems.deadlyShards, 1, 2), new ItemStack(ForbiddenItems.deadlyShards, 1, 2), new ItemStack(ForbiddenItems.deadlyShards, 1, 2), new ItemStack(ForbiddenItems.deadlyShards, 1, 2)})); + ForbiddenResearch.recipes.put("WandRodInfernal", ThaumcraftApi.addInfusionCraftingRecipe("ROD_infernal", new ItemStack(ForbiddenItems.wandCore, 1, 1), 5, (new AspectList()).add(DarkAspects.NETHER, 32).add(Aspect.MAGIC, 12).add(DarkAspects.PRIDE, 12), new ItemStack(Item.blazeRod), new ItemStack[]{ItemApi.getItem("itemResource", 14), new ItemStack(ForbiddenItems.deadlyShards, 1, 3), new ItemStack(ForbiddenItems.deadlyShards, 1, 3), new ItemStack(Block.slowSand), new ItemStack(Item.skull.itemID, 1, 1), new ItemStack(Item.netherQuartz), new ItemStack(Item.blazePowder)})); + if(Config.wrathCage){ + ForbiddenResearch.recipes.put("WrathCage", ThaumcraftApi.addInfusionCraftingRecipe("WRATHCAGE", new ItemStack(ForbiddenBlocks.wrathCage, 1, 0), 10, (new AspectList()).add(DarkAspects.WRATH, 32).add(Aspect.MAGIC, 32).add(Aspect.BEAST, 32).add(Aspect.MECHANISM, 16), ItemApi.getBlock("blockCosmeticSolid", 4), new ItemStack[]{new ItemStack(ForbiddenItems.deadlyShards, 1, 0), new ItemStack(ForbiddenItems.deadlyShards, 1, 0), new ItemStack(ForbiddenItems.deadlyShards, 1, 0), new ItemStack(ForbiddenItems.deadlyShards, 1, 0), new ItemStack(Item.diamond, 1, 0), new ItemStack(Item.diamond, 1, 0), new ItemStack(Item.diamond, 1, 0), new ItemStack(Item.diamond, 1, 0), ItemApi.getBlock("blockJar", 0), ItemApi.getBlock("blockJar", 0), ItemApi.getBlock("blockJar", 0)})); + ForbiddenResearch.recipes.put("MobCrystal", ThaumcraftApi.addCrucibleRecipe("WRATHCAGE", new ItemStack(ForbiddenItems.mobCrystal, 1, 0), new ItemStack(Item.diamond, 1), (new AspectList()).merge(Aspect.MIND, 10).merge(Aspect.ENERGY, 10))); + } + + ForbiddenResearch.recipes.put("Fork", ThaumcraftApi.addInfusionCraftingRecipe("FORK", new ItemStack(ForbiddenItems.fork, 1, 0), 1, (new AspectList()).add(DarkAspects.NETHER, 8).add(Aspect.MECHANISM, 8).add(Aspect.ENERGY, 8), ItemApi.getItem("itemSwordThaumium", 0), new ItemStack[]{new ItemStack(Item.netherQuartz), new ItemStack(Item.netherQuartz), new ItemStack(Item.netherQuartz), new ItemStack(Item.redstone)})); + + ForbiddenResearch.recipes.put("TransEmerald", ThaumcraftApi.addCrucibleRecipe("TRANSEMERALD", new ItemStack(ForbiddenItems.resource, 4, 0), "nuggetEmerald", (new AspectList()).merge(Aspect.CRYSTAL, 2).merge(Aspect.GREED, 2))); + ForbiddenResearch.recipes.put("BlackFlower", ThaumcraftApi.addCrucibleRecipe("BLACKFLOWER", new ItemStack(ForbiddenBlocks.blackFlower, 1, 0), new ItemStack(Block.plantRed), (new AspectList()).merge(Aspect.DARKNESS, 5).merge(Aspect.LIFE, 5))); + ForbiddenResearch.recipes.put("BlackInk", CraftingManager.getInstance().addRecipe(new ItemStack(ForbiddenItems.resource, 2, 1), new Object[]{"#", Character.valueOf('#'), new ItemStack(ForbiddenBlocks.blackFlower, 1, 0)})); + + ForbiddenResearch.recipes.put("Cluster", ThaumcraftApi.addInfusionEnchantmentRecipe("CLUSTER", DarkEnchantments.cluster, 3, (new AspectList()).add(Aspect.FIRE, 4).add(Aspect.METAL, 4).add(Aspect.GREED, 4), new ItemStack[]{ItemApi.getItem("itemPickElemental", 0), ItemApi.getItem("itemResource", 14)})); + if(Config.greedyEnch) + ForbiddenResearch.recipes.put("Greedy", ThaumcraftApi.addInfusionEnchantmentRecipe("GREEDY", DarkEnchantments.greedy, 4, (new AspectList()).add(DarkAspects.NETHER, 16).add(Aspect.WEAPON, 8).add(Aspect.GREED, 16), new ItemStack[]{new ItemStack(Item.swordGold), new ItemStack(Item.diamond), new ItemStack(Block.blockGold), ItemApi.getItem("itemResource", 14)})); + ForbiddenResearch.recipes.put("Consuming", ThaumcraftApi.addInfusionEnchantmentRecipe("CONSUMING", DarkEnchantments.consuming, 3, (new AspectList()).add(Aspect.VOID, 8).add(Aspect.TOOL, 8).add(Aspect.HUNGER, 8), new ItemStack[]{new ItemStack(Item.pickaxeIron), new ItemStack(Item.bucketLava), ItemApi.getItem("itemResource", 14)})); + ForbiddenResearch.recipes.put("Pigbane", ThaumcraftApi.addInfusionEnchantmentRecipe("PIGBANE", DarkEnchantments.pigBane, 1, (new AspectList()).add(Aspect.HUNGER, 4).add(Aspect.WEAPON, 4).add(Aspect.BEAST, 4), new ItemStack[]{new ItemStack(Item.swordIron), new ItemStack(Item.porkRaw), ItemApi.getItem("itemResource", 14)})); + + CraftingManager.getInstance().addRecipe(new ItemStack(Item.emerald, 1, 0), new Object[]{"###", "###", "###", Character.valueOf('#'), new ItemStack(ForbiddenItems.resource, 1, 0)}); + CraftingManager.getInstance().addRecipe(new ItemStack(ForbiddenItems.resource, 9, 0), new Object[]{"#", Character.valueOf('#'), new ItemStack(Item.emerald, 1, 0)}); + ThaumcraftApi.addSmeltingBonus(new ItemStack(Item.emerald), new ItemStack(ForbiddenItems.resource, 0, 0)); + + Iterator i$ = WandCap.caps.keySet().iterator(); + + while(i$.hasNext()) { + String captag = (String)i$.next(); + Iterator i$1 = WandRod.rods.keySet().iterator(); + + while(i$1.hasNext()) { + String rodtag = (String)i$1.next(); + if((rodtag.equals("tainted") || rodtag.equals("infernal") || rodtag.equals("soul")) && !rodtag.equals("mercurial") && !rodtag.equals("neutronium") && !captag.equals("orichalcum")){ + int cost = ((WandCap)WandCap.caps.get(captag)).getCraftCost() * ((WandRod)WandRod.rods.get(rodtag)).getCraftCost(); + ItemStack wand = ItemApi.getItem("itemWandCasting", cost); + ((ItemWandCasting)wand.getItem()).setCap(wand, (WandCap)WandCap.caps.get(captag)); + ((ItemWandCasting)wand.getItem()).setRod(wand, (WandRod)WandRod.rods.get(rodtag)); + String key = "WAND_" + captag + "_" + rodtag; + String res = "THAUMIUM"; + if(rodtag.equals("tainted")) + res = "ROD_tainted"; + else if(rodtag.equals("infernal")) + res = "ROD_infernal"; + else if(rodtag.equals("soul")) + res = "ROD_soul"; + ForbiddenResearch.recipes.put(key, ThaumcraftApi.addArcaneCraftingRecipe(res, wand, (new AspectList()).add(Aspect.AIR, cost).add(Aspect.ORDER, cost).add(Aspect.EARTH, cost).add(Aspect.FIRE, cost).add(Aspect.WATER, cost).add(Aspect.ENTROPY, cost), new Object[]{" C", " R ", "C ", Character.valueOf('C'), ((WandCap)WandCap.caps.get(captag)).getItem(), Character.valueOf('R'), ((WandRod)WandRod.rods.get(rodtag)).getItem()})); + } + } + } + + if(!Config.noMeddling){ + + i$ = ThaumcraftApi.getCraftingRecipes().iterator(); + + while(i$.hasNext()){ + Object recipe = i$.next(); + if(recipe instanceof InfusionRecipe){ + InfusionRecipe fuse = (InfusionRecipe)recipe; + if(fuse.getResearch().equals("FOCUSHELLBAT")){ + fuse.aspects = (new AspectList()).add(Aspect.FIRE, 25).add(DarkAspects.WRATH, 15).add(DarkAspects.NETHER, 15).add(Aspect.ENTROPY, 25); + fuse.recipeInput = new ItemStack(ForbiddenItems.deadlyShards, 1, 0); + ForbiddenResearch.recipes.put("FocusHellbat", fuse); + break; + + } + } + } + + ForbiddenResearch.recipes.put("InfernalFurnace", Arrays.asList(new Object[]{(new AspectList()).add(Aspect.FIRE, 50).add(Aspect.EARTH, 50), Integer.valueOf(3), Integer.valueOf(3), Integer.valueOf(3), Arrays.asList(new ItemStack[]{new ItemStack(Block.netherBrick), new ItemStack(Block.obsidian), new ItemStack(Block.netherBrick), new ItemStack(Block.obsidian), ItemApi.getBlock("blockHole", 15), new ItemStack(Block.obsidian), new ItemStack(Block.netherBrick), new ItemStack(Block.obsidian), new ItemStack(Block.netherBrick), new ItemStack(Block.netherBrick), new ItemStack(Block.obsidian), new ItemStack(Block.netherBrick), new ItemStack(Block.obsidian), new ItemStack(Block.lavaMoving), new ItemStack(Block.fenceIron), new ItemStack(Block.netherBrick), new ItemStack(Block.obsidian), new ItemStack(Block.netherBrick), new ItemStack(Block.netherBrick), new ItemStack(Block.obsidian), new ItemStack(Block.netherBrick), new ItemStack(Block.obsidian), new ItemStack(Block.obsidian), new ItemStack(Block.obsidian), new ItemStack(Block.netherBrick), new ItemStack(Block.obsidian), new ItemStack(Block.netherBrick)})})); + } + } +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/ForbiddenResearch.java b/src/com/spiteful/forbidden/ForbiddenResearch.java new file mode 100644 index 0000000..07c7115 --- /dev/null +++ b/src/com/spiteful/forbidden/ForbiddenResearch.java @@ -0,0 +1,96 @@ +package com.spiteful.forbidden; + +import com.spiteful.forbidden.items.ForbiddenItems; +import com.spiteful.forbidden.blocks.ForbiddenBlocks; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.item.crafting.IRecipe; +import net.minecraft.nbt.NBTTagByte; +import net.minecraft.util.ResourceLocation; +import thaumcraft.api.ItemApi; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.aspects.AspectList; +import thaumcraft.api.crafting.CrucibleRecipe; +import thaumcraft.api.crafting.IArcaneRecipe; +import thaumcraft.api.crafting.InfusionEnchantmentRecipe; +import thaumcraft.api.crafting.InfusionRecipe; +import thaumcraft.api.nodes.NodeModifier; +import thaumcraft.api.nodes.NodeType; +import thaumcraft.api.research.ResearchCategories; +import thaumcraft.api.research.ResearchCategoryList; +import thaumcraft.api.research.ResearchItem; +import thaumcraft.api.research.ResearchPage; + +public class ForbiddenResearch +{ + public static HashMap recipes = new HashMap(); + + public static void addResearch() + { + addInfernalism(); + + (new DarkResearchItem("TAINTSHOVEL", "ARTIFICE", (new AspectList()).add(Aspect.CRYSTAL, 1).add(Aspect.TAINT, 2).add(Aspect.TOOL, 1), -9, 6, 4, new ItemStack(ForbiddenItems.taintShovel))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.TAINTSHOVEL.1"), new ResearchPage((InfusionRecipe)recipes.get("TaintShovel")), new ResearchPage("forbidden.research_page.TAINTSHOVEL.2")}).setParentsHidden(new String[]{"THAUMIUM", "INFUSION", "ETHEREALBLOOM"}).setConcealed().registerResearchItem(); + (new DarkResearchItem("TAINTPICK", "ARTIFICE", (new AspectList()).add(Aspect.TOOL, 1).add(Aspect.TAINT, 2).add(Aspect.ENTROPY, 1), -9, 3, 3, new ItemStack(ForbiddenItems.taintPickaxe))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.TAINTPICK.1"), new ResearchPage((InfusionRecipe)recipes.get("TaintPick"))}).setParentsHidden(new String[]{"THAUMIUM", "INFUSION"}).setConcealed().registerResearchItem(); + (new DarkResearchItem("ROD_tainted", "THAUMATURGY", (new AspectList()).add(Aspect.MAGIC, 1).add(Aspect.TAINT, 2).add(Aspect.TOOL, 1), -3, 7, 4, new ItemStack(ForbiddenItems.wandCore, 1, 0))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.ROD_tainted.1"), new ResearchPage((InfusionRecipe)recipes.get("WandRodTainted"))}).setParents(new String[]{"ROD_silverwood", "TAINTSHOVEL"}).setConcealed().registerResearchItem(); + (new DarkResearchItem("TRANSEMERALD", "ALCHEMY", (new AspectList()).add(Aspect.CRYSTAL, 1).add(Aspect.EXCHANGE, 1).add(Aspect.GREED, 2), -6, 3, 3, new ItemStack(ForbiddenItems.resource, 1, 0))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.TRANSEMERALD.1"), new ResearchPage((CrucibleRecipe)recipes.get("TransEmerald"))}).setConcealed().setParents(new String[]{"TRANSGOLD"}).registerResearchItem(); + (new DarkResearchItem("BLACKFLOWER", "ALCHEMY", (new AspectList()).add(Aspect.PLANT, 1).add(Aspect.SENSES, 1).add(Aspect.DARKNESS, 2), -4, -1, 3, new ItemStack(ForbiddenBlocks.blackFlower, 1, 0))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.BLACKFLOWER.1"), new ResearchPage((CrucibleRecipe)recipes.get("BlackFlower")), new ResearchPage((IRecipe)recipes.get("BlackInk"))}).setParents(new String[]{"CRUCIBLE"}).registerResearchItem(); + + if(Compat.tt) + { + (new DarkResearchItem("CONSUMING", "TT_ENCHANTING", (new AspectList()).add(Aspect.VOID, 2).add(Aspect.ENTROPY, 1).add(Aspect.MAGIC, 1), -6, -4, 3, new ResourceLocation("forbidden", "textures/misc/consuming.png"))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.CONSUMING.1"), new ResearchPage((InfusionEnchantmentRecipe)recipes.get("Consuming"))}).setParents(new String[]{"INFUSIONENCHANTMENT"}).setConcealed().registerResearchItem(); + (new DarkResearchItem("PIGBANE", "TT_ENCHANTING", (new AspectList()).add(Aspect.HUNGER, 2).add(Aspect.WEAPON, 1).add(Aspect.MAGIC, 1), -6, -2, 2, new ResourceLocation("forbidden", "textures/misc/pigbane.png"))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.PIGBANE.1"), new ResearchPage((InfusionEnchantmentRecipe)recipes.get("Pigbane"))}).setParents(new String[]{"INFUSIONENCHANTMENT"}).setConcealed().registerResearchItem(); + } + else + { + (new DarkResearchItem("CONSUMING", "ARTIFICE", (new AspectList()).add(Aspect.VOID, 2).add(Aspect.ENTROPY, 1).add(Aspect.MAGIC, 1), -8, 11, 3, new ResourceLocation("forbidden", "textures/misc/consuming.png"))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.CONSUMING.1"), new ResearchPage((InfusionEnchantmentRecipe)recipes.get("Consuming"))}).setParents(new String[]{"INFUSIONENCHANTMENT"}).setConcealed().registerResearchItem(); + (new DarkResearchItem("PIGBANE", "ARTIFICE", (new AspectList()).add(Aspect.HUNGER, 2).add(Aspect.WEAPON, 1).add(Aspect.MAGIC, 1), -8, 13, 2, new ResourceLocation("forbidden", "textures/misc/pigbane.png"))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.PIGBANE.1"), new ResearchPage((InfusionEnchantmentRecipe)recipes.get("Pigbane"))}).setParents(new String[]{"INFUSIONENCHANTMENT"}).setConcealed().registerResearchItem(); + } + + + } + + public static void addInfernalism() + { + ResearchCategories.registerCategory("INFERNALISM", new ResourceLocation("forbidden", "textures/misc/infernalism.png"), new ResourceLocation("thaumcraft", "textures/gui/gui_researchback.png")); + (new FauxResearchItem("INFAUXSION", "INFERNALISM", "INFUSION", "ARTIFICE", -5, 0, ItemApi.getBlock("blockStoneDevice", 2))).registerResearchItem(); + if(!Compat.tt) + (new FauxResearchItem("INFAUXSIONENCHANTMENT", "INFERNALISM", "INFUSIONENCHANTMENT", "ARTIFICE", -3, 3, new ResourceLocation("thaumcraft", "textures/misc/r_enchant.png"))).setParents(new String[]{"INFAUXSION"}).registerResearchItem(); + else + (new FauxResearchItem("INFAUXSIONENCHANTMENT", "INFERNALISM", "INFUSIONENCHANTMENT", "TT_ENCHANTING", -3, 3, new ResourceLocation("thaumcraft", "textures/misc/r_enchant.png"))).setParents(new String[]{"INFAUXSION"}).registerResearchItem(); + + if(!Config.noLust) + (new DarkResearchItem("NETHERSHARDS", "INFERNALISM", new AspectList(), 0, 0, 0, new ItemStack(ForbiddenItems.deadlyShards, 1, 0))).setPages(new ResearchPage[] {new ResearchPage("forbidden.research_page.NETHERSHARDS.1"), new ResearchPage("forbidden.research_page.NETHERSHARDS.2"), new ResearchPage("forbidden.research_page.NETHERSHARDS.3")}).setStub().setRound().setAutoUnlock().registerResearchItem(); + else + (new DarkResearchItem("NETHERSHARDS", "INFERNALISM", new AspectList(), 0, 0, 0, new ItemStack(ForbiddenItems.deadlyShards, 1, 0))).setPages(new ResearchPage[] {new ResearchPage("forbidden.research_page.NETHERSHARDS.1"), new ResearchPage("forbidden.research_page.NETHERSHARDS.2b"), new ResearchPage("forbidden.research_page.NETHERSHARDS.3")}).setStub().setRound().setAutoUnlock().registerResearchItem(); + + (new DarkResearchItem("SKULLAXE", "INFERNALISM", (new AspectList()).add(Aspect.WEAPON, 1).add(DarkAspects.WRATH, 2).add(DarkAspects.NETHER, 1), -8, -2, 4, new ItemStack(ForbiddenItems.skullAxe))).setPages(new ResearchPage[] {new ResearchPage("forbidden.research_page.SKULLAXE.1"), new ResearchPage((InfusionRecipe)recipes.get("SkullAxe"))}).setParents(new String[] {"THAUMIUM", "INFAUXSION"}).setConcealed().registerResearchItem(); + (new DarkResearchItem("ARCANECAKE", "INFERNALISM", (new AspectList()).add(DarkAspects.GLUTTONY, 2).add(Aspect.HUNGER, 1).add(Aspect.CRAFT, 1), -8, 1, 3, new ItemStack(ForbiddenItems.arcaneCakeItem))).setPages(new ResearchPage[] {new ResearchPage("forbidden.research_page.ARCANECAKE.1"), new ResearchPage((InfusionRecipe)recipes.get("ArcaneCake"))}).setParents(new String[] {"INFAUXSION"}).setHidden().registerResearchItem(); + (new DarkResearchItem("MORPHTOOLS", "INFERNALISM", (new AspectList()).add(Aspect.TOOL, 2).add(DarkAspects.ENVY, 3).add(Aspect.EXCHANGE, 2), -5, 5, 5, new ItemStack(ForbiddenItems.morphPickaxe))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.MORPHTOOLS.1"), new ResearchPage((InfusionRecipe)recipes.get("MorphPick")), new ResearchPage((InfusionRecipe)recipes.get("MorphSword")), new ResearchPage((InfusionRecipe)recipes.get("MorphShovel")), new ResearchPage((InfusionRecipe)recipes.get("MorphAxe"))}).setParentsHidden(new String[]{"THAUMIUM", "INFUSIONENCHANTMENT"}).setParents(new String[]{"INFAUXSIONENCHANTMENT"}).setConcealed().registerResearchItem(); + (new DarkResearchItem("ROD_infernal", "INFERNALISM", (new AspectList()).add(DarkAspects.NETHER, 2).add(Aspect.FIRE, 1).add(Aspect.TOOL, 1), -8, 0, 5, new ItemStack(ForbiddenItems.wandCore, 1, 1))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.ROD_infernal.1"), new ResearchPage((InfusionRecipe)recipes.get("WandRodInfernal")), new ResearchPage("forbidden.research_page.ROD_infernal.2")}).setParents(new String[]{"ROD_silverwood", "INFAUXSION"}).setConcealed().registerResearchItem(); + (new DarkResearchItem("CLUSTER", "INFERNALISM", (new AspectList()).add(Aspect.METAL, 1).add(Aspect.FIRE, 2).add(DarkAspects.ENVY, 1), -7, 7, 3, new ResourceLocation("forbidden", "textures/misc/lucrative.png"))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.CLUSTER.1"), new ResearchPage((InfusionEnchantmentRecipe)recipes.get("Cluster"))}).setParents(new String[]{"MORPHTOOLS", "ELEMENTALPICK"}).setConcealed().registerResearchItem(); + if(Config.greedyEnch) + (new DarkResearchItem("GREEDY", "INFERNALISM", (new AspectList()).add(Aspect.MAGIC, 1).add(Aspect.WEAPON, 1).add(Aspect.GREED, 2), -5, 3, 4, new ResourceLocation("forbidden", "textures/misc/greedy.png"))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.GREEDY.1"), new ResearchPage((InfusionEnchantmentRecipe)recipes.get("Greedy"))}).setParents(new String[]{"INFAUXSIONENCHANTMENT"}).setConcealed().registerResearchItem(); + + if(Config.wrathCage){ + if(Config.wrathCost > 0) + (new DarkResearchItem("WRATHCAGE", "INFERNALISM", (new AspectList()).add(DarkAspects.WRATH, 2).add(Aspect.MECHANISM, 1).add(Aspect.BEAST, 1), -3, 0, 6, new ItemStack(ForbiddenBlocks.wrathCage))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.WRATHCAGE.1"), new ResearchPage((InfusionRecipe)recipes.get("WrathCage")), new ResearchPage("forbidden.research_page.WRATHCAGE.2"), new ResearchPage("forbidden.research_page.WRATHCAGE.3"), new ResearchPage((CrucibleRecipe)recipes.get("MobCrystal"))}).setParents(new String[]{"INFAUXSION"}).setParentsHidden(new String[]{"THAUMIUM"}).setSiblings(new String[]{"FORK"}).setHidden().registerResearchItem(); + else + (new DarkResearchItem("WRATHCAGE", "INFERNALISM", (new AspectList()).add(DarkAspects.WRATH, 2).add(Aspect.MECHANISM, 1).add(Aspect.BEAST, 1), -3, 0, 6, new ItemStack(ForbiddenBlocks.wrathCage))).setPages(new ResearchPage[]{new ResearchPage("forbidden.research_page.WRATHCAGE.1"), new ResearchPage((InfusionRecipe)recipes.get("WrathCage")), new ResearchPage("forbidden.research_page.WRATHCAGE.3"), new ResearchPage((CrucibleRecipe)recipes.get("MobCrystal"))}).setParents(new String[]{"INFAUXSION"}).setParentsHidden(new String[]{"THAUMIUM"}).setSiblings(new String[]{"FORK"}).setHidden().registerResearchItem(); + + } + + (new DarkResearchItem("FORK", "INFERNALISM", (new AspectList()), -1, 2, 0, new ItemStack(ForbiddenItems.fork))).setPages(new ResearchPage[] {new ResearchPage("forbidden.research_page.FORK.1"), new ResearchPage((InfusionRecipe)recipes.get("Fork")), new ResearchPage("WRATHCAGE", "forbidden.research_page.FORK.wc")}).setStub().setHidden().registerResearchItem(); + + if(!Config.noMeddling){ + ((ResearchCategoryList)ResearchCategories.researchCategories.get("THAUMATURGY")).research.remove("FOCUSHELLBAT"); + (new ResearchItem("FOCUSHELLBAT", "INFERNALISM", (new AspectList()).add(Aspect.TRAVEL, 1).add(DarkAspects.NETHER, 2).add(Aspect.FIRE, 1).add(DarkAspects.WRATH, 1), -8, -1, 4, ItemApi.getItem("itemFocusHellbat", 0))).setPages(new ResearchPage[]{new ResearchPage("tc.research_page.FOCUSHELLBAT.1"), new ResearchPage((InfusionRecipe)recipes.get("FocusHellbat"))}).setConcealed().setParents(new String[]{"FOCUSTRADE", "INFAUXSION"}).registerResearchItem(); + ((ResearchCategoryList)ResearchCategories.researchCategories.get("ARTIFICE")).research.remove("INFERNALFURNACE"); + (new ResearchItem("INFERNALFURNACE", "INFERNALISM", (new AspectList()).add(Aspect.FIRE, 2).add(DarkAspects.NETHER, 1).add(Aspect.CRAFT, 1).add(Aspect.AURA, 1), -1, -2, 4, new ResourceLocation("thaumcraft", "textures/misc/r_infernalfurnace.png"))).setPages(new ResearchPage[]{new ResearchPage("tc.research_page.INFERNALFURNACE.1"), new ResearchPage((List)recipes.get("InfernalFurnace")), new ResearchPage("tc.research_page.INFERNALFURNACE.2")}).setParents(new String[]{"NITOR", "ALUMENTUM"}).setConcealed().registerResearchItem(); + } + } +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/ForbiddenTab.java b/src/com/spiteful/forbidden/ForbiddenTab.java new file mode 100644 index 0000000..50da187 --- /dev/null +++ b/src/com/spiteful/forbidden/ForbiddenTab.java @@ -0,0 +1,32 @@ +package com.spiteful.forbidden; + +import com.spiteful.forbidden.items.ForbiddenItems; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.creativetab.CreativeTabs; + +public final class ForbiddenTab extends CreativeTabs +{ + private boolean crystal = false; + + public ForbiddenTab(String tabName) + { + super(tabName); + } + + public ForbiddenTab(String tabName, boolean mobCrystal) + { + super(tabName); + crystal = mobCrystal; + } + + @SideOnly(Side.CLIENT) + public int getTabIconItemIndex() + { + if(!crystal) + return ForbiddenItems.fork.itemID; + else + return ForbiddenItems.mobCrystal.itemID; + } +} diff --git a/src/com/spiteful/forbidden/blocks/BlockArcaneCake.java b/src/com/spiteful/forbidden/blocks/BlockArcaneCake.java new file mode 100644 index 0000000..0fd0e32 --- /dev/null +++ b/src/com/spiteful/forbidden/blocks/BlockArcaneCake.java @@ -0,0 +1,232 @@ +package com.spiteful.forbidden.blocks; + +import com.spiteful.forbidden.items.ForbiddenItems; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import java.util.Random; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.Icon; +import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; + +public class BlockArcaneCake extends Block +{ + @SideOnly(Side.CLIENT) + private Icon cakeTopIcon; + @SideOnly(Side.CLIENT) + private Icon cakeBottomIcon; + @SideOnly(Side.CLIENT) + private Icon cakeInsideIcon; + + protected BlockArcaneCake(int par1) + { + super(par1, Material.cake); + this.setTickRandomly(true); + } + + /** + * Updates the blocks bounds based on its current state. Args: world, x, y, z + */ + public void setBlockBoundsBasedOnState(IBlockAccess par1IBlockAccess, int par2, int par3, int par4) + { + int l = par1IBlockAccess.getBlockMetadata(par2, par3, par4); + float f = 0.0625F; + float f1 = (float)(1 + l) / 12.0F; + this.setBlockBounds(f1, 0.0F, f, 1.0F - f, 0.5F, 1.0F - f); + } + + /** + * Sets the block's bounds for rendering it as an item + */ + public void setBlockBoundsForItemRender() + { + float f = 0.0625F; + float f1 = 0.5F; + this.setBlockBounds(f, 0.0F, f, 1.0F - f, f1, 1.0F - f); + } + + /** + * Returns a bounding box from the pool of bounding boxes (this means this box can change after the pool has been + * cleared to be reused) + */ + public AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World, int par2, int par3, int par4) + { + int l = par1World.getBlockMetadata(par2, par3, par4); + float f = 0.0625F; + float f1 = (float)(1 + l) / 12.0F; + float f2 = 0.5F; + return AxisAlignedBB.getAABBPool().getAABB((double)((float)par2 + f1), (double)par3, (double)((float)par4 + f), (double)((float)(par2 + 1) - f), (double)((float)par3 + f2 - f), (double)((float)(par4 + 1) - f)); + } + + /** + * If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc) + */ + public boolean renderAsNormalBlock() + { + return false; + } + + @SideOnly(Side.CLIENT) + + /** + * Returns the bounding box of the wired rectangular prism to render. + */ + public AxisAlignedBB getSelectedBoundingBoxFromPool(World par1World, int par2, int par3, int par4) + { + int l = par1World.getBlockMetadata(par2, par3, par4); + float f = 0.0625F; + float f1 = (float)(1 + l) / 12.0F; + float f2 = 0.5F; + return AxisAlignedBB.getAABBPool().getAABB((double)((float)par2 + f1), (double)par3, (double)((float)par4 + f), (double)((float)(par2 + 1) - f), (double)((float)par3 + f2), (double)((float)(par4 + 1) - f)); + } + + @SideOnly(Side.CLIENT) + + /** + * From the specified side and block metadata retrieves the blocks texture. Args: side, metadata + */ + public Icon getIcon(int par1, int par2) + { + return par1 == 1 ? this.cakeTopIcon : (par1 == 0 ? this.cakeBottomIcon : (par2 > 0 && par1 == 4 ? this.cakeInsideIcon : this.blockIcon)); + } + + @SideOnly(Side.CLIENT) + + /** + * When this method is called, your block should register all the icons it needs with the given IconRegister. This + * is the only chance you get to register icons. + */ + public void registerIcons(IconRegister par1IconRegister) + { + this.blockIcon = par1IconRegister.registerIcon("forbidden:cake_side"); + this.cakeInsideIcon = par1IconRegister.registerIcon("forbidden:cake_inner"); + this.cakeTopIcon = par1IconRegister.registerIcon("forbidden:cake_top"); + this.cakeBottomIcon = par1IconRegister.registerIcon("forbidden:cake_bottom"); + } + + /** + * Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two + * adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block. + */ + public boolean isOpaqueCube() + { + return false; + } + + /** + * Called upon block activation (right click on the block.) + */ + public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) + { + this.eatCakeSlice(par1World, par2, par3, par4, par5EntityPlayer); + return true; + } + + /** + * Called when the block is clicked by a player. Args: x, y, z, entityPlayer + */ + public void onBlockClicked(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer) + { + this.eatCakeSlice(par1World, par2, par3, par4, par5EntityPlayer); + } + + /** + * Heals the player and removes a slice from the cake. + */ + private void eatCakeSlice(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer) + { + if (par5EntityPlayer.canEat(false)) + { + par5EntityPlayer.getFoodStats().addStats(2, 3.0F); + int l = par1World.getBlockMetadata(par2, par3, par4) + 1; + + if (l >= 12) + { + par1World.setBlockToAir(par2, par3, par4); + } + else + { + par1World.setBlockMetadataWithNotify(par2, par3, par4, l, 2); + } + + } + } + + /** + * Ticks the block if it's been scheduled + */ + public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random) + { + super.updateTick(par1World, par2, par3, par4, par5Random); + int l = par1World.getBlockMetadata(par2, par3, par4); + + if (l > 0) + { + //if (par5Random.nextInt((int)(25.0F / f) + 1) == 0) + //{ + --l; + par1World.setBlockMetadataWithNotify(par2, par3, par4, l, 2); + //} + } + } + + /** + * Checks to see if its valid to put this block at the specified coordinates. Args: world, x, y, z + */ + public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) + { + return !super.canPlaceBlockAt(par1World, par2, par3, par4) ? false : this.canBlockStay(par1World, par2, par3, par4); + } + + /** + * Lets the block know when one of its neighbor changes. Doesn't know which neighbor changed (coordinates passed are + * their own) Args: x, y, z, neighbor blockID + */ + public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5) + { + if (!this.canBlockStay(par1World, par2, par3, par4)) + { + par1World.setBlockToAir(par2, par3, par4); + } + } + + /** + * Can this block stay at this position. Similar to canPlaceBlockAt except gets checked often with plants. + */ + public boolean canBlockStay(World par1World, int par2, int par3, int par4) + { + return par1World.getBlockMaterial(par2, par3 - 1, par4).isSolid(); + } + + /** + * Returns the quantity of items to drop on block destruction. + */ + public int quantityDropped(Random par1Random) + { + return 0; + } + + /** + * Returns the ID of the items to drop on destruction. + */ + public int idDropped(int par1, Random par2Random, int par3) + { + return 0; + } + + @SideOnly(Side.CLIENT) + + /** + * only called by clickMiddleMouseButton , and passed to inventory.setCurrentItem (along with isCreative) + */ + public int idPicked(World par1World, int par2, int par3, int par4) + { + return ForbiddenItems.arcaneCakeItem.itemID; + } +} diff --git a/src/com/spiteful/forbidden/blocks/BlockBlackFlower.java b/src/com/spiteful/forbidden/blocks/BlockBlackFlower.java new file mode 100644 index 0000000..c64a18a --- /dev/null +++ b/src/com/spiteful/forbidden/blocks/BlockBlackFlower.java @@ -0,0 +1,109 @@ +package com.spiteful.forbidden.blocks; + +import com.spiteful.forbidden.Forbidden; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import java.util.Random; +import net.minecraft.block.Block; +import net.minecraft.block.BlockFlower; +import net.minecraft.block.material.Material; +import net.minecraft.world.World; + +import net.minecraftforge.common.ForgeDirection; + +public class BlockBlackFlower extends BlockFlower +{ + protected BlockBlackFlower(int par1) + { + super(par1); + float f = 0.2F; + this.setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f * 2.0F, 0.5F + f); + this.setTickRandomly(true); + this.setCreativeTab(Forbidden.tab); + } + + /** + * Ticks the block if it's been scheduled + */ + public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random) + { + if (!par1World.isRemote && par5Random.nextInt(16) == 1) + spreadFlowers(par1World, par2, par3, par4, par5Random); + } + + public void spreadFlowers(World par1World, int par2, int par3, int par4, Random par5Random){ + int l = 15; + int i1; + int j1; + int k1; + + for (i1 = par2 - 2; i1 <= par2 + 2; ++i1) + { + for (j1 = par4 - 2; j1 <= par4 + 2; ++j1) + { + for (k1 = par3 - 1; k1 <= par3 + 1; ++k1) + { + if (par1World.getBlockId(i1, k1, j1) == this.blockID) + { + --l; + + if (l <= 0) + { + return; + } + } + } + } + } + + i1 = par2 + par5Random.nextInt(3) - 1; + j1 = par3 + par5Random.nextInt(2) - par5Random.nextInt(2); + k1 = par4 + par5Random.nextInt(3) - 1; + + for (int l1 = 0; l1 < 4; ++l1) + { + if (par1World.isAirBlock(i1, j1, k1) && this.canBlockStay(par1World, i1, j1, k1)) + { + par2 = i1; + par3 = j1; + par4 = k1; + } + + i1 = par2 + par5Random.nextInt(3) - 1; + j1 = par3 + par5Random.nextInt(2) - par5Random.nextInt(2); + k1 = par4 + par5Random.nextInt(3) - 1; + } + + if (par1World.isAirBlock(i1, j1, k1) && this.canBlockStay(par1World, i1, j1, k1)) + { + par1World.setBlock(i1, j1, k1, this.blockID, 0, 2); + } + } + + /** + * Checks to see if its valid to put this block at the specified coordinates. Args: world, x, y, z + */ + public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4) + { + return super.canPlaceBlockAt(par1World, par2, par3, par4) && this.canBlockStay(par1World, par2, par3, par4); + } + + /** + * Gets passed in the blockID of the block below and supposed to return true if its allowed to grow on the type of + * blockID passed in. Args: blockID + */ + protected boolean canThisPlantGrowOnThisBlockID(int par1) + { + return Block.opaqueCubeLookup[par1]; + } + + /** + * Can this block stay at this position. Similar to canPlaceBlockAt except gets checked often with plants. + */ + public boolean canBlockStay(World par1World, int par2, int par3, int par4) + { + int l = par1World.getBlockId(par2, par3 - 1, par4); + return (l == Block.dirt.blockID || l == Block.grass.blockID); + } +} diff --git a/src/com/spiteful/forbidden/blocks/BlockWrathCage.java b/src/com/spiteful/forbidden/blocks/BlockWrathCage.java new file mode 100644 index 0000000..a31c035 --- /dev/null +++ b/src/com/spiteful/forbidden/blocks/BlockWrathCage.java @@ -0,0 +1,148 @@ +package com.spiteful.forbidden.blocks; + +import com.spiteful.forbidden.tiles.TileEntityWrathCage; +import com.spiteful.forbidden.items.ForbiddenItems; +import com.spiteful.forbidden.Forbidden; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import java.util.Random; +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.Material; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagString; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.tileentity.TileEntityMobSpawner; +import net.minecraft.world.World; + +public class BlockWrathCage extends BlockContainer +{ + protected BlockWrathCage(int par1) + { + super(par1, Material.iron); + this.setCreativeTab(Forbidden.tab); + } + + /** + * Returns a new instance of a block's tile entity class. Called on placing the block. + */ + public TileEntity createNewTileEntity(World par1World) + { + return new TileEntityWrathCage(); + } + + /** + * Returns the ID of the items to drop on destruction. + */ + public int idDropped(int par1, Random par2Random, int par3) + { + return blockID; + } + + /** + * Returns the quantity of items to drop on block destruction. + */ + public int quantityDropped(Random par1Random) + { + return 1; + } + + /** + * Drops the block items with a specified chance of dropping the specified items + */ + public void dropBlockAsItemWithChance(World par1World, int par2, int par3, int par4, int par5, float par6, int par7) + { + super.dropBlockAsItemWithChance(par1World, par2, par3, par4, par5, par6, par7); + int j1 = 15 + par1World.rand.nextInt(15) + par1World.rand.nextInt(15); + this.dropXpOnBlockBreak(par1World, par2, par3, par4, j1); + } + + /** + * Called upon block activation (right click on the block.) + */ + public boolean onBlockActivated(World par1World, int x, int y, int z, EntityPlayer player, int par6, float par7, float par8, float par9) + { + ItemStack held = player.getCurrentEquippedItem(); + if(held != null && held.itemID == ForbiddenItems.mobCrystal.itemID){ + NBTTagCompound nbttagcompound = held.getTagCompound(); + NBTTagString nbttagstring = (NBTTagString)nbttagcompound.getTag("mob"); + + if (nbttagstring != null) + { + if(!par1World.isRemote){ + TileEntityWrathCage spawner = (TileEntityWrathCage)par1World.getBlockTileEntity(x, y, z); + String mob = null; + ItemStack crystal = null; + if(spawner.getSpawnerLogic().isMobSet()){ + mob = spawner.getSpawnerLogic().getEntityNameToSpawn(); + crystal = new ItemStack(ForbiddenItems.mobCrystal, 1); + NBTTagString mobTag = new NBTTagString("mob", mob); + crystal.setTagInfo("mob", mobTag); + } + spawner.getSpawnerLogic().setMobID(nbttagstring.toString()); + spawner.getSpawnerLogic().mobIsSet(true); + spawner.checkAspect(); + par1World.markBlockForUpdate(x, y, z); + player.setCurrentItemOrArmor(0, crystal); + } + player.swingItem(); + return true; + } + } + return false; + } + + /** + * Called on server worlds only when the block has been replaced by a different block ID, or the same block with a + * different metadata value, but before the new metadata value is set. Args: World, x, y, z, old block ID, old + * metadata + */ + public void breakBlock(World par1World, int x, int y, int z, int par5, int par6) + { + TileEntityWrathCage spawner = (TileEntityWrathCage)par1World.getBlockTileEntity(x, y, z); + + if (spawner != null && spawner.getSpawnerLogic().isMobSet()) + { + float f = par1World.rand.nextFloat() * 0.8F + 0.1F; + float f1 = par1World.rand.nextFloat() * 0.8F + 0.1F; + float f2 = par1World.rand.nextFloat() * 0.8F + 0.1F; + + ItemStack crystal = new ItemStack(ForbiddenItems.mobCrystal, 1); + String mob = spawner.getSpawnerLogic().getEntityNameToSpawn(); + NBTTagString mobTag = new NBTTagString("mob", mob); + crystal.setTagInfo("mob", mobTag); + + EntityItem entityitem = new EntityItem(par1World, (double)((float)x + f), (double)((float)y + f1), (double)((float)z + f2), crystal); + + entityitem.motionX = (double)((float)par1World.rand.nextGaussian() * 0.05F); + entityitem.motionY = (double)((float)par1World.rand.nextGaussian() * 0.05F + 0.2F); + entityitem.motionZ = (double)((float)par1World.rand.nextGaussian() * 0.05F); + par1World.spawnEntityInWorld(entityitem); + + } + + super.breakBlock(par1World, x, y, z, par5, par6); + } + + /** + * Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two + * adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block. + */ + public boolean isOpaqueCube() + { + return false; + } + + @SideOnly(Side.CLIENT) + + /** + * only called by clickMiddleMouseButton , and passed to inventory.setCurrentItem (along with isCreative) + */ + public int idPicked(World par1World, int par2, int par3, int par4) + { + return blockID; + } +} diff --git a/src/com/spiteful/forbidden/blocks/ForbiddenBlocks.java b/src/com/spiteful/forbidden/blocks/ForbiddenBlocks.java new file mode 100644 index 0000000..ce906a3 --- /dev/null +++ b/src/com/spiteful/forbidden/blocks/ForbiddenBlocks.java @@ -0,0 +1,32 @@ +package com.spiteful.forbidden.blocks; + +import com.spiteful.forbidden.*; +import com.spiteful.forbidden.tiles.*; + +import cpw.mods.fml.common.registry.GameRegistry; +import java.util.Arrays; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.block.Block; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.oredict.OreDictionary; +import thaumcraft.api.ThaumcraftApi; +import thaumcraft.api.aspects.Aspect; + +public class ForbiddenBlocks +{ + public static Block arcaneCake; + public static Block blackFlower; + public static Block wrathCage; + + public static void addBlocks() + { + arcaneCake = new BlockArcaneCake(Config.arcaneCakeBlockID).setHardness(0.5F).setStepSound(Block.soundClothFootstep).setUnlocalizedName("ArcaneCake"); + GameRegistry.registerBlock(arcaneCake, "ArcaneCake"); + blackFlower = new BlockBlackFlower(Config.blackFlowerBlockID).setStepSound(Block.soundGrassFootstep).setTextureName("forbidden:flower_black").setUnlocalizedName("InkFlower"); + GameRegistry.registerBlock(blackFlower, "InkFlower"); + wrathCage = new BlockWrathCage(Config.wrathCageID).setHardness(5.0F).setResistance(2000.0F).setStepSound(Block.soundMetalFootstep).setTextureName("forbidden:spirit_box").setUnlocalizedName("WrathCage"); + GameRegistry.registerBlock(wrathCage, "WrathCage"); + GameRegistry.registerTileEntity(TileEntityWrathCage.class, "WrathCage"); + } +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/client/ClientProxy.java b/src/com/spiteful/forbidden/client/ClientProxy.java new file mode 100644 index 0000000..8f1c8b9 --- /dev/null +++ b/src/com/spiteful/forbidden/client/ClientProxy.java @@ -0,0 +1,18 @@ +package com.spiteful.forbidden.client; + +import com.spiteful.forbidden.*; +import com.spiteful.forbidden.tiles.*; + +import cpw.mods.fml.client.registry.ClientRegistry; +import cpw.mods.fml.client.registry.RenderingRegistry; +import net.minecraftforge.client.MinecraftForgeClient; +import net.minecraftforge.common.MinecraftForge; + +public class ClientProxy extends CommonProxy { + + @Override + public void registerRenderInfo(){ + ClientRegistry.bindTileEntitySpecialRenderer(TileEntityWrathCage.class, new TileEntityWrathCageRenderer()); + } + +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/client/TileEntityWrathCageRenderer.java b/src/com/spiteful/forbidden/client/TileEntityWrathCageRenderer.java new file mode 100644 index 0000000..af7a168 --- /dev/null +++ b/src/com/spiteful/forbidden/client/TileEntityWrathCageRenderer.java @@ -0,0 +1,56 @@ +package com.spiteful.forbidden.client; + +import com.spiteful.forbidden.tiles.TileEntityWrathCage; +import com.spiteful.forbidden.tiles.WrathSpawnerLogic; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.entity.RenderManager; +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.entity.Entity; +import net.minecraft.tileentity.TileEntity; +import org.lwjgl.opengl.GL11; + +@SideOnly(Side.CLIENT) +public class TileEntityWrathCageRenderer extends TileEntitySpecialRenderer +{ + public void renderTileEntityWrathCage(TileEntityWrathCage wrathCage, double par2, double par4, double par6, float par8) + { + if(!wrathCage.getSpawnerLogic().isMobSet()) + return; + GL11.glPushMatrix(); + GL11.glTranslatef((float)par2 + 0.5F, (float)par4, (float)par6 + 0.5F); + renderMob(wrathCage.getSpawnerLogic(), par2, par4, par6, par8); + GL11.glPopMatrix(); + } + + public static void renderMob(WrathSpawnerLogic spawnLogic, double par1, double par3, double par5, float par7) + { + Entity entity = spawnLogic.getEntityForRender(); + + if (entity != null) + { + entity.setWorld(spawnLogic.getSpawnerWorld()); + float f1 = 0.4375F; + if(spawnLogic.getEntityNameToSpawn().equals("Ghast")) + f1 = 0.1F; + else if(spawnLogic.getEntityNameToSpawn().equals("Slime") || spawnLogic.getEntityNameToSpawn().equals("ThaumSlime")) + f1 = 0.4F; + else if(spawnLogic.getEntityNameToSpawn().equals("Enderman")) + f1 = 0.3F; + GL11.glTranslatef(0.0F, 0.4F, 0.0F); + if(!spawnLogic.getSpawnerWorld().isBlockIndirectlyGettingPowered(spawnLogic.getSpawnerX(), spawnLogic.getSpawnerY(), spawnLogic.getSpawnerZ())) + GL11.glRotatef((float)(spawnLogic.field_98284_d + (spawnLogic.field_98287_c - spawnLogic.field_98284_d) * (double)par7) * 10.0F, 0.0F, 1.0F, 0.0F); + GL11.glRotatef(-30.0F, 1.0F, 0.0F, 0.0F); + GL11.glTranslatef(0.0F, -0.4F, 0.0F); + GL11.glScalef(f1, f1, f1); + entity.setLocationAndAngles(par1, par3, par5, 0.0F, 0.0F); + RenderManager.instance.renderEntityWithPosYaw(entity, 0.0D, 0.0D, 0.0D, 0.0F, par7); + } + } + + public void renderTileEntityAt(TileEntity par1TileEntity, double par2, double par4, double par6, float par8) + { + this.renderTileEntityWrathCage((TileEntityWrathCage)par1TileEntity, par2, par4, par6, par8); + } +} diff --git a/src/com/spiteful/forbidden/enchantments/DarkEnchantments.java b/src/com/spiteful/forbidden/enchantments/DarkEnchantments.java new file mode 100644 index 0000000..e4248f6 --- /dev/null +++ b/src/com/spiteful/forbidden/enchantments/DarkEnchantments.java @@ -0,0 +1,29 @@ +package com.spiteful.forbidden.enchantments; + +import com.spiteful.forbidden.*; + +import net.minecraft.enchantment.Enchantment; +import net.minecraftforge.common.MinecraftForge; +//import vazkii.tinkerer.common.enchantment.core.*; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.aspects.AspectList; + +public class DarkEnchantments +{ + public static Enchantment cluster; + public static Enchantment pigBane; + public static Enchantment greedy; + public static Enchantment consuming; + + public static void hex() + { + cluster = new EnchantmentCluster(Config.clusterEnchID); + pigBane = new EnchantmentPigBane(Config.pigBaneEnchID); + greedy = new EnchantmentGreedy(Config.greedyEnchID); + consuming = new EnchantmentConsuming(Config.consumingEnchID); + + //EnchantmentManager.registerExponentialCostData(pigBane, "forbidden:textures/misc/pigbane.png", false, (new AspectList()).add(Aspect.FIRE, 1).add(Aspect.ENTROPY, 1), "PIGBANE"); + //EnchantmentManager.registerExponentialCostData(cluster, "forbidden:textures/misc/lucrative.png", false, (new AspectList()).add(Aspect.FIRE, 5).add(Aspect.EARTH, 5).add(Aspect.ORDER, 5), "CLUSTER"); + } + +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/enchantments/EnchantmentCluster.java b/src/com/spiteful/forbidden/enchantments/EnchantmentCluster.java new file mode 100644 index 0000000..a5e0599 --- /dev/null +++ b/src/com/spiteful/forbidden/enchantments/EnchantmentCluster.java @@ -0,0 +1,58 @@ +package com.spiteful.forbidden.enchantments; + +import com.spiteful.forbidden.*; +import com.spiteful.forbidden.items.ItemMorphPickaxe; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnumEnchantmentType; +import net.minecraft.item.ItemStack; + +public class EnchantmentCluster extends Enchantment +{ + public EnchantmentCluster(int id) + { + super(id, 0, EnumEnchantmentType.digger); + setName("cluster"); + } + + @Override + /** + * Returns the maximum level that the enchantment can have. + */ + public int getMaxLevel() + { + return 4; + } + + @Override + /** + * Determines if the enchantment passed can be applyied together with this enchantment. + */ + public boolean canApplyTogether(Enchantment ench) + { + return super.canApplyTogether(ench) && ench.effectId != Enchantment.fortune.effectId; + } + + @Override + public boolean canApply(ItemStack item) + { + if(item.getItem() instanceof ItemMorphPickaxe) + return true; + else + return false; + } + + @Override + /** + * This applies specifically to applying at the enchanting table. The other method {@link #canApply(ItemStack)} + * applies for all possible enchantments. + * @param stack + * @return + */ + public boolean canApplyAtEnchantingTable(ItemStack stack) + { + return false; + } + + +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/enchantments/EnchantmentConsuming.java b/src/com/spiteful/forbidden/enchantments/EnchantmentConsuming.java new file mode 100644 index 0000000..ac33a4f --- /dev/null +++ b/src/com/spiteful/forbidden/enchantments/EnchantmentConsuming.java @@ -0,0 +1,59 @@ +package com.spiteful.forbidden.enchantments; + +import com.spiteful.forbidden.*; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnumEnchantmentType; +import net.minecraft.item.ItemPickaxe; +import net.minecraft.item.ItemSpade; +import net.minecraft.item.ItemStack; + +public class EnchantmentConsuming extends Enchantment +{ + public EnchantmentConsuming(int id) + { + super(id, 0, EnumEnchantmentType.digger); + setName("consuming"); + } + + @Override + /** + * Returns the maximum level that the enchantment can have. + */ + public int getMaxLevel() + { + return 1; + } + + @Override + /** + * Determines if the enchantment passed can be applyied together with this enchantment. + */ + public boolean canApplyTogether(Enchantment ench) + { + return super.canApplyTogether(ench) && ench.effectId != Enchantment.silkTouch.effectId; + } + + @Override + public boolean canApply(ItemStack item) + { + if(item.getItem() instanceof ItemPickaxe || item.getItem() instanceof ItemSpade) + return true; + else + return false; + } + + @Override + /** + * This applies specifically to applying at the enchanting table. The other method {@link #canApply(ItemStack)} + * applies for all possible enchantments. + * @param stack + * @return + */ + public boolean canApplyAtEnchantingTable(ItemStack stack) + { + return false; + } + + +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/enchantments/EnchantmentEducational.java b/src/com/spiteful/forbidden/enchantments/EnchantmentEducational.java new file mode 100644 index 0000000..47821fb --- /dev/null +++ b/src/com/spiteful/forbidden/enchantments/EnchantmentEducational.java @@ -0,0 +1,65 @@ +package com.spiteful.forbidden.enchantments; + +import com.spiteful.forbidden.*; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.enchantment.EnumEnchantmentType; +import net.minecraft.item.ItemStack; + +public class EnchantmentEducational extends Enchantment +{ + public EnchantmentEducational(int id) + { + super(id, 0, EnumEnchantmentType.weapon); + setName("educational"); + } + + @Override + /** + * Returns the maximum level that the enchantment can have. + */ + public int getMaxLevel() + { + return 1; + } + + /** + * Returns the minimal value of enchantability needed on the enchantment level passed. + */ + public int getMinEnchantability(int par1) + { + return 15; + } + + /** + * Returns the maximum value of enchantability nedded on the enchantment level passed. + */ + public int getMaxEnchantability(int par1) + { + return super.getMinEnchantability(par1) + 50; + } + + @Override + /** + * Determines if the enchantment passed can be applyied together with this enchantment. + */ + public boolean canApplyTogether(Enchantment ench) + { + return super.canApplyTogether(ench) && ench.effectId != Enchantment.looting.effectId; + } + + @Override + /** + * This applies specifically to applying at the enchanting table. The other method {@link #canApply(ItemStack)} + * applies for all possible enchantments. + * @param stack + * @return + */ + public boolean canApplyAtEnchantingTable(ItemStack stack) + { + return false; + } + + +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/enchantments/EnchantmentGreedy.java b/src/com/spiteful/forbidden/enchantments/EnchantmentGreedy.java new file mode 100644 index 0000000..3e96f9a --- /dev/null +++ b/src/com/spiteful/forbidden/enchantments/EnchantmentGreedy.java @@ -0,0 +1,65 @@ +package com.spiteful.forbidden.enchantments; + +import com.spiteful.forbidden.*; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnchantmentHelper; +import net.minecraft.enchantment.EnumEnchantmentType; +import net.minecraft.item.ItemStack; + +public class EnchantmentGreedy extends Enchantment +{ + public EnchantmentGreedy(int id) + { + super(id, 0, EnumEnchantmentType.weapon); + setName("greedy"); + } + + @Override + /** + * Returns the maximum level that the enchantment can have. + */ + public int getMaxLevel() + { + return 1; + } + + /** + * Returns the minimal value of enchantability needed on the enchantment level passed. + */ + public int getMinEnchantability(int par1) + { + return 20; + } + + /** + * Returns the maximum value of enchantability nedded on the enchantment level passed. + */ + public int getMaxEnchantability(int par1) + { + return super.getMinEnchantability(par1) + 50; + } + + @Override + /** + * Determines if the enchantment passed can be applyied together with this enchantment. + */ + public boolean canApplyTogether(Enchantment ench) + { + return super.canApplyTogether(ench) && ench.effectId != Enchantment.looting.effectId; + } + + @Override + /** + * This applies specifically to applying at the enchanting table. The other method {@link #canApply(ItemStack)} + * applies for all possible enchantments. + * @param stack + * @return + */ + public boolean canApplyAtEnchantingTable(ItemStack stack) + { + return false; + } + + +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/enchantments/EnchantmentPigBane.java b/src/com/spiteful/forbidden/enchantments/EnchantmentPigBane.java new file mode 100644 index 0000000..e00ec13 --- /dev/null +++ b/src/com/spiteful/forbidden/enchantments/EnchantmentPigBane.java @@ -0,0 +1,78 @@ +package com.spiteful.forbidden.enchantments; + +import com.spiteful.forbidden.*; + +import net.minecraft.enchantment.Enchantment; +import net.minecraft.enchantment.EnumEnchantmentType; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.monster.EntityPigZombie; +import net.minecraft.entity.passive.EntityPig; +import net.minecraft.item.ItemStack; + +public class EnchantmentPigBane extends Enchantment +{ + public EnchantmentPigBane(int id) + { + super(id, 0, EnumEnchantmentType.weapon); + setName("pigbane"); + } + + @Override + /** + * Returns the maximum level that the enchantment can have. + */ + public int getMaxLevel() + { + return 5; + } + + /** + * Returns the minimal value of enchantability needed on the enchantment level passed. + */ + public int getMinEnchantability(int par1) + { + return 1 + (par1 - 1) * 8; + } + + /** + * Returns the maximum value of enchantability nedded on the enchantment level passed. + */ + public int getMaxEnchantability(int par1) + { + return this.getMinEnchantability(par1) + 20; + } + + @Override + /** + * Determines if the enchantment passed can be applyied together with this enchantment. + */ + public boolean canApplyTogether(Enchantment ench) + { + return super.canApplyTogether(ench) && ench.effectId != Enchantment.sharpness.effectId && ench.effectId != Enchantment.smite.effectId && ench.effectId != Enchantment.baneOfArthropods.effectId; + } + + /** + * Calculates de (magic) damage done by the enchantment on a living entity based on level and entity passed. + */ + public float calcModifierLiving(int level, EntityLivingBase victim) + { + if(victim instanceof EntityPig || victim instanceof EntityPigZombie) + return (float)level * 4.0F; + else + return 0.0F; + } + + @Override + /** + * This applies specifically to applying at the enchanting table. The other method {@link #canApply(ItemStack)} + * applies for all possible enchantments. + * @param stack + * @return + */ + public boolean canApplyAtEnchantingTable(ItemStack stack) + { + return false; + } + + +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/items/BloodWandUpdate.java b/src/com/spiteful/forbidden/items/BloodWandUpdate.java new file mode 100644 index 0000000..df0e13d --- /dev/null +++ b/src/com/spiteful/forbidden/items/BloodWandUpdate.java @@ -0,0 +1,69 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Config; +import com.spiteful.forbidden.Compat; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.wands.IWandRodOnUpdate; +import thaumcraft.common.items.wands.ItemWandCasting; +import java.lang.reflect.Field; +import java.lang.reflect.Method; +//import WayofTime.alchemicalWizardry.common.EnergyItems; + +public class BloodWandUpdate implements IWandRodOnUpdate { + + Aspect primals[] = Aspect.getPrimalAspects().toArray(new Aspect[0]); + Method checkOwner; + Method syphon; + + public BloodWandUpdate() + { + try + { + Class energyItems; + try + { + energyItems = Class.forName("WayofTime.alchemicalWizardry.EnergyItems"); + } + catch(Exception e) + { + energyItems = Class.forName("WayofTime.alchemicalWizardry.common.itemsEnergyItems"); + } + if(energyItems == null) + return; + checkOwner = energyItems.getDeclaredMethod("checkAndSetItemOwner", new Class[] {ItemStack.class, EntityPlayer.class}); + syphon = energyItems.getDeclaredMethod("syphonBatteries", new Class[] {ItemStack.class, EntityPlayer.class, Integer.TYPE}); + } + catch(Exception e){} + } + + public void onUpdate(ItemStack itemstack, EntityPlayer player) + { + if(Compat.bm && player.ticksExisted % 80 == 0 && player.getCurrentEquippedItem() == itemstack) + { + try + { + checkOwner.invoke(null, itemstack, player); + + for(int x = 0;x < primals.length;x++) + { + if(((ItemWandCasting)itemstack.getItem()).getVis(itemstack, primals[x]) < ((ItemWandCasting)itemstack.getItem()).getMaxVis(itemstack)) + { + if(((Boolean)(syphon.invoke(null, itemstack, player, 100))).booleanValue()) + ((ItemWandCasting)itemstack.getItem()).addVis(itemstack, primals[x], 1, true); + else + return; + } + } + + } + catch(Exception e) + { + return; + } + } + + } +} diff --git a/src/com/spiteful/forbidden/items/CreativeWandUpdate.java b/src/com/spiteful/forbidden/items/CreativeWandUpdate.java new file mode 100644 index 0000000..287c98c --- /dev/null +++ b/src/com/spiteful/forbidden/items/CreativeWandUpdate.java @@ -0,0 +1,23 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Config; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.wands.IWandRodOnUpdate; +import thaumcraft.common.items.wands.ItemWandCasting; + +public class CreativeWandUpdate implements IWandRodOnUpdate { + + Aspect primals[] = Aspect.getPrimalAspects().toArray(new Aspect[0]); + + public void onUpdate(ItemStack itemstack, EntityPlayer player) { + for(int x = 0;x < primals.length;x++){ + if(((ItemWandCasting)itemstack.getItem()).getVis(itemstack, primals[x]) < ((ItemWandCasting)itemstack.getItem()).getMaxVis(itemstack)) { + ((ItemWandCasting)itemstack.getItem()).addVis(itemstack, primals[x], + ((ItemWandCasting)itemstack.getItem()).getMaxVis(itemstack) - ((ItemWandCasting)itemstack.getItem()).getVis(itemstack, primals[x]), true); + } + } + } +} diff --git a/src/com/spiteful/forbidden/items/DarkWandCap.java b/src/com/spiteful/forbidden/items/DarkWandCap.java new file mode 100644 index 0000000..e9ae00d --- /dev/null +++ b/src/com/spiteful/forbidden/items/DarkWandCap.java @@ -0,0 +1,30 @@ +package com.spiteful.forbidden.items; + +import java.util.LinkedHashMap; +import java.util.List; + +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.wands.WandCap; + +/** + * This class is used to keep the material information for the various caps. + * It is also used to generate the wand recipes ingame. + * @author Azanor + * + */ +public class DarkWandCap extends WandCap +{ + public DarkWandCap(String tag, float discount, ItemStack item, int craftCost, ResourceLocation skin) + { + super(tag, discount, item, craftCost); + setTexture(skin); + } + + public DarkWandCap(String tag, float discount, List specialAspects, float discountSpecial, ItemStack item, int craftCost, ResourceLocation skin) + { + super(tag, discount, specialAspects, discountSpecial, item, craftCost); + setTexture(skin); + } +} diff --git a/src/com/spiteful/forbidden/items/ForbiddenItems.java b/src/com/spiteful/forbidden/items/ForbiddenItems.java new file mode 100644 index 0000000..7cfee3b --- /dev/null +++ b/src/com/spiteful/forbidden/items/ForbiddenItems.java @@ -0,0 +1,100 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.*; + +import cpw.mods.fml.common.registry.GameRegistry; +import java.util.Arrays; +import net.minecraft.block.Block; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraftforge.common.MinecraftForge; +import net.minecraftforge.oredict.OreDictionary; +import net.minecraft.util.ResourceLocation; +import thaumcraft.api.ThaumcraftApi; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.wands.WandCap; +import thaumcraft.api.wands.WandRod; + +public class ForbiddenItems +{ + public static Item deadlyShards; + public static Item skullAxe; + public static Item arcaneCakeItem; + public static Item taintShovel; + public static Item wandCore; + public static Item resource; + public static Item taintPickaxe; + public static Item mobCrystal; + public static Item fork; + public static Item morphPickaxe; + public static Item morphSword; + public static Item morphShovel; + public static Item morphAxe; + + public static WandRod WAND_ROD_TAINTED; + public static WandRod WAND_ROD_INFERNAL; + public static WandRod WAND_ROD_NEUTRONIUM; + public static WandRod WAND_ROD_SOUL; + public static WandRod WAND_ROD_BLOOD; + public static WandCap WAND_CAP_ORICHALCUM; + + public static void addItems() + { + deadlyShards = new ItemDeadlyShard(Config.shardID).setUnlocalizedName("NetherShard"); + GameRegistry.registerItem(deadlyShards, "NetherShard"); + + skullAxe = new ItemSkullAxe(Config.skullAxeID, ThaumcraftApi.toolMatElemental).setUnlocalizedName("SkullAxe"); + GameRegistry.registerItem(skullAxe, "SkullAxe"); + + arcaneCakeItem = new ItemArcaneCake(Config.arcaneCakeItemID).setUnlocalizedName("ArcaneCake"); + GameRegistry.registerItem(arcaneCakeItem, "ArcaneCakeItem"); + + taintShovel = new ItemTaintShovel(Config.taintShovelID, ThaumcraftApi.toolMatElemental).setUnlocalizedName("TaintShovel"); + GameRegistry.registerItem(taintShovel, "TaintShovel"); + MinecraftForge.setToolClass(taintShovel, "shovel", 3); + + taintPickaxe = new ItemTaintPickaxe(Config.taintPickaxeID, ThaumcraftApi.toolMatElemental).setUnlocalizedName("TaintPickaxe"); + GameRegistry.registerItem(taintPickaxe, "TaintPickaxe"); + MinecraftForge.setToolClass(taintPickaxe, "pickaxe", 5); + + morphPickaxe = new ItemMorphPickaxe(Config.morphPickaxeID, ThaumcraftApi.toolMatElemental).setUnlocalizedName("MorphPickaxe"); + GameRegistry.registerItem(morphPickaxe, "MorphPickaxe"); + MinecraftForge.setToolClass(morphPickaxe, "pickaxe", 4); + + morphSword = new ItemMorphSword(Config.morphSwordID, ThaumcraftApi.toolMatElemental).setUnlocalizedName("MorphSword"); + GameRegistry.registerItem(morphSword, "MorphSword"); + + morphShovel = new ItemMorphShovel(Config.morphShovelID, ThaumcraftApi.toolMatElemental).setUnlocalizedName("MorphShovel"); + GameRegistry.registerItem(morphShovel, "MorphShovel"); + MinecraftForge.setToolClass(morphShovel, "shovel", 4); + + morphAxe = new ItemMorphAxe(Config.morphAxeID, ThaumcraftApi.toolMatElemental).setUnlocalizedName("MorphAxe"); + GameRegistry.registerItem(morphAxe, "MorphAxe"); + MinecraftForge.setToolClass(morphAxe, "axe", 4); + + wandCore = new ItemWandCores(Config.wandCoreID).setUnlocalizedName("WandCores"); + GameRegistry.registerItem(wandCore, "WandCores"); + WAND_ROD_TAINTED = new WandRod("tainted", 150, new ItemStack(wandCore, 1, 0), 12, new TaintedWandUpdate(), new ResourceLocation("forbidden", "textures/models/wand_rod_tainted.png")); + WAND_ROD_INFERNAL = new WandRod("infernal", 150, new ItemStack(wandCore, 1, 1), 12, new InfernalWandUpdate(), new ResourceLocation("forbidden", "textures/models/wand_rod_infernal.png")); + WAND_ROD_NEUTRONIUM = new WandRod("neutronium", 9001, new ItemStack(Block.bedrock, 1), 1000, new CreativeWandUpdate(), new ResourceLocation("forbidden", "textures/models/wand_rod_neutronium.png")); + WAND_ROD_NEUTRONIUM.setGlowing(true); + WAND_ROD_SOUL = new WandRod("soul", 100, new ItemStack(wandCore, 1, 2), 12, new SoulWandUpdate(), new ResourceLocation("forbidden", "textures/models/wand_rod_soul.png")); + WAND_ROD_SOUL.setGlowing(true); + WAND_ROD_BLOOD = new WandRod("blood", 100, new ItemStack(wandCore, 1, 3), 12, new BloodWandUpdate(), new ResourceLocation("forbidden", "textures/models/wand_rod_blood.png")); + WAND_CAP_ORICHALCUM = new DarkWandCap("orichalcum", 0.0F, new ItemStack(Block.commandBlock, 1), 1000, new ResourceLocation("forbidden", "textures/models/wand_cap_orichalcum.png")); + + resource = new ItemResource(Config.resourceID).setUnlocalizedName("FMResource"); + GameRegistry.registerItem(resource, "FMResource"); + OreDictionary.registerOre("nuggetEmerald", new ItemStack(resource, 1, 0)); + OreDictionary.registerOre("dyeBlack", new ItemStack(resource, 1, 1)); + + mobCrystal = new ItemMobCrystal(Config.mobCrystalID).setUnlocalizedName("MobCrystal"); + GameRegistry.registerItem(mobCrystal, "MobCrystal"); + + fork = new ItemDiabolistFork(Config.forkID, ThaumcraftApi.toolMatThaumium).setUnlocalizedName("DiabolistFork"); + if(Config.spork) + fork.setUnlocalizedName("DiabolistSpork"); + GameRegistry.registerItem(fork, "DiabolistFork"); + + } +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/items/InfernalWandUpdate.java b/src/com/spiteful/forbidden/items/InfernalWandUpdate.java new file mode 100644 index 0000000..2344975 --- /dev/null +++ b/src/com/spiteful/forbidden/items/InfernalWandUpdate.java @@ -0,0 +1,41 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Config; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import net.minecraft.potion.Potion; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.wands.IWandRodOnUpdate; +import thaumcraft.common.items.wands.ItemWandCasting; + +public class InfernalWandUpdate implements IWandRodOnUpdate { + + Aspect primals[] = {Aspect.ORDER, Aspect.ENTROPY, Aspect.AIR, Aspect.EARTH, Aspect.WATER}; + + public void onUpdate(ItemStack itemstack, EntityPlayer player) { + if(player.ticksExisted % 100 == 0){ + if(player.worldObj.provider.dimensionId == -1){ + for(int x = 0;x < primals.length;x++){ + if(((ItemWandCasting)itemstack.getItem()).getVis(itemstack, primals[x]) < ((ItemWandCasting)itemstack.getItem()).getMaxVis(itemstack) / 10) { + ((ItemWandCasting)itemstack.getItem()).addVis(itemstack, primals[x], 1, true); + } + } + } + + if(((ItemWandCasting)itemstack.getItem()).getVis(itemstack, Aspect.FIRE) < ((ItemWandCasting)itemstack.getItem()).getMaxVis(itemstack) / 5) { + ((ItemWandCasting)itemstack.getItem()).addVis(itemstack, Aspect.FIRE, 1, true); + } + } + + if(player.isBurning()) + player.extinguish(); + + if(player.isPotionActive(Potion.wither.id)) { + if(player.worldObj.isRemote) + player.removePotionEffectClient(Potion.wither.id); + else + player.removePotionEffect(Potion.wither.id); + } + } +} diff --git a/src/com/spiteful/forbidden/items/ItemArcaneCake.java b/src/com/spiteful/forbidden/items/ItemArcaneCake.java new file mode 100644 index 0000000..a32fd44 --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemArcaneCake.java @@ -0,0 +1,106 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.blocks.ForbiddenBlocks; +import com.spiteful.forbidden.Forbidden; + +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.block.Block; +import net.minecraft.entity.Entity; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.world.World; +import net.minecraft.client.renderer.texture.IconRegister; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; + +public class ItemArcaneCake extends Item +{ + public ItemArcaneCake(int par1) + { + super(par1); + this.setCreativeTab(Forbidden.tab); + } + + /** + * Callback for item usage. If the item does something special on right clicking, he will have one of those. Return + * True if something happen and false if it don't. This is for ITEMS, not BLOCKS + */ + public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10) + { + int i1 = par3World.getBlockId(par4, par5, par6); + + if (i1 == Block.snow.blockID && (par3World.getBlockMetadata(par4, par5, par6) & 7) < 1) + { + par7 = 1; + } + else if (i1 != Block.vine.blockID && i1 != Block.tallGrass.blockID && i1 != Block.deadBush.blockID) + { + if (par7 == 0) + { + --par5; + } + + if (par7 == 1) + { + ++par5; + } + + if (par7 == 2) + { + --par6; + } + + if (par7 == 3) + { + ++par6; + } + + if (par7 == 4) + { + --par4; + } + + if (par7 == 5) + { + ++par4; + } + } + + if (!par2EntityPlayer.canPlayerEdit(par4, par5, par6, par7, par1ItemStack)) + { + return false; + } + else if (par1ItemStack.stackSize == 0) + { + return false; + } + else + { + if (par3World.canPlaceEntityOnSide(ForbiddenBlocks.arcaneCake.blockID, par4, par5, par6, false, par7, (Entity)null, par1ItemStack)) + { + Block block = Block.blocksList[ForbiddenBlocks.arcaneCake.blockID]; + int j1 = block.onBlockPlaced(par3World, par4, par5, par6, par7, par8, par9, par10, 0); + + if (par3World.setBlock(par4, par5, par6, ForbiddenBlocks.arcaneCake.blockID, j1, 3)) + { + if (par3World.getBlockId(par4, par5, par6) == ForbiddenBlocks.arcaneCake.blockID) + { + Block.blocksList[ForbiddenBlocks.arcaneCake.blockID].onBlockPlacedBy(par3World, par4, par5, par6, par2EntityPlayer, par1ItemStack); + Block.blocksList[ForbiddenBlocks.arcaneCake.blockID].onPostBlockPlaced(par3World, par4, par5, par6, j1); + } + + par3World.playSoundEffect((double)((float)par4 + 0.5F), (double)((float)par5 + 0.5F), (double)((float)par6 + 0.5F), block.stepSound.getPlaceSound(), (block.stepSound.getVolume() + 1.0F) / 2.0F, block.stepSound.getPitch() * 0.8F); + --par1ItemStack.stackSize; + } + } + + return true; + } + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister par1IconRegister) + { + this.itemIcon = par1IconRegister.registerIcon("forbidden:cake"); + } +} diff --git a/src/com/spiteful/forbidden/items/ItemDeadlyShard.java b/src/com/spiteful/forbidden/items/ItemDeadlyShard.java new file mode 100644 index 0000000..b6325d4 --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemDeadlyShard.java @@ -0,0 +1,72 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Forbidden; +import com.spiteful.forbidden.Config; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import java.util.List; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.Icon; +import net.minecraft.util.MathHelper; + +public class ItemDeadlyShard extends Item +{ + public static final String[] vices = new String[] {"wrath", "envy", "taint", "pride", "lust", "sloth", "greed"}; + + @SideOnly(Side.CLIENT) + public Icon[] icons; + + public ItemDeadlyShard(int par1) + { + super(par1); + this.setMaxStackSize(64); + this.setHasSubtypes(true); + this.setMaxDamage(0); + this.setCreativeTab(Forbidden.tab); + if(Config.noLust) + vices[4] = "despair"; + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) + { + icons = new Icon[7]; + + for (int x = 0; x < 7; x++) + { + icons[x] = ir.registerIcon("forbidden:" + vices[x] + "shard"); + } + } + + @SideOnly(Side.CLIENT) + public Icon getIconFromDamage(int dam) + { + return this.icons[dam]; + } + + /** + * Returns the unlocalized name of this item. This version accepts an ItemStack so different stacks can have + * different names based on their damage or NBT. + */ + public String getUnlocalizedName(ItemStack par1ItemStack) + { + int i = MathHelper.clamp_int(par1ItemStack.getItemDamage(), 0, 6); + return super.getUnlocalizedName() + "." + vices[i]; + } + + @SideOnly(Side.CLIENT) + /** + * returns a list of items with the same ID, but different meta (eg: dye returns 16 items) + */ + public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List) + { + for (int j = 0; j < 7; ++j) + { + par3List.add(new ItemStack(par1, 1, j)); + } + } +} diff --git a/src/com/spiteful/forbidden/items/ItemDiabolistFork.java b/src/com/spiteful/forbidden/items/ItemDiabolistFork.java new file mode 100644 index 0000000..021dfa8 --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemDiabolistFork.java @@ -0,0 +1,106 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Forbidden; +import com.spiteful.forbidden.Config; + +import com.google.common.collect.Multimap; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.SharedMonsterAttributes; +import net.minecraft.entity.ai.attributes.AttributeModifier; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumAction; +import net.minecraft.item.EnumToolMaterial; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemSword; +import net.minecraft.util.Icon; +import net.minecraft.world.World; +import thaumcraft.api.IRepairable; + +public class ItemDiabolistFork extends ItemSword implements IRepairable { + + public Icon icon; + + public ItemDiabolistFork(int id, EnumToolMaterial mat){ + super(id, mat); + this.setCreativeTab(Forbidden.tab); + } + + @Override + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) + { + if(Config.spork) + this.icon = ir.registerIcon("forbidden:spork"); + else + this.icon = ir.registerIcon("forbidden:fork"); + } + + @Override + @SideOnly(Side.CLIENT) + public Icon getIconFromDamage(int par1) + { + return this.icon; + } + + @Override + /** + * Returns the strength of the stack against a given block. 1.0F base, (Quality+1)*2 if correct blocktype, 1.5F if + * sword + */ + public float getStrVsBlock(ItemStack par1ItemStack, Block par2Block) + { + return 1.0F; + } + + @Override + /** + * returns the action that specifies what animation to play when the items is being used + */ + public EnumAction getItemUseAction(ItemStack par1ItemStack) + { + return EnumAction.none; + } + + @Override + /** + * How long it takes to use or consume an item + */ + public int getMaxItemUseDuration(ItemStack par1ItemStack) + { + return 0; + } + + @Override + /** + * Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer + */ + public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) + { + return par1ItemStack; + } + + @Override + /** + * Return whether this item is repairable in an anvil. + */ + public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack) + { + return par2ItemStack.itemID == Item.netherQuartz.itemID ? true : super.getIsRepairable(par1ItemStack, par2ItemStack); + } + + @Override + /** + * Returns if the item (tool) can harvest results from the block type. + */ + public boolean canHarvestBlock(Block par1Block) + { + return false; + } +} \ No newline at end of file diff --git a/src/com/spiteful/forbidden/items/ItemMobCrystal.java b/src/com/spiteful/forbidden/items/ItemMobCrystal.java new file mode 100644 index 0000000..c6b68fa --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemMobCrystal.java @@ -0,0 +1,133 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.*; + +import java.util.List; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.Icon; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagString; +import net.minecraft.util.EnumChatFormatting; +import net.minecraft.util.StatCollector; +import net.minecraft.world.World; +import thaumcraft.api.aspects.Aspect; + +public class ItemMobCrystal extends Item { + + Icon[] icons; + + public ItemMobCrystal(int par1) { + super(par1); + this.setMaxStackSize(1); + //this.setHasSubtypes(true); + this.setMaxDamage(0); + this.setCreativeTab(Forbidden.crysTab); + } + + @SideOnly(Side.CLIENT) + /** + * allows items to add custom lines of information to the mouseover description + */ + public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) { + if (par1ItemStack.hasTagCompound()) + { + NBTTagCompound nbttagcompound = par1ItemStack.getTagCompound(); + NBTTagString nbttagstring = (NBTTagString)nbttagcompound.getTag("mob"); + + if (nbttagstring != null) + { + Aspect mobAspect = Config.spawnerMobs.get(nbttagstring.toString()); + if(mobAspect != null) + par3List.add(mobAspect.getName()); + } + } + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) + { + icons = new Icon[2]; + + icons[0] = ir.registerIcon("forbidden:emptycrystal"); + icons[1] = ir.registerIcon("forbidden:mobcrystal"); + } + + @SideOnly(Side.CLIENT) + /** + * Player, Render pass, and item usage sensitive version of getIconIndex. + * + * @param stack The item stack to get the icon for. (Usually this, and usingItem will be the same if usingItem is not null) + * @param renderPass The pass to get the icon for, 0 is default. + * @param player The player holding the item + * @param usingItem The item the player is actively using. Can be null if not using anything. + * @param useRemaining The ticks remaining for the active item. + * @return The icon index + */ + public Icon getIcon(ItemStack stack, int renderPass, EntityPlayer player, ItemStack usingItem, int useRemaining) + { + if (stack.hasTagCompound()) + { + NBTTagCompound nbttagcompound = stack.getTagCompound(); + NBTTagString nbttagstring = (NBTTagString)(nbttagcompound.getTag("mob")); + + if(nbttagstring != null) + return icons[1]; + } + + return icons[0]; + } + + @SideOnly(Side.CLIENT) + /** + * Returns the icon index of the stack given as argument. + */ + public Icon getIconIndex(ItemStack par1ItemStack) + { + if (par1ItemStack.hasTagCompound()) + { + NBTTagCompound nbttagcompound = par1ItemStack.getTagCompound(); + NBTTagString nbttagstring = (NBTTagString)(nbttagcompound.getTag("mob")); + + if(nbttagstring != null) + return icons[1]; + } + + return icons[0]; + } + + @SideOnly(Side.CLIENT) + /** + * returns a list of items with the same ID, but different meta (eg: dye returns 16 items) + */ + public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List) + { + par3List.add(new ItemStack(par1, 1, 0)); + + for (String mob: Config.spawnerMobs.keySet()){ + ItemStack crystal = new ItemStack(par1, 1, 0); + NBTTagString mobTag = new NBTTagString("mob", mob); + crystal.setTagInfo("mob", mobTag); + par3List.add(crystal); + } + } + + public String getItemDisplayName(ItemStack par1ItemStack) + { + if (par1ItemStack.hasTagCompound()) + { + NBTTagCompound nbttagcompound = par1ItemStack.getTagCompound(); + NBTTagString nbttagstring = (NBTTagString)nbttagcompound.getTag("mob"); + + if(nbttagstring != null) + return ("" + StatCollector.translateToLocal("entity." + nbttagstring.toString() + ".name") + " " + StatCollector.translateToLocal("item.MobCrystal.name")).trim(); + } + + return ("" + StatCollector.translateToLocal("item.MobCrystalEmpty.name")).trim(); + } +} diff --git a/src/com/spiteful/forbidden/items/ItemMorphAxe.java b/src/com/spiteful/forbidden/items/ItemMorphAxe.java new file mode 100644 index 0000000..f4e67c3 --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemMorphAxe.java @@ -0,0 +1,111 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Forbidden; +import com.spiteful.forbidden.Config; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.EnumToolMaterial; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemAxe; +import net.minecraft.block.Block; +import net.minecraft.nbt.*; +import net.minecraft.util.Icon; +import net.minecraft.world.World; +import thaumcraft.api.IRepairable; +import thaumcraft.api.ItemApi; +import net.minecraftforge.common.ForgeHooks; + +public class ItemMorphAxe extends ItemAxe implements IRepairable +{ + public Icon[] icon; + + public ItemMorphAxe(int i, EnumToolMaterial enumtoolmaterial) + { + super(i, enumtoolmaterial); + this.setCreativeTab(Forbidden.tab); + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) + { + icon = new Icon[2]; + this.icon[0] = ir.registerIcon("forbidden:chameleonaxe"); + this.icon[1] = ir.registerIcon("forbidden:eyeaxe"); + } + + @SideOnly(Side.CLIENT) + public Icon getIconFromDamageForRenderPass(int par1, int renderPass) { + return renderPass != 1?icon[0]:icon[1]; + } + + public EnumRarity getRarity(ItemStack itemstack) + { + return EnumRarity.epic; + } + + public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack) + { + return par2ItemStack.isItemEqual(new ItemStack(ForbiddenItems.deadlyShards, 1, 1)) ? true : super.getIsRepairable(par1ItemStack, par2ItemStack); + } + + @Override + /** + * Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer + */ + public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer player) + { + if(player.isSneaking() && itemstack.hasTagCompound() && getMaxDamage() - itemstack.getItemDamage() > 5){ + NBTTagCompound tags = itemstack.getTagCompound(); + byte phase = tags.getByte("phase"); + NBTTagList enchants = itemstack.getEnchantmentTagList(); + if(enchants != null) + tags.setTag("enchants" + phase, enchants); + else + tags.removeTag("enchants" + phase); + if(++phase > 2) + phase = 0; + tags.setByte("phase", phase); + enchants = (NBTTagList)(tags.getTag("enchants" + phase)); + if(enchants == null) + tags.removeTag("ench"); + else + tags.setTag("ench", enchants); + + itemstack.setTagCompound(tags); + itemstack.damageItem(5, player); + player.swingItem(); + world.playSoundEffect(player.posX, player.posY, player.posZ, "thaumcraft:wandfail", 0.2F, 0.2F + world.rand.nextFloat() * 0.2F); + } + return itemstack; + } + + @Override + @SideOnly(Side.CLIENT) + public int getColorFromItemStack(ItemStack itemstack, int renderpass) + { + if(renderpass != 1) + return 16777215; + else + { + if(!itemstack.hasTagCompound()) + return 0x980000; + byte phase = itemstack.getTagCompound().getByte("phase"); + if(phase == 1) + return 0x0010CC; + else if(phase == 2) + return 0xE5DA00; + else + return 0x980000; + } + } + + @SideOnly(Side.CLIENT) + public boolean requiresMultipleRenderPasses() { + return true; + } + +} diff --git a/src/com/spiteful/forbidden/items/ItemMorphPickaxe.java b/src/com/spiteful/forbidden/items/ItemMorphPickaxe.java new file mode 100644 index 0000000..40a3e80 --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemMorphPickaxe.java @@ -0,0 +1,121 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Forbidden; +import com.spiteful.forbidden.Config; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.EnumToolMaterial; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemPickaxe; +import net.minecraft.block.Block; +import net.minecraft.nbt.*; +import net.minecraft.util.Icon; +import net.minecraft.world.World; +import thaumcraft.api.IRepairable; +import thaumcraft.api.ItemApi; +import net.minecraftforge.common.ForgeHooks; + +public class ItemMorphPickaxe extends ItemPickaxe implements IRepairable +{ + public Icon[] icon; + + public ItemMorphPickaxe(int i, EnumToolMaterial enumtoolmaterial) + { + super(i, enumtoolmaterial); + this.setCreativeTab(Forbidden.tab); + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) + { + icon = new Icon[2]; + this.icon[0] = ir.registerIcon("forbidden:chameleonpick"); + this.icon[1] = ir.registerIcon("forbidden:eyepick"); + } + + @SideOnly(Side.CLIENT) + public Icon getIconFromDamageForRenderPass(int par1, int renderPass) { + return renderPass != 1?icon[0]:icon[1]; + } + + public EnumRarity getRarity(ItemStack itemstack) + { + return EnumRarity.epic; + } + + public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack) + { + return par2ItemStack.isItemEqual(new ItemStack(ForbiddenItems.deadlyShards, 1, 1)) ? true : super.getIsRepairable(par1ItemStack, par2ItemStack); + } + + @Override + /** + * Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer + */ + public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer player) + { + if(player.isSneaking() && itemstack.hasTagCompound() && getMaxDamage() - itemstack.getItemDamage() > 5){ + NBTTagCompound tags = itemstack.getTagCompound(); + byte phase = tags.getByte("phase"); + NBTTagList enchants = itemstack.getEnchantmentTagList(); + if(enchants != null) + tags.setTag("enchants" + phase, enchants); + else + tags.removeTag("enchants" + phase); + if(++phase > 2) + phase = 0; + tags.setByte("phase", phase); + enchants = (NBTTagList)(tags.getTag("enchants" + phase)); + if(enchants == null) + tags.removeTag("ench"); + else + tags.setTag("ench", enchants); + + itemstack.setTagCompound(tags); + itemstack.damageItem(5, player); + player.swingItem(); + world.playSoundEffect(player.posX, player.posY, player.posZ, "thaumcraft:wandfail", 0.2F, 0.2F + world.rand.nextFloat() * 0.2F); + } + return itemstack; + } + + @Override + @SideOnly(Side.CLIENT) + public int getColorFromItemStack(ItemStack itemstack, int renderpass) + { + if(renderpass != 1) + return 16777215; + else + { + if(!itemstack.hasTagCompound()) + return 0x980000; + byte phase = itemstack.getTagCompound().getByte("phase"); + if(phase == 1) + return 0x0010CC; + else if(phase == 2) + return 0xE5DA00; + else + return 0x980000; + } + } + + @SideOnly(Side.CLIENT) + public boolean requiresMultipleRenderPasses() { + return true; + } + + //@Override + //public boolean onItemUse(ItemStack itemstack, EntityPlayer player, World world, int x, int y, int z, int side, float par8, float par9, float par10) { + // if(!itemstack.hasTagCompound()) + // return false; + // else { + // player.swingItem(); + // return true; + //} + //return false; + //} +} diff --git a/src/com/spiteful/forbidden/items/ItemMorphShovel.java b/src/com/spiteful/forbidden/items/ItemMorphShovel.java new file mode 100644 index 0000000..a3e5e28 --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemMorphShovel.java @@ -0,0 +1,111 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Forbidden; +import com.spiteful.forbidden.Config; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.EnumToolMaterial; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemSpade; +import net.minecraft.block.Block; +import net.minecraft.nbt.*; +import net.minecraft.util.Icon; +import net.minecraft.world.World; +import thaumcraft.api.IRepairable; +import thaumcraft.api.ItemApi; +import net.minecraftforge.common.ForgeHooks; + +public class ItemMorphShovel extends ItemSpade implements IRepairable +{ + public Icon[] icon; + + public ItemMorphShovel(int i, EnumToolMaterial enumtoolmaterial) + { + super(i, enumtoolmaterial); + this.setCreativeTab(Forbidden.tab); + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) + { + icon = new Icon[2]; + this.icon[0] = ir.registerIcon("forbidden:chameleonshovel"); + this.icon[1] = ir.registerIcon("forbidden:eyeshovel"); + } + + @SideOnly(Side.CLIENT) + public Icon getIconFromDamageForRenderPass(int par1, int renderPass) { + return renderPass != 1?icon[0]:icon[1]; + } + + public EnumRarity getRarity(ItemStack itemstack) + { + return EnumRarity.epic; + } + + public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack) + { + return par2ItemStack.isItemEqual(new ItemStack(ForbiddenItems.deadlyShards, 1, 1)) ? true : super.getIsRepairable(par1ItemStack, par2ItemStack); + } + + @Override + /** + * Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer + */ + public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer player) + { + if(player.isSneaking() && itemstack.hasTagCompound() && getMaxDamage() - itemstack.getItemDamage() > 5){ + NBTTagCompound tags = itemstack.getTagCompound(); + byte phase = tags.getByte("phase"); + NBTTagList enchants = itemstack.getEnchantmentTagList(); + if(enchants != null) + tags.setTag("enchants" + phase, enchants); + else + tags.removeTag("enchants" + phase); + if(++phase > 2) + phase = 0; + tags.setByte("phase", phase); + enchants = (NBTTagList)(tags.getTag("enchants" + phase)); + if(enchants == null) + tags.removeTag("ench"); + else + tags.setTag("ench", enchants); + + itemstack.setTagCompound(tags); + itemstack.damageItem(5, player); + player.swingItem(); + world.playSoundEffect(player.posX, player.posY, player.posZ, "thaumcraft:wandfail", 0.2F, 0.2F + world.rand.nextFloat() * 0.2F); + } + return itemstack; + } + + @Override + @SideOnly(Side.CLIENT) + public int getColorFromItemStack(ItemStack itemstack, int renderpass) + { + if(renderpass != 1) + return 16777215; + else + { + if(!itemstack.hasTagCompound()) + return 0x980000; + byte phase = itemstack.getTagCompound().getByte("phase"); + if(phase == 1) + return 0x0010CC; + else if(phase == 2) + return 0xE5DA00; + else + return 0x980000; + } + } + + @SideOnly(Side.CLIENT) + public boolean requiresMultipleRenderPasses() { + return true; + } + +} diff --git a/src/com/spiteful/forbidden/items/ItemMorphSword.java b/src/com/spiteful/forbidden/items/ItemMorphSword.java new file mode 100644 index 0000000..97ea326 --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemMorphSword.java @@ -0,0 +1,113 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Forbidden; +import com.spiteful.forbidden.Config; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.EnumToolMaterial; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemSword; +import net.minecraft.block.Block; +import net.minecraft.nbt.*; +import net.minecraft.util.Icon; +import net.minecraft.world.World; +import thaumcraft.api.IRepairable; +import thaumcraft.api.ItemApi; +import net.minecraftforge.common.ForgeHooks; + +public class ItemMorphSword extends ItemSword implements IRepairable +{ + public Icon[] icon; + + public ItemMorphSword(int i, EnumToolMaterial enumtoolmaterial) + { + super(i, enumtoolmaterial); + this.setCreativeTab(Forbidden.tab); + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) + { + icon = new Icon[2]; + this.icon[0] = ir.registerIcon("forbidden:chameleonsword"); + this.icon[1] = ir.registerIcon("forbidden:eyesword"); + } + + @SideOnly(Side.CLIENT) + public Icon getIconFromDamageForRenderPass(int par1, int renderPass) { + return renderPass != 1?icon[0]:icon[1]; + } + + public EnumRarity getRarity(ItemStack itemstack) + { + return EnumRarity.epic; + } + + public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack) + { + return par2ItemStack.isItemEqual(new ItemStack(ForbiddenItems.deadlyShards, 1, 1)) ? true : super.getIsRepairable(par1ItemStack, par2ItemStack); + } + + @Override + /** + * Called whenever this item is equipped and the right mouse button is pressed. Args: itemStack, world, entityPlayer + */ + public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer player) + { + //player.setItemInUse(itemstack, getMaxItemUseDuration(itemstack)); + + if(player.isSneaking() && itemstack.hasTagCompound() && getMaxDamage() - itemstack.getItemDamage() > 5){ + NBTTagCompound tags = itemstack.getTagCompound(); + byte phase = tags.getByte("phase"); + NBTTagList enchants = itemstack.getEnchantmentTagList(); + if(enchants != null) + tags.setTag("enchants" + phase, enchants); + else + tags.removeTag("enchants" + phase); + if(++phase > 2) + phase = 0; + tags.setByte("phase", phase); + enchants = (NBTTagList)(tags.getTag("enchants" + phase)); + if(enchants == null) + tags.removeTag("ench"); + else + tags.setTag("ench", enchants); + + itemstack.setTagCompound(tags); + itemstack.damageItem(5, player); + player.swingItem(); + world.playSoundEffect(player.posX, player.posY, player.posZ, "thaumcraft:wandfail", 0.2F, 0.2F + world.rand.nextFloat() * 0.2F); + } + return itemstack; + } + + @Override + @SideOnly(Side.CLIENT) + public int getColorFromItemStack(ItemStack itemstack, int renderpass) + { + if(renderpass != 1) + return 16777215; + else + { + if(!itemstack.hasTagCompound()) + return 0x980000; + byte phase = itemstack.getTagCompound().getByte("phase"); + if(phase == 1) + return 0x0010CC; + else if(phase == 2) + return 0xE5DA00; + else + return 0x980000; + } + } + + @SideOnly(Side.CLIENT) + public boolean requiresMultipleRenderPasses() { + return true; + } + +} diff --git a/src/com/spiteful/forbidden/items/ItemResource.java b/src/com/spiteful/forbidden/items/ItemResource.java new file mode 100644 index 0000000..7918e24 --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemResource.java @@ -0,0 +1,92 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Forbidden; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import java.util.List; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.passive.EntitySheep; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.Icon; +import net.minecraft.util.MathHelper; + +public class ItemResource extends Item +{ + @SideOnly(Side.CLIENT) + public Icon[] icons; + + public ItemResource(int par1) + { + super(par1); + this.setMaxStackSize(64); + this.setHasSubtypes(true); + this.setMaxDamage(0); + this.setCreativeTab(Forbidden.tab); + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) + { + icons = new Icon[2]; + + icons[0] = ir.registerIcon("forbidden:emerald_nugget"); + icons[1] = ir.registerIcon("forbidden:dye_powder_black"); + } + + @SideOnly(Side.CLIENT) + public Icon getIconFromDamage(int dam) + { + return this.icons[dam]; + } + + /** + * Returns the unlocalized name of this item. This version accepts an ItemStack so different stacks can have + * different names based on their damage or NBT. + */ + public String getUnlocalizedName(ItemStack par1ItemStack) + { + int i = MathHelper.clamp_int(par1ItemStack.getItemDamage(), 0, 6); + return super.getUnlocalizedName() + "." + i; + } + + @SideOnly(Side.CLIENT) + /** + * returns a list of items with the same ID, but different meta (eg: dye returns 16 items) + */ + public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List) + { + for (int j = 0; j < 2; ++j) + { + par3List.add(new ItemStack(par1, 1, j)); + } + } + + @Override + /** + * Returns true if the item can be used on the given entity, e.g. shears on sheep. + */ + public boolean itemInteractionForEntity(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, EntityLivingBase par3EntityLivingBase) + { + if (par3EntityLivingBase instanceof EntitySheep && par1ItemStack.getItemDamage() == 1) + { + EntitySheep entitysheep = (EntitySheep)par3EntityLivingBase; + + if (!entitysheep.getSheared() && entitysheep.getFleeceColor() != 15) + { + entitysheep.setFleeceColor(15); + --par1ItemStack.stackSize; + } + + return true; + } + else + { + return false; + } + } +} diff --git a/src/com/spiteful/forbidden/items/ItemSkullAxe.java b/src/com/spiteful/forbidden/items/ItemSkullAxe.java new file mode 100644 index 0000000..4d70101 --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemSkullAxe.java @@ -0,0 +1,63 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Forbidden; +import com.spiteful.forbidden.Config; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.EnumToolMaterial; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemSword; +import net.minecraft.block.Block; +import net.minecraft.util.Icon; +import thaumcraft.api.IRepairable; +import thaumcraft.api.ItemApi; + +public class ItemSkullAxe extends ItemSword implements IRepairable +{ + public Icon icon; + + public ItemSkullAxe(int i, EnumToolMaterial enumtoolmaterial) + { + super(i, enumtoolmaterial); + this.setCreativeTab(Forbidden.tab); + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) + { + this.icon = ir.registerIcon("forbidden:skullaxe"); + } + + @SideOnly(Side.CLIENT) + public Icon getIconFromDamage(int par1) + { + return this.icon; + } + + public EnumRarity getRarity(ItemStack itemstack) + { + return EnumRarity.uncommon; + } + + @Override + /** + * Return whether this item is repairable in an anvil. + */ + public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack) + { + return par2ItemStack.isItemEqual(new ItemStack(Config.thaumcraftResourceID, 1, 2)) ? true : super.getIsRepairable(par1ItemStack, par2ItemStack); + } + + @Override + /** + * Returns the strength of the stack against a given block. 1.0F base, (Quality+1)*2 if correct blocktype, 1.5F if + * sword + */ + public float getStrVsBlock(ItemStack par1ItemStack, Block par2Block) + { + return 1.0F; + } +} diff --git a/src/com/spiteful/forbidden/items/ItemTaintPickaxe.java b/src/com/spiteful/forbidden/items/ItemTaintPickaxe.java new file mode 100644 index 0000000..06696da --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemTaintPickaxe.java @@ -0,0 +1,66 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Forbidden; +import com.spiteful.forbidden.Config; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.EnumToolMaterial; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemPickaxe; +import net.minecraft.block.Block; +import net.minecraft.util.Icon; +import net.minecraft.world.World; +import thaumcraft.api.IRepairable; +import thaumcraft.api.ItemApi; +import net.minecraftforge.common.ForgeHooks; + +public class ItemTaintPickaxe extends ItemPickaxe implements IRepairable +{ + public Icon icon; + + public ItemTaintPickaxe(int i, EnumToolMaterial enumtoolmaterial) + { + super(i, enumtoolmaterial); + this.setCreativeTab(Forbidden.tab); + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) + { + this.icon = ir.registerIcon("forbidden:taintpickaxe"); + } + + @SideOnly(Side.CLIENT) + public Icon getIconFromDamage(int par1) + { + return this.icon; + } + + public EnumRarity getRarity(ItemStack itemstack) + { + return EnumRarity.rare; + } + + public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack) + { + return par2ItemStack.isItemEqual(new ItemStack(Config.thaumcraftResourceID, 1, 2)) ? true : super.getIsRepairable(par1ItemStack, par2ItemStack); + } + + @Override + public float getStrVsBlock(ItemStack stack, Block block, int meta) + { + if(block.blockHardness == 0.0F) + return 0.0F; + else if(block.blockHardness < 5.0F) + return 0.1F; + else if(block.blockHardness < 20.0F) + return block.blockHardness / 2.0F; + else + return 5.0F + block.blockHardness; + + } +} diff --git a/src/com/spiteful/forbidden/items/ItemTaintShovel.java b/src/com/spiteful/forbidden/items/ItemTaintShovel.java new file mode 100644 index 0000000..8066a2c --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemTaintShovel.java @@ -0,0 +1,79 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Forbidden; +import com.spiteful.forbidden.Config; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.EnumToolMaterial; +import net.minecraft.item.ItemStack; +import net.minecraft.item.ItemSpade; +import net.minecraft.block.Block; +import net.minecraft.util.Icon; +import net.minecraft.world.World; +import thaumcraft.api.IRepairable; +import thaumcraft.api.ItemApi; +import net.minecraftforge.common.ForgeHooks; + +public class ItemTaintShovel extends ItemSpade implements IRepairable +{ + public Icon icon; + + public ItemTaintShovel(int i, EnumToolMaterial enumtoolmaterial) + { + super(i, enumtoolmaterial); + this.setCreativeTab(Forbidden.tab); + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) + { + this.icon = ir.registerIcon("forbidden:taintshovel"); + } + + @SideOnly(Side.CLIENT) + public Icon getIconFromDamage(int par1) + { + return this.icon; + } + + public EnumRarity getRarity(ItemStack itemstack) + { + return EnumRarity.rare; + } + + public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack) + { + return par2ItemStack.isItemEqual(new ItemStack(Config.thaumcraftResourceID, 1, 2)) ? true : super.getIsRepairable(par1ItemStack, par2ItemStack); + } + + @Override + public float getStrVsBlock(ItemStack stack, Block block, int meta) + { + if (ForgeHooks.isToolEffective(stack, block, meta) || block.blockMaterial == Config.taintMaterial) + { + return efficiencyOnProperMaterial; + } + + return getStrVsBlock(stack, block); + } + + @Override + public boolean onItemUse(ItemStack itemstack, EntityPlayer player, World world, int x, int y, int z, int side, float par8, float par9, float par10) { + if(player != null && player.isPotionActive(Config.thaumcraftTaintPotionID)) { + itemstack.damageItem(5, player); + player.swingItem(); + if(player.worldObj.isRemote) + player.removePotionEffectClient(Config.thaumcraftTaintPotionID); + else { + world.playSoundEffect((double)x + 0.5D, (double)y + 0.5D, (double)z + 0.5D, "thaumcraft:wandfail", 0.2F, 0.2F + world.rand.nextFloat() * 0.2F); + player.removePotionEffect(Config.thaumcraftTaintPotionID); + } + return true; + } + return super.onItemUse(itemstack, player, world, x, y, z, side, par8, par9, par10); + } +} diff --git a/src/com/spiteful/forbidden/items/ItemWandCores.java b/src/com/spiteful/forbidden/items/ItemWandCores.java new file mode 100644 index 0000000..67db8b5 --- /dev/null +++ b/src/com/spiteful/forbidden/items/ItemWandCores.java @@ -0,0 +1,81 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Forbidden; +import com.spiteful.forbidden.Compat; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import java.util.List; +import net.minecraft.client.renderer.texture.IconRegister; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.Icon; +import thaumcraft.api.ItemApi; +import thaumcraft.api.wands.WandCap; +import thaumcraft.api.wands.WandRod; +import thaumcraft.common.items.wands.ItemWandCasting; + +public class ItemWandCores extends Item { + + public final String[] types = {"tainted", "infernal", "soul", "blood"}; + public Icon[] icon = new Icon[4]; + + + public ItemWandCores(int par1) { + super(par1); + this.setMaxStackSize(64); + this.setHasSubtypes(true); + this.setMaxDamage(0); + this.setCreativeTab(Forbidden.tab); + } + + @SideOnly(Side.CLIENT) + public void registerIcons(IconRegister ir) { + for(int x = 0; x < types.length; x++) + this.icon[x] = ir.registerIcon("forbidden:wand_rod_" + types[x]); + } + + @SideOnly(Side.CLIENT) + public Icon getIconFromDamage(int meta) { + return this.icon[meta]; + } + + @SideOnly(Side.CLIENT) + public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List) { + for(int x = 0; x < types.length; x++){ + par3List.add(new ItemStack(this, 1, x)); + } + + ItemStack taint = ItemApi.getItem("itemWandCasting", 72); + ((ItemWandCasting)taint.getItem()).setCap(taint, (WandCap)WandCap.caps.get("thaumium")); + ((ItemWandCasting)taint.getItem()).setRod(taint, (WandRod)WandRod.rods.get("tainted")); + par3List.add(taint); + ItemStack infernal = ItemApi.getItem("itemWandCasting", 72); + ((ItemWandCasting)infernal.getItem()).setCap(infernal, (WandCap)WandCap.caps.get("thaumium")); + ((ItemWandCasting)infernal.getItem()).setRod(infernal, (WandRod)WandRod.rods.get("infernal")); + par3List.add(infernal); + ItemStack creative = ItemApi.getItem("itemWandCasting", 2000); + ((ItemWandCasting)creative.getItem()).setCap(creative, (WandCap)WandCap.caps.get("orichalcum")); + ((ItemWandCasting)creative.getItem()).setRod(creative, (WandRod)WandRod.rods.get("neutronium")); + par3List.add(creative); + if(Compat.pb) + { + ItemStack soul = ItemApi.getItem("itemWandCasting", 72); + ((ItemWandCasting)creative.getItem()).setCap(soul, (WandCap)WandCap.caps.get("thaumium")); + ((ItemWandCasting)creative.getItem()).setRod(soul, (WandRod)WandRod.rods.get("soul")); + par3List.add(soul); + } + if(Compat.bm) + { + ItemStack blood = ItemApi.getItem("itemWandCasting", 72); + ((ItemWandCasting)creative.getItem()).setCap(blood, (WandCap)WandCap.caps.get("thaumium")); + ((ItemWandCasting)creative.getItem()).setRod(blood, (WandRod)WandRod.rods.get("blood")); + par3List.add(blood); + } + } + + public String getUnlocalizedName(ItemStack par1ItemStack) { + return super.getUnlocalizedName() + "." + types[par1ItemStack.getItemDamage()]; + } +} diff --git a/src/com/spiteful/forbidden/items/SoulWandUpdate.java b/src/com/spiteful/forbidden/items/SoulWandUpdate.java new file mode 100644 index 0000000..c4ce37d --- /dev/null +++ b/src/com/spiteful/forbidden/items/SoulWandUpdate.java @@ -0,0 +1,71 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Config; +import com.spiteful.forbidden.Compat; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.wands.IWandRodOnUpdate; +import thaumcraft.common.items.wands.ItemWandCasting; +import playerbeacons.common.PlayerBeacons; +import playerbeacons.tileentity.TileEntityPlayerBeacon; + +public class SoulWandUpdate implements IWandRodOnUpdate { + + Aspect primals[] = Aspect.getPrimalAspects().toArray(new Aspect[0]); + + public void onUpdate(ItemStack itemstack, EntityPlayer player) + { + if(Compat.pb && player.ticksExisted % 150 == 0) + { + try + { + NBTTagCompound info = null; + info = PlayerBeacons.beaconData.loadBeaconInformation(player.worldObj, player.username); + + if(info == null) + return; + + int x = info.getInteger("x"); + int y = info.getInteger("y"); + int z = info.getInteger("z"); + + TileEntityPlayerBeacon bacon = (TileEntityPlayerBeacon) player.worldObj.getBlockTileEntity(x, y, z); + if(bacon != null) + { + if(Compat.tt) + { + if(player.worldObj.getBlockId(x - 1, y, z) == Compat.tabletID) + return; + if(player.worldObj.getBlockId(x + 1, y, z) == Compat.tabletID) + return; + if(player.worldObj.getBlockId(x, y, z + 1) == Compat.tabletID) + return; + if(player.worldObj.getBlockId(x, y, z - 1) == Compat.tabletID) + return; + } + int charge = 0; + for(int j = 0;j < primals.length;j++) + { + if(((ItemWandCasting)itemstack.getItem()).getVis(itemstack, primals[j]) < ((ItemWandCasting)itemstack.getItem()).getMaxVis(itemstack)) + { + ((ItemWandCasting)itemstack.getItem()).addVis(itemstack, primals[j], 1, true); + bacon.setCorruption(bacon.getCorruption() + 50, true); + bacon.doCorruption(false); + charge++; + } + } + if(player.worldObj.rand.nextInt(100) < charge) + bacon.doCorruption(true); + + } + } + catch(Exception e) + { + return; + } + } + } +} diff --git a/src/com/spiteful/forbidden/items/TaintedWandUpdate.java b/src/com/spiteful/forbidden/items/TaintedWandUpdate.java new file mode 100644 index 0000000..e205de7 --- /dev/null +++ b/src/com/spiteful/forbidden/items/TaintedWandUpdate.java @@ -0,0 +1,31 @@ +package com.spiteful.forbidden.items; + +import com.spiteful.forbidden.Config; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.wands.IWandRodOnUpdate; +import thaumcraft.common.items.wands.ItemWandCasting; + +public class TaintedWandUpdate implements IWandRodOnUpdate { + + Aspect primals[] = Aspect.getPrimalAspects().toArray(new Aspect[0]); + + public void onUpdate(ItemStack itemstack, EntityPlayer player) { + if(player.ticksExisted % 100 == 0 && player.worldObj.getBiomeGenForCoords((int)player.posX, (int)player.posZ).biomeID == Config.thaumcraftTaintBiomeID){ + for(int x = 0;x < primals.length;x++){ + if(((ItemWandCasting)itemstack.getItem()).getVis(itemstack, primals[x]) < ((ItemWandCasting)itemstack.getItem()).getMaxVis(itemstack) / 10) { + ((ItemWandCasting)itemstack.getItem()).addVis(itemstack, primals[x], 1, true); + } + } + } + + //if(player.isPotionActive(Config.thaumcraftTaintPotionID)) { + // if(player.worldObj.isRemote) + // player.removePotionEffectClient(Config.thaumcraftTaintPotionID); + // else + // player.removePotionEffect(Config.thaumcraftTaintPotionID); + //} + } +} diff --git a/src/com/spiteful/forbidden/tiles/TileEntityWrathCage.java b/src/com/spiteful/forbidden/tiles/TileEntityWrathCage.java new file mode 100644 index 0000000..a019ef9 --- /dev/null +++ b/src/com/spiteful/forbidden/tiles/TileEntityWrathCage.java @@ -0,0 +1,373 @@ +package com.spiteful.forbidden.tiles; + +import com.spiteful.forbidden.DarkAspects; +import com.spiteful.forbidden.Config; + +import net.minecraft.tileentity.MobSpawnerBaseLogic; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.tileentity.TileEntityMobSpawner; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.network.packet.Packet; +import net.minecraft.network.packet.Packet250CustomPayload; +import net.minecraft.network.INetworkManager; +import net.minecraft.network.packet.Packet132TileEntityData; +import cpw.mods.fml.common.network.PacketDispatcher; +import net.minecraftforge.common.ForgeDirection; +import java.io.ByteArrayOutputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.util.logging.Level; +import cpw.mods.fml.common.FMLLog; +import thaumcraft.api.ThaumcraftApiHelper; +import thaumcraft.api.aspects.Aspect; +import thaumcraft.api.aspects.AspectList; +import thaumcraft.api.aspects.IAspectContainer; +import thaumcraft.api.aspects.IEssentiaTransport; + + +public class TileEntityWrathCage extends TileEntity implements IAspectContainer, IEssentiaTransport +{ + private final WrathSpawnerLogic spawnLogic = new WrathSpawnerLogic(this); + public int wrath = 0; + public int sloth = 0; + public int special = 0; + Aspect aspect; + + @Override + /** + * Reads a tile entity from NBT. + */ + public void readFromNBT(NBTTagCompound par1NBTTagCompound) + { + super.readFromNBT(par1NBTTagCompound); + this.spawnLogic.readFromNBT(par1NBTTagCompound); + this.wrath = par1NBTTagCompound.getShort("Wrath"); + this.sloth = par1NBTTagCompound.getShort("Sloth"); + this.special = par1NBTTagCompound.getShort("Special"); + aspect = spawnLogic.getAspect(); + } + + @Override + /** + * Writes a tile entity to NBT. + */ + public void writeToNBT(NBTTagCompound par1NBTTagCompound) + { + super.writeToNBT(par1NBTTagCompound); + this.spawnLogic.writeToNBT(par1NBTTagCompound); + par1NBTTagCompound.setShort("Wrath", (short)this.wrath); + par1NBTTagCompound.setShort("Sloth", (short)this.sloth); + par1NBTTagCompound.setShort("Special", (short)this.special); + } + + @Override + public void onDataPacket(INetworkManager net, Packet132TileEntityData pkt) { + readFromNBT(pkt.data); + worldObj.markBlockForUpdate(xCoord, yCoord, zCoord); + } + + @Override + public Packet getDescriptionPacket() { + NBTTagCompound tag = new NBTTagCompound(); + writeToNBT(tag); + return new Packet132TileEntityData(xCoord, yCoord, zCoord, 0, tag); + } + + /** + * Allows the entity to update its state. Overridden in most subclasses, e.g. the mob spawner uses this to count + * ticks and creates a new spawn inside its implementation. + */ + public void updateEntity() + { + if(!worldObj.isBlockIndirectlyGettingPowered(xCoord, yCoord, zCoord)){ + this.spawnLogic.updateSpawner(); + } + + if(Config.wrathCost > 0 && spawnLogic.isMobSet() && !(special >= 64 || wrath >= 64 || sloth >= 64)) + drawEssentia(); + + super.updateEntity(); + } + + void drawEssentia() + { + for(int x = 0;x < ForgeDirection.VALID_DIRECTIONS.length;x++){ + ForgeDirection current = ForgeDirection.VALID_DIRECTIONS[x]; + TileEntity te = ThaumcraftApiHelper.getConnectableTile(worldObj, xCoord, yCoord, zCoord, current); + if(te != null) { + IEssentiaTransport ic = (IEssentiaTransport)te; + if(ic.canOutputTo(current.getOpposite()) && special < 64 + && ic.getSuction(current.getOpposite()).getAmount(aspect) < this.getSuction(current).getAmount(aspect) && ic.takeVis(aspect, 1) == 1) { + special++; + worldObj.markBlockForUpdate(xCoord, yCoord, zCoord); + return; + } + else if(ic.canOutputTo(current.getOpposite()) && wrath < 64 && special < Config.wrathCost + && ic.getSuction(current.getOpposite()).getAmount(DarkAspects.WRATH) < this.getSuction(current).getAmount(DarkAspects.WRATH) && ic.takeVis(DarkAspects.WRATH, 1) == 1) { + wrath++; + worldObj.markBlockForUpdate(xCoord, yCoord, zCoord); + return; + } + else if(ic.canOutputTo(current.getOpposite()) && sloth < 64 && special < Config.wrathCost && wrath < Config.wrathCost + && ic.getSuction(current.getOpposite()).getAmount(DarkAspects.SLOTH) < this.getSuction(current).getAmount(DarkAspects.SLOTH) && ic.takeVis(DarkAspects.SLOTH, 1) == 1) { + sloth++; + worldObj.markBlockForUpdate(xCoord, yCoord, zCoord); + return; + } + } + } + } + + public void checkAspect() { + if(aspect != spawnLogic.getAspect()) + special = 0; + aspect = spawnLogic.getAspect(); + } + + /** + * Called when a client event is received with the event number and argument, see World.sendClientEvent + */ + public boolean receiveClientEvent(int par1, int par2) + { + return this.spawnLogic.setDelayToMin(par1) ? true : super.receiveClientEvent(par1, par2); + } + + /** + * Returns the spawner logic associated with this spawner + */ + public WrathSpawnerLogic getSpawnerLogic() + { + return this.spawnLogic; + } + + public AspectList getAspects() + { + AspectList list = new AspectList(); + if(Config.wrathCost > 0 && spawnLogic.isMobSet()) + list.add(DarkAspects.WRATH, wrath).add(DarkAspects.SLOTH, sloth).add(aspect, special); + return list; + } + + public void setAspects(AspectList aspects) + { + + } + + /** + * This method is used to determine of a specific aspect can be added to this container. + * @param tag + * @return true or false + */ + public boolean doesContainerAccept(Aspect tag) + { + if(Config.wrathCost <= 0) + return false; + else + return (tag == DarkAspects.WRATH || tag == DarkAspects.SLOTH || tag == aspect); + } + + /** + * This method is used to add a certain amount of an aspect to the tile entity. + * @param tag + * @param amount + * @return the amount of aspect left over that could not be added. + */ + public int addToContainer(Aspect tag, int amount) + { + if(Config.wrathCost <= 0) + return amount; + if(tag == DarkAspects.WRATH){ + wrath += amount; + return 0; + } + else if(tag == DarkAspects.SLOTH){ + sloth += amount; + return 0; + } + else if(tag == aspect){ + special += amount; + return 0; + } + else + return amount; + } + + /** + * Removes a certain amount of a specific aspect from the tile entity + * @param tag + * @param amount + * @return true if that amount of aspect was available and was removed + */ + public boolean takeFromContainer(Aspect tag, int amount) + { + return false; + } + + /** + * removes a bunch of different aspects and amounts from the tile entity. + * @param ot the ObjectTags object that contains the aspects and their amounts. + * @return true if all the aspects and their amounts were available and successfully removed + */ + public boolean takeFromContainer(AspectList ot) + { + return false; + } + + /** + * Checks if the tile entity contains the listed amount (or more) of the aspect + * @param tag + * @param amount + * @return + */ + public boolean doesContainerContainAmount(Aspect tag, int amount) + { + if(tag == DarkAspects.WRATH) + return wrath >= amount; + else if(tag == DarkAspects.SLOTH) + return sloth >= amount; + else if(tag == aspect) + return special >= amount; + else + return false; + } + + /** + * Checks if the tile entity contains all the listed aspects and their amounts + * @param ot the ObjectTags object that contains the aspects and their amounts. + * @return + */ + public boolean doesContainerContain(AspectList ot){ + for (Aspect asp: ot.getAspects()) + { + if(asp == DarkAspects.WRATH && wrath < ot.getAmount(DarkAspects.WRATH)) + return false; + else if(asp == DarkAspects.SLOTH && sloth < ot.getAmount(DarkAspects.SLOTH)) + return false; + else if(asp == aspect && special < ot.getAmount(aspect)) + return false; + else if(asp != DarkAspects.WRATH && asp != DarkAspects.SLOTH && asp != aspect) + return false; + } + return true; + } + + /** + * Returns how much of the aspect this tile entity contains + * @param tag + * @return the amount of that aspect found + */ + public int containerContains(Aspect tag) + { + if(tag == DarkAspects.WRATH) + return wrath; + else if(tag == DarkAspects.SLOTH) + return sloth; + else if(tag == aspect) + return special; + else + return 0; + } + + /** + * Is this tile able to connect to other vis users/sources on the specified side? + * @param face + * @return + */ + public boolean isConnectable(ForgeDirection face) + { + return true; + } + + /** + * Is this side used to input essentia? + * @param face + * @return + */ + public boolean canInputFrom(ForgeDirection face) + { + return true; + } + + /** + * Is this side used to output essentia? + * @param face + * @return + */ + public boolean canOutputTo(ForgeDirection face) + { + return false; + } + + /** + * Sets the amount of suction this block will apply + * @param suction + */ + public void setSuction(AspectList suction) + { + + } + + /** + * Sets the amount of suction this block will apply + * @param suction + */ + public void setSuction(Aspect aspect, int amount) + { + + } + + /** + * Returns the amount of suction this block is applying. + * @param loc + * the location from where the suction is being checked + * @return + */ + public AspectList getSuction(ForgeDirection face) + { + AspectList list = new AspectList(); + if(Config.wrathCost <= 0) + return list; + if(special < 64) + list.add(aspect, 256); + if(special < Config.wrathCost && wrath < 64) + list.add(DarkAspects.WRATH, 256); + if(special < Config.wrathCost && wrath < Config.wrathCost && sloth < 64) + list.add(DarkAspects.SLOTH, 256); + + return list; + } + + /** + * remove the specified amount of vis from this transport tile + * @param suction + * @return how much was actually taken + */ + public int takeVis(Aspect aspect, int amount) + { + return 0; + } + + public AspectList getEssentia(ForgeDirection face) + { + return getAspects(); + } + + /** + * Essentia will not be drawn from this container unless the suction exceeds this amount. + * @return the amount + */ + public int getMinimumSuction() + { + return 9000; + } + + /** + * Return true if you want the conduit to extend a little further into the block. + * Used by jars and alembics that have smaller than normal hitboxes + * @return + */ + public boolean renderExtendedTube() + { + return false; + } +} diff --git a/src/com/spiteful/forbidden/tiles/WrathSpawnerLogic.java b/src/com/spiteful/forbidden/tiles/WrathSpawnerLogic.java new file mode 100644 index 0000000..5ad7be9 --- /dev/null +++ b/src/com/spiteful/forbidden/tiles/WrathSpawnerLogic.java @@ -0,0 +1,343 @@ +package com.spiteful.forbidden.tiles; + +import com.spiteful.forbidden.*; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; +import net.minecraft.block.Block; +import net.minecraft.entity.Entity; +import net.minecraft.entity.EntityList; +import net.minecraft.entity.EntityLiving; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.EntityLivingData; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.nbt.NBTBase; +import net.minecraft.nbt.NBTTagCompound; +import net.minecraft.nbt.NBTTagList; +import net.minecraft.network.packet.Packet; +import net.minecraft.network.packet.Packet132TileEntityData; +import net.minecraft.util.AxisAlignedBB; +import net.minecraft.util.WeightedRandom; +import net.minecraft.world.World; +import thaumcraft.api.aspects.Aspect; + +import thaumcraft.common.Thaumcraft; + +public class WrathSpawnerLogic +{ + /** The mob spawner we deal with */ + final TileEntityWrathCage mobSpawnerEntity; + + public boolean mobSet = false; + + /** The delay to spawn. */ + public int spawnDelay = 20; + private String mobID = "Pig"; + Aspect aspect = Aspect.GREED; + private boolean slothful = false; + private int fuel = 0; + + public double field_98287_c; + public double field_98284_d; + private int minSpawnDelay = 200; + private int maxSpawnDelay = 300; + + /** A counter for spawn tries. */ + private int spawnCount = 3; + private Entity renderEntity; + private int maxNearbyEntities = 6; + + /** The distance from which a player activates the spawner. */ + private int activatingRangeFromPlayer = 16; + + /** The range coefficient for spawning entities around. */ + private int spawnRange = 4; + + WrathSpawnerLogic(TileEntityWrathCage par1TileEntityMobSpawner) + { + this.mobSpawnerEntity = par1TileEntityMobSpawner; + } + + /** + * Gets the entity name that should be spawned. + */ + public String getEntityNameToSpawn() + { + return this.mobID; + } + + public Aspect getAspect() + { + return aspect; + } + + public void setMobID(String par1Str) + { + this.mobID = par1Str; + if(Config.spawnerMobs.containsKey(mobID)) + aspect = Config.spawnerMobs.get(mobID); + else + aspect = Aspect.GREED; + } + + public void mobIsSet(boolean inp){ + mobSet = inp; + } + + public boolean isMobSet() + { + return mobSet; + } + + public void updateSpawnerBlock(int par1) + { + this.mobSpawnerEntity.worldObj.addBlockEvent(this.mobSpawnerEntity.xCoord, this.mobSpawnerEntity.yCoord, this.mobSpawnerEntity.zCoord, Block.mobSpawner.blockID, par1, 0); + } + + public World getSpawnerWorld() + { + return this.mobSpawnerEntity.worldObj; + } + + public int getSpawnerX() + { + return this.mobSpawnerEntity.xCoord; + } + + public int getSpawnerY() + { + return this.mobSpawnerEntity.yCoord; + } + + public int getSpawnerZ() + { + return this.mobSpawnerEntity.zCoord; + } + + public void updateSpawner() + { + if(!mobSet) + return; + + double d0; + + if (this.getSpawnerWorld().isRemote && (fuel > 0 || Config.wrathCost <= 0)) + { + double d1 = (double)((float)this.getSpawnerX() + this.getSpawnerWorld().rand.nextFloat()); + double d2 = (double)((float)this.getSpawnerY() + this.getSpawnerWorld().rand.nextFloat()); + d0 = (double)((float)this.getSpawnerZ() + this.getSpawnerWorld().rand.nextFloat()); + //this.getSpawnerWorld().spawnParticle("smoke", d1, d2, d0, 0.0D, 0.0D, 0.0D); + //this.getSpawnerWorld().spawnParticle("flame", d1, d2, d0, 0.0D, 0.0D, 0.0D); + Thaumcraft.proxy.sparkle((float)d1, (float)d2, (float)d0, 0x870404); + + if (this.spawnDelay > 0) + { + --this.spawnDelay; + } + + this.field_98284_d = this.field_98287_c; + this.field_98287_c = (this.field_98287_c + (double)(1000.0F / ((float)this.spawnDelay + 200.0F))) % 360.0D; + } + else if(Config.wrathCage) + { + if(Config.wrathCost > 0 && fuel <= 0){ + if(mobSpawnerEntity.special >= Config.wrathCost){ + mobSpawnerEntity.special -= Config.wrathCost; + slothful = false; + fuel = Config.wrathEff; + mobSpawnerEntity.worldObj.markBlockForUpdate(getSpawnerX(), getSpawnerY(), getSpawnerZ()); + } + else if(mobSpawnerEntity.wrath >= Config.wrathCost){ + mobSpawnerEntity.wrath -= Config.wrathCost; + slothful = false; + fuel = Config.wrathEff; + mobSpawnerEntity.worldObj.markBlockForUpdate(getSpawnerX(), getSpawnerY(), getSpawnerZ()); + } + else if(mobSpawnerEntity.sloth >= Config.wrathCost){ + mobSpawnerEntity.sloth -= Config.wrathCost; + slothful = true; + fuel = Config.wrathEff; + mobSpawnerEntity.worldObj.markBlockForUpdate(getSpawnerX(), getSpawnerY(), getSpawnerZ()); + } + } + + if (this.spawnDelay == -1) + { + this.updateDelay(); + } + + if(fuel <= 0 && Config.wrathCost > 0) + return; + + if (this.spawnDelay > 0) + { + --this.spawnDelay; + return; + } + + for (int i = 0; i < this.spawnCount && (fuel > 0 || Config.wrathCost <= 0); ++i) + { + Entity entity = EntityList.createEntityByName(this.getEntityNameToSpawn(), this.getSpawnerWorld()); + + if (entity == null) + { + return; + } + + int j = this.getSpawnerWorld().getEntitiesWithinAABB(entity.getClass(), AxisAlignedBB.getAABBPool().getAABB((double)this.getSpawnerX(), (double)this.getSpawnerY(), (double)this.getSpawnerZ(), (double)(this.getSpawnerX() + 1), (double)(this.getSpawnerY() + 1), (double)(this.getSpawnerZ() + 1)).expand((double)(this.spawnRange * 2), 4.0D, (double)(this.spawnRange * 2))).size(); + + if (j >= this.maxNearbyEntities) + { + this.updateDelay(); + return; + } + + d0 = (double)this.getSpawnerX() + (this.getSpawnerWorld().rand.nextDouble() - this.getSpawnerWorld().rand.nextDouble()) * (double)this.spawnRange; + double d3 = (double)(this.getSpawnerY() + this.getSpawnerWorld().rand.nextInt(3) - 1); + double d4 = (double)this.getSpawnerZ() + (this.getSpawnerWorld().rand.nextDouble() - this.getSpawnerWorld().rand.nextDouble()) * (double)this.spawnRange; + EntityLiving entityliving = entity instanceof EntityLiving ? (EntityLiving)entity : null; + entity.setLocationAndAngles(d0, d3, d4, this.getSpawnerWorld().rand.nextFloat() * 360.0F, 0.0F); + + if ( + //entityliving == null || + entityCanSpawn(entityliving)) + //entityliving.getCanSpawnHere()) + { + this.spawnMob(entity); + this.getSpawnerWorld().playAuxSFX(2004, this.getSpawnerX(), this.getSpawnerY(), this.getSpawnerZ(), 0); + + if (entityliving != null) + { + entityliving.spawnExplosionParticle(); + fuel--; + } + + this.updateDelay(); + } + else if(entityliving != null) + entityliving.isDead = true; + } + + } + } + + /** + * Checks if the entity's current position is a valid location to spawn this entity. + */ + public boolean entityCanSpawn(EntityLiving entity) + { + return entity.worldObj.checkNoEntityCollision(entity.boundingBox) && entity.worldObj.getCollidingBoundingBoxes(entity, entity.boundingBox).isEmpty() && !entity.worldObj.isAnyLiquid(entity.boundingBox); + } + + private void updateDelay() + { + if (this.maxSpawnDelay <= this.minSpawnDelay) + { + this.spawnDelay = this.minSpawnDelay; + } + else + { + int i = this.maxSpawnDelay - this.minSpawnDelay; + this.spawnDelay = this.minSpawnDelay + this.getSpawnerWorld().rand.nextInt(i); + } + + if(slothful) + spawnDelay += 200; + + this.updateSpawnerBlock(1); + } + + public void readFromNBT(NBTTagCompound par1NBTTagCompound) + { + mobID = par1NBTTagCompound.getString("EntityId"); + if(Config.spawnerMobs.containsKey(mobID)) + aspect = Config.spawnerMobs.get(mobID); + else + aspect = Aspect.GREED; + mobSet = par1NBTTagCompound.getBoolean("MobSet"); + slothful = par1NBTTagCompound.getBoolean("Slothful"); + this.fuel = par1NBTTagCompound.getShort("Fuel"); + this.spawnDelay = par1NBTTagCompound.getShort("Delay"); + + //if (par1NBTTagCompound.hasKey("MinSpawnDelay")) + //{ + // this.minSpawnDelay = par1NBTTagCompound.getShort("MinSpawnDelay"); + // this.maxSpawnDelay = par1NBTTagCompound.getShort("MaxSpawnDelay"); + // this.spawnCount = par1NBTTagCompound.getShort("SpawnCount"); + //} + + if (par1NBTTagCompound.hasKey("MaxNearbyEntities")) + { + this.maxNearbyEntities = par1NBTTagCompound.getShort("MaxNearbyEntities"); + } + + if (par1NBTTagCompound.hasKey("SpawnRange")) + { + this.spawnRange = par1NBTTagCompound.getShort("SpawnRange"); + } + + if (this.getSpawnerWorld() != null && this.getSpawnerWorld().isRemote) + { + this.renderEntity = null; + } + } + + public void writeToNBT(NBTTagCompound par1NBTTagCompound) + { + par1NBTTagCompound.setString("EntityId", this.getEntityNameToSpawn()); + par1NBTTagCompound.setBoolean("MobSet", mobSet); + par1NBTTagCompound.setBoolean("Slothful", slothful); + par1NBTTagCompound.setShort("Fuel", (short)this.fuel); + par1NBTTagCompound.setShort("Delay", (short)this.spawnDelay); + //par1NBTTagCompound.setShort("MinSpawnDelay", (short)this.minSpawnDelay); + //par1NBTTagCompound.setShort("MaxSpawnDelay", (short)this.maxSpawnDelay); + //par1NBTTagCompound.setShort("SpawnCount", (short)this.spawnCount); + par1NBTTagCompound.setShort("MaxNearbyEntities", (short)this.maxNearbyEntities); + par1NBTTagCompound.setShort("SpawnRange", (short)this.spawnRange); + + } + + public Entity spawnMob(Entity par1Entity) + { + if (par1Entity instanceof EntityLivingBase && par1Entity.worldObj != null) + { + ((EntityLiving)par1Entity).onSpawnWithEgg((EntityLivingData)null); + this.getSpawnerWorld().spawnEntityInWorld(par1Entity); + } + + return par1Entity; + } + + /** + * Sets the delay to minDelay if parameter given is 1, else return false. + */ + public boolean setDelayToMin(int par1) + { + if (par1 == 1 && this.getSpawnerWorld().isRemote) + { + this.spawnDelay = this.minSpawnDelay; + return true; + } + else + { + return false; + } + } + + @SideOnly(Side.CLIENT) + public Entity getEntityForRender() + { + if (this.renderEntity == null) + { + Entity entity = EntityList.createEntityByName(this.getEntityNameToSpawn(), (World)null); + entity = this.spawnMob(entity); + this.renderEntity = entity; + } + + return this.renderEntity; + } + +}