Compare commits

..
2064 Commits
Author SHA1 Message Date
Ranzu e4c8acdd4f Modify Infused Seeds NEI Handler and change some seeds textures (#108)
- Changed infused seed NEI page to use chest slot texture (which was messing with resource packs).
- Change handler id to use mod-like names (so there are different ID (mostly for debug purposes; this is how other mods do it).
- Moved some seeds 1px to the right for consistency (most bottom screenshot).
Co-authored-by: Spaghetti-OberNub <[email protected]>
2026-09-20 11:16:56 +02:00
LazyFlesh 470601170a Modify Infused Seed Drops (#107) 2026-09-03 21:04:38 -05:00
Spaghetti 40c0ea5f53 Adds a NEI Page for Infused Seeds and fixes their drops. (#106) 2026-08-28 11:00:56 +07:00
Jason Mitchell 18c787153c Fixes for [Client thread/ERROR]: Couldn't render entity (#104) 2026-08-15 15:43:01 -07:00
__felix__ dc9e4688a3 fix gt loader check (#103) 2026-07-29 11:54:32 -04:00
vladislemon 853ad538df Fix thaumic restorer suction + better automation (#102) 2026-07-15 15:15:43 +00:00
Martin Robertz d8b69c4311 deps 2026-06-28 13:56:16 +02:00
Algent c8d5cf92d2 Fix dropping backpack keeping GUI open (#98) 2026-06-28 03:16:47 +02:00
koolkrafter5 a0f95ee27b Drain power from electric hoe of growth instead of damaging it (#100) 2026-06-25 23:01:10 +02:00
Martin Robertz c27af147bf update deps 2026-06-19 21:11:35 +02:00
koolkrafter5 c101bb2e6d Wither Skeleton Summoning Remake (#99) 2026-06-17 11:16:53 +02:00
6c25bcee2a Tablet of Necromancy Handler (#93)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Martin Robertz <[email protected]>
2026-06-16 14:23:57 -04:00
Martin Robertz 1f3e772def update+deps+bs+gradle 2026-06-12 21:59:28 +02:00
xXjudeXx a6047ee7ec Awakened Ichorium Pickaxe Fixes (#97) 2026-06-12 21:26:52 +02:00
koolkrafter5 85189235ce Use golden leggings for ichor leggings recipe (#96) 2026-06-08 22:45:49 -04:00
koolkrafter5 964d3391e4 Remove version checker (#95) 2026-05-18 17:40:07 +00:00
John 92b212d5e0 Fix infused crops dropping nothing or items with incorrect weights (#90) 2026-05-09 11:07:35 +00:00
Alexdoru 1972b9ab2b Fix memory leak (#91) 2026-04-17 19:40:51 +02:00
Martin Robertz 99e23607f5 update deps 2026-04-03 23:17:45 +02:00
Martin Robertz 63423b8913 update 2026-04-03 23:15:49 +02:00
DarkShadow44 0d3d390e22 Only spawn effects on client side (#89) 2026-03-25 13:13:22 +01:00
koolkrafter5 96ffb23eae Fix wrong stack sizes for ichor recipe (#88) 2026-03-18 14:30:13 -04:00
UltraProdigy d5b1802379 Optimize Images & Workflow (#87) 2026-03-16 09:52:28 +01:00
JohnandMartin Robertz a4a4af3087 Fix infused seeds inheriting NBT tags of the previously broken crop (#82)
Co-authored-by: Martin Robertz <[email protected]>
2026-03-15 14:27:43 +00:00
koolkrafter5andMartin Robertz c1d71d767e en_GB localization (#85)
Co-authored-by: Martin Robertz <[email protected]>
2026-03-15 03:27:20 +00:00
koolkrafter5 ef9221265d Fix spellbinding cloth's recipe taking a size 0 itemstack as catalyst (#86) 2026-03-14 20:17:30 +00:00
koolkrafter5 cedfe231c3 Fix ichor cap texture alignment (#84) 2026-03-06 23:21:02 -05:00
thehoblitandkoolkrafter5 f64efe15c8 Final Strike now scales linearly with level (#83)
Co-authored-by: koolkrafter5 <[email protected]>
2026-03-02 07:43:59 +01:00
Martin Robertz 0905f7b806 update 2026-02-22 10:55:25 +01:00
425af1d868 Improve Wand Focus: Experience Drain (#80)
Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: Nikolay S. <[email protected]>
2026-02-22 01:42:30 -06:00
Martin Robertz 3ec494d713 update 2026-02-14 23:29:20 +01:00
Martin Robertz 744c39aba8 update 2026-02-14 23:26:57 +01:00
f297a522a9 Better item registry (#64)
Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: boubou19 <[email protected]>
2026-02-14 23:00:32 +01:00
koolkrafter5 7be29e459e Infused Crop growth bugfix (#81) 2026-02-10 15:28:03 +01:00
Yoshy c8f7742df5 Fix Typos (#79) 2026-01-27 18:45:28 -05:00
ah-OOG-ah bbe1e7f50f Allow Electric Hoe of Growth to bonemeal Infused Seeds (#78) 2025-12-07 14:27:24 +01:00
Martin Robertz 8ff5a8cf52 update
(cherry picked from commit fa6c242780)
2025-10-04 02:22:47 +02:00
koolkrafter5 b9e61335e3 Fix boots losing their speed when enchanted and Thaumic Boots is not installed (#76) 2025-10-04 01:38:53 +02:00
Martin Robertz 0272517b10 update 2025-10-01 18:21:40 +02:00
koolkrafter5 8782f7c6a7 Merge #74 to master (#75) 2025-09-29 20:17:30 +02:00
sisyphussy 58676ab46d Fix certain block interactions + redstone mode (#72) 2025-09-25 19:34:14 +02:00
sisyphussy 2127d30d16 Dynamism bug fixes (#71) 2025-09-22 09:04:52 +02:00
Martin Robertz 5268737e2e update 2025-09-21 21:33:20 +02:00
sisyphussy c075644243 Fix crash (#70) 2025-09-21 21:32:25 +02:00
boubou19 e95d6c870c fix build (#69) 2025-09-21 17:32:34 +02:00
Martin Robertz 6d278db79d update 2025-09-21 16:40:29 +02:00
sisyphussyandMartin Robertz 4f2618d03b Dynamism Tablet Rewrite (#65)
Co-authored-by: Martin Robertz <[email protected]>
2025-09-21 16:33:05 +02:00
sisyphussy c2cbc66645 Fix failed build tests (#67) 2025-09-18 19:09:54 +02:00
Martin Robertz df4a8cfca9 update 2025-09-18 10:21:03 +02:00
sisyphussy 00e831c20f Item Placement Mirror Fixes (#66) 2025-09-18 00:58:42 +02:00
Dream Master 7fbffb3aa7 update 2025-07-24 10:45:52 +07:00
koolkrafter5 7b02309128 Allow Bottomless Pouch in Focus Pouch slot (#62) 2025-07-23 00:42:01 -05:00
Alexdoru c9be818502 Cache Tessellator#instance in local var (#61) 2025-07-18 12:45:18 -07:00
Dream Master 3e96d49fef update 2025-07-18 09:54:54 +07:00
boubou19 64d179543c Speed up forge event registration (#59) 2025-07-18 04:28:32 +02:00
koolkrafter5 e1d8a847a9 Fix rounding in negative axes (#58) 2025-07-14 18:23:49 +02:00
Maya 38fb7fc71f update 2025-07-02 17:01:56 -06:00
mamePiandMartin Robertz 6479b0b635 Added functions into kami boots (#57)
Co-authored-by: Martin Robertz <[email protected]>
2025-07-02 17:01:21 -06:00
Martin Robertz 5b388b5cba update 2025-06-08 10:43:59 +02:00
Nikolay S. 3cc1026704 Fix lang file problem with lang key (#56) 2025-06-08 07:33:16 +00:00
Martin Robertz 2a548be7d8 update 2025-05-04 12:56:02 +02:00
ABKQPO dce00bbc74 Fixed Wand Focus: Dislocation issue (#55) 2025-05-02 21:38:53 +02:00
Martin Robertz 63bf13c964 update 2025-04-28 20:44:21 +02:00
Glease 2151886e83 delete gaia missile instead of repath it (#54) 2025-04-27 00:45:02 +02:00
Maya aeb6392d52 update 2025-04-23 14:51:43 -05:00
__felix__and__felix__ c221b7b03b Change optional decorators modid gregtech to gregtech_nh for compat (#53)
Co-authored-by: __felix__ <134875831+48a3efa65c881ef567345b17f3910e06@users.noreply.github.com>
2025-04-23 14:51:32 -05:00
Maya bf664d00c8 update 2025-04-19 09:59:48 -05:00
RubilaxXxx 7f7c4083cc fix ichor pouch (#52) 2025-04-19 09:58:39 -05:00
Niclas KlugmannandMaya d3f9b102d6 Move Awakened Kami Armor to GT Hazard API (#49)
Co-authored-by: Maya <[email protected]>
2025-04-08 21:22:27 +00:00
RubilaxXxx 0f74be83ac cleanse the mod of its ae2 dep. (#51) 2025-04-08 21:17:25 +00:00
Maya a61d4b6d9f update 2025-03-20 09:53:56 -05:00
GleaseandMaya e4d716addb try to fix gaia server hang (#48)
Co-authored-by: Maya <[email protected]>
2025-03-20 14:53:47 +00:00
GleaseandMaya 393eec213c make more resilient checks against existing blocks (#47)
Co-authored-by: Maya <[email protected]>
2025-03-20 14:46:59 +00:00
Glease 40ce1b4c61 fix celestial gateway button render (#46) 2025-03-20 09:42:30 -05:00
Maya 292be28f00 update 2025-03-11 09:37:29 -05:00
Glease 3809971825 close container if parent item is gone (#45) 2025-03-11 09:37:18 -05:00
Martin Robertz db796ae830 update 2025-01-24 19:44:45 +01:00
koolkrafter5 d92266f5e3 Essentia Funnel Bugfix (#44) 2025-01-24 01:04:40 -06:00
Martin Robertz 304fed71dd update 2025-01-03 22:09:04 +01:00
glowredman bd2506a479 Add Localizations (#43) 2025-01-02 17:53:24 +00:00
Martin Robertz 62a9677326 update 2024-12-22 01:20:18 +01:00
HelixPHD b259785bbc Fixed crashes upon harvesting of Praecantatio Infused Seeds (#42) 2024-12-21 16:34:01 +00:00
Dream Master d4191557af update 2024-10-13 21:04:51 +02:00
Raven Szewczyk 6670fcdb5f Share both research and discovered aspects list with the knowledge sharing tome (#41)
* Update buildscript, switch to RFG tag generation

* Share both research and discovered aspects list with the knowledge sharing book
2024-07-17 16:38:52 +00:00
Martin Robertz 2058c309d4 update 2024-05-22 22:45:09 +02:00
Under 2633f752f3 Add configs for annoying Kami features (#40)
1. Kami/Ichor Leggings have had the "produce light" ability config'ed and disabled by default.
2. Kami/Ichor boots have had the "dirt into grass" ability config'ed but left enabled by default.

Just let me know if the general consensus would be that the dirt into grass should also be disabled by default and I'll swap that to default to false as well.
2024-05-21 15:01:33 -04:00
Martin Robertz 8ce7293034 update 2024-04-19 20:05:19 +02:00
chochem 0432ff0d30 be more specific (#39) 2024-04-19 00:51:01 +01:00
Abdiel Kavash 180509a1a9 Fix crashes related to high level enchantments. (#38)
* Fix crashes with high level enchantments.

* bs+d
2024-04-13 00:55:55 +02:00
Raven Szewczyk 1f27b14054 [ci skip] upgraded build system 2024-02-04 20:02:27 +00:00
Martin Robertz 22e8c36aae update deps+bs 2024-01-31 22:50:58 +01:00
Jurre Groenendijk 0212dd084a Fix typo in thaumic restorer page (#37) 2024-01-31 22:50:08 +01:00
Martin Robertz d54311fb11 update bs+deps 2024-01-12 20:58:37 +01:00
Raven Szewczyk 4a20fa3b06 [ci skip] upgraded build system 2024-01-08 21:29:54 +00:00
Martin Robertz 97e8cdf407 update gradle + deps + bs 2023-12-26 22:01:21 +01:00
Abdiel Kavash 0c75584ccb Talisman of Remedium no longer wastes durability trying to remove permanent debuffs. It also accepts the Unbreaking enchant. (#36)
* Talisman of Remedium accepts Unbreaking enchant.

* Talisman of Remedium no longer removes debuffs with duration < 1 second.

* Talisman of Remedium does not waste durability trying to remove "permanent" debuffs.

* Use a map on player's UUID instead of single variables.
2023-12-26 11:09:31 +01:00
Angus Grewal 47ffee8cd3 Added balancing configs for Shadowbeam Focus. (#35) 2023-11-25 15:48:33 +01:00
Dream-MasterXXL 3660fb23b5 update deps 2023-10-09 23:01:57 +02:00
Raven Szewczyk b1388aeb80 Fix Robes of the Stratosphere rendering memory leak (#34)
* Update buildscript and dependencies

* Fix wildcard imports

* Fix Robes of the Stratosphere rendering memory leak
2023-10-09 22:00:13 +01:00
Martin Robertz d922bfbdbf update deps 2023-09-10 22:42:12 +02:00
Jason Mitchell 7c2c6b7966 Add back the randomly aging (non 0 meta) fires. (#33) 2023-09-10 11:11:57 -07:00
Jason Mitchell acbc864d76 Infused fire (#31)
* BS + SA

* Intellij Cleanups

* Add missing overrides

* Cleanup fire code

* Less allocations

* Get rid of BlockTuple -> Far fewer allocations (It was only used for Ordo Fire which isn't very useful for NH)
Neuter Ordo fire (will be reworked once we figure out what it should do)
Mixin to fix fire rendering on water -- call the subclass's canCatchFire instead of the base class
Properly tether the fire spread to 15 blocks from the source, which never burns out.

* rm

* Spotless
2023-09-10 07:17:59 -07:00
Martin Robertz c762ad9915 Merge pull request #32 from wohaopa/master
Fix potential unsaves
2023-07-17 08:22:22 +02:00
初夏同学 f8fb442525 Fix potential unsaves 2023-07-16 00:29:26 +08:00
Martin Robertz 3bb2edda24 Merge pull request #30 from bearsdotzone/master
Bug: Aspect Crops will never yield a certain valid drop
2023-04-25 19:49:01 +02:00
abneyonline 587027c24e updated dependencies 2023-04-25 11:18:04 -05:00
Bears Dot Zone a8259fe5cc Fix off by one when generating aspect crop loot. 2023-04-25 04:22:49 +00:00
Connor-Colenso 2e906240da Merge pull request #29 from GTNewHorizons/fixarrowexploit
should fix arrow exploits for gt materials
2023-03-26 19:18:28 +01:00
chochem d79f97397a should fix arrow exploits 2023-03-26 17:57:11 +01:00
Martin Robertz 613094698d Merge pull request #28 from Zereff06/fix_fire_resistance_level
fix-> fire Resistance level
2023-02-12 22:16:01 +01:00
Zereff06 044e31d3c7 fix-> fire Resistance level 2023-02-12 20:20:41 +02:00
Raven Szewczyk 0bc9b741e3 [ci skip] upgraded build system 2023-01-31 09:56:35 +00:00
Jason Mitchell 08d1d924a0 [ci skip] Add git-blame-ignore-revs for spotlessApply 2023-01-28 19:02:01 -08:00
Jason Mitchell 481ec1cf32 [ci skip] spotlessApply with the new settings 2023-01-28 19:02:01 -08:00
Jason Mitchell 80a42e74a1 [ci skip] Update buildscript to RetroFuturaGradle 2023-01-28 19:00:46 -08:00
Martin Robertz 88a211f55e Merge pull request #27 from GTNewHorizons/keybinds
keybind
2023-01-27 20:18:49 +01:00
Alexdoru f872ef50b1 unbind keybind by default 2023-01-27 19:31:22 +01:00
Martin Robertz 508457c10a Merge pull request #26 from GTNewHorizons/java12
Update buildscript, fix potions crash on Java 12+
2023-01-24 17:06:18 +01:00
Raven Szewczyk 2f5c71014a Reorder field accesses to work 2023-01-24 10:38:44 +00:00
Raven Szewczyk be56bf2675 SpotlessApply 2023-01-24 10:18:40 +00:00
Raven Szewczyk bd8e2d9b69 Update buildscript, fix potions crash on Java 12+ 2023-01-24 10:18:25 +00:00
Martin Robertz 6b6b6f152c Merge pull request #25 from GTNewHorizons/glowredman-patch-1
Set coremod as childmod
2023-01-16 22:05:06 +01:00
glowredman df27528048 Set coremod as childmod 2023-01-16 21:02:39 +00:00
Martin Robertz 94129319ab Merge pull request #24 from Zereff06/cap_shadow_beam
useful focus shadow beam
2023-01-15 18:39:44 +01:00
Martin Robertz 2ee65a298c Merge pull request #23 from Zereff06/fix_heal_ichor_legs
fix -> ichor legs do not heal in the fire
2023-01-15 18:31:32 +01:00
Zereff06 73bf026fc0 useful focus shadow beam
increased damage and cost of use
damage 8->100 (with upgrades 200)
cost of vis x20

The crossbow can do more than 500 damage, so why should it be the only weapon against infernals?
2023-01-15 17:49:14 +02:00
Zereff06 0aad75919e fix regeneration in the fire 2023-01-04 19:48:00 +02:00
Martin Robertz d87599e38d Merge pull request #22 from Zereff06/fix
fix deflect effect
2023-01-03 19:15:25 +01:00
Zereff06 edcac6b16d more readable version 2023-01-03 00:38:34 +02:00
Zereff06 e11de173f8 fix deflect effect
with botania mod was checking only the entity of botania
2023-01-02 17:30:09 +02:00
Martin Robertz dc69ee1728 Merge pull request #19 from greesyB/master
Increase discount of ichor armors
2022-07-29 18:39:02 +07:00
greesyB 13166986e3 Increase discount of ichor armors 2022-07-28 14:14:45 -05:00
Jason Mitchell 903f158d38 [ci skip] Migrate github actions to GTNH-Actions-Workflows 2022-07-16 10:51:40 -07:00
Martin Robertz 9a0ffdee8c Merge pull request #18 from GTNewHorizons/updatebuild
BY-NC-SA 3.0
2022-02-14 21:58:46 +01:00
bombcar 52d1767fea update links 2022-02-14 10:42:14 -06:00
bombcar 7ddb0889c8 update readme 2022-02-14 10:37:43 -06:00
bombcar caf6c961f6 CC BY-NC-SA 3.0 2022-02-14 10:33:24 -06:00
bombcar acd53891c1 update buildscript 2022-02-14 10:11:30 -06:00
bombcar 18d51d40f9 remove double access transformer (#17) 2022-02-10 18:43:26 -06:00
Martin Robertz e3f18c365b Merge pull request #16 from GTNewHorizons/updatebuild
Updatebuild
2022-01-24 16:29:07 +01:00
bombcar a32b0c1dc3 typos 2022-01-24 09:05:30 -06:00
bombcar 28c0a749c8 newbuildscript 2022-01-24 08:57:12 -06:00
Jason Mitchell 672822b1b1 update to explicit dependencies 2022-01-18 21:26:13 -08:00
Jason Mitchell 1505437bc4 maven publish buildscript update 2022-01-18 21:26:09 -08:00
Martin Robertz 377c5f688e Merge pull request #15 from GTNewHorizons/unified-build-script
Unified build script
2021-12-20 12:00:23 +01:00
Johann Bernhardt d7d50f873a Resolve todos in dependencies 2021-12-20 10:59:16 +01:00
Johann Bernhardt 37f5fa4e02 Migrate to unified build script 2021-12-20 09:54:20 +01:00
Johann Bernhardt 2609b03e02 Cleanup 2021-12-20 09:54:08 +01:00
Johann Bernhardt 6c56d3c9b1 Delete copied APIs 2021-12-20 09:53:23 +01:00
Martin Robertz d14d2cf0a2 Merge pull request #14 from PolkageistHS/kamifix
Fixes /iskamiunlocked
2021-12-18 22:58:33 +01:00
John Baird b605a836ea Fixes /iskamiunlocked 2021-12-17 19:30:11 -08:00
Dream-Master 01b41b8f77 bump version 2021-08-16 13:06:49 +02:00
Martin Robertz 6e914be9eb Merge pull request #13 from Kiwi233/1.7-final
Update zh_CN.lang
2021-08-02 15:14:51 +02:00
[Kiwi233] 6a71cd28ec Update zh_CN.lang 2021-08-02 20:24:56 +08:00
Jason Mitchell 3b2495870f Update build script and bump build number 2021-05-01 17:27:58 -07:00
Martin Robertz f11fb8bad4 Merge pull request #12 from KiloJoel/necroTabletScanFix
tablets of necromancy now scan the full square for pedestals
2020-11-17 19:04:58 +01:00
KiloJoel 84b56e3f18 tablets of necromancy now scan the full square for pedestals 2020-11-17 14:05:27 +00:00
Martin Robertz 740c1d7fd9 Merge pull request #11 from glowredman/1.7-final
Add localization for Infused Farmland
2020-10-11 12:16:11 +02:00
glowredman 73223de2dd Add localization for Infused Farmland 2020-10-11 02:20:18 +02:00
Martin Robertz 65ba1f4464 Merge pull request #10 from GTNewHorizons/patch-dispersed-strike
Fix GTNewHorizons/GT-New-Horizons-Modpack#6784
2020-10-09 15:39:13 +02:00
Glease c8fdb5747f Fix Dispersed Strikes
1. This fixes up the successiveStrikes counter. Previously it relies on a transient id to remember whether this is the same target. This id will not survive chunk unloads. It also cannot distinguish between second strike and third or fourth strike. 
  To prevent runaway effect the successiveStrikes counter is capped at 5.
2. It changes the algorithm used by Dispersed Strikes to a more reasonable one.
2020-10-09 12:46:12 +08:00
Martin Robertz 52f872b6ad Merge pull request #9 from repo-alt/1.7-final
Infused seeds harvest fix by @Barokko
2020-09-02 16:24:03 +02:00
repo_alt f1751ce5bc Infused seeds harvest fix by @Barokko 2020-09-02 16:43:14 +03:00
repo_alt d4f5857ec0 updated Gradle to 4.4.1
removed unnecessary task
2020-09-02 16:24:28 +03:00
Dream-MasterXXL 80c1960c7c Revert "update gradle"
This reverts commit 11c8199f4f.
2020-02-11 11:47:18 +01:00
Dream-MasterXXL 11c8199f4f update gradle 2020-02-11 11:43:00 +01:00
TimeConqueror dd943e80a9 Fixed TT changes page text while loading ModTweaker scripts. 2020-02-10 18:00:12 +03:00
TimeConqueror 4c9d2a00ab Fixed TTResearchItem.setPages calling twice 2020-02-10 16:17:07 +03:00
TimeConqueror 8e64099df4 Cleaned gradle up and made it buildable 2020-02-10 13:04:05 +03:00
Dream-Master 60383f52df Ores that exists in GT not working 2020-02-02 00:37:52 +01:00
Dream-Master 17a06b2c2d Quest Suggestion: Bedrock Dimension #5476
https://github.com/GTNewHorizons/NewHorizons/issues/5476
add more ores
2020-02-02 00:00:07 +01:00
Martin Robertz 9f79fc786d Merge pull request #8 from bartimaeusnek/1.7-final
Osmotic enchanter crash fix & AE2 API
2018-04-05 15:19:52 +02:00
LOKKO12 bbe915413b added Gradlew autodownload for needed libs 2018-04-05 14:24:53 +02:00
LOKKO12 ce9de390fd try to fix Osmotic Enchanter Crash
+ upgrade gradle
+ upgrade to java 8
+ removed apis
+ set Thaumcraft.proxy.essentiaTrailFx client side only
2018-03-30 06:13:20 +02:00
Martin Robertz 7a6f26f915 Merge pull request #7 from Thaumic-Tinkerer/1.7-final
1.7 final
2018-02-18 09:44:51 +01:00
Dream-Master ad8e9375a9 Merge branch '1.7.10-krypt' into 1.7-final
Conflicts:
	build.gradle
	build.properties
	src/main/java/thaumic/tinkerer/common/core/handler/ConfigHandler.java
	src/main/java/thaumic/tinkerer/common/item/foci/ItemFocusDislocation.java
	src/main/resources/assets/ttinkerer/lang/en_US.lang
2018-02-18 09:34:53 +01:00
David Vierra eb36cf02dd Fix Remedium Talisman breaking other items (#6)
* Fix Remedium Talisman breaking other items

When the Remedium Talisman breaks, it always breaks the item in the first ring slot instead. `BaubleType.AMULET.ordinal()`, whose value is 1, is incorrect. The `BaubleType` Enum is not bauble slot numbers.

The correct slot number for the amulet slot is 0. I don't see any constants to use for the amulet slots.

* Added comment
Added this comment in short to source.
2018-02-18 02:04:03 +01:00
Katrina Swales 3388dd2296 Merge pull request #876 from Kamesuta/1.7-final
Infinite loop problem from Bedrock Dimension in SkyBlock.
2017-07-24 21:01:39 +01:00
KryptonCaptain 3d6ed92e7f Armour buffs
Ichor armour buffed to 5% discount (Not sure if I did this already). Awakened to 6% discount. 
Ichor armour given Warping 3
Added IRunicArmor to Ichor gear and Thaumium helm of revealing. Why this took 2 years and a forked build to implement is beyond me
2017-07-10 21:40:53 +10:00
KryptonCaptain 96ecc27389 Move AE2 API
From /src/main/java/ to /src/api/java/
2017-07-09 21:42:39 +10:00
KryptonCaptain accc812448 Bump version 2017-07-08 22:48:41 +10:00
KryptonCaptain 4078ef5731 Foci sorting helper
Will now display other variants if you have more than one copy of a foci in your inventory/pouch.
2017-05-27 11:29:28 +08:00
KryptonCaptain bd07066f16 Upgradeable foci
Yep. Finally. They're not all fully complete, but the basics are there
2017-05-27 10:05:50 +08:00
KryptonCaptain cb230093d5 Unfucked soul heart rendering, mostly
It was using GL11 functions to shift the ENTIRE FUCKING UI for some inexplicable reason. Especially noticeable on a mount, because it was shifting NEI too. Added a config if you need to adjust the height value, as it currently sits in the same spot as the Botania flight bar (and uses some of the code too)
Tweaked lang file. Now with 100% less weeb trash
Removed old load order functions
Cleaned up ConfigHandler
2017-05-26 20:08:57 +08:00
KryptonCaptain 43ecd3f82f Delete deprecated config options 2017-05-26 16:40:14 +08:00
KryptonCaptain c74625c8f0 Fixed tooltips being boring
TT armour vis discounts are now in standard purple
KAMI tools now display mode tooltip in dark aqua
2017-05-25 21:08:59 +08:00
Dream-Master 48a1cdbe07 bump version 2017-05-21 11:30:33 +02:00
Daniel 2eaec0d010 Should fix issues with gears. 2017-05-15 07:34:57 +02:00
KryptonCaptain 95e0a8350c Build script tweaks
I like my one better
2017-04-19 18:17:53 +10:00
Technus 504ad29aa8 Revert "Merge branch '1.7-final' of https://github.com/GTNewHorizons/ThaumicTinkerer into 1.7-final"
This reverts commit fdc971841f.
2017-04-13 21:28:28 +10:00
Dream-Master a2b24f95cd This will remove all the GT 00 ores and add some other to the Bedrock dimension 2017-04-09 22:43:42 +02:00
Martin Robertz 906b93e16e Merge pull request #3 from Ugachaga/patch-2
Added Blacklist config for Focus of Dislocation
2017-04-08 21:21:47 +10:00
Dream-Master 973299fab8 bump version 2017-04-08 21:21:32 +10:00
Martin Robertz 20f233bbc4 Merge pull request #2 from Ugachaga/patch-1
Forbidden dimensions config
2017-04-08 21:21:11 +10:00
Technus abeafc36da add fire spreading config 2017-04-08 21:20:46 +10:00
Technus fdc971841f Merge branch '1.7-final' of https://github.com/GTNewHorizons/ThaumicTinkerer into 1.7-final 2017-04-08 21:20:29 +10:00
KryptonCaptain 137749c38a fix1
# Conflicts:
# 	gradle/wrapper/gradle-wrapper.properties
2017-04-08 21:20:17 +10:00
Dream-Master 717533534d spelling fix 2017-04-08 21:15:47 +10:00
Dream-Master a6568edb96 fix the slab recipe 2017-04-08 21:15:43 +10:00
KryptonCaptain f259ae670b Effect restore
Restored essentia particle effect during enchanting
2017-04-08 21:14:18 +10:00
Kamesuta 7455daecd9 Infinite loop problem from Bedrock Dimension in sky block.
Fix an infinite loop problem when returning from Bedrock Dimension in
sky block.
2017-04-05 04:53:35 +09:00
Martin Robertz 9bba1f209a Merge pull request #3 from Ugachaga/patch-2
Added Blacklist config for Focus of Dislocation
2017-03-18 11:38:24 +01:00
Ugachaga 8cfa60719d Added Blacklist config for Focus of Dislocation 2017-03-18 15:43:43 +07:00
Martin Robertz 67ee85b77d Update README.md 2017-03-01 23:31:50 +01:00
Dream-Master 0c4cdad475 bump version 2017-02-25 18:27:22 +01:00
Martin Robertz dfec103fcf Merge pull request #2 from Ugachaga/patch-1
Forbidden dimensions config
2017-02-25 17:41:30 +01:00
Ugachaga 0da10ce8d4 more space 2017-02-25 22:07:44 +07:00
Ugachaga f35d8a755f space 2017-02-25 22:02:43 +07:00
Ugachaga eee99a0c81 Added forbidden dimension config 2017-02-25 22:00:57 +07:00
Technus db3bb554b4 add fire spreading config 2017-01-09 09:40:58 +01:00
Technus 2e1794b484 Merge branch '1.7-final' of https://github.com/GTNewHorizons/ThaumicTinkerer into 1.7-final 2017-01-09 08:33:52 +01:00
Technus 579c850ca1 fix1 2017-01-09 08:33:35 +01:00
Dream-Master 47896bc02d build gradle fix 2017-01-08 21:11:51 +01:00
Technus 97dc338023 Merge branch '1.7-final' of https://github.com/GTNewHorizons/ThaumicTinkerer into 1.7-final 2017-01-08 19:16:20 +01:00
Martin Robertz 79f59db6f5 Merge pull request #1 from Thaumic-Tinkerer/1.7-final
1.7 final
2017-01-08 19:13:32 +01:00
Technus da0bcacdf4 Merge branch 'up-1.7-final' into 1.7-final 2017-01-08 19:02:19 +01:00
KryptonCaptain 169ee31b8e Update gradle
Removed a line causing compat crash with IMC
2016-12-01 02:31:15 +11:00
Katrina Swales 34aee427c7 Update build.gradle 2016-11-16 20:21:18 +00:00
Katrina Swales 482bffabce Update build.gradle 2016-11-16 20:16:15 +00:00
Katrina Swales 5035d2fffd Update build.gradle 2016-11-16 20:12:36 +00:00
nekosune 84788dcf54 Spelling for #863 2016-08-28 22:23:28 +01:00
nekosune c7fe97c48d Fixed #863 2016-08-28 22:11:11 +01:00
Katrina Swales 58d57a02e5 Fixed OTHER issue someone added to #843 2016-08-28 15:37:08 +01:00
Katrina Swales 085c9b553e Fixed #843 2016-08-28 15:33:26 +01:00
Katrina Swales fc6329335d Fixed #857 2016-08-14 20:45:14 +01:00
Katrina Swales ddf1569f24 Fixed #851 2016-08-14 19:24:55 +01:00
Katrina Swales f38a73197c Fixed #852 2016-08-14 18:57:42 +01:00
Katrina Swales cca69d2e7a Fixed api error 2016-08-14 17:59:25 +01:00
Katrina Swales 3a2df62fae Merge branch '1.7-final' of github.com:Thaumic-Tinkerer/ThaumicTinkerer into 1.7-final 2016-08-14 17:26:26 +01:00
Katrina Swales 90dc246e3a Fixed #859 2016-08-14 17:26:11 +01:00
Katrina Swales fe9a84e60e Fixed #860 2016-07-03 21:39:52 +01:00
Katrina Swales d6ea0a3972 latest version of forge 2016-06-11 17:53:00 +01:00
Katrina Swales a73d38de64 Fixed #853 2016-06-11 16:42:52 +01:00
Katrina Swales 7cdbfb8254 Merge branch '1.7-final' of github.com:Thaumic-Tinkerer/ThaumicTinkerer into 1.7-final 2016-06-10 18:06:06 +01:00
Katrina Swales 525cf467dc Fixed #824 amongst other things 2016-06-10 18:04:00 +01:00
Dream-Master d40e8585b3 Revert "change recipe i cant put all in modtweaker code."
This reverts commit d179e36347.
2016-03-27 15:56:06 +02:00
Dream-Master aa41a8485f Revert "First test to add hardcore recipes"
This reverts commit 3c9322af05.
2016-03-27 15:53:48 +02:00
Dream-Master d179e36347 change recipe i cant put all in modtweaker code.
(Mob aspects)
2016-03-27 15:53:40 +02:00
Dream-Master 3c9322af05 First test to add hardcore recipes 2016-03-24 00:55:09 +01:00
Dream-Master 9655c9b58d spelling fix 2016-03-23 21:51:33 +01:00
Dream-Master a9a7eabb72 fix the slab recipe 2016-03-23 19:24:45 +01:00
Katrina Swales 578f6fc868 Merge pull request #828 from Sunconure11/patch-1
Fixed a minor typo
2016-02-20 22:40:22 +00:00
nekosune 08341ebd60 Fixed #835 TT thought everything was infused seeds on harvest 2016-02-08 22:49:00 +00:00
nekosune 417e86a4ca FIxed #833, stopped TT Infused seeds planter thinking it knew what to do with vanilla 2016-02-08 15:29:28 +00:00
nekosune 5874de06d7 Fixed #829 Prevented Dislocator from moving entities created upon block movement 2016-02-04 15:35:19 +00:00
nekosune f3a167dc8a Fixed #827 by adding EnderIO custom planter for infused seeds 2016-02-03 12:10:41 +00:00
Joseph Caleb Jones f998506f9c Fixed a minor typo
If this is the right branch, anyways.
2016-01-25 20:48:00 -05:00
Katrina Swales 81d9fe3d97 Fixed Talisman breaking - #805 2015-12-02 17:38:01 +00:00
Katrina Swales 981397cf3c Merge remote-tracking branch 'origin/1.7-final' into 1.7-final 2015-12-02 16:51:03 +00:00
Katrina Swales fd45ef3f92 One part of #805 fixed 2015-12-02 16:50:47 +00:00
Katrina Swales 1aa642b65b Merge pull request #810 from digger5/1.7-final
Second try at the research key for minetweaker.
2015-11-30 18:03:44 +00:00
Digger5 087202247a Second try at the research key for minetweaker. 2015-11-30 18:13:18 +01:00
Katrina Swales 9ad933874a Merge pull request #797 from Ghostlyr/patch-3
Typo
2015-10-30 20:28:49 +00:00
Ghostlyr 6d6a847536 Typo 2015-10-31 02:27:16 +06:00
Katrina Swales 51deb58f78 Merge pull request #790 from Ghostlyr/patch-1
Update ru_RU.lang
2015-10-17 12:50:12 +01:00
Ghostlyr 75a7d55411 Update ru_RU.lang 2015-10-17 14:35:16 +06:00
Katrina Swales 3a68e7935c Merge pull request #789 from Ghostlyr/patch-2
Update ru_RU.lang
2015-10-16 11:18:16 +01:00
Ghostlyr 3d9f996d99 Update ru_RU.lang 2015-10-13 23:07:27 +06:00
nekosune f4060274d5 Added blacklist to account for #784, will not fix but allows other end to add their block to blacklist 2015-10-03 15:41:19 +01:00
nekosune 329961bfed Fixed #787 2015-10-03 15:05:55 +01:00
Katrina Swales 7ff8a7a40e Fixed an infused grain crash 2015-06-25 01:47:00 +01:00
Katrina Swales 35340b2fcd Merge branch 'develop' of github.com:Thaumic-Tinkerer/ThaumicTinkerer into develop 2015-05-17 14:28:47 +01:00
Katrina Swales b3c401f718 Fixed incompatibility with HEE or any other mod that extends vanilla entities 2015-05-17 14:10:29 +01:00
Katrina Swales 9b9f49675b Merge pull request #731 from TheVizzy/develop
Small Ru Fix
2015-04-28 22:49:53 +02:00
MrVizzyTM e03466fcc2 Small Ru Fix 2015-04-29 00:59:14 +05:00
Katrina Swales fd92c885e8 Merge pull request #729 from bakaxyf/patch-1
Update zh_CN.lang
2015-04-23 17:39:11 +02:00
Katrina Swales 25811bc207 Update BlockTravelStairs.java 2015-04-23 01:32:26 +02:00
Katrina Swales 753cfc0140 Update BlockTravelSlab.java 2015-04-23 01:31:59 +02:00
bakaxyf f07d933e35 Update zh_CN.lang 2015-04-22 22:59:53 +08:00
Katrina Swales f578198479 Added paving slabs, and stairs, of travel 2015-04-16 21:23:47 +02:00
Katrina Swales ecda071df8 Fixed #719 and updated libs 2015-04-13 23:28:45 +02:00
Katrina Swales 547df8eff0 Fixes #714 (should do, not tested) 2015-04-04 21:00:06 +02:00
Katrina Swales 55a2fa4e7a Fixed #691 Made sure the light slowly disapears from the world 2015-03-30 06:50:26 +02:00
Katrina Swales ecc0ad66dc Fixed #705 - Trasvector Interface now works fully with RF devices again 2015-03-30 03:17:32 +02:00
Katrina Swales f5f0b38d48 Merge branch 'develop' of github.com:Thaumic-Tinkerer/ThaumicTinkerer into develop 2015-03-30 02:13:03 +02:00
Katrina Swales ec26bfee98 updated APIs and fixed #706 2015-03-30 02:10:53 +02:00
Katrina Swales d2da2996a3 Merge pull request #704 from Meegooo/patch-1
Fix enderchest dupe bug
2015-03-26 14:38:05 +01:00
Meegooo 6f1aa321d5 Fix enderchest dupe bug 2015-03-26 15:18:30 +05:00
Katrina Swales 7fb1ea7214 Fixes #696 2015-03-18 17:06:37 +01:00
Katrina Swales 2bcc83bc87 Removed some tt changes to see if fixes 2015-03-01 00:32:15 +01:00
Katrina Swales 9f002fc743 Fixed #674 2015-02-21 16:24:07 +01:00
Katrina Swales 486567a9cb Hopefully fixed #663 2015-02-18 00:09:15 +01:00
Katrina Swales 09eb7c9ce8 Fixes #520 2015-02-17 23:56:57 +01:00
Katrina Swales 0cf7066b7e Fixed #655 2015-02-05 22:59:31 +01:00
Katrina Swales 34c846b475 Fixed #593 Fixed #521 2015-02-04 14:13:44 +01:00
Katrina Swales 7f466627c1 Updated Computer Craft API 2015-02-04 12:58:20 +01:00
Katrina Swales e0c3e3ad07 Disabled imbued fire crafting when config disabled, and added some logging 2015-02-04 02:18:18 +01:00
Katrina Swales b830f87b23 Merge branch 'develop' of github.com:Thaumic-Tinkerer/ThaumicTinkerer into develop 2015-02-01 15:22:42 +01:00
Katrina Swales 4683b995a8 Fixed #517 2015-02-01 15:22:09 +01:00
Katrina Swales f812e74fba Merge pull request #649 from DrQwertySilence/develop
Fixed ItemFocusSmelt sound:
2015-02-01 02:38:58 +01:00
drqwertysilence bea4ccc1e3 Fixed ItemFocusSmelt sound:
It was playing "fire.fire" two times per tick.
Reduced a bit the volume of per tick "fire.fire".
Added an atribute to handle the "fire.fire" spam.
Moved last "fire.fire" and "fire.ignite" outside of !world.isRemote check.
2015-01-31 20:29:57 -03:00
Katrina Swales 3419f42318 Unerfed XP focus a bit 2015-01-31 18:26:14 +01:00
Katrina Swales c1d38a434b Fixed #602 2015-01-31 17:26:44 +01:00
Katrina Swales 7b62b0d478 Fixes #583 2015-01-31 17:04:37 +01:00
Katrina Swales 321775cb93 Fixed #636 . is a bit hacky right now, but Should work 2015-01-31 15:31:42 +01:00
Katrina Swales 7a196a06ca Fixed previous PR 2015-01-31 14:34:18 +01:00
Katrina Swales f15c7ca364 Merge pull request #647 from Adaptivity/vanillalocalizationhandler
Kill language handler
2015-01-31 14:16:03 +01:00
Adaptivity 43cd815442 Kill language handler 2015-01-31 08:08:20 +03:00
Katrina Swales cb2855baac Merge branch 'develop' of github.com:Thaumic-Tinkerer/ThaumicTinkerer into develop 2015-01-31 01:19:04 +01:00
Katrina Swales 9572fcdd01 Added new blacklist objects for mods Fixed #638 2015-01-31 01:15:35 +01:00
Katrina Swales 3d8de57312 Merge pull request #646 from DrQwertySilence/develop
Fixed ShadowBeam particle:
2015-01-30 23:35:47 +01:00
drqwertysilence 38887a2252 Fixed ShadowBeam particle:
Now uses thaumcraft particle engine.
Rewrite of inner class "Particle" in "ItemFocusShadowbeam" class.
Little rewrite to inner class "Beam" in "ItemFocusShadowbeam" class to make it more configurable.
2015-01-30 19:32:09 -03:00
Katrina Swales 1a7f11bace Removed hardcoded apis, and moved some changes accidentally added to Master back to develop 2015-01-30 21:24:04 +01:00
Katrina Swales 836bae42ad Merge pull request #629 from crafteverywhere/patch-7
Fixed some mistakes in Chinese language file.
2015-01-28 22:21:00 +01:00
crafteverywhere a17c529252 Fixed some mistakes in Chinese language file. 2015-01-07 20:50:34 +08:00
Katrina Swales 6f534bb52a Fixed #575 2014-12-12 13:29:21 +00:00
Katrina Swales 504adabd0e Fixed #589 2014-12-12 00:34:29 +00:00
Katrina Swales 05c2f0bc45 Fixed missing changes 2014-12-12 00:30:17 +00:00
Katrina Swales 8fc69e8338 Moved potion ids to config 2014-12-12 00:28:16 +00:00
Katrina Swales 2b35134bad Removed buildcraft api to fix issues 2014-12-04 11:28:28 +00:00
Katrina Swales 8d91096c4d Test if this fixes 2014-11-25 19:14:48 +00:00
Katrina Swales f477187ede Will this work? 2014-11-25 18:44:16 +00:00
Katrina Swales f42f3d3685 Cleaned up some stuff ((accidentally) fixed up textures, started on focii, and cleaned gradle a bit 2014-11-19 23:16:54 +00:00
Katrina Swales 6622892f0e Fixed texture problem 2014-11-18 19:13:14 +00:00
Katrina Swales 70e3c09600 Thaumcraft beta changes 2014-11-18 18:08:57 +00:00
Katrina Swales 6365e45ac8 Fixed AE API to stop crash with RV1 : Warning only compatible with AE2 rv1 2014-11-16 17:21:46 +00:00
Katrina Swales cf600636bf Fixed other CC issue 2014-11-15 11:05:11 +00:00
Pixlepix d478a9e1f7 Comment out curse integration 2014-11-09 11:41:01 -05:00
Pixlepix 9deb20d7f1 Added minecraft version to curse deploy 2014-11-09 11:37:27 -05:00
Pixlepix 22dc31e327 Apply curseforge plugin after forge 2014-11-09 11:33:05 -05:00
Pixlepix 2e7f142a01 Another shot at curseforge. Third times the charm? 2014-11-09 11:07:06 -05:00
Pixlepix e8f02fe4d3 Revert "Working on curseforge integration"
This reverts commit 07923989f3.
2014-11-09 07:45:49 -05:00
Pixlepix 6f3cfdc8dd Revert "More work on curseforge"
This reverts commit 2697bb9017.
2014-11-09 07:45:46 -05:00
Pixlepix 876bd85375 Revert "Apply the proper curseforge plugin"
This reverts commit d869801895.
2014-11-09 07:45:43 -05:00
Pixlepix f262171c2b Revert "Apply curseforge plugin"
This reverts commit 8fcdae376c.
2014-11-09 07:45:39 -05:00
Pixlepix 8fcdae376c Apply curseforge plugin 2014-11-09 07:12:55 -05:00
Pixlepix d869801895 Apply the proper curseforge plugin 2014-11-09 07:04:26 -05:00
Pixlepix 2697bb9017 More work on curseforge 2014-11-09 06:58:10 -05:00
Pixlepix 07923989f3 Working on curseforge integration 2014-11-09 06:54:06 -05:00
Pixlepix e6daf64ab5 *Actually* fixed CC crash 2014-11-09 06:37:42 -05:00
Pixlepix 0558f81f17 Fixed crash when CC wasn't loaded 2014-11-08 21:17:07 -05:00
Pixlepix 2e5407ea42 Fixed #491
Signed-off-by: Pixlepix <[email protected]>
2014-11-08 17:06:45 -05:00
Pixlepix 46a0deacfb Fixed #491 2014-11-08 17:03:05 -05:00
Pixlepix 881378a5aa Readded CC support-part 2 2014-11-08 16:26:42 -05:00
Pixlepix fc3e896c88 Readded CC support 2014-11-08 13:39:44 -05:00
Pixlepix 1ed45708dd Fixed #529 2014-11-08 11:12:17 -05:00
Adly Templeton bdc2fd3091 Merge pull request #542 from Mexahoid/patch-8
Update ru_RU.lang
2014-11-08 11:05:20 -05:00
Mexahoid 8ed69b88bc Update ru_RU.lang 2014-11-08 13:15:33 +04:00
Pixlepix 16d1ec0462 Bedrock portals can be turned back into bedrock by right clicking 2014-11-05 06:53:20 -05:00
Pixlepix 7f98d51cbb Fixed #538 2014-11-05 06:17:50 -05:00
Pixlepix 5a54b66bf5 Update forge version 2014-11-03 15:13:09 -05:00
Adly Templeton 99d45f957c Merge pull request #508 from Breush/develop
Create fr_Fr.lang
2014-10-22 06:04:45 -04:00
Katrina Swales e21101d635 Merge pull request #533 from Keridos/develop
fixing crashes with thaumcraft 4.2.1.x due to some changes in TC API
2014-10-20 03:54:28 +01:00
Keridos dcc4ed95c1 fixing crashes with thaumcraft 4.2.1.x due to some changes in TC API 2014-10-20 04:51:55 +02:00
nekosune a0fc1aee13 Removed potential false drop/dupe bug 2014-09-29 23:41:41 +01:00
nekosune d1f139edcf Readded block drops 2014-09-29 23:38:43 +01:00
Pixlepix 46e5d2755f Fixed #502 2014-09-29 18:19:17 -04:00
Pixlepix a397740d1c Merge remote-tracking branch 'origin/develop' into develop 2014-09-28 11:38:41 -04:00
Pixlepix 95a1c4ef2b Complete rewrite of the Ordo fire's handling of ore block detection 2014-09-28 11:38:27 -04:00
Katrina Swales c3dc9d1b1f Fixed minor compile error 2014-09-27 23:47:08 +01:00
Katrina Swales 6f3dc7f490 See if this fixes PART of #514. Full fix will need storing itemstacks, not blocks 2014-09-27 23:33:59 +01:00
Katrina Swales 3cbd4aafb1 Attempt at fixing #514 2014-09-26 22:19:49 +01:00
Pixlepix 8d1456aa95 Fixed #513 2014-09-26 06:03:19 -04:00
Pixlepix 2a42f6a092 Fixed #511 2014-09-26 05:51:38 -04:00
Breush c796781f5c Create fr_Fr.lang
Translated all names add interfaces to French.
Still need to translate descriptions.
2014-09-23 14:13:30 +02:00
Pixlepix 7716940286 Buffed ichor caps vis discount to account for voidmetal caps 2014-09-20 08:54:15 -04:00
Pixlepix a29ed292b6 Merge remote-tracking branch 'origin/develop' into develop 2014-09-20 08:49:32 -04:00
Pixlepix f8ab8e785c Made AspectAnalyzer only register when CC is loaded. This fixed a crash when CC wasn't loaded, where the aspect analyzer dependend on the not-present peripherals research. 2014-09-20 08:49:20 -04:00
Katrina Swales c207c9ca97 Fixed build 2014-09-20 11:08:05 +01:00
Katrina Swales 38945de076 Minor alteration to previous fix 2014-09-20 09:44:39 +01:00
Katrina Swales 7b527593b7 Fixes #496 Or should 2014-09-20 09:32:29 +01:00
Pixlepix dda5f72322 Added more comments to accessTransformer 2014-09-19 07:16:05 -04:00
Pixlepix 73fa0f2df1 Merge remote-tracking branch 'origin/develop' into develop 2014-09-17 19:51:29 -04:00
Pixlepix 7c35cfb711 Closes #492 2014-09-17 19:51:17 -04:00
Katrina Swales 5a2eacaff1 Fixed Version Checker pattern
Fixed
2014-09-17 21:18:18 +01:00
nekosune 0e7ef4c856 Fixes #501 with minor change ... 2014-09-16 22:28:45 +01:00
Pixlepix 11ec90b990 Fixed potion array lengthening 2014-09-16 16:08:18 -04:00
Pixlepix 6acc9c2762 Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
	src/main/java/thaumic/tinkerer/common/potion/ModPotions.java
2014-09-16 15:51:13 -04:00
Pixlepix 6eba97dd97 Fixed potion length setting 2014-09-16 15:50:10 -04:00
nekosune 662f03c4f3 Minor changes and fixed #499 2014-09-15 02:52:01 +01:00
Pixlepix 6c95b877bd Merge remote-tracking branch 'origin/develop' into develop 2014-09-14 10:36:06 -04:00
Pixlepix 1d1be5efd4 Attempt at fixing 499 2014-09-14 10:35:42 -04:00
Katrina Swales 2e5cdaf2ac Merge pull request #485 from crafteverywhere/patch-6
Update zh_CN.lang
2014-09-08 18:41:56 +01:00
nekosune f9aedca248 Added null check. Fixes #490 2014-09-08 18:25:36 +01:00
Pixlepix f6c172f6c8 Various fixes to crop loot 2014-09-07 17:56:41 -04:00
Pixlepix c68f04d9d9 Merge remote-tracking branch 'origin/develop' into develop 2014-09-07 14:24:57 -04:00
Pixlepix c878403bd6 Added RS output to restorer. Closes #479 2014-09-07 14:24:48 -04:00
nekosune 3dfda37c58 MLTT: Gradle is Magic 2014-09-07 16:38:13 +01:00
nekosune 05a02e0521 Minor change 2014-09-07 15:08:42 +01:00
nekosune 260cff2f38 Merge branch 'develop' of github.com:Thaumic-Tinkerer/ThaumicTinkerer into develop 2014-09-07 15:02:09 +01:00
nekosune 9b505f9962 Merge remote-tracking branch 'origin/master' into develop 2014-09-07 15:01:26 +01:00
Pixlepix 3e0e4df02d Merge remote-tracking branch 'origin/develop' into develop 2014-09-07 10:00:51 -04:00
Pixlepix 8242bc0d5c Merge remote-tracking branch 'origin/develop' into develop 2014-09-07 10:00:47 -04:00
Pixlepix 794e78a774 Made talisman take more durability damage on warp effects 2014-09-07 10:00:39 -04:00
nekosune a106d6b7bf Removed old unused API 2014-09-07 15:00:33 +01:00
Pixlepix 2aa1f70d6b Added hard-coded exception to warp ward. Fixed #486 2014-09-07 09:39:02 -04:00
Pixlepix ccae308cf7 Made Infused Farmland not display in creative tab 2014-09-07 09:01:59 -04:00
crafteverywhere cab3af0985 Update zh_CN.lang 2014-09-05 09:54:29 +08:00
nekosune 82309b798d More magic 2014-09-04 20:51:00 +01:00
nekosune 88452d0a0c Fixed conflict 2014-09-04 20:40:44 +01:00
nekosune b5f4402fca Gradle magic 2014-09-04 20:39:03 +01:00
Pixlepix 09c32e1def Merge crops into develop 2014-09-02 13:17:12 -04:00
Pixlepix 8161174c8b Merge remote-tracking branch 'origin/advancedcrops' into develop
Conflicts:
	src/main/java/thaumic/tinkerer/client/core/proxy/TTClientProxy.java
	src/main/java/thaumic/tinkerer/common/core/proxy/TTCommonProxy.java
2014-09-02 13:16:54 -04:00
Pixlepix 79cc4e7019 Updated version checker version 2014-09-02 13:08:49 -04:00
Pixlepix 4e92c1bd87 Testing version checker on bad patterns 2014-09-02 12:12:39 -04:00
Pixlepix c582281431 Made versionchecker integration use "addCurseCheck" instead of "addUpdate" 2014-09-02 11:59:43 -04:00
Pixlepix ca864a73ff Another change to version checker filename pattern 2014-09-02 11:56:59 -04:00
Pixlepix 8e38975b50 Merge remote-tracking branch 'origin/develop' into develop 2014-09-02 11:51:51 -04:00
Pixlepix 6669691f87 Moved Version checker filename pattern to new method 2014-09-02 11:51:47 -04:00
nekosune b6ce57a9db git pushMerge branch 'develop' of
github.com:Thaumic-Tinkerer/ThaumicTinkerer into develop
2014-09-02 16:50:10 +01:00
nekosune 77381de551 Fixed merge issue 2014-09-02 16:49:52 +01:00
Pixlepix f7aaa35c6e Made TT load after FMP again 2014-09-02 11:49:44 -04:00
nekosune a9f83ebc92 hopefully fixed multiparts 2014-09-02 16:49:13 +01:00
nekosune bc30d83a4e hopefully fixed multiparts 2014-09-02 16:48:03 +01:00
Pixlepix 57ae35f7bc Changed versin checker format 2014-09-02 11:45:46 -04:00
Pixlepix ede9de2ff4 Merge remote-tracking branch 'origin/develop' into develop 2014-09-02 11:38:53 -04:00
Pixlepix c65f627a2f Fixed version checker. Closes #469 2014-09-02 11:38:48 -04:00
nekosune 72b0eaf009 Added specific log for multiparts 2014-09-02 16:30:08 +01:00
nekosune ef76485185 git pushMerge branch 'develop' of
github.com:Thaumic-Tinkerer/ThaumicTinkerer into develop
2014-09-02 16:27:35 +01:00
nekosune e7aedd4bf1 Added proper logging 2014-09-02 16:27:27 +01:00
Pixlepix 9ec223f1f7 Moved IMC into preinit. #469 2014-09-02 11:23:41 -04:00
Pixlepix 2bdc2f9ee9 Added debug message to FMP integration 2014-09-01 10:19:21 -04:00
Pixlepix 8328a80873 Moved multiblock registration to postInit 2014-08-31 15:16:59 -04:00
Pixlepix c8562b6dfa Made TT load after FMP 2014-08-31 13:51:00 -04:00
Pixlepix cc34336880 Merge remote-tracking branch 'origin/develop' into develop 2014-08-31 09:17:53 -04:00
Pixlepix cf7aa8e357 Disabled candle multipart 2014-08-31 09:17:47 -04:00
nekosune 8ea5f625d2 fixed gradle fmp 2014-08-31 14:11:28 +01:00
Pixlepix 9d3250ceef Added FMP to gradle build 2014-08-31 08:55:28 -04:00
Pixlepix cc6cd807fa Re-added FMP support 2014-08-31 07:47:15 -04:00
Pixlepix fa9c2df3f3 Swapped KAMI recipies. #476 2014-08-30 17:46:11 -04:00
Pixlepix d74b2a20f1 Fixed growth desync 2014-08-29 14:25:55 -04:00
Pixlepix a081c7cc43 Changed RenderInfusedCrops to point to the correct place for the id 2014-08-28 20:33:42 -04:00
Pixlepix 1b2748e4f0 Fixed server-crash error 2014-08-28 20:30:00 -04:00
Pixlepix 488ebc0ad5 Fixed merge conflict. Again. 2014-08-28 15:45:56 -04:00
Pixlepix 98b7922a8b Fixed merge conflict 2014-08-28 15:41:56 -04:00
Pixlepix 746af19e7c Merge branch 'develop' into advancedcrops
Conflicts:
	src/main/java/thaumic/tinkerer/common/block/fire/BlockFireAir.java
	src/main/java/thaumic/tinkerer/common/core/handler/ConfigHandler.java
2014-08-28 15:34:25 -04:00
Pixlepix ef879721e2 Added a config option to allow bonemeal on TT crops (Disabled by default) 2014-08-28 15:33:08 -04:00
Pixlepix fe28730623 Fixed item render issues 2014-08-28 15:17:07 -04:00
Pixlepix cb3955f25a Merge remote-tracking branch 'origin/develop' into develop 2014-08-27 12:44:48 -04:00
nekosune 5b2c1e0d84 Fixed Fix for #470 And made enchant not work on gem boots 2014-08-27 17:42:20 +01:00
Pixlepix 1c81f4cb2a Added registration to TileCamo. Closes #471 2014-08-27 12:39:52 -04:00
Pixlepix d1dc02134a Closes #470 2014-08-27 08:47:47 -04:00
Pixlepix e851cbf73a Added IC2 loaded check 2014-08-27 08:27:25 -04:00
Pixlepix ebbb330fe2 Fixed silly mistake with IC2 api 2014-08-27 08:04:06 -04:00
Pixlepix cc44bf7c25 Made @Optional depend on "IC2" instead of "IC2API" 2014-08-26 18:47:59 -04:00
Pixlepix a4415ae838 added @Optional to acceptsEnergyFrom 2014-08-26 18:29:47 -04:00
Pixlepix 8818468461 Moved IC2 back into /api for testing 2014-08-26 18:21:08 -04:00
Pixlepix e0de7bafab Used "IC2API" instead of "IC2" 2014-08-26 18:14:11 -04:00
Pixlepix b7b64aebf6 Move IC2 refrences indo IndustrialcraftUnloadHelper 2014-08-26 18:13:23 -04:00
Pixlepix b19b5fabcf Temporarily remove refrences to IC2 for testing 2014-08-26 18:01:45 -04:00
Pixlepix b371f23dc1 Merge remote-tracking branch 'origin/develop' into develop 2014-08-26 17:51:55 -04:00
Pixlepix 96263612a5 Attempt at adding additional check for IC2 api 2014-08-26 17:51:48 -04:00
nekosune d748f5c32b Moved ic2 api back 2014-08-26 22:42:37 +01:00
nekosune 5d7bdd9f2a Ic2 api change 2014-08-26 22:25:34 +01:00
Pixlepix f9a597d00d Added line break to potion doc page 2014-08-26 12:09:24 -04:00
Pixlepix 751da64b40 Fixed erratic rendering behaving from infused crop render 2014-08-25 21:31:24 -04:00
Pixlepix 1ec374057a Fixed infused farmland appearance 2014-08-25 21:26:49 -04:00
nekosune a3fc6a13a5 Minor IC2 api change 2014-08-25 19:24:15 +01:00
nekosune 5694358bef Fixed #463 2014-08-25 18:47:33 +01:00
nekosune 27ba70fb14 Merge branch 'develop' of github.com:Thaumic-Tinkerer/ThaumicTinkerer into develop 2014-08-25 18:21:02 +01:00
nekosune 1e612d4281 Fixed forge version 2014-08-25 18:20:11 +01:00
Pixlepix 000652eaed Fixed #464 2014-08-25 13:02:24 -04:00
Pixlepix 2456f31f47 Swaped dark quartz recipies to fix conflict with Botania 2014-08-24 18:00:03 -04:00
Pixlepix 9196916bd1 Fixed XP Talisman recipe 2014-08-24 17:53:26 -04:00
Pixlepix d7236dd31e Added normal aspect loot for tool-based aspects 2014-08-24 12:37:11 -04:00
Pixlepix 2b9d7764e5 More tweaking of ore dictionary scanning 2014-08-24 12:28:17 -04:00
Pixlepix 4e6464ce00 Made ore dictionary loot searching more precise 2014-08-24 12:12:40 -04:00
Pixlepix ab4c4b4ab6 Added proper infused seed research 2014-08-24 11:38:45 -04:00
Pixlepix e7cc9de002 Fixed #461 2014-08-24 09:01:43 -04:00
Pixlepix 20fd6305db Fixed dimension id conflict 2014-08-24 08:35:23 -04:00
Pixlepix 8f6efcaf45 Fixed #462 2014-08-23 21:45:01 -04:00
Pixlepix c149c75b54 Made the fireworks in ichor robes non-metadata-specific 2014-08-23 19:49:04 -04:00
Pixlepix 9e4f99c777 Added config option for fire. In completley unrelated news, I hate users. 2014-08-23 19:44:01 -04:00
Pixlepix 1393304f00 Allowed Aer-imbued fire to work on grass
(cherry picked from commit b02410d)
2014-08-23 19:19:28 -04:00
Pixlepix b02410da8b Allowed Aer-imbued fire to work on grass 2014-08-23 19:15:21 -04:00
Pixlepix 36b42046db Fixed #455 2014-08-23 17:00:51 -04:00
Pixlepix 3e569142da Merge branch 'develop' into advancedcrops
Conflicts:
	.gitignore
	build.xml
	src/api/java/cofh/api/energy/EnergyStorage.java
	src/api/java/cofh/api/energy/IEnergyConnection.java
	src/api/java/cofh/api/energy/IEnergyContainerItem.java
	src/api/java/cofh/api/energy/IEnergyHandler.java
	src/api/java/cofh/api/energy/IEnergyStorage.java
	src/api/java/cofh/api/energy/ItemEnergyContainer.java
	src/api/java/cofh/api/energy/TileEnergyHandler.java
2014-08-23 16:52:11 -04:00
Pixlepix 024ec87bbc Added warp into TT researches 2014-08-22 17:22:20 -04:00
Pixlepix d145e1f430 Updated KAMI unlock mechanism for 1.7.10. Only vanilla TC and TT researches are included. Eldritch tab is not needed. Researches needed any kind of trigger are not needed. 2014-08-22 14:22:47 -04:00
Pixlepix 4c030a959d Dev environment working on 1.7.10 2014-08-22 11:31:46 -04:00
Pixlepix ac0c44db28 Merge remote-tracking branch 'origin/develop' into develop 2014-08-22 08:14:34 -04:00
Pixlepix 4d7efc0556 Updated ant forge build number 2014-08-22 08:14:28 -04:00
Pixlepix 90b256dba5 Merge remote-tracking branch 'origin/advancedcrops' into advancedcrops 2014-08-22 08:11:51 -04:00
Pixlepix b8ead3310b Touch-up work on crops 2014-08-22 08:11:42 -04:00
Katrina Swales abddcfb23f Merge pull request #447 from Adaptivity/patch-1
Update ru_RU.lang
2014-08-21 13:50:01 +01:00
Adly Templeton a49eb3985f More tweaking growth rate 2014-08-17 11:10:11 -04:00
Adly Templeton fead344072 Drastically reduced growth rate 2014-08-17 11:00:43 -04:00
Pixlepix 3deed5e0e6 Removed superfluous baubles import 2014-08-16 23:22:56 -04:00
Pixlepix a4f0dc010e Implemented Ordo tendency. All primal tendencies are now complete 2014-08-16 16:32:50 -04:00
Pixlepix adcb2299c1 Fixed background coloring on seed render 2014-08-16 16:11:40 -04:00
Pixlepix 925f076e5e Implemented Perditio and Ignis primal tendencies 2014-08-16 16:08:00 -04:00
Pixlepix 1a06ebb4b5 Impemented more primal tendencies 2014-08-16 15:16:02 -04:00
Pixlepix 211da4fa4d Fixed infused seeds not carrying over tendency data properly 2014-08-15 09:21:23 -04:00
nekosune 36f3cfa8ae Merge branch 'develop' into 1.7.10 2014-08-15 11:52:08 +01:00
Katrina Swales 0bea87f357 Merge pull request #453 from crafteverywhere/patch-7
Update zh_CN.lang
2014-08-15 11:45:51 +01:00
crafteverywhere 54506e61bf Update zh_CN.lang 2014-08-15 18:38:02 +08:00
Pixlepix d06abc2fb0 Added basics for a breeding system 2014-08-14 17:41:17 -04:00
Pixlepix 8c4ffcd48f Various bugfixes on crops. Added basis for aspect tendency system 2014-08-13 20:01:56 -04:00
Pixlepix 2dd694fee5 Crops now drop proper loot! 2014-08-13 14:12:40 -04:00
nekosune f3c7af563b Updated API slightly 2014-08-12 14:08:46 +01:00
nekosune 16451275d9 Hope this still works 2014-08-12 12:08:43 +01:00
nekosune 95e951f4c1 Fixed issue #449 and fixed issue #450 2014-08-12 12:05:46 +01:00
Pixlepix 12a6d31ab0 Fixed #451 2014-08-12 06:50:13 -04:00
Pixlepix 0c6d85496d Gradle, be gone!
(cherry picked from commit f26da02)
2014-08-11 12:15:18 -04:00
Pixlepix f26da02a70 Gradle, be gone! 2014-08-11 12:13:06 -04:00
Anton 5f9b7d95e2 Update ru_RU.lang 2014-08-09 16:53:28 +04:00
pixlepix a2c37b0aaf Merge branch 'develop' into 1.7.10 2014-08-09 07:43:01 -04:00
pixlepix 721b09053d Fixed backwards armor textures. Fixes #444 2014-08-09 07:41:53 -04:00
pixlepix d547e1f06f Added loot to aspect. Still missing ideas for a few 2014-08-07 20:17:30 -04:00
pixlepix 1641e8aa44 Start of adding loot to aspects 2014-08-07 13:30:40 -04:00
pixlepix 146bfa3738 Fixed Render of crops 2014-08-06 20:20:54 -04:00
pixlepix 3e84b5919a Playing around with crop renderer 2014-08-06 15:54:56 -04:00
pixlepix f9e6834b02 Fixed entity rendering from dropped seeds 2014-08-06 12:11:46 -04:00
pixlepix 213ecc963e Added renderer for seeds 2014-08-06 11:08:44 -04:00
pixlepix c488fce3f8 Fixed a few more texture errors 2014-08-06 10:09:15 -04:00
pixlepix 1f1c2e351c Fixed sync issues with crops and farmland 2014-08-06 09:48:05 -04:00
pixlepix d38fbace17 Merge branch 'develop' into advancedcrops
Conflicts:
	src/main/java/thaumic/tinkerer/common/item/ItemInfusedSeeds.java
2014-08-06 08:26:56 -04:00
pixlepix 07304f6717 Fixed two missing condensed soul aspect textures 2014-08-05 22:23:07 -04:00
pixlepix c137204220 Moved TileForcefield 2014-08-05 19:56:14 -04:00
pixlepix f38fcb3235 Fixed forcefields dropping items when broken by water 2014-08-05 19:48:42 -04:00
pixlepix 5d51323198 Fixed all potions using Aer grain 2014-08-05 18:48:30 -04:00
pixlepix 5c745a8691 Merge remote-tracking branch 'origin/develop' into develop 2014-08-05 12:06:43 -04:00
pixlepix bae0767a60 Fixed typo 2014-08-05 12:06:39 -04:00
pixlepix d69f271f2c Git problems 2014-08-05 12:06:00 -04:00
Katrina Swales 4273ad51be Update ItemBloodSword.java 2014-08-05 16:56:08 +01:00
pixlepix 07abea8cf4 Merge remote-tracking branch 'origin/develop' into develop 2014-08-05 11:52:49 -04:00
pixlepix bc03cc3acc Fixed server crash with itemInUse 2014-08-05 11:52:41 -04:00
pixlepix 57f18419b5 Fixed texture names 2014-08-05 11:48:46 -04:00
pixlepix 469380d8b8 Assorted fixes to crops 2014-08-05 11:46:49 -04:00
nekosune 3c670bd38d Readded itemInUse reference so this thing works on servers 2014-08-05 11:44:30 +01:00
pixlepix 2a30234ec6 Assorted work on crops. Who needs commit messages 2014-08-04 23:44:41 -04:00
pixlepix b70310bb19 Merge remote-tracking branch 'origin/advancedcrops' into advancedcrops 2014-08-04 16:45:20 -04:00
pixlepix 13a16ae75a Work on crop breeding system 2014-08-04 16:45:07 -04:00
nekosune a4e7d03f51 Fixed COFH API hopefully 2014-08-04 10:40:50 +01:00
nekosune 4a171b7951 Fixed ender and client crash 2014-08-04 10:28:53 +01:00
nekosune 9a0ca6987b Merge branch 'develop' into 1.7.10 2014-08-04 10:22:38 +01:00
Adly Templeton be0a983315 Merge pull request #437 from Thaumic-Tinkerer/develop
Update advancedcrops branch with bugfixes from develop
2014-08-03 21:49:11 -04:00
pixlepix 806df301b0 Merge branch 'develop' into advancedcrops 2014-08-03 21:45:58 -04:00
pixlepix e54b1bc1f1 Finished generalizing BlockInfusedGrain and ItemInfusedSeeds to work as before 2014-08-03 21:45:47 -04:00
Adly Templeton 4817c89fbf Merge pull request #436 from kevinkjt2000/develop
Delete build.bat
2014-08-03 21:10:20 -04:00
kevinkjt2000 13885509c7 Delete build.bat
This file contains outdated build instructions (see issue #435)
2014-08-03 20:08:56 -05:00
pixlepix 98734dea7f Removed import of SortedList 2014-08-03 17:25:23 -04:00
pixlepix 12bf214c0f Merge remote-tracking branch 'origin/develop' into develop 2014-08-03 17:07:28 -04:00
pixlepix 98e739fe75 Creative tab entries automatically sort alphabetically 2014-08-03 17:06:31 -04:00
Adly Templeton 127d92303f Merge pull request #434 from Mexahoid/patch-7
Update ru_RU.lang
2014-08-03 09:19:00 -04:00
nekosune e1d02b278d Meged in develop 2014-08-03 11:13:48 +01:00
Mexahoid 29349055a7 Update ru_RU.lang 2014-08-03 11:12:42 +04:00
pixlepix aaa9f0cc8d Prevented duplicate effects from duplicate tablets of necromancy 2014-08-02 22:12:01 -04:00
pixlepix bfec7484a4 Fixed elemental fire textures 2014-08-02 22:06:58 -04:00
pixlepix 420ea4bdff Added in ability for blocks to have multiple tile entities 2014-08-02 20:59:03 -04:00
nekosune 975a992f67 Removed extaoneous spam 2014-08-03 00:08:17 +01:00
pixlepix 2f6e6fff64 Updated EnderStorage integration 2014-08-01 17:03:52 -04:00
pixlepix bed2b0cf65 Merge remote-tracking branch 'origin/develop' into develop 2014-08-01 16:55:46 -04:00
pixlepix 1b397e94e5 Used the right version of enderstorage for 1.7.2 2014-08-01 16:55:35 -04:00
Adly Templeton 4a1cddf7b4 Basic attempt at re-adding ender storage integration 2014-08-01 16:11:25 -04:00
nekosune e94d3f3089 Merge branch 'develop' into 1.7.10 2014-07-31 21:38:26 +01:00
nekosune 495b76adf8 Buildfile change 2014-07-31 21:37:56 +01:00
pixlepix 8b58e6b0eb Changed thaumonicon entries to reflect the fact that they can be toggled with a keybind. 2014-07-31 13:15:45 -04:00
pixlepix cfe23e8514 Removed direct access to itemInUse 2014-07-31 13:00:06 -04:00
pixlepix 18188029b0 Fixed crash on startup in some cases 2014-07-31 12:46:51 -04:00
pixlepix d574f4c0d9 Attempt at fixing #416 2014-07-31 12:41:49 -04:00
pixlepix 8a190cebae Added fishing rod enchants to the osmotic enchanter. 2014-07-29 19:25:50 -04:00
pixlepix 8e3ec523e7 Fixed: 424 2014-07-29 12:42:52 -04:00
pixlepix 4310227166 Added soul aspect for villager. 2014-07-29 12:37:50 -04:00
pixlepix 7a016d33e6 Added redstone control to the tablet of necromancy 2014-07-29 12:36:34 -04:00
pixlepix a416643483 Various tablet of necromancy fixes. In particular, infused soul aspects can't be used by more than one tablet. 2014-07-29 12:29:19 -04:00
pixlepix 60f6569a2d Merge remote-tracking branch 'origin/develop' into develop 2014-07-29 11:56:45 -04:00
pixlepix e42eb50987 Attempt at fixing IllegalAccessError on startup. 2014-07-29 11:56:24 -04:00
Katrina Swales 5c5c062367 Merge pull request #431 from Mexahoid/patch-6
Update text
2014-07-29 10:18:28 +01:00
Mexahoid 4958301274 Update text 2014-07-29 12:14:27 +04:00
pixlepix c80317683b Merge remote-tracking branch 'origin/develop' into develop 2014-07-28 19:55:38 -04:00
pixlepix d6c8af3475 Made tablet of necromancy spawn skeletons as wither skellies when in the nether 2014-07-28 19:55:21 -04:00
Katrina Swales c1784f3708 Merge pull request #429 from crafteverywhere/patch-6
Update zh_CN.lang
2014-07-28 13:43:50 +01:00
crafteverywhere b967a1b461 Update zh_CN.lang 2014-07-28 13:58:39 +08:00
nekosune e83ad5287c Merge branch 'develop' into 1.7.10 2014-07-27 10:15:04 +01:00
nekosune 988c91c7da Added dev task 2014-07-27 10:14:33 +01:00
nekosune bbbeb3084f Merge branch 'develop' into 1.7.10 2014-07-27 09:27:08 +01:00
Katrina Swales 4372041caf Merge pull request #428 from Mrkwtkr/patch-1
Update zh_CN.lang
2014-07-26 10:57:00 +01:00
Mrkwtkr 4e79c8703b Update zh_CN.lang
Added the localization of magic potion and elemental flame. And some changes.
2014-07-26 15:30:29 +08:00
pixlepix 26e0c1b60a Clarified that talisman of withhold and feline amulet are worn in the bauble slots. 2014-07-25 20:58:31 -04:00
pixlepix 2270f16818 Made it clear that talisman of remedium only works as a bauble 2014-07-25 20:38:02 -04:00
pixlepix 1a56b870cb Fixed ichor wand parts not registering properly 2014-07-25 20:26:49 -04:00
pixlepix 0be22880f9 Fixed minor typos in language files. 2014-07-25 20:19:21 -04:00
pixlepix bb49758239 Fixed camo blocks crashing when clicked with an empty hand. 2014-07-25 20:14:50 -04:00
pixlepix a35811a92d Merge remote-tracking branch 'origin/develop' into develop 2014-07-25 20:02:38 -04:00
pixlepix 7eed5f6fe2 Fixed dark quartz itemblock. 2014-07-25 20:02:19 -04:00
pixlepix a43c4ca47e Beginning of generalizeing BlockInfusedGrain 2014-07-25 17:43:18 -04:00
pixlepix b5afc7343d Added Ordo and Perditio versions of infused seeds 2014-07-25 14:39:11 -04:00
Adly Templeton a690eca413 Merge pull request #425 from Thaumic-Tinkerer/advancedcrops
Made Infused Grain drop the proper item.
2014-07-25 14:32:53 -04:00
pixlepix 663975f19a Made Infused Grain drop the proper item. 2014-07-25 14:31:29 -04:00
nekosune 99193f39c9 Merged develop in 2014-07-24 20:27:47 +01:00
pixlepix 5538011738 Fixed crop textures 2014-07-24 15:25:03 -04:00
nekosune 9d967d73e1 Merge branch 'develop' into 1.7.10 2014-07-24 19:35:37 +01:00
pixlepix 6295d78144 Added missing textures. 2014-07-24 14:30:07 -04:00
nekosune 1d1cf04973 1.7.10 2014-07-24 19:28:59 +01:00
nekosune e5be2a2d24 Working on 1.7.10 change 2014-07-24 18:38:57 +01:00
pixlepix 4202785ea3 Fixed hyperenergetic nitor spawning a shitload of mobilizers. No, seriously. This was a funny bug. 2014-07-24 12:56:36 -04:00
pixlepix d226d6bc4c Temporarly disable remote placer. 2014-07-23 18:30:49 -04:00
pixlepix 787eadef71 Fixed wisp spawning from tablet of necromancy. 2014-07-22 14:13:05 -04:00
pixlepix 7e533cf4c4 Added missing AE files 2014-07-22 14:12:41 -04:00
pixlepix b75c86a495 Updated AE api 2014-07-22 14:00:25 -04:00
nekosune 12dff53879 Package name Change 2014-07-21 12:55:29 +01:00
pixlepix 7a99ec4932 Fixed merge conflicts 2014-07-17 16:03:57 -04:00
pixlepix aebdf25fd8 Merge remote-tracking branch 'origin/pixlewip' into develop
Conflicts:
	build.gradle
2014-07-17 16:03:30 -04:00
pixlepix 2b8a451435 Added support for Dynious's version checker. 2014-07-17 15:18:07 -04:00
pixlepix 48f6268504 Fixed #388 2014-07-17 13:22:38 -04:00
pixlepix 8a5a51f651 Fixed #417 2014-07-17 11:36:02 -04:00
Katrina Swales de7ffa9704 Merge pull request #414 from crafteverywhere/patch-6
Fixed some mistakes.
2014-07-15 14:55:49 +01:00
crafteverywhere e0ab0615e8 Fixed some mistakes. 2014-07-15 12:43:25 +08:00
Adly Templeton ce14a01c49 Merge pull request #413 from crafteverywhere/patch-5
Update zh_CN.lang
2014-07-14 15:15:20 -04:00
pixlepix 63ad4a9db7 Fixed ichor armor infusion recipies 2014-07-14 15:14:30 -04:00
pixlepix 5398e0b4d2 Added in texture for potions and crops. 2014-07-14 12:29:51 -04:00
crafteverywhere 2d5b616a52 Update zh_CN.lang 2014-07-14 16:50:35 +08:00
crafteverywhere 3095e8e3bd Update zh_CN.lang 2014-07-14 16:47:53 +08:00
pixlepix 43e12f35cd Removed essences and mana beans from ichor armor to work around a TC glitch. 2014-07-13 17:56:10 -04:00
pixlepix 849a436d09 Build file changes 2014-07-13 17:51:21 -04:00
pixlepix cc066a9dba Fixed server startup crash with new TTRegistry system
Signed-off-by: pixlepix <[email protected]>
2014-07-07 13:58:31 -04:00
pixlepix ba9cc429bb Actually return stuff in Ichor armor recipies. ._.
Signed-off-by: pixlepix <[email protected]>
2014-07-07 13:33:46 -04:00
pixlepix 76a030eac0 Fixed armor recipe switch statement
Signed-off-by: pixlepix <[email protected]>
2014-07-06 21:19:04 -04:00
pixlepix ea31ae3024 Fixed recipies and removed TCDEOBF from build script
Signed-off-by: pixlepix <[email protected]>
2014-07-06 20:53:41 -04:00
pixlepix a78023d6d9 Merge branch 'pixlewip' of https://github.com/Thaumic-Tinkerer/ThaumicTinkerer into pixlewip 2014-07-04 08:12:07 -04:00
Adly Templeton 046b123100 Merge pull request #407 from Thaumic-Tinkerer/nekoWIP
Merge in nekosune's changes
2014-07-01 07:29:23 -04:00
pixlepix 9eef651a0d Merge branch 'nekoWIP' of https://github.com/Thaumic-Tinkerer/ThaumicTinkerer into pixlewip 2014-07-01 07:26:48 -04:00
Adly Templeton 7181c9f744 Merge pull request #403 from crafteverywhere/patch-5
Changed the zh_CN text to the lastest version.
2014-07-01 06:18:09 -04:00
nekosune 8dc6825e81 Finished first draft of placer 2014-06-30 20:12:49 +01:00
nekosune ebb50e0ba8 Added GUI for new block 2014-06-30 17:33:24 +01:00
nekosune 27426724d2 First step of placer 2014-06-30 11:51:50 +01:00
nekosune aeb1663d34 Updated forge version 2014-06-30 10:54:36 +01:00
pixlepix ef68cd6e26 Added research and recipies for potions 2014-06-26 15:58:34 -04:00
crafteverywhere 87018f1658 Changed the zh_CN text to the lastest version.
Translating it slowly but unremittingly.
2014-06-27 01:22:29 +08:00
pixlepix bf95933411 Added Futureazoo's textures for fire items and mob aspects. 2014-06-25 16:17:26 -04:00
pixlepix df6e1ab53b Added fire textures 2014-06-24 17:24:51 -04:00
nekosune bda1cf9862 Altered build for easier thaumcraft updates 2014-06-24 19:05:56 +01:00
pixlepix 9f3c6ba6fb Merge remote-tracking branch 'origin/pixlewip' into pixlewip 2014-06-23 11:51:13 -04:00
pixlepix be659180df Added in research for elemental fire 2014-06-23 11:50:44 -04:00
Adly Templeton 2433a2893b Merge pull request #397 from Vexatos/patch-4
Update de_DE.lang
2014-06-22 07:24:44 -04:00
Vexatos f237f6af7f Update de_DE.lang 2014-06-22 12:28:14 +02:00
pixlepix e18c283317 Changed ModRecipies to RecipeHelper 2014-06-21 21:06:49 -04:00
pixlepix 1934fcd21c Fixed invalid recipies. This was resulting in crash on opening thaumonicon. 2014-06-21 21:04:08 -04:00
pixlepix 1fb0a676cd Fixed research and recipies on Transvector dislocator 2014-06-21 18:55:42 -04:00
pixlepix e2ea26b708 Revert previous commit 2014-06-21 18:53:54 -04:00
pixlepix 6add552757 Changed gui background to match thaumcraft's name change 2014-06-21 18:49:26 -04:00
pixlepix 276f09c9ed Fixed minor localization issues 2014-06-21 15:21:28 -04:00
pixlepix 69fdf4e4a2 Added localizations for crops and fire. @Vexatos. 2014-06-21 15:15:01 -04:00
pixlepix 9c2f7f039e Prevented Forcefields from displaying in creative tab 2014-06-21 15:10:09 -04:00
pixlepix 7c3475eea8 Fixed git error causing BlockFireFire to not appear 2014-06-21 15:05:23 -04:00
pixlepix fcfba73ec5 Readd registration of potion event handler 2014-06-21 15:03:01 -04:00
pixlepix b17e0c91b6 Fixed errors resulting from merge 2014-06-21 14:59:47 -04:00
pixlepix 81c69b1079 Fixed #393 2014-06-21 09:48:03 -04:00
pixlepix 04c02fd701 Merged in and updated crop branch. 2014-06-20 09:05:35 -04:00
pixlepix 8a8639993a Merge crops branch 2014-06-20 08:52:50 -04:00
pixlepix a8aeb83754 Added other types of fire 2014-06-19 10:43:32 -04:00
pixlepix e96f819328 Added fire 2014-06-19 05:09:40 -04:00
pixlepix 0ac4e94548 Fixed research not appearing. 2014-06-16 15:11:58 -04:00
pixlepix 7d70af4f20 Fixed dark quartz full slab 2014-06-14 10:14:06 -04:00
pixlepix 46e0686f6c Fixed errors with TTRegistry and creative tab 2014-06-14 10:10:20 -04:00
pixlepix 8dc8bb2155 TTRegistry now working. Bugs still remain. 2014-06-14 09:57:37 -04:00
pixlepix f3353271cb More bigfixing for TTRegistry 2014-06-13 15:56:16 -04:00
pixlepix 7995195ba6 Finished up registry for blocks 2014-06-13 09:43:27 -04:00
pixlepix 729c548a13 Changes to ITTinkererBlock 2014-06-13 09:30:58 -04:00
pixlepix 03c71e1f55 Initial migration of blocks to the registry system 2014-06-13 08:49:51 -04:00
pixlepix a420cbd06c More work on registry for blocks 2014-06-12 08:58:22 -04:00
pixlepix d6f205682b Finishing up Registryitems 2014-06-11 18:53:51 -04:00
pixlepix 4d1cba7733 Moved recipies to the registry system 2014-06-11 09:06:10 -04:00
pixlepix 1ab0589f18 Added registry for item research 2014-06-10 11:17:14 -04:00
pixlepix 6bdc988eff Beginnings of registry system for items 2014-06-10 06:40:54 -04:00
Katrina Swales fa25fd0618 Added Forge requirement 2014-06-10 10:42:16 +01:00
Adly Templeton 14d71cb961 Merge pull request #383 from Thaumic-Tinkerer/develop
Build 146
2014-06-08 21:29:38 -04:00
pixlepix f8b9be06ee Re-added prefix to tile entity names to prevent conflicts 2014-06-08 19:05:29 -04:00
Adly Templeton 784cf9b5de Merge pull request #382 from Thaumic-Tinkerer/develop
Build 145
2014-06-08 17:48:54 -04:00
pixlepix 02063206ef Removed prefix from item and block names 2014-06-08 17:30:56 -04:00
pixlepix 3d6d62189c Fix other silly mistake 2014-06-08 17:06:49 -04:00
pixlepix f1757f0681 Fix sily mistake with last commit 2014-06-08 17:04:57 -04:00
pixlepix 99208ba29a Re-registered armor toggle packet 2014-06-08 17:02:33 -04:00
pixlepix d3d6e5b0f0 Fixed server crash on startup 2014-06-08 16:58:05 -04:00
pixlepix a9bad7ece2 Added aspects to the Soul Aspects 2014-06-08 14:48:27 -04:00
pixlepix 70ebb4b0b6 Merge remote-tracking branch 'origin/master' 2014-06-08 13:54:38 -04:00
pixlepix d9530a62cf Updated Ichor textures 2014-06-08 13:54:27 -04:00
Katrina Swales 454fe47cfe Merge pull request #380 from Vexatos/patch-3
Update de_DE.lang
2014-06-08 13:44:03 +01:00
Vexatos e6eac9135e Update de_DE.lang 2014-06-08 14:42:25 +02:00
pixlepix c0059e9f76 Changed Tome of knowledge sharing to work offline 2014-06-07 18:59:10 -04:00
pixlepix cf2d68d42e Revert change to PacketTile 2014-06-07 18:08:07 -04:00
pixlepix 6522f55479 Changed default version name 2014-06-07 17:52:10 -04:00
pixlepix 5e436ac787 Version bump. Also removed Mail as a dependency. 2014-06-07 17:50:00 -04:00
pixlepix d6159fc5fb Reformat all code 2014-06-07 17:47:02 -04:00
pixlepix 0602aca546 Fixed KAMI armor packet toggling 2014-06-07 07:20:01 -04:00
pixlepix a01c9510cb Small code cleanup for PacketToggleArmor 2014-06-06 21:20:39 -04:00
pixlepix 416d3ff15d Fixed PacketTile 2014-06-06 20:56:39 -04:00
pixlepix 065d4fef25 Fixed Keybinds not working. Bugs with packets still remain 2014-06-06 19:36:46 -04:00
pixlepix aa35cafb38 Update Forge 2014-06-06 16:38:22 -04:00
nekosune 96cb589f15 Fixed conflict caused by optimisation DURING development 2014-06-03 19:07:57 +01:00
nekosune 762e546686 Fixed network system 2014-06-03 19:01:06 +01:00
pixlepix 531f921bf5 Code Cleanup. Also fixed a bug with Dislocation focus blacklist 2014-06-03 09:10:15 -04:00
pixlepix 8e20d0e8b0 Fixed a variety of performance issues with arrays 2014-06-03 08:48:07 -04:00
pixlepix 0e40b3485c Removed redundant type casts. A lot of them. 2014-06-03 08:42:36 -04:00
pixlepix 76a474a6e8 Assorted code cleanup 2014-06-03 06:36:22 -04:00
nekosune a6b60a4efd Update Forge 2014-06-02 22:52:30 +01:00
nekosune 4d95f8e33e Fixed Kami armor 2014-06-02 20:25:59 +01:00
pixlepix 8ec4c25d5f Refactored data flow issues 2014-06-02 09:02:24 -04:00
pixlepix 4cd67c87c4 Control flow issues refactoring 2014-06-02 08:54:14 -04:00
pixlepix ebdcdd8a0c Removed double semicolon 2014-06-02 08:48:30 -04:00
pixlepix 77c8ef4c3a Merge remote-tracking branch 'origin/master' 2014-06-02 08:47:48 -04:00
pixlepix 7254592c57 Removed redundant bitwise operation 2014-06-02 08:47:31 -04:00
nekosune 2ed6548403 NOW it is decursed 2014-06-02 00:06:22 +01:00
nekosune f5e3497bde Fixd cleansing tablet, AND temporarilly decursed buildfile 2014-06-02 00:02:47 +01:00
nekosune dc12ec04f9 ASdded Curse Task 2014-05-28 21:43:16 +02:00
nekosune 73e9d34cb9 Commented out curse task as asked 2014-05-28 21:21:57 +02:00
nekosune 9027043b3e Added plugin details 2014-05-28 21:00:03 +02:00
nekosune 9696ccf5e3 Hopefully fixed build script 2014-05-28 20:57:42 +02:00
nekosune 2fd64931c2 Fixed a rookie mistake 2014-05-28 20:29:15 +02:00
nekosune de1cbd2cde Altered build script for better curse upload 2014-05-28 18:52:04 +02:00
nekosune fb425a2acb Fixed #375 and a related dupe 2014-05-28 18:42:45 +02:00
nekosune ab2dce605d Fixed #374 and baubled it 2014-05-28 02:57:35 +02:00
nekosune 13c66ae735 Fixed Gradle 2014-05-28 01:55:36 +02:00
nekosune 2f8d0e2ec6 Fixed Issue #376 2014-05-28 01:53:32 +02:00
pixlepix 0ac14deaec Merge remote-tracking branch 'origin/1.7' into 1.7 2014-05-26 15:26:46 -04:00
pixlepix d36c3eb612 Fixed using the default channel name of "TUT" for packets. 2014-05-26 15:16:25 -04:00
nekosune 8674130d17 Fixed multipart 2014-05-25 22:11:46 +02:00
nekosune 71e1e2064a THis better work 2014-05-25 20:39:37 +02:00
nekosune ab70b26df6 Fixed minor error 2014-05-25 20:36:33 +02:00
nekosune 91e9368269 Merge branch '1.7' of https://github.com/Thaumic-Tinkerer/ThaumicTinkerer into 1.7 2014-05-25 20:32:40 +02:00
nekosune 55ba3ab86c Attempt at fixing the deps problem 2014-05-25 20:31:50 +02:00
pixlepix b116bece93 Merge branch '1.7' of https://github.com/Thaumic-Tinkerer/ThaumicTinkerer into 1.7 2014-05-25 13:11:55 -04:00
pixlepix 35a4ed71a6 Readded gradlew file 2014-05-25 13:11:36 -04:00
nekosune 33b3d9bc38 Fixing build script 2014-05-25 18:03:50 +02:00
pixlepix 7ddd697522 Fixed summoning research page 2014-05-25 10:16:58 -04:00
pixlepix 125e2a9d6f Fixed #338 2014-05-24 23:00:32 -04:00
pixlepix af3b458abb Fixed #350. Cleaned up recipies and research 2014-05-24 22:54:14 -04:00
pixlepix 4d34a9c996 Fixed TC proxy not getting captured 2014-05-24 22:26:04 -04:00
pixlepix de4b78dd71 Fixed ThaumicTinkerer-367 [Kami] 1.6.4 - Duplication and Item Void bug with Bottomless Pouches 2014-05-24 21:43:43 -04:00
pixlepix 07c671587b Enabled KAMI by default 2014-05-24 21:00:47 -04:00
pixlepix 30e4095192 Transvector interfaces now work with fluids again. Fixes #357 2014-05-24 20:48:15 -04:00
pixlepix 7604cd8a16 Merge remote-tracking branch 'origin/1.7' into 1.7 2014-05-24 18:38:23 -04:00
pixlepix 251c12c0d3 Fixed the buildscript and removed the automatic crash reporter. Dependencies are now not passed into the runtime environment while compiling in an IDE. 2014-05-24 18:37:19 -04:00
nekosune 10178931e5 Fixed #361 with some minor problems remaining 2014-05-22 13:21:05 +02:00
Katrina Swales 69c5b5e958 Fixed #366
Fixed crash
2014-05-21 15:55:28 +02:00
nekosune 3d2b7850d1 Updated COFH API, old one due to github mixup 2014-05-20 16:43:13 +01:00
Katrina Swales e031fa1e8e Fixes Op 2014-05-13 10:50:33 +01:00
Katrina Swales 604e3a5bbe Update ThaumicTinkerer.java 2014-05-13 10:33:01 +01:00
Katrina Swales 109f819dff Made IMC accept a list 2014-05-13 10:29:24 +01:00
Katrina Swales 5057125b27 Merge pull request #362 from jinwoo829/patch-5
Update ko_KR.lang
2014-05-11 13:03:26 +01:00
Jinwoo Choi 4209f5aad8 Update ko_KR.lang 2014-05-11 11:14:39 +09:00
nekosune 7c2d66a2b6 Merge branch '1.7' of https://github.com/Thaumic-Tinkerer/ThaumicTinkerer into 1.7 2014-05-05 21:50:27 +01:00
nekosune 17aca3eeb8 Fixed #347 2014-05-05 21:49:33 +01:00
Katrina Swales ee984c8526 Fixed bedrock dimension crash 2014-05-04 23:11:06 +01:00
Vasco Lavos 75c41b748c Merge pull request #354 from jinwoo829/patch-3
Create ko_KR.lang
2014-05-03 12:41:23 +01:00
Vasco Lavos 6dbcca4da0 Merge pull request #355 from jinwoo829/patch-4
Register ko_KR
2014-05-03 12:40:39 +01:00
Jinwoo Choi c09cb164c6 Register ko_KR 2014-05-03 11:11:22 +09:00
Jinwoo Choi ebf0b03e18 Register ko_KR 2014-05-03 11:04:15 +09:00
Jinwoo Choi 0946ad7ad3 Create ko_KR.lang 2014-05-03 11:01:45 +09:00
pixlepix 05beeca893 Research and recipies tidied up. Just localizatin and textures to go for Potions. 2014-05-01 18:48:47 -04:00
nekosune 3efdf93073 Changed some items into baubles 2014-04-30 16:26:35 +01:00
pixlepix 3dac441378 Added potion recipies and research 2014-04-29 18:41:54 -04:00
nekosune 7a93ae33f0 Some enchant tweaks 2014-04-29 00:05:37 +01:00
nekosune 1841af2fd9 Fixed looking glass rendering and kami tool hud 2014-04-28 22:02:16 +01:00
nekosune 23340c46db Fixed #349 2014-04-28 20:30:00 +01:00
Katrina Swales 06a380ec5f Fixed #345 2014-04-25 23:31:30 +01:00
Katrina Swales 3cd0acc269 Merge pull request #344 from viliml/patch-1
Fix crash with IC2
2014-04-24 13:31:21 +01:00
viliml ca6eda66fd Fix crash with IC2
Some code just doesn't like 0s... Also I don't think it REALLY matters that it's exactly 0.
2014-04-24 14:22:24 +02:00
pixlepix 83791a418b The code for potions should now be complete. Just need 'finishing touches' 2014-04-22 15:21:48 -04:00
nekosune fc55cc67a8 Readded TCon compatibility 2014-04-22 19:13:44 +01:00
nekosune 196cc2f9cd Readded waila, and added OC in 2014-04-22 18:40:27 +01:00
nekosune 89174ec73e Updated a load of OC stuff 2014-04-21 22:18:06 +01:00
pixlepix 6181970b58 Implemented water potion 2014-04-21 14:00:43 -04:00
pixlepix 439ec90949 Minor tweaks to potions 2014-04-20 21:31:28 -04:00
pixlepix 3664443470 Implemented Earth potion 2014-04-20 16:19:19 -04:00
pixlepix 50d01c5c01 Implemented Air and Fire potions 2014-04-19 14:34:30 -04:00
pixlepix 287736b859 Added handling for air potion 2014-04-19 11:23:01 -04:00
pixlepix 285459ea65 Scaffolding for potions. 2014-04-19 06:45:49 -04:00
pixlepix ab1c9c75fa Finished up crops 2014-04-18 18:29:10 -04:00
pixlepix 213b6eb619 More work on basic crops. 2014-04-18 12:44:00 -04:00
pixlepix d7dd22c620 Merge branch '1.7' into 1.7-crops 2014-04-18 11:50:51 -04:00
nekosune 57b6f98fcc Added golemConnector OC 2014-04-17 15:10:06 +01:00
nekosune 4821c48516 Merge branch '1.7' of github.com:Thaumic-Tinkerer/ThaumicTinkerer into 1.7 2014-04-16 17:15:37 +01:00
nekosune ae23de20d5 Updated TC 2014-04-16 17:15:15 +01:00
pixlepix 6417d10ee3 Fixed forge and TiC version numbers 2014-04-16 10:57:48 -04:00
pixlepix ef39801c61 Finished scaffolding for crops 2014-04-15 19:18:48 -04:00
nekosune 6d5a62a32b More work 2014-04-15 13:14:08 +01:00
pixlepix efeee94659 Scaffolding for crops 2014-04-14 18:17:20 -04:00
nekosune 69b64640f1 Removed portal from GUI 2014-04-07 00:00:18 +01:00
nekosune b346fd4356 Fixed AT 2014-04-06 23:39:08 +01:00
nekosune 2f6aaa0fd7 Hopefully added Core 2014-04-06 23:10:04 +01:00
nekosune c5f9df4217 Fixed mistaken repo 2014-04-06 22:27:37 +01:00
nekosune b1b5803106 Fixed gradle 2014-04-06 22:11:03 +01:00
nekosune 8a5fe94473 Added TiCon lib 2014-04-06 20:14:59 +01:00
nekosune 1b57dc4df3 Updated to new forge 2014-04-06 20:11:18 +01:00
nekosune 32842ce5c8 Changed to 1.6 CC api, hopefully removed dependency 2014-04-06 20:07:03 +01:00
pixlepix 0c21892ffe Changed bedrock dimension ore distribution 2014-03-31 16:54:12 -04:00
nekosune f94a1b251c Removed bedrock block, kept dimension 2014-03-31 19:01:54 +01:00
nekosune 8ff6b33b41 Fixed 1.1.2 changed 2014-03-31 00:44:15 +01:00
pixlepix 95cd8340c2 Changed Vampirism compatibility rules 2014-03-29 14:34:20 -04:00
pixlepix a7474d6d5e Fixed Osmotic Enchanter crash 2014-03-29 14:29:49 -04:00
pixlepix f04844c26d Fixed dynamism tablet GUI render 2014-03-29 13:12:56 -04:00
pixlepix 16ac27bf82 Fixed Animation Tablet GUI 2014-03-28 17:51:27 -04:00
pixlepix e942a545d0 Fixed InstantiationException in packets 2014-03-28 17:41:17 -04:00
pixlepix 3b3bf90af8 Fixed inventory NBT reading. 2014-03-28 17:14:26 -04:00
Katrina Swales 7f8d05a172 Merge pull request #316 from Vexatos/patch-2
Update de_DE.lang
2014-03-27 19:10:58 +00:00
Vexatos 269e493428 Update en_US.lang 2014-03-27 19:55:08 +01:00
Vexatos 13404fd88d Update de_DE.lang 2014-03-27 19:54:11 +01:00
nekosune 11e7ce8ffe More OC stuff 2014-03-27 17:44:00 +00:00
nekosune 3576048a36 Moving lua stuff into implementaiton classes for split use 2014-03-27 14:53:11 +00:00
nekosune 69000ef9a8 Made Aspect Analyzer OC compatible, and using apiless 2014-03-27 01:29:09 +00:00
nekosune 4d94e886aa Hopefully fixed compile error 2014-03-27 00:11:41 +00:00
nekosune e8ee078221 Moved CCcraft to try and apease jenkins 2014-03-26 23:55:12 +00:00
nekosune d791268083 Working on OP/CC stuff 2014-03-26 23:40:46 +00:00
pixlepix 17a97fc38a Merge branch '1.7' of https://github.com/Vazkii/ThaumicTinkerer into
1.7
2014-03-26 19:34:15 -04:00
pixlepix 3efd7fbab5 Fixed TileCamo writing to NBT 2014-03-26 19:30:10 -04:00
nekosune 93744c5eb2 Merge branch '1.7' of github.com:Thaumic-Tinkerer/ThaumicTinkerer into 1.7 2014-03-26 17:24:51 +00:00
nekosune b22420de62 Fixed #311 2014-03-26 17:21:33 +00:00
pixlepix b92d0e7f3f Fixed hyperenergetic nitor 2014-03-25 16:33:51 -04:00
pixlepix 0e445ed2f5 Boots of the Horizontal Shield don't work on podzol 2014-03-24 18:33:27 -04:00
pixlepix 9769d65f0e Added localization for keybinds 2014-03-24 18:29:03 -04:00
pixlepix 0491978b43 Merge branch 'master' into 1.7 2014-03-24 18:04:40 -04:00
nekosune b3668b612b Fixed general more 2014-03-24 21:38:03 +00:00
pixlepix af2636daff Merge remote-tracking branch 'origin/1.7' into 1.7 2014-03-24 15:51:03 -04:00
pixlepix 93d94fb144 Fixed refrence to Minecraft.getMinecraft 2014-03-24 15:50:51 -04:00
nekosune 95640d9152 Merge branch '1.7' of github.com:Thaumic-Tinkerer/ThaumicTinkerer into 1.7 2014-03-24 19:45:25 +00:00
nekosune 39497f0179 Fixed name mismatch 2014-03-24 19:44:12 +00:00
pixlepix 3877bf82e7 Fix sharing book's mouseover text 2014-03-24 15:41:22 -04:00
nekosune fb7419c857 Fixed 2014-03-24 18:59:54 +00:00
nekosune b74ade0dfc Added new Access transformer 2014-03-24 18:54:29 +00:00
nekosune 67c9494678 Added some cludges for AE api 2014-03-24 17:45:26 +00:00
nekosune 7c3b2c5991 Fixed Access transformer, 2014-03-24 17:18:29 +00:00
pixlepix ae0a854d46 TT now compiles in 1.7, access transformer for slime still not working. 2014-03-23 13:15:19 -04:00
nekosune 5c1855bbc7 Removed cc from proxy 2014-03-23 15:41:40 +00:00
nekosune 37bc9aa39d More 1.7 changes, almost there 2014-03-23 15:38:44 +00:00
pixlepix dfc501a6be Updated mobilizer blocks to 1.7 2014-03-22 22:07:32 -04:00
pixlepix 858078b5f5 Updated Bedrock Blocks to 1.7. Leaving out block replacement for now. 2014-03-22 22:06:05 -04:00
pixlepix ba4ac4b220 Updated dim package to 1.7 2014-03-22 21:55:33 -04:00
pixlepix ab52133f29 Almost updated the core package to 1.7 2014-03-22 21:45:09 -04:00
pixlepix d45575d2a2 Updated ModRecipies and ModResearch to 1.7 2014-03-22 21:28:28 -04:00
pixlepix 7ea1a5b270 Fixed block id locking in ichor tools 2014-03-22 21:11:44 -04:00
pixlepix cdde6224ea Upgraded Item and Enchantment packages to 1.7 2014-03-22 21:07:31 -04:00
pixlepix c5f8d01b5a Updated client packages for 1.7, with the exception of Keybindings 2014-03-22 19:50:09 -04:00
pixlepix 0c2d032155 Finished 1.7 Tile Entities, except for packets. 2014-03-22 16:39:45 -04:00
pixlepix 627bd5a53c Updated TileEntities to 1.7
Merge remote-tracking branch 'origin/1.7' into 1.7

Conflicts:
	src/main/java/vazkii/tinkerer/common/block/tile/TileAspectAnalyzer.java
	src/main/java/vazkii/tinkerer/common/block/tile/TileCamo.java
	src/main/java/vazkii/tinkerer/common/block/tile/TileEnchanter.java
	src/main/java/vazkii/tinkerer/common/block/tile/TileFunnel.java
	src/main/java/vazkii/tinkerer/common/block/tile/TileRepairer.java
2014-03-22 16:27:25 -04:00
pixlepix 206aa2a6b7 Merge remote-tracking branch 'origin/1.7' into 1.7
Conflicts:
	src/main/java/vazkii/tinkerer/common/block/tile/TileAspectAnalyzer.java
	src/main/java/vazkii/tinkerer/common/block/tile/TileCamo.java
	src/main/java/vazkii/tinkerer/common/block/tile/TileEnchanter.java
	src/main/java/vazkii/tinkerer/common/block/tile/TileFunnel.java
	src/main/java/vazkii/tinkerer/common/block/tile/TileRepairer.java
2014-03-22 15:56:46 -04:00
pixlepix 22e0ca6f63 Updated TileEntities to 1.7, minus NBT and Packets 2014-03-22 15:55:47 -04:00
nekosune cccc40ccdf More 1.7.2 stuff 2014-03-21 23:20:32 +00:00
nekosune 777ad58305 Last of the items 2014-03-21 19:59:34 +00:00
nekosune 35606b4c9b More 1.7 items 2014-03-21 19:48:13 +00:00
pixlepix e138dc4a13 Updated BlockSummon to 1.7 2014-03-21 15:21:48 -04:00
pixlepix 4256c1393f Merge remote-tracking branch 'origin/1.7' into 1.7 2014-03-21 15:20:34 -04:00
pixlepix 159212b7f6 Updated BlockRepairer to 1.7 2014-03-21 15:20:30 -04:00
nekosune ae909f1500 Merge branch '1.7' of https://github.com/pixlepix/ThaumicTinkerer into 1.7 2014-03-21 19:19:33 +00:00
pixlepix d0c6161f7b Updated BlockPlatform to 1.7 2014-03-21 15:19:22 -04:00
nekosune 30cec14ab3 Merge branch '1.7' of https://github.com/pixlepix/ThaumicTinkerer into 1.7 2014-03-21 19:19:01 +00:00
pixlepix cd500be8f2 Updated BlockNitorGas to 1.7 2014-03-21 15:18:48 -04:00
nekosune 894651abfe Merge branch '1.7' of https://github.com/pixlepix/ThaumicTinkerer into 1.7 2014-03-21 19:18:48 +00:00
pixlepix e2a7735658 Updated BlockMagnet to 1.7 2014-03-21 15:17:46 -04:00
nekosune 17ca44f149 Merge branch '1.7' of https://github.com/pixlepix/ThaumicTinkerer into 1.7 2014-03-21 19:17:43 +00:00
nekosune 0012a84617 Removed LibObfustication, wooo 2014-03-21 19:17:09 +00:00
pixlepix e2e104ecb3 Updated BlockGolemConnector to 1.7 2014-03-21 15:15:30 -04:00
pixlepix 29bba7a2fb Updated BlockGas to 1.7 2014-03-21 15:14:12 -04:00
pixlepix d57da2f43c Merge remote-tracking branch 'origin/1.7' into 1.7 2014-03-21 15:10:01 -04:00
pixlepix 164654c709 Updated BlockFunnel to 1.7 2014-03-21 15:09:52 -04:00
pixlepix 7258ca13ea Updated BlockEnchanter to 1.7 2014-03-21 14:42:13 -04:00
pixlepix 79856fa99d Updated BlockCamo to 1.7 2014-03-21 14:39:20 -04:00
nekosune c31bdf7258 Fixed most items, and working on AT 2014-03-21 18:20:07 +00:00
pixlepix 8f580f6431 Merge remote-tracking branch 'origin/1.7' into 1.7 2014-03-21 11:27:59 -04:00
pixlepix f7999d3579 Updated Aspect Analyzer to 1.7 2014-03-21 11:27:54 -04:00
nekosune 26d434635b Merge branch '1.7' of https://github.com/pixlepix/ThaumicTinkerer into 1.7 2014-03-21 15:26:14 +00:00
pixlepix 16cff3ca16 Updating more Block clases for 1.7 2014-03-21 11:25:07 -04:00
nekosune d25b74bc87 More 1.7 changes 2014-03-21 14:37:08 +00:00
pixlepix bfcf4f84f1 Fixed a few Block classes 2014-03-20 20:25:20 -04:00
pixlepix 777ca48dc4 Merge remote-tracking branch 'origin/1.7' into 1.7 2014-03-20 20:01:29 -04:00
pixlepix d5831aa518 Hacked out ID code for 1.7 2014-03-20 19:58:02 -04:00
nekosune 1de5d2bb04 Some more minor changes 2014-03-20 23:38:41 +00:00
nekosune caadd0ba4f Moved GUI packet to new system 2014-03-20 23:17:09 +00:00
nekosune 4491cae180 Switched packets over 2014-03-20 23:07:11 +00:00
pixlepix f89c02db2d More work at hacking out IDs 2014-03-20 17:34:07 -04:00
pixlepix 9555d9feb7 1.7 update ModBlocks and ModItems 2014-03-20 17:07:49 -04:00
nekosune 8892f5f1b1 Merge branch '1.7' of https://github.com/pixlepix/ThaumicTinkerer into 1.7 2014-03-20 20:03:06 +00:00
nekosune ac811be26f More 1.7 changes 2014-03-20 20:02:21 +00:00
pixlepix 9e2b143b95 Fixed gradle 1.7 version 2014-03-20 15:54:19 -04:00
pixlepix 8b03ee7ac3 Changed forge version to 1.7 2014-03-20 11:21:54 -04:00
Katrina Swales a6d515c4e0 Merge pull request #300 from Vexatos/patch-3
Update de_DE.lang
2014-03-19 18:37:37 +00:00
Vexatos 1255086532 Update de_DE.lang 2014-03-19 19:35:22 +01:00
nekosune b2554e1a71 Merge branch 'develop' of https://github.com/pixlepix/ThaumicTinkerer into develop 2014-03-19 10:27:30 +00:00
nekosune a292a5ab86 Unstable changes to renderering of Mob Display 2014-03-18 21:05:35 +00:00
pixlepix 10a2d324a1 Attempt at making Shockwave work with fall-reducing enchants 2014-03-18 15:48:44 -04:00
pixlepix f750a17ccc Nerfed Pounce 2014-03-18 15:48:07 -04:00
pixlepix d2fd1bca0c Added compatibility rules for Tunnel 2014-03-18 15:46:00 -04:00
pixlepix a9498e66af Merge remote-tracking branch 'origin/develop' into develop 2014-03-18 15:44:17 -04:00
pixlepix 892ada9c0e Halved tunnel speed 2014-03-18 15:43:51 -04:00
pixlepix 76ae77bd8e Added compatibility rules for shatter 2014-03-18 15:42:39 -04:00
pixlepix 21d77074b5 Allowed enchantments to stack with unbreaking and repair 2014-03-18 15:41:14 -04:00
nekosune b79ff0c65e Fixed concurrent crash bug 2014-03-18 14:40:43 +00:00
nekosune 109e87d174 changed volume name 2014-03-18 12:58:30 +00:00
nekosune 66174f43cc Added Share Tomb variant 2014-03-18 12:51:49 +00:00
nekosune 6d2730f44f Fixed #298 with Azanor's method as referenced by #299 2014-03-17 23:55:23 +00:00
nekosune 73e57cbc72 Merge branch 'develop' of https://github.com/pixlepix/ThaumicTinkerer into develop 2014-03-17 23:48:18 +00:00
nekosune bfc4298b01 Added change to gradle 2014-03-17 23:47:51 +00:00
Katrina Swales ee62ca3295 Merge pull request #296 from Vexatos/patch-2
Update de_DE.lang
2014-03-16 10:41:14 +00:00
Vexatos b1295c7412 Update de_DE.lang 2014-03-16 11:38:53 +01:00
pixlepix 4c7634038f Added configs for enchants. 2014-03-15 21:18:00 -04:00
pixlepix 9cde72a825 Merge remote-tracking branch 'origin/EnchantWIP' into develop
Conflicts:
	src/main/java/vazkii/tinkerer/common/block/kami/BlockBedrockKAMI.java
2014-03-15 21:03:13 -04:00
pixlepix d88f806f01 Added compatibility rules 2014-03-15 20:56:44 -04:00
pixlepix 6949ef0228 Added names for Enchanting. @Vexatos 2014-03-15 20:34:48 -04:00
pixlepix 1b8b865c56 Added research 2014-03-15 16:15:27 -04:00
pixlepix c5185855c9 Added enchantment icons 2014-03-15 15:25:20 -04:00
Katrina Swales 4012747e16 Merge pull request #292 from Vexatos/patch-1
Update de_DE.lang
2014-03-14 19:16:59 +00:00
Vexatos 704b75a646 Update de_DE.lang 2014-03-14 20:15:01 +01:00
pixlepix 236aded99b Removed excess enchantments 2014-03-13 20:57:07 -04:00
pixlepix 0b01e12e59 Implemented pounce
enchantment
2014-03-12 16:18:21 -04:00
Vasco Lavos dcfcc6adec Merge pull request #282 from Mexahoid/patch-4
Update ru_RU.lang
2014-03-12 13:35:39 +00:00
Mexahoid 16eb4b0025 Update ru_RU.lang 2014-03-12 16:34:28 +03:00
nekosune fb5ce33123 started on recepie item 2014-03-11 23:24:20 +00:00
pixlepix b7e8f0a464 Implemented shockwave
enchantment
2014-03-11 16:26:00 -04:00
nekosune dd30f08ef6 Fixed blacklist 2014-03-11 18:24:06 +00:00
nekosune 908fc7ff03 Added a quick fix for AT bug 2014-03-11 17:23:12 +00:00
nekosune 4a2d7ca7fb Fixed gradle build 2014-03-11 17:15:19 +00:00
nekosune 985f5907cf Merged into develop 2014-03-11 16:47:14 +00:00
nekosune ce7d3fce63 Removed exteroneous web directory 2014-03-11 14:56:00 +00:00
Vasco Lavos e927fb48bc Merge pull request #279 from Vexatos/patch-4
Update de_DE.lang
2014-03-11 13:39:47 +00:00
Vexatos 906c42488e Update de_DE.lang 2014-03-11 06:01:16 +01:00
nekosune 9cd01c01f9 Altered gradle curse 2014-03-11 01:55:04 +00:00
pixlepix fd51898a61 Implemented shatter enchantment 2014-03-10 21:25:41 -04:00
nekosune 63c217f685 Removed netherack in Bedrock dim 2014-03-10 23:06:47 +00:00
pixlepix a67b8d3c75 Implemented tunnel enchantment 2014-03-10 18:36:09 -04:00
nekosune c80f3eed95 Fixed horrible key choice 2014-03-10 21:43:56 +00:00
nekosune c4ef976ca6 Updated changelog and changed key for gem armor 2014-03-10 19:46:52 +00:00
nekosune b98de523f5 Fixed #270 by changing thaumenomicon 2014-03-10 19:08:18 +00:00
nekosune dcb527ea7c Fixed #203 2014-03-10 19:04:13 +00:00
nekosune aeeeb79860 Fixed #176 with new rendering 2014-03-10 18:27:04 +00:00
nekosune 77ab034fc6 Size changes for tablet 2014-03-10 15:05:16 +00:00
nekosune 095a5ad658 Merge branch 'master' of https://github.com/pixlepix/ThaumicTinkerer 2014-03-10 03:39:18 +00:00
nekosune 9bbe2cffaf Tablet Rendering change 2014-03-10 03:38:27 +00:00
pixlepix ab019bf8c2 Fixed #273. 2014-03-09 18:54:24 -04:00
pixlepix 2121eed3ce Fixed #273. 2014-03-09 18:52:41 -04:00
pixlepix 5c8dc43949 Implemented Final Strike enchantment 2014-03-07 17:01:34 -05:00
pixlepix 33d57499fd Implemented Valiance enchantment 2014-03-07 16:45:26 -05:00
pixlepix 86e357af01 Implemented Focused and Dispersed strike enchantments 2014-03-07 15:23:07 -05:00
pixlepix 939d4f4896 Enchantment Scaffolding 2014-03-07 11:18:50 -05:00
pixlepix f12fd992f8 Fix #269 2014-03-06 21:23:00 -05:00
nekosune 8ffc7dfba0 commented changes 2014-03-06 23:53:10 +00:00
nekosune 080e960897 removed debug code 2014-03-06 23:45:17 +00:00
nekosune f56f6dce8c Altered aspect drop to use scan results 2014-03-06 23:44:42 +00:00
nekosune 7a56337ceb Fixed #246 2014-03-06 23:12:41 +00:00
pixlepix d2158f078e Make soul aspects stackable 2014-03-06 17:26:57 -05:00
pixlepix cc0d696b4f Added more mob transmutation/aspect textures 2014-03-06 16:49:12 -05:00
pixlepix ef95a51d17 Added mob trnasmutation art 2014-03-06 16:45:14 -05:00
nekosune 8fb89791b8 Merge branch 'master' of https://github.com/pixlepix/ThaumicTinkerer 2014-03-06 20:55:24 +00:00
nekosune 02964c03a2 Fixed #225 it was two issues in one 2014-03-06 20:54:53 +00:00
pixlepix 8a618fb654 Finished up mob transmutations 2014-03-05 21:06:36 -05:00
Katrina Swales 06568ffb95 Merge pull request #264 from Thaumic-Tinkerer/curseForge
Changed changelog loc
2014-03-06 02:01:35 +00:00
nekosune 41ff522991 Changed changelog loc 2014-03-05 23:53:08 +00:00
Katrina Swales 5d0eabfcfc Merge pull request #263 from Thaumic-Tinkerer/curseForge
Curse forge
2014-03-05 23:40:22 +00:00
nekosune e6428a0533 finished cursegradle changes 2014-03-05 22:56:43 +00:00
pixlepix 1cd76cf12d Added recipe for summoning tablet 2014-03-05 16:51:51 -05:00
nekosune 9d4500c8fe Temp remove advthaum from kami research 2014-03-05 21:34:19 +00:00
nekosune 67240bfdb9 More changes to gradle curse setup 2014-03-05 21:27:15 +00:00
pixlepix 363029c962 Added research for Mob Transmutation. @Vexatos. 2014-03-05 14:54:48 -05:00
Katrina Swales 0047b72ea8 Removed SlimeKnights maven, and added tcon manually 2014-03-05 13:23:55 -05:00
nekosune 5b22e76999 Added changelog 2014-03-04 14:51:33 +00:00
nekosune a421bda3e7 Changed gradle 2014-03-04 14:19:22 +00:00
Katrina Swales 46f30955b7 Merge pull request #259 from Vexatos/patch-4
Update de_DE.lang
2014-03-04 13:37:43 +00:00
Vexatos b4b5930871 Update de_DE.lang 2014-03-04 07:50:57 +01:00
nekosune 849c6f427c Played with the Worlsdhapers inventory icon some more 2014-03-04 01:50:42 +00:00
nekosune 01d0814b50 Fixed #165 and altered in inventory rendering also 2014-03-04 00:38:03 +00:00
nekosune 9543dedc4c Temp removed custom playerinv 2014-03-03 22:24:39 +00:00
nekosune dc69abfc49 If this works, I dont know what 2014-03-03 20:51:08 +00:00
pixlepix 49fb62bea0 Moved FakedInvPlayer to an inner class 2014-03-03 15:32:08 -05:00
pixlepix 1954ee5e98 Merge remote-tracking branch 'origin/master' 2014-03-03 15:11:32 -05:00
pixlepix 180c7a978e Fixed #244 2014-03-03 15:10:45 -05:00
Katrina Swales 42685ad16f Missed some comments 2014-03-03 19:06:09 +00:00
Katrina Swales 44dc64800c Removed exteroneous comments 2014-03-03 19:01:40 +00:00
nekosune 6ab968bdea Added computercraft support for basic essentia pipes 2014-03-03 18:45:56 +00:00
Katrina Swales d7b547c72b Merge pull request #257 from Tarig0/patch-1
Only change Modes if current GUI is null
2014-03-03 17:03:09 +00:00
Allen Cook 93ece21e58 add import 2014-03-03 11:58:58 -05:00
Allen Cook 1626c3c4f2 Only change Modes if current GUI is null
Should fix #256
2014-03-03 11:36:44 -05:00
Katrina Swales 15735e5bcf Fixed #241 and fixed #254 2014-03-03 14:55:37 +00:00
Katrina Swales ac2bfa3d23 Removed SlimeKnights maven, and added tcon manually 2014-03-03 11:42:18 +00:00
Katrina Swales d69144e98e Merge pull request #253 from pixlepix/ArmorTest
Armor test
2014-03-02 23:34:17 +00:00
nekosune 85900e740a Finished Armor keybinding 2014-03-02 23:31:27 +00:00
pixlepix f468d39041 Fixed #243: Made the gas remover a normal research. 2014-03-02 17:34:23 -05:00
pixlepix 8e425dc8df Fixed #248: Crash when breaking BC pipes with awakened ichor pickaxe 2014-03-02 17:22:04 -05:00
pixlepix 130e2cae79 Fixed #251 : Crash on using an awakened ichorium sword on soul mode in a tool dynamism tablet. 2014-03-02 15:17:26 -05:00
nekosune 9e5f5f4673 Removed server files 2014-03-02 20:14:57 +00:00
nekosune 2cda0833c7 Added armor so far 2014-03-02 20:14:01 +00:00
pixlepix 1df0f265bb Polishng the summoner 2014-03-02 14:43:15 -05:00
pixlepix abd8e462c3 Added infused and condensed soul aspects. 2014-03-01 18:05:58 -05:00
pixlepix 7379a95584 Fixed duplicate aspects 2014-03-01 16:33:34 -05:00
pixlepix 842939d86d Added summoner GFX 2014-03-01 16:00:40 -05:00
pixlepix 1bcc3ec422 Added summoner block 2014-03-01 13:05:05 -05:00
pixlepix 6514047a5f Revert "Basic infastructure for mob transmutation."
This reverts commit c1d7f0e589b57e26a03f555081b72e0a9c896608.
2014-03-01 07:40:47 -05:00
pixlepix 68d6c18898 Revert "Finished EnumMobAspect"
This reverts commit dd92741eae890e638cb0ea0271cce4b0e450a850.
2014-03-01 07:40:39 -05:00
pixlepix ebea7f572e Revert "Blood sword essentia harvesting is toggleable"
This reverts commit c77a8393b1113cbcde3aefa10203d24b2874f0de.
2014-03-01 07:40:27 -05:00
pixlepix a01d4dce32 Merge remote-tracking branch 'origin/master' 2014-02-28 18:55:40 -05:00
pixlepix f59f6dcacf Blood sword essentia harvesting is toggleable 2014-02-28 18:55:11 -05:00
Vasco Lavos 4b8405eef2 This ought to fix the issues with BetterStorage. 2014-02-28 22:57:15 +00:00
pixlepix 5c2fd60f10 Finished EnumMobAspect 2014-02-28 16:16:10 -05:00
pixlepix 34c236d435 Basic infastructure for mob transmutation. 2014-02-28 15:24:37 -05:00
nekosune 7f743499fd fixed #201 and merged #216 2014-02-28 00:54:14 +00:00
Katrina Swales 038469e010 Fixed #172 And added blacklist for general use by TT and other mods. 2014-02-28 00:49:59 +00:00
Katrina Swales 067d31825d Fixed #177 Note: ask Lizbeth why that code was there 2014-02-28 00:11:12 +00:00
nekosune 5984af5579 Added KAMI debug command 2014-02-27 19:16:07 +00:00
nekosune 7568017570 Merge branch 'master' of https://github.com/pixlepix/ThaumicTinkerer 2014-02-27 15:06:33 +00:00
nekosune 73fe052957 Fixed #240 and #238 2014-02-27 15:05:32 +00:00
nekosune 75e2f0feb4 Hopefully last test build 2014-02-26 13:10:46 +00:00
nekosune 49e5062101 Merge branch 'master' of github.com:Vazkii/ThaumicTinkerer 2014-02-26 13:04:34 +00:00
nekosune 64662fdbaf Just a simple test commit 2014-02-26 13:04:03 +00:00
CloudBees DEV@Cloud 5709bdb087 Promoting Build 2014-02-26 06:16:03 -05:00
nekosune c1ec6f7114 Fixed crash when kami was off and mirrors enabled. Fixes #237 2014-02-26 11:13:47 +00:00
nekosune d1630dca5f Merge branch 'master' of https://github.com/pixlepix/ThaumicTinkerer 2014-02-26 04:14:34 +00:00
nekosune bb954ed725 Added change to website 2014-02-26 04:14:19 +00:00
CloudBees DEV@Cloud 8cf5f3f12a Promoting Build 2014-02-25 22:41:36 -05:00
nekosune 462a2b1a9a Fixed version builds 2014-02-26 03:39:30 +00:00
CloudBees DEV@Cloud 00070b230a Promoting Build 2014-02-25 22:26:45 -05:00
nekosune 6f2dafd903 altered libmisc to use gradle version 2014-02-26 03:16:05 +00:00
nekosune 3951926470 Temporary fix for Mirror problem, fixes #223 2014-02-26 03:01:54 +00:00
CloudBees DEV@Cloud 146289290e Promoting Build 2014-02-25 21:29:08 -05:00
nekosune 785106af33 removed old test URL 2014-02-26 02:26:30 +00:00
nekosune c6cc0fe37e Merge branch 'master' of https://github.com/pixlepix/ThaumicTinkerer 2014-02-26 02:26:12 +00:00
nekosune d4a63ba60c last test 2014-02-26 02:25:20 +00:00
CloudBees DEV@Cloud 521cc0bedf Promoting Build 2014-02-25 21:23:07 -05:00
nekosune 99ed85c79c Removed nonsense url 2014-02-26 02:13:17 +00:00
CloudBees DEV@Cloud 06624184e8 Promoting Build 2014-02-25 21:10:18 -05:00
CloudBees DEV@Cloud 56c548d450 Merge branch 'master' of ssh://github.com/pixlepix/ThaumicTinkerer 2014-02-25 21:10:18 -05:00
nekosune 33fed0b28a junk 2014-02-26 01:58:08 +00:00
nekosune b19d563516 more testing, hooray /s 2014-02-26 01:54:03 +00:00
CloudBees DEV@Cloud 35a91679aa Promoting Build 2014-02-25 20:52:49 -05:00
nekosune 940338b173 Sorry for spam all again 2014-02-26 01:50:23 +00:00
nekosune 2c5633fa31 Sorry for spam all 2014-02-26 01:45:50 +00:00
nekosune 8b1c633141 testing commit 2014-02-26 01:37:07 +00:00
CloudBees DEV@Cloud 7d4112363d Merge branch 'master' of github.com:pixlepix/ThaumicTinkerer 2014-02-25 20:15:36 -05:00
CloudBees DEV@Cloud a1dbcc7082 Promoting Build 2014-02-25 20:15:35 -05:00
pixlepix 4ee73985cc KAMI research is concealed 2014-02-25 15:44:34 -05:00
pixlepix cdc4773ac1 Merge remote-tracking branch 'origin/master' 2014-02-25 15:42:34 -05:00
pixlepix 7b6e7b0211 (Attempted) patch for ichor issue 2014-02-25 15:41:58 -05:00
Katrina Swales cfb6e3144a Added jar change 2014-02-25 20:34:52 +00:00
nekosune d3ace56126 Tst Commit 2014-02-25 17:57:27 +00:00
Katrina Swales 5653ec7472 Tst Commit 2014-02-25 17:10:17 +00:00
Katrina Swales 60f2ca8be6 Reverted change to move onto testing branch 2014-02-25 16:36:30 +00:00
nekosune e3992aecd6 Added /classes to .gitnignore 2014-02-25 14:11:17 +00:00
pixlepix 8f2c84c354 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2014-02-25 08:55:53 -05:00
pixlepix a2f1381cdb Fixed build script 2014-02-25 08:55:31 -05:00
Katrina Swales c322bc6005 Added Label compat 2014-02-25 13:35:13 +00:00
nekosune f240f1d33d Merge remote-tracking branch 'origin/master' 2014-02-24 22:34:31 +00:00
Katrina Swales 533347925e Altered Gitignore to ignore idea project 2014-02-24 22:32:57 +00:00
pixlepix b50c0be8ab Merge 2014-02-24 17:32:37 -05:00
pixlepix 5012887daa Merge remote-tracking branch 'origin/master'
Conflicts:
	src/main/resources/assets/ttinkerer/lang/en_US.lang
2014-02-24 17:30:58 -05:00
pixlepix d80a07d121 Update Awakened Ichorium pickaxe #234 2014-02-24 17:30:00 -05:00
Adly Templeton d3f08032cc Merge pull request #231 from Peach774/patch-1
Update en_US.lang
2014-02-23 19:39:05 -05:00
Peach774 84789c588e Update en_US.lang
Clear grammar and rephrase things to sound more appropriate or in some cases more mystic.
2014-02-23 14:42:36 -08:00
pixlepix f97697f70b Added gradle wrapper properties 2014-02-23 14:11:44 -05:00
pixlepix c132544c8f Fixed build number in gradle script 2014-02-23 13:51:22 -05:00
pixlepix fbf220bd37 Added gradle wrapper jar 2014-02-23 13:41:22 -05:00
pixlepix cd754f1511 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2014-02-23 13:36:48 -05:00
pixlepix bf7284f20c Added gradlew 2014-02-23 13:36:25 -05:00
Adly Templeton 1c70ef933f Merge pull request #230 from T145/master
Simple cleaning
2014-02-23 13:12:49 -05:00
Taylor Shuler 0a2b8a196a Updated .gitignore 2014-02-23 09:48:59 -08:00
Taylor Shuler eb79df2adb Removed extraneous log files 2014-02-23 09:30:19 -05:00
Vasco Lavos d36648c61d Merge pull request #228 from Mexahoid/patch-3
Update ru_RU.lang
2014-02-23 10:36:51 +00:00
Mexahoid f834612320 Update ru_RU.lang 2014-02-23 11:38:29 +03:00
pixlepix c5f0891de8 Build 103 2014-02-22 21:09:24 -05:00
pixlepix 2e6aed7705 Attempt to fix crash on upgrade to 4.1 related to ichorium wands. 2014-02-22 21:05:03 -05:00
pixlepix 1fdc33aa5f Fixed version name 2014-02-22 18:52:37 -05:00
pixlepix 05c0afb318 Build 102 2014-02-22 18:30:47 -05:00
pixlepix 68f21171bf Fixed blacklist. This will also fix a possible crash when entering the bedrock dimension. #226 2014-02-22 18:24:50 -05:00
pixlepix 1110b47dc0 Enchanter is no longer concealed 2014-02-22 18:21:15 -05:00
pixlepix 67cd48fe46 Build 101 2014-02-21 19:26:37 -05:00
pixlepix 4c4f164185 Mobilizer will not attempt to move entities. 2014-02-21 14:28:23 -05:00
pixlepix 4891d73cab Added ore blacklist. 2014-02-21 10:50:15 -05:00
pixlepix 964e12886a Added debug statement. 2014-02-21 10:44:16 -05:00
pixlepix 06c039c7f9 Fix encahnter not verifying packets properly. 2014-02-21 10:18:01 -05:00
pixlepix b3ca075f2d Attempted fix at AoE break if dimension is disabled. 2014-02-20 20:11:22 -05:00
pixlepix d7e62e437d Removed hidden KAMI research 2014-02-20 16:57:58 -05:00
pixlepix b2ceca1492 Build 100 2014-02-20 09:43:35 -05:00
pixlepix f65bc1837f Fix reflection error 2014-02-20 09:41:20 -05:00
pixlepix 1cb0f9ccdb Use ReflectionHelper to make that last build work. 2014-02-20 09:09:48 -05:00
pixlepix 056fd28dfa Build 99 2014-02-20 08:48:52 -05:00
pixlepix 68fc7c2e89 AoE on pickaxe doesn't break bedrock if bedrock dimension is disabled. 2014-02-20 08:39:24 -05:00
pixlepix 9d7195691b Fixed withers breaking bedrock, as well as potential compatibility issues 2014-02-20 08:37:33 -05:00
pixlepix c5d17de8d7 Merge remote-tracking branch 'origin/master' 2014-02-19 17:23:31 -05:00
pixlepix d55203ef2c Staffs do not work in enchanter. 2014-02-19 17:23:12 -05:00
nekosune 7010492533 Switched to new vis discount setup 2014-02-19 11:33:33 +00:00
pixlepix 4ba5185476 Merge remote-tracking branch 'origin/master' 2014-02-18 15:56:45 -05:00
pixlepix 4bf0dc4c57 Bedrock dimension ore density is ocnfigurable. 2014-02-18 15:56:29 -05:00
Vasco Lavos 63e15e46ba Merge pull request #217 from Vexatos/patch-4
Update de_DE.lang
2014-02-18 19:28:32 +00:00
Vexatos 8a15c35c8d Update de_DE.lang 2014-02-18 20:25:23 +01:00
izstas 9a1b2946b7 Make Wand Focus: Distortion and Robes of the Stratosphere not block player's own projectiles 2014-02-18 23:04:27 +04:00
pixlepix dcc772fc72 Build 98 2014-02-18 13:34:19 -05:00
pixlepix 79115cde43 Merge remote-tracking branch 'origin/master' 2014-02-18 13:31:22 -05:00
pixlepix 4f6006eb1c Fix Ichorium wands. 2014-02-18 13:30:58 -05:00
Katrina Swales 9f297f6112 Merge pull request #215 from Vexatos/patch-4
Update de_DE.lang
2014-02-18 18:27:20 +00:00
Vexatos e83da5aec7 Update en_US.lang 2014-02-18 19:20:22 +01:00
Vexatos a8e621babc Update de_DE.lang 2014-02-18 19:19:33 +01:00
pixlepix 023d246a1a Build 97 2014-02-18 12:57:11 -05:00
pixlepix 91a8ae9574 Merge remote-tracking branch 'origin/master' 2014-02-18 12:53:10 -05:00
pixlepix 93c426be9a Turned down the ore gen bedrock dimension. 2014-02-18 12:52:50 -05:00
Adly Templeton 641d80fb23 Merge pull request #214 from izstas/bedrock-crash
Fixed some issues with disabled Bedrock dimension
2014-02-18 11:56:35 -05:00
izstas 754fef2d65 Fixed some issues with disabled Bedrock dimension 2014-02-18 20:52:51 +04:00
pixlepix 47ba5a0c02 Added secondary research declarations. 2014-02-18 11:31:38 -05:00
pixlepix e639e19967 Removed hidden depencency for blood sword. 2014-02-18 11:24:39 -05:00
pixlepix 0735032d6f Build 96 2014-02-18 10:50:32 -05:00
pixlepix 2055a395ad Work on some research stuff 2014-02-18 10:32:11 -05:00
pixlepix 0dd434b1c8 Fix excavation focus on bedrock 2014-02-18 07:52:53 -05:00
pixlepix 2de5393dcd Release build 95 2014-02-17 23:20:31 -05:00
pixlepix e04ce9c3f1 Swapped dimension ID to make room for mystcraft. 2014-02-17 23:13:42 -05:00
pixlepix 2b1bfcd466 Added build 94 2014-02-17 23:08:29 -05:00
pixlepix fa2b25bfa8 Fixed biome gen 2014-02-17 22:59:16 -05:00
pixlepix b7faf6b293 Removed bedrock biome. 2014-02-17 22:56:58 -05:00
pixlepix 1ca2c8eb67 Released build 93. 2014-02-17 22:53:16 -05:00
pixlepix 2c2ed48181 Work on KAMI fix. 2014-02-17 22:43:56 -05:00
pixlepix e953c10765 Recreated new research tree. 2014-02-17 22:29:22 -05:00
pixlepix 28f5947a84 Fixed conflicting research. 2014-02-17 19:54:52 -05:00
pixlepix 34abca3d79 Build 92. 2014-02-17 11:44:28 -05:00
nekosune 10ea0c140d altered configs 2014-02-17 16:36:17 +00:00
pixlepix 0a92b6635b Merge remote-tracking branch 'origin/master' 2014-02-17 11:28:07 -05:00
pixlepix 413eabedb8 Config for dimension id. 2014-02-17 11:27:51 -05:00
nekosune 443f235699 updated build 2014-02-17 14:46:17 +00:00
pixlepix 232a95c293 Config for mobilizer. 2014-02-17 09:26:10 -05:00
pixlepix 577e75f4b7 Added config to portal. 2014-02-17 09:21:39 -05:00
pixlepix e8c067032b Ores don't generate on bottom of world. 2014-02-17 08:28:04 -05:00
pixlepix 13ab4dd283 Made ichor pickaxe use playerRelativeBlockHardness 2014-02-17 08:08:21 -05:00
pixlepix 45ac9ef988 Removed console spam 2014-02-17 07:58:35 -05:00
pixlepix 06cfeab352 Bedrock unbreakable by machines 2014-02-17 07:50:35 -05:00
nekosune 07ff5cf43e Added deprecated message 2014-02-17 12:36:20 +00:00
nekosune 66ce3f9eda Added easymode changes 2014-02-17 12:35:07 +00:00
nekosune 621b90ffbb 4.1 update 2014-02-17 11:54:02 +00:00
nekosune 93f0906ced merged 2014-02-17 02:26:44 +00:00
pixlepix 85438f35bd Fixed digging through world 2014-02-16 19:52:52 -05:00
nekosune ebff62b407 added all 2014-02-17 00:17:48 +00:00
pixlepix 551d2a72fa Added portal texture. 2014-02-16 19:16:51 -05:00
pixlepix 10d8940d8e Addeed in textures 2014-02-16 18:57:15 -05:00
pixlepix 263b84db6a Added offset to respawn. 2014-02-16 17:29:21 -05:00
nekosune ce431eeda2 Fixed stuff broke by merge 2014-02-16 20:48:01 +00:00
nekosune cdc7986a8b Merged in 2014-02-16 20:18:56 +00:00
pixlepix 736f3cc5df Portals teleport back into overworld 2014-02-16 14:47:42 -05:00
nekosune 3865b55a43 Fixed crash reporter 2014-02-16 19:46:42 +00:00
pixlepix 9e39c58bc9 Portals created on top of the bedrock dimension. 2014-02-16 14:29:55 -05:00
pixlepix e722fcad9a Merge remote-tracking branch 'origin/master' 2014-02-16 11:20:38 -05:00
pixlepix cbdfa17077 Portals created on top of the bedrock dimension. 2014-02-16 11:20:15 -05:00
Katrina Swales d156fac060 Merge pull request #208 from Vexatos/patch-4
Update de_DE.lang
2014-02-16 12:24:14 +00:00
Vexatos 24614baca1 Update en_US.lang 2014-02-16 08:26:35 +01:00
Vexatos 1bafef9bcc Update de_DE.lang 2014-02-16 08:25:48 +01:00
pixlepix 1d16095dbd Made Thaumonicon show the second research page for bedrock breaking. 2014-02-15 16:46:15 -05:00
Adly Templeton 06ae94b1a3 Merge pull request #207 from Vazkii/pixleWip
Moved bedrock into main branch
2014-02-15 16:39:47 -05:00
pixlepix c2c74a8356 Updated localization for the new bedrock. @Vexatos 2014-02-15 16:34:09 -05:00
pixlepix ca95367537 Teleportation working properly. 2014-02-15 14:52:23 -05:00
pixlepix ca3f291d92 Made the portal a whole transparent block 2014-02-15 12:51:08 -05:00
pixlepix 1529d7a69c Added new mobilizer textures 2014-02-15 12:45:58 -05:00
pixlepix d4c5ddcf5b Moved around mobilizer textures 2014-02-15 09:44:54 -05:00
pixlepix e30284f9ad AoE portal creation fixed. 2014-02-15 09:38:53 -05:00
pixlepix e51d7942f6 Added language for the portal. 2014-02-15 08:44:02 -05:00
pixlepix 35ded4d14e Smoothed up bedrock breaking 2014-02-14 21:54:46 -05:00
pixlepix ebcc2ceafe Bedrock ore generation 2014-02-14 16:35:37 -05:00
Vasco Lavos 55e27853f2 Merge pull request #205 from Vexatos/patch-4
Update de_DE.lang
2014-02-14 17:24:10 +00:00
Vexatos e06fc3d16e Update de_DE.lang 2014-02-14 18:23:39 +01:00
nekosune 116b275bec Added documentation 2014-02-14 16:34:59 +00:00
nekosune 834d89bb8b Fixed research 2014-02-14 03:22:36 +00:00
nekosune f6f6650942 Added research and recepie 2014-02-14 03:06:11 +00:00
nekosune b3878a2c95 Finished Golem Connector 2014-02-14 02:08:06 +00:00
pixlepix a9a28a99e4 Bedrock dimension working properly 2014-02-13 20:22:36 -05:00
pixlepix 6d666e76a2 Merge 2014-02-13 18:08:20 -05:00
pixlepix 1ba384bab6 Merge 2014-02-13 18:07:38 -05:00
pixlepix 9bbb1871b4 Fixed bedrock dimension 2014-02-13 18:05:41 -05:00
nekosune c1fe262374 Fixed WAILA 2014-02-13 17:19:31 +00:00
nekosune c821a193b1 Moving to idea 2014-02-12 21:27:47 +00:00
pixlepix 01ef53a5e3 Work on dimensions 2014-02-11 18:09:33 -05:00
nekosune bbd7af2fa2 Buggy Build 2014-02-11 19:30:27 +00:00
pixlepix aa15a0c09d Un-reverted bedrock breaking in the proper branch. 2014-02-10 21:37:56 -05:00
pixlepix 149303da68 Temporarly disabled bedrock breaking. This should be in a seperate branch. 2014-02-10 21:34:41 -05:00
pixlepix f2a240b1db KAMI pickaxe can break bedrock 2014-02-10 21:33:04 -05:00
nekosune e4f6fabe7b Mostly fdinished TCon compat, registering items next 2014-02-10 14:34:11 +00:00
nekosune ea922f04c6 Finished T Construct compatibility 2014-02-09 23:52:34 +00:00
pixlepix 52ed78ec30 Prevent erasing blocks on top of the mobilizer if nothing is being carried 2014-02-09 18:20:18 -05:00
pixlepix 104702c708 Added canBlackBlockAt check 2014-02-09 18:18:29 -05:00
pixlepix 02204c527b Commmented Mobilizer code 2014-02-09 17:57:23 -05:00
nekosune 3718084cc2 Finished getDurability 2014-02-09 22:57:17 +00:00
nekosune 875e90b3d1 Removing invalid lang 2014-02-09 22:41:39 +00:00
nekosune 02371a7a06 Removing invalid lang 2014-02-09 22:35:46 +00:00
nekosune 17ff973daa Started added Tinkers Construct 2014-02-09 22:17:45 +00:00
Vasco Lavos f3910119d5 Merge pull request #202 from Vexatos/patch-4
Update de_DE.lang
2014-02-09 14:15:05 +00:00
Vexatos bf7bd6736c Update de_DE.lang 2014-02-09 09:46:15 +01:00
pixlepix 67711fdd90 Blocks hang on to the mobilizer properly 2014-02-08 21:24:18 -05:00
pixlepix 942e6c9c24 Mentioned particle dificulties in thaumonicon. @Vexatos 2014-02-08 21:13:51 -05:00
pixlepix bb49ff42d2 Does not move bedrock. 2014-02-08 21:11:20 -05:00
pixlepix 939b1399da Moved KAMI research. Ready for 2.2.1 test build 2014-02-08 20:08:05 -05:00
pixlepix 6c6d785534 Added config option to force enable KAMI 2014-02-08 20:01:29 -05:00
pixlepix 358bd5a56d Fixed directional movement 2014-02-07 18:37:34 -05:00
pixlepix e6e9e70f8d Revert "Work on making multiple mobilizers play nicely"
This reverts commit b53cd8a2d6e5e6bc2de57e7802150281e63b027f.
2014-02-07 18:27:57 -05:00
pixlepix 2bbba3a2b1 Merge remote-tracking branch 'origin/master' 2014-02-07 17:32:28 -05:00
pixlepix 0f2bd682fd Made initial directions consistent 2014-02-07 17:32:16 -05:00
nekosune a57ecb8a56 Revert "Work on adding Golem Connector"
This reverts commit 23a7d5c9e573bab755d2641c87a73a9a87bfa204.
2014-02-07 16:30:20 +00:00
nekosune 81d97ef7b2 Revert "Added more work on golem Connector"
This reverts commit b33af6fe35716f59efa34c5e72ade33bd1483b3a.
2014-02-07 16:29:42 +00:00
nekosune 316b690256 Revert "Fixed Dart Gun"
This reverts commit 9140d0ee6e70fbe2ba0f57fd5ab7c5c3a4c1c578.
2014-02-07 16:29:18 +00:00
nekosune a3543262ee Revert "Added mroe golem functions"
This reverts commit a5a7b4cf5c75a842e93073a883673ce9051a8d69.
2014-02-07 16:28:17 +00:00
nekosune f83f3e06bc Added mroe golem functions 2014-02-07 16:24:29 +00:00
nekosune c235e5f758 Fixed Dart Gun 2014-02-07 11:30:15 +00:00
nekosune 44db409d11 Added more work on golem Connector 2014-02-07 11:16:29 +00:00
pixlepix e7083e9799 Work on making multiple mobilizers play nicely 2014-02-06 21:40:58 -05:00
nekosune e40f9755ec Merge branch 'master' of github.com:Vazkii/ThaumicTinkerer 2014-02-07 02:01:49 +00:00
pixlepix e6033029f5 Multiple mobilizers on one track bounce sensibly 2014-02-06 19:00:22 -05:00
pixlepix b81694a60b Mobilizers now move entities 2014-02-06 17:26:59 -05:00
nekosune b524074a1e Merge branch 'master' of github.com:Vazkii/ThaumicTinkerer 2014-02-06 22:16:54 +00:00
nekosune 3002269f28 Work on adding Golem Connector 2014-02-06 22:16:29 +00:00
pixlepix 75732383cb Added check for isAir to fix potential issues. 2014-02-06 17:03:50 -05:00
pixlepix 8c5c179a33 Base TT research looks better. Does not effect KAMI 2014-02-06 16:44:09 -05:00
pixlepix ae4df1df42 Beginnings of reformatting research. 2014-02-06 15:17:14 -05:00
Adly Templeton 0e62de5cae Merge pull request #198 from Vexatos/patch-4
Update de_DE.lang
2014-02-06 09:09:26 -05:00
nekosune 6a9ae192cc Fixed Focii not swapping fully 2014-02-06 13:43:52 +00:00
Vexatos c4eca50e8d Update de_DE.lang 2014-02-06 08:27:16 +01:00
nekosune 17ac90cde8 removed some debug stuff 2014-02-06 02:57:15 +00:00
nekosune e5a8e1a3db Merge branch 'master' of github.com:Vazkii/ThaumicTinkerer 2014-02-06 02:55:30 +00:00
nekosune 306c577b37 Added debug command to max out research 2014-02-06 02:55:18 +00:00
pixlepix e527a7fdde Revert "Finally killed the mods in the repo and prep for jenkins"
This reverts commit abd56297ca491ade37c6f280b942f46686e3b1a2.
2014-02-05 21:08:16 -05:00
pixlepix 85c57d0565 Revert "Spelling"
This reverts commit ea5456cb3bfac0cb2c8ceccb9d94266bb30f4409.
2014-02-05 21:08:08 -05:00
Adly Templeton d4f0d4ab0e Merge pull request #196 from LordIllyohs/master
Finally killed the mods in the repo and prep for jenkins
2014-02-05 20:48:37 -05:00
LordIllyohs aee4dc7212 Spelling 2014-02-05 20:43:40 -05:00
LordIllyohs 8dd22e2f58 Finally killed the mods in the repo and prep for jenkins 2014-02-05 20:27:08 -05:00
nekosune cbdf1ec5c2 Merge errors fixed 2014-02-05 23:24:10 +00:00
nekosune 5e8516961d Fixing issue #182 and moved blocks onto the focii themselves 2014-02-05 23:23:11 +00:00
pixlepix ad5c72b4da Merge remote-tracking branch 'origin/master' 2014-02-05 16:46:34 -05:00
pixlepix a4fd7a5c43 Removed Constructor 2014-02-05 16:46:21 -05:00
Katrina Swales c375359cb3 Merge pull request #195 from Vazkii/nekoWIP
Neko wip
2014-02-05 20:53:20 +00:00
nekosune 0d91b3baa4 Fixed dupe bug 2014-02-05 20:26:18 +00:00
nekosune 15c89eab32 Figured out dupe 2014-02-05 20:19:44 +00:00
nekosune cb25473253 Working on dupe bug some 2014-02-05 19:29:28 +00:00
nekosune 0db7e0b1cf Added new thamuononicon desc 2014-02-05 18:02:25 +00:00
nekosune d6fa37522b Fixed anvil naming problem 2014-02-05 17:49:55 +00:00
nekosune 492134d9ca Finished alteratiosn to ender rift, now to add documentation 2014-02-05 16:48:40 +00:00
nekosune 9df8866ac7 Finished alteratiosn to ender rift, now to add documentation 2014-02-05 16:30:08 +00:00
pixlepix e11c0e2c22 Set material properly 2014-02-05 10:56:57 -05:00
pixlepix 95dac08202 Fixed compile errors 2014-02-05 10:56:09 -05:00
pixlepix 7cbbe40aba Added redstone support 2014-02-05 10:54:32 -05:00
nekosune 5158768951 Started on seperating out with EnderStorage and without Enderstorage for focus 2014-02-05 15:11:54 +00:00
nekosune 55170166d2 Changed url 2014-02-05 15:02:57 +00:00
nekosune 02b8285430 resolved compile errors 2014-02-05 14:53:12 +00:00
pixlepix 95df439e9c Bounces if block is above 2014-02-05 09:39:11 -05:00
pixlepix 7318901961 Does not delete blocks above it 2014-02-05 09:37:39 -05:00
pixlepix 762b62288b Fixed Crash Reporter 2014-02-05 09:32:11 -05:00
pixlepix 14b6f77c2b Merge remote-tracking branch 'origin/master' 2014-02-05 09:31:09 -05:00
pixlepix 89a31fe4ac Fixed InstantiationException 2014-02-05 09:30:53 -05:00
Katrina Swales 1d465a2498 Merge pull request #193 from Vexatos/patch-4
Update de_DE.lang
2014-02-05 13:01:59 +00:00
nekosune 00eef05ce5 Changed url 2014-02-05 13:01:26 +00:00
Adly Templeton 5a3f793ba6 Merge pull request #194 from Mexahoid/patch-2
Restored after "Recreating files"
2014-02-05 07:48:38 -05:00
Mexahoid 2d3a7e6e61 Restored after "Recreating files" 2014-02-05 15:47:21 +03:00
Vexatos 1a595072c1 Update en_US.lang 2014-02-05 07:22:08 +01:00
Vexatos c151c1439e Update de_DE.lang 2014-02-05 07:21:31 +01:00
nekosune 951daed4ac Reverted Slab attempt 2014-02-05 02:34:32 +00:00
nekosune 0e4bf7cfb9 Slab attempt 1 2014-02-05 02:24:03 +00:00
pixlepix 24044f6bbd Merge remote-tracking branch 'origin/master' 2014-02-04 20:44:54 -05:00
pixlepix fb0687e499 Mobilizer working properly without AE 2014-02-04 20:44:40 -05:00
nekosune 67a00b5f8e merged changes 2014-02-05 01:39:33 +00:00
nekosune 91648b6637 added some changes 2014-02-05 01:36:33 +00:00
pixlepix 561bef5706 Merge remote-tracking branch 'origin/master' 2014-02-04 20:35:29 -05:00
pixlepix 7ce417dd45 Mobilizers persist properly 2014-02-04 20:35:18 -05:00
pixlepix 1446553f7a More AE-less fixes 2014-02-04 20:33:43 -05:00
nekosune 47874ccdc1 Added Category name 2014-02-05 01:09:39 +00:00
nekosune f8f9d950ac Merge branch 'master' of github.com:Vazkii/ThaumicTinkerer 2014-02-05 00:56:03 +00:00
nekosune 5dddf357bd Added textures fully 2014-02-05 00:55:39 +00:00
pixlepix ba31978d6a Merge remote-tracking branch 'origin/master' 2014-02-04 19:55:07 -05:00
pixlepix bd7c840eb4 Fix meta if AE is missing 2014-02-04 19:54:57 -05:00
nekosune b313d8d0fc Fixed conflicts 2014-02-05 00:34:58 +00:00
nekosune 5ea242492c changed thaumonoicon pages 2014-02-05 00:28:56 +00:00
pixlepix b162d16ef9 Update en_US.lang @Vexatos 2014-02-04 19:28:00 -05:00
nekosune a20f8317bd Merge branch 'master' of github.com:Vazkii/ThaumicTinkerer 2014-02-05 00:25:02 +00:00
pixlepix 32817d0910 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2014-02-04 19:20:05 -05:00
pixlepix ee941626a2 Added textures and changed names 2014-02-04 19:19:40 -05:00
nekosune 91b5a82d49 hopefully final recepies for mobilizer@ 2014-02-05 00:18:02 +00:00
nekosune 9ef770e5fb Fixed server crash 2014-02-05 00:06:10 +00:00
nekosune f598861813 Merge branch 'master' of github.com:Vazkii/ThaumicTinkerer 2014-02-05 00:04:36 +00:00
nekosune 3d55368aca Added URL for build 74 2014-02-05 00:03:43 +00:00
nekosune bdf1679bbc Working on recepies 2014-02-04 23:48:11 +00:00
Katrina Swales 1bfd34132c Merge pull request #191 from joaopms/master
Fixed a typo on the automatic crash reporter register message
2014-02-04 15:44:43 -08:00
João Pedro 0c75c86c8b Fixed a typo on the automatic crash reporter register message 2014-02-04 23:40:46 +00:00
nekosune 59713058be Added my name to crash reporter 2014-02-04 23:07:46 +00:00
pixlepix 4ef344d48b Added autocrashreporter from minechem 2014-02-04 17:56:02 -05:00
nekosune a02d066148 Merge branch 'master' of github.com:Vazkii/ThaumicTinkerer 2014-02-04 22:51:02 +00:00
nekosune c07195ed4f Moved everythign to its own tab 2014-02-04 22:50:54 +00:00
pixlepix db375e1f22 Removed debug statements 2014-02-04 17:18:47 -05:00
nekosune 398a767ff5 Switched to different baseblock 2014-02-04 21:58:37 +00:00
nekosune ee2419f859 Essentia funnels now properly filter into Void jars, fixing issue #169 2014-02-04 21:29:00 +00:00
nekosune c34025938d Added some stopgap recepies for the two blocks, need to alter to final, and added framework for thaumonomcon pages 2014-02-04 20:56:51 +00:00
nekosune a35c6b04a0 Removed Enderstorage imports 2014-02-04 16:18:03 +00:00
nekosune 10cf011966 Fixed Empty Jar, issue #189 2014-02-04 16:09:04 +00:00
nekosune c9ae306352 Added new URL for new version 2014-02-04 01:14:26 +00:00
pixlepix 5dc02e53df Finished up force beam effect 2014-02-03 16:09:22 -05:00
pixlepix 390b9b4d53 Merge remote-tracking branch 'origin/master' 2014-02-03 15:46:25 -05:00
pixlepix ab68d75461 Comment out research. 2014-02-03 15:45:55 -05:00
pixlepix de21696387 Added research and creative tab to the mobilizer 2014-02-03 15:11:25 -05:00
nekosune 06586458f7 Linked to new build 2014-02-03 15:05:44 +00:00
Katrina Swales 7315846af5 Merge pull request #187 from Vexatos/patch-4
Update de_DE.lang
2014-02-03 03:31:32 -08:00
Vexatos f0425f3614 Fixed spelling mistake 2014-02-03 09:40:24 +01:00
Vexatos cb419b5411 Update de_DE.lang 2014-02-03 09:39:42 +01:00
pixlepix bac81cd16e Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2014-02-02 20:20:50 -05:00
pixlepix 42348d944f Added Enderstorage 2014-02-02 20:20:47 -05:00
pixlepix 2bb8b684c2 Animate and fix up the mobilizers. 2014-02-02 20:17:36 -05:00
nekosune 14c87fc926 Fixed spelling error 2014-02-03 00:31:27 +00:00
nekosune b81801ccab Merge branch 'master' of github.com:Vazkii/ThaumicTinkerer 2014-02-03 00:15:03 +00:00
nekosune a0805f0523 Added Localization 2014-02-03 00:14:30 +00:00
Katrina Swales ab7fd06b93 Merge pull request #186 from LordIllyohs/master
Added Enderstorage to the mods folder and added it to the build path in the build.gradle file   Signed-off-by: LordIllyohs <[email protected]>
2014-02-02 16:14:15 -08:00
LordIllyohs c0cd9e4c2f Added Enderstorage to the mods folder and added it to the build path in
the build.gradle file

Signed-off-by: LordIllyohs <[email protected]>
2014-02-02 19:10:20 -05:00
nekosune 947ca64fe5 Merge branch 'master' of github.com:Vazkii/ThaumicTinkerer 2014-02-02 23:40:51 +00:00
nekosune 06742b4114 Started localization 2014-02-02 23:40:41 +00:00
pixlepix d76b62a54d Merge. 2014-02-02 18:39:47 -05:00
pixlepix 2f3642a301 Begin rendering path between relays 2014-02-02 18:05:07 -05:00
Adly Templeton cb69705454 Merge pull request #1 from LordIllyohs/master
Added a Check for the Enderchests mod
2014-02-02 14:58:03 -08:00
Vasco Lavos b7dcb80269 Merge pull request #184 from Vazkii/pixlepix-master
Update to MineChem team's branch.
2014-02-02 11:15:04 -08:00
Vasco Lavos 470968704b Update to MineChem team's branch. 2014-02-02 19:14:10 +00:00
pixlepix 714d6d9b13 Merge remote-tracking branch 'origin/master' 2014-02-02 11:31:16 -05:00
pixlepix db1031b635 Proper NBT for TileEntityRelays 2014-02-02 11:30:52 -05:00
nekosune 9916412fc4 Spelling error fixed 2014-02-02 15:31:05 +00:00
pixlepix 2d6643f587 Added all tiles to AE api 2014-02-01 19:42:47 -05:00
pixlepix 5c0f8407f3 Much more work on mobilizer 2014-02-01 18:33:14 -05:00
pixlepix 4651bf4a0a More work on mobilizers 2014-02-01 09:33:30 -05:00
pixlepix 811e32c89a Add AE API 2014-02-01 07:20:19 -05:00
pixlepix 91346ebb3b Work on moving tile entities 2014-02-01 06:53:09 -05:00
pixlepix 92d5ac53a6 Basic infastructure for mobilizer. 2014-01-31 22:09:43 -05:00
LordIllyohs 6ba1bd25c1 Merge branch 'master' of https://github.com/LordIllyohs/ThaumicTinkerer.git 2014-01-31 19:31:09 -05:00
LordIllyohs 05c58821e0 Added a check for Enderchests
Signed-off-by: LordIllyohs <[email protected]>
2014-01-31 19:30:57 -05:00
LordIllyohs d1b91e5cda Added a check for Enderchests 2014-01-31 19:30:40 -05:00
pixlepix 5d4949aeee Registered mobilizer blocks 2014-01-31 19:07:12 -05:00
pixlepix 7b901d0415 Merge remote-tracking branch 'origin/master' 2014-01-31 19:03:29 -05:00
pixlepix 5870994fb6 Basic Mobilization 2014-01-31 19:03:10 -05:00
nekosune 08c2543ecd Added a dissapator turtle 2014-01-31 23:39:53 +00:00
nekosune 74a7eab2bc Moved WAILA Dev 2014-01-31 20:00:44 +00:00
nekosune 85186a2946 Added WAILA to the Warp Gate 2014-01-31 19:52:16 +00:00
nekosune ec69a4990c Added Thaumic Restorer WAILA 2014-01-31 14:35:44 +00:00
nekosune a1a25eb174 Added Waila support for magnets, and added more information to the Dynamism Tablet 2014-01-31 14:02:51 +00:00
Vasco Lavos 9abdff5b8e Merge pull request #181 from Mexahoid/patch-1
Updated to new version.
2014-01-31 04:08:26 -08:00
Mexahoid 0b4d77de17 Updated to new version.
Are Mom's Knife and Shadowbeam with Old man references to Binding of Isaac anf Terraria? :P
2014-01-31 13:59:47 +03:00
nekosune f178a4b14f Added WAILA support 2014-01-31 05:24:40 +00:00
nekosune 1181374f44 Added changes to README and to .gitgnore 2014-01-31 02:33:45 +00:00
pixlepix a8b866079e Transvector interface redirects peripheral calls 2014-01-30 21:11:20 -05:00
pixlepix 2981bf7a5c Added mob libraries. These are all Chickenbones, so they should be legal to distribute 2014-01-30 20:24:09 -05:00
pixlepix 896aa6d7a6 Updated gitignore to include TCDEOBF.jar 2014-01-30 20:09:56 -05:00
pixlepix fa59e253de Recreate files 2014-01-30 19:34:21 -05:00
pixlepix 65e15f61d0 Moved things aroind for gradle 2014-01-30 19:33:20 -05:00
Vasco Lavos 9114119318 Build 70 (TC 4.1 beta), to fix an issue in forgecraft that's driving me insane. 2014-01-30 18:35:52 +00:00
Vasco Lavos 7a431fb683 Build 69 (TC 4.1 beta, for Forgecraft). Changes not commited to master branch, see a5bf3616a4a256f2f85ac7af977f376e46144d1e in TC4.1 2014-01-28 21:53:03 +00:00
Vasco Lavos c7abf87b22 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2014-01-28 17:28:58 +00:00
Vasco Lavos a71e02c7ac Build 68 (for theFlaxbeard) 2014-01-28 17:28:31 +00:00
Vasco Lavos d5caabf9e2 Merge pull request #180 from Flaxbeard/master
Added a way to add enchantments to the Osmotic Enchanter, and space for new enchantments
2014-01-23 08:04:42 -08:00
Flaxbeard af3efd168a Added 2nd row to Osmotic Enchanter 2014-01-23 10:03:10 -06:00
Vasco Lavos 92a4686059 Build 67. 2014-01-21 18:44:08 +00:00
Vasco Lavos eb2a4aaa40 Added config option to disable usage of copper (when present). 2014-01-21 18:37:46 +00:00
Vasco Lavos edd473bb12 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2014-01-21 18:26:37 +00:00
Vasco Lavos c28cbbfe44 Fixed the Celestial Recall focus not working. 2014-01-21 18:26:32 +00:00
Vasco Lavos ee4b0237ab Merge pull request #174 from wodkashorty/master
Update de_DE.lang
2014-01-17 09:53:38 -08:00
wodkashorty 694f6464df Update de_DE.lang
Fixed a few typos.
2014-01-17 18:47:35 +01:00
Vasco Lavos 5908e4c01e Merge pull request #170 from Vexatos/patch-4
Shifted Ichorium tools in de_DE.lang
2014-01-14 09:02:02 -08:00
Vexatos c37820812f Update de_DE.lang 2014-01-14 16:54:13 +01:00
Vasco Lavos 3c941b10cb Build 66. 2014-01-14 14:09:07 +00:00
Vasco Lavos 6e5b770f6c Fixed the server crash with the Shadowbeam Focus. 2014-01-14 14:02:25 +00:00
Vasco Lavos a1f9d72d1b Fixed a weird crash with the recall focus and right clicking it. 2014-01-14 14:00:46 +00:00
Vasco Lavos 5bb46221ae NO-OP sendContainerToPlayer for the TabletFakePlayer. Fixes #168 2014-01-14 13:56:48 +00:00
Vasco Lavos 188c25508c Build 65. 2014-01-12 15:19:39 +00:00
Vasco Lavos 4ddce1b717 Some mod foci now have a sorting key, should fix them not being able to be put in wands with F. 2014-01-12 15:11:01 +00:00
Vasco Lavos 6fa6ab6a5a Awakened Ichorium tools now change mode with shift-right click. 2014-01-12 15:08:46 +00:00
Vasco Lavos 622558b9d7 Build 64, for real this time. 2014-01-11 16:36:20 +00:00
Vasco Lavos a676adbb36 Build 64. 2014-01-11 16:20:04 +00:00
Vasco Lavos 309b0f44d8 Fixed the Celestial Gateway randomly opening GUIs for other players. 2014-01-11 16:01:31 +00:00
Vasco Lavos 83b8412855 Changed Slow Fall to not be appliable to Boots of the Horiziontal Shield. 2014-01-11 15:42:04 +00:00
Vasco Lavos 2b8a671613 Fixed flying status not resetting when the Ichorium Armor isn't removed. 2014-01-11 15:38:39 +00:00
Vasco Lavos 9d7179a0de Added Protoclay and Hyper. Nitor to the creative tab. 2014-01-11 15:35:31 +00:00
Vasco Lavos dcd8177b4f Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2014-01-11 15:33:46 +00:00
Vasco Lavos 82c5188b2e Changed the Celestial Pearl recipe to make pairs. 2014-01-11 15:33:37 +00:00
Vasco Lavos b9c1bfa94e Merge pull request #167 from Vexatos/patch-4
Update de_DE.lang
2014-01-11 07:30:31 -08:00
Vasco Lavos db60eecd3f Moved the Shadowbeam focus' research to not clash with a research from Thaumic Exploration. 2014-01-11 15:29:38 +00:00
Vasco Lavos 562f6aad6e Some messing around with the XP drain focus' code to be more effecient. 2014-01-11 15:24:32 +00:00
Vexatos 16dc3fd7d1 Update de_DE.lang 2014-01-11 16:12:09 +01:00
Vasco Lavos 06722bffe0 Made the Celestial Network GUI way easier to navigate. 2014-01-11 15:06:20 +00:00
Vasco Lavos 598c04c60d Fixed Dimensional Shards being extremely common. 2014-01-11 14:37:01 +00:00
Vasco Lavos b298024a79 Readded the vis discount indicator to the Leggings' tooltip. 2014-01-11 14:36:08 +00:00
Vasco Lavos f2d2614562 Fix a crash with Easymode research and Lost research notes. 2014-01-11 14:32:13 +00:00
Vasco Lavos 79107fc49e Add a failsafe for worlds crashed with that same StackOverflow. 2014-01-11 14:29:15 +00:00
Vasco Lavos 9de0edfd25 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2014-01-11 14:27:00 +00:00
Vasco Lavos c43141bc33 Fixed a StackOverflow with camo blocks. 2014-01-11 14:26:22 +00:00
Vasco Lavos bac3fb78a7 Merge pull request #166 from Vexatos/master
Updated de_DE.lang
2014-01-11 06:19:09 -08:00
Vexatos 965a209502 Updated de_DE.lang 2014-01-11 09:12:07 +01:00
Vasco Lavos 3e4211adb9 Build 63. 2014-01-11 00:00:25 +00:00
Vasco Lavos 98a6c8ae6f Fixed the XP drain focus sometimes exceeding the max the wand can have. 2014-01-10 23:57:36 +00:00
Vasco Lavos 5336a68088 Fixed protoclay not having a config option. 2014-01-10 23:49:52 +00:00
Vasco Lavos 87c932ec8e Build 62. 2014-01-10 23:11:55 +00:00
Vasco Lavos 669de63e50 Fixed a server crash caused by the fix for a server crash. 2014-01-10 22:55:18 +00:00
Vasco Lavos 14293ab3f0 Fixed a server crash. 2014-01-10 22:50:23 +00:00
Vasco Lavos 7484c0dd79 Fixing textures, part 2. 2014-01-10 22:36:17 +00:00
Vasco Lavos 3d0b21d69b Fixing textures, part 1. 2014-01-10 22:34:21 +00:00
Vasco Lavos 68ad725a02 Build 61! 2014-01-10 22:06:51 +00:00
Vasco Lavos b92650d239 And a cleanup run, on the house. 2014-01-10 22:00:07 +00:00
Vasco Lavos 3bd9850179 Moved dimension IDs to a config. 2014-01-10 21:59:15 +00:00
Vasco Lavos ad27e9a9e6 Research + Recipe for the Recall Focus. 2014-01-10 21:56:00 +00:00
Vasco Lavos f6f030df73 Added the effect for the Recall Focus. 2014-01-10 21:43:58 +00:00
Vasco Lavos f15c9bae24 Add some things to the creative tab. 2014-01-10 21:27:59 +00:00
Vasco Lavos 4591dadd7a Starting work on the Wand Focus: Celestial Recall. 2014-01-10 21:27:20 +00:00
Vasco Lavos 20b61d5078 Added the research + recipes for the Celestial Gateway and Pearl. 2014-01-10 21:16:54 +00:00
Vasco Lavos 25ee8c952a Changed the gateway to respect order of listing. 2014-01-10 19:54:53 +00:00
Vasco Lavos e997f8ede0 Sync Celestial Network status on right click. 2014-01-10 19:44:48 +00:00
Vasco Lavos e982a4baeb Some polish on the Celestial Gateway. I think it's safe to call it done. 2014-01-10 19:43:15 +00:00
Vasco Lavos fe1a294e41 The Celestial Gateway is functional! 2014-01-10 19:31:29 +00:00
Vasco Lavos 24e628b609 Some more work on the Celestial Gateway... 2014-01-10 19:16:58 +00:00
Vasco Lavos d9af736740 Merge pull request #164 from DrummingFish/master
Spelling/grammar fix
2014-01-10 10:37:39 -08:00
Vasco Lavos 229016a8c0 Starting on the destination selection gui. 2014-01-10 18:37:14 +00:00
Vasco Lavos 6d0454e24c Added a "Allow incoming teleports" button to the gui. 2014-01-10 18:07:26 +00:00
DrummingFish af36172a67 Spelling/grammar fix
-_-
2014-01-10 18:01:20 +00:00
Vasco Lavos 9316da6906 Celestial Gateway is now an Inventory. 2014-01-10 17:57:54 +00:00
Vasco Lavos 7e60086720 Added the Celestial Pearl and it's effect. It'll be part of the Celestial Gateway system. 2014-01-10 17:40:17 +00:00
Vasco Lavos 76517dba7e Cooler rotating cubes on the render. 2014-01-10 17:14:46 +00:00
Vasco Lavos 6fafd208ff New Render for the Celestial Gateway. Still does nothing... 2014-01-10 17:00:25 +00:00
Vasco Lavos 6b1f3a1122 Added the Celestial Gateway block. It does nothing, how cool. 2014-01-10 16:38:11 +00:00
Vasco Lavos db432ded46 Relocalize the XP Drain focus' tooltip. 2014-01-10 15:37:33 +00:00
Vasco Lavos a76da0b6a0 Merge pull request #160 from Qendivardo/ThaumicTinkerer-camo
BlockCamo: Allow for directional blocks and biome coloring as camouflage.
2014-01-10 07:27:06 -08:00
Qendivardo Tavar af0b1fb71d Allow for directional blocks and biome coloring as camouflage. 2014-01-10 16:09:03 +01:00
Vasco Lavos 41c32173e1 Added Easymode research config option. 2014-01-10 14:42:47 +00:00
Vasco Lavos 0df46d1594 Documented the option to turn off light in the Leggings. 2014-01-10 13:54:46 +00:00
Vasco Lavos f8d0cd759f Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2014-01-10 09:48:49 +00:00
Vasco Lavos b844a39fa3 Added initial textures for the Celestial Network system. 2014-01-10 09:48:30 +00:00
Vasco Lavos 2bc9da3b6d Merge pull request #158 from Vexatos/patch-3
Update de_DE.lang
2014-01-10 01:03:53 -08:00
Vexatos bcece1fadc Update de_DE.lang 2014-01-10 06:25:11 +01:00
Vasco Lavos 52a5118fc2 Research + Recipe for the Protoclay. 2014-01-09 23:15:39 +00:00
Vasco Lavos a9e34ac653 Added Protoclay. 2014-01-09 22:36:16 +00:00
Vasco Lavos f0dfa401dc Merge pull request #157 from Vexatos/patch-3
Update de_DE.lang
2014-01-09 13:23:18 -08:00
Vasco Lavos 68c463a778 Merge pull request #156 from demon012/master
Added build section for unix operating systems.
2014-01-09 13:23:08 -08:00
Vexatos f8ce7e176d Update de_DE.lang 2014-01-09 20:26:46 +01:00
Vasco Lavos a828edf8ce Added the new foci to the creative tab. 2014-01-09 19:07:45 +00:00
Vasco Lavos b42f543998 Research + Recipe for the XP Drain focus. 2014-01-09 19:07:08 +00:00
Alan Jenkins ca35720fa5 Added build section for unix operating systems. 2014-01-09 19:05:47 +00:00
Vasco Lavos d13356e037 Increased the range on the Distortion Focus. 2014-01-09 18:45:57 +00:00
Vasco Lavos a62ecac0eb Implemented the Experience Drain focus. 2014-01-09 18:38:26 +00:00
Vasco Lavos b0b2cd9949 Starting on the XP Drain foci. RAINBOW FOCI :D 2014-01-09 17:56:04 +00:00
Vasco Lavos 949c516a0d Merge pull request #154 from Vexatos/master
Added Shadowbeam Focus to de_DE.lang
2014-01-09 09:47:07 -08:00
Vexatos 8621078460 Added Shadowbeam Focus to de_DE.lang 2014-01-09 18:44:26 +01:00
Vasco Lavos e5a3a8dd40 Etheral Platform Properties. 2014-01-09 17:37:52 +00:00
Vasco Lavos bc7f514ca5 Added a list of valid render types for the Camo Blocks. Closes #146 2014-01-09 17:30:02 +00:00
Vasco Lavos 15e3654843 Added a way to turn off the light on the Leggings of the Burning Mantle. 2014-01-09 17:19:37 +00:00
Vasco Lavos fdd07e76d2 Research + Recipe for the Shadowbeam focus. 2014-01-09 17:13:59 +00:00
Vasco Lavos 556e4b9277 Boring balance. 2014-01-09 16:28:45 +00:00
Vasco Lavos 645aa90d40 Ok that was really expensive... 2014-01-09 16:14:37 +00:00
Vasco Lavos 39cc9fb501 Localization, typo fixes and cleanups. 2014-01-09 16:11:40 +00:00
Vasco Lavos e3784f10e0 Add Potency support to the Shadowbeam Focus. 2014-01-09 16:07:33 +00:00
Vasco Lavos cf2e201878 Implemented the staff as a proper focus. 2014-01-09 16:01:46 +00:00
Vasco Lavos fb6d9044c1 Proper branch this time... 2014-01-09 15:34:41 +00:00
Vasco Lavos c124fc85a9 Builds 59 (for TC 4.1 beta) and 60. 2014-01-08 14:46:29 +00:00
Vasco Lavos 30f88dd545 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2014-01-08 14:39:53 +00:00
Vasco Lavos 03ea6885d2 Fixed the ichorcloth armor not protecting from damage. 2014-01-08 14:39:39 +00:00
Vasco Lavos c1bdfb2d41 Merge pull request #148 from auxiliary-character/master
Fixed grammatical error.
2014-01-08 05:38:56 -08:00
Austin Fuller 8dbb63b078 Fixed grammatical error. 2014-01-08 00:06:22 -06:00
Vasco Lavos 55a24864ee Fully automated ANTiGradle Setup :D 2014-01-05 20:03:00 +00:00
Vasco Lavos 1078c22ee9 Fixed some issues with the Ethereal Platform. 2014-01-03 19:53:58 +00:00
Vasco Lavos bd28db5c7b Build 58. 2014-01-02 15:54:33 +00:00
Vasco Lavos 77fa4c2d14 Fixed a few issues with the Black Hole Talisman. 2014-01-02 15:40:40 +00:00
Vasco Lavos bd425d7dd1 Fixed the Worldshaper's Looking Glass not having support for metadata. 2014-01-02 15:27:40 +00:00
Vasco Lavos 76bb8bf09c Change vector objects from LWJGL Vector2f to Vector3. Should fix issues in servers. 2014-01-02 15:23:24 +00:00
Vasco Lavos 7b42cdbc21 Updated the CC API. 2014-01-02 15:19:31 +00:00
Vasco Lavos 1b7e6fb3bd Fixed the Robes of the Stratosphere removing creative mode flight power. 2014-01-02 15:17:16 +00:00
Vasco Lavos 2df0020f02 Changed index.php to not have the Java 7 download, it doesn't really make a difference and it was confusing. 2014-01-02 01:50:52 +00:00
Vasco Lavos bf8a5ae41e Build 57. 2014-01-01 20:53:23 +00:00
Vasco Lavos c8e416c667 Fixed NPE with the Ethereal Platform. 2014-01-01 20:51:45 +00:00
Vasco Lavos 4aa04d74a0 Actually backported KAMI to j6. 2014-01-01 20:51:24 +00:00
Vasco Lavos 4e6269f1f4 Added download for Java 1.6 version of KAMI. 2014-01-01 20:28:53 +00:00
Vasco Lavos 6fa7f0d0d3 Change KAMI to compile with Java 1.6 rather than 1.7. 2014-01-01 20:26:09 +00:00
Vasco Lavos 7ed72196fa Warn people of this fact. 2014-01-01 19:59:33 +00:00
Vasco Lavos 3f6c29d4cf Build 56. 2014-01-01 19:51:34 +00:00
Vasco Lavos 946183243d Fixed a weird issue with XP and the ichorium tools. 2014-01-01 19:49:13 +00:00
Vasco Lavos 022abea54b Updated the website with the KAMI things. Also all builds since 48 are public. 2014-01-01 19:19:55 +00:00
Vasco Lavos 0de0b482e4 Merge pull request #144 from Vexatos/master
Updated de_DE.lang and fixed VazkiiDerp
2014-01-01 11:07:56 -08:00
Vexatos 76b854cfd5 Updated de_DE.lang 2014-01-01 20:06:29 +01:00
Vexatos e22f7b14cc Updated de_DE.lang and fixed VazkiiDerp 2014-01-01 20:03:33 +01:00
Vasco Lavos 841af6718c Merge pull request #143 from Vazkii/KAMI
Merge KAMI into master
2014-01-01 10:38:25 -08:00
Vasco Lavos 4d4ff73301 Build 55. No longer beta! 2014-01-01 18:33:15 +00:00
Vasco Lavos 4616b0e309 Cleanup run on the new changes. 2014-01-01 18:24:14 +00:00
Vasco Lavos 7a641af97f Revert "Added the Soul Orb item, it'll do something. After this."
This reverts commit 15e27e304c50f0a55261260eb5ba282dfd70ec8b.
2014-01-01 18:23:12 +00:00
Vasco Lavos 66c14b6fc2 Fix more inconsistencies. 2014-01-01 18:23:04 +00:00
Vasco Lavos 4b859904b7 Fixed a research text inconsistency. 2014-01-01 18:07:23 +00:00
Vasco Lavos 1e41d1fcb6 Added the Soul Orb item, it'll do something. After this. 2014-01-01 18:06:48 +00:00
Vasco Lavos fbdda555ac Added research, recipe and config option for the Tome of Knowledge Sharing. 2014-01-01 18:01:14 +00:00
Vasco Lavos f5b79c22c3 Added the Tome of Research sharing back :D 2014-01-01 17:50:09 +00:00
Vasco Lavos 551d6d7fc6 Added research + recipe for the Worldshaper's Seeing Glass. 2014-01-01 17:34:16 +00:00
Vasco Lavos af885ad7e3 Added a config option for the Worldshaper's Seeing Glass renderer. 2014-01-01 17:06:38 +00:00
Vasco Lavos c121cf16fb Add checks for replacable blocks. 2014-01-01 17:01:26 +00:00
Vasco Lavos 146cad0df9 Finished the Worldshaper's Looking Glass. 2014-01-01 16:56:22 +00:00
Vasco Lavos f3ccc28905 Changed the black hole talisman to check what item the player is holding in gui. 2014-01-01 16:17:14 +00:00
Vasco Lavos 681a493392 Fixed the Ichorium tools not dropping XP all the time. 2014-01-01 16:10:38 +00:00
Vasco Lavos 845561727a Fixed ichorium tools dropping items in creative. 2014-01-01 16:04:23 +00:00
Vasco Lavos fd93bf4874 Actual work on the Worldshaper's Seeing Glass. It does stuff! 2014-01-01 16:02:58 +00:00
Vasco Lavos 8e5a51ca17 I lied, here's more stuff. Ok, now off for reals. 2013-12-31 18:24:54 +00:00
Vasco Lavos 04702d8aac Some work on the Worldshaper's Seeing Glass, more next year ;) 2013-12-31 18:18:36 +00:00
Vasco Lavos 095d4943b2 Bit of a rework of the Black Hole Talisman. 2013-12-31 17:14:20 +00:00
Vasco Lavos 736e4f973f Transparency is good. 2013-12-31 16:30:56 +00:00
Vasco Lavos 1a0d6c6cbe Multipass renderer for the glass, so it has some depth. 2013-12-31 16:19:38 +00:00
Vasco Lavos b2d99c4552 Added the Worldshaper's Looking Glass and it's renderer. 2013-12-31 16:08:13 +00:00
Vasco Lavos 4056c2dcd4 Merge pull request #140 from Vexatos/KAMI
Updated de_DE.lang for Kami and fixed en_US.lang typos
2013-12-31 07:02:19 -08:00
Vexatos 6521913723 Updated de_DE.lang for Kami and fixed en_US.lang typos 2013-12-31 13:46:08 +01:00
Vasco Lavos f3eb312243 Some research text changes. 2013-12-30 21:28:29 +00:00
Vasco Lavos a07dfe5b49 Update CCL and FMP, also build 54 (beta). 2013-12-30 21:02:04 +00:00
Vasco Lavos 4625053493 Hopefully fixed some things being out of place on some cases. 2013-12-30 20:58:15 +00:00
Vasco Lavos 60c0802c91 Added the Black Hole talisman to the creative menu. 2013-12-30 19:08:49 +00:00
Vasco Lavos b6d91e49ab Can't load that deobf'd. 2013-12-30 19:04:19 +00:00
Vasco Lavos 6c227d67f4 In all fairness, I got permission 2013-12-30 18:48:52 +00:00
Vasco Lavos 3db0f1c2fa Build 53 of justice (beta) 2013-12-30 18:47:58 +00:00
Vasco Lavos 1a421141c4 More work on ANTiGradle, now working properly, I hope. 2013-12-30 18:45:13 +00:00
Vasco Lavos 9a3aadd9ab More work on ANTiGradle, now working properly, I hope. 2013-12-30 18:41:40 +00:00
Vasco Lavos a2c6d12245 Gradle-ziation. Kinda, let's call it ANTiGradle. 2013-12-30 18:22:46 +00:00
Vasco Lavos 8d790aa979 Need to delete that dir too. 2013-12-30 02:55:39 +00:00
Vasco Lavos 0147cd2f4d Optimize the build script's replace_tokens target. 2013-12-30 02:53:42 +00:00
Vasco Lavos 8b9c03b51d Cleanup Run, here's hoping this darn thing actually compiles. 2013-12-30 02:32:34 +00:00
Vasco Lavos 3adad2edc0 Setting tool classes so they work with obsidian. 2013-12-30 02:29:58 +00:00
Vasco Lavos 0660836d43 Add some more info. 2013-12-30 02:27:58 +00:00
Vasco Lavos a3c6f8fbf5 Research + Recipe for the Black Hole Talisman. 2013-12-30 02:24:21 +00:00
Vasco Lavos cb81aeaf7f Added the Black Hole Talisman, it's cool! 2013-12-30 01:27:47 +00:00
Vasco Lavos 3ee5946f35 Fixed Dupe with the Spellbinding Cloth. 2013-12-30 01:00:06 +00:00
Vasco Lavos 1ed143396a Getting started with the Black Hole Talisman. 2013-12-30 00:59:00 +00:00
Vasco Lavos 5b27c6c650 Some texture and text changes. 2013-12-30 00:37:32 +00:00
Vasco Lavos ca1355803e Added a HUD for which mode the current tool is at. 2013-12-29 23:48:47 +00:00
Vasco Lavos cb892940cd Changed tool textures to be decent. Thanks to theFlaxbeard. 2013-12-29 23:37:31 +00:00
Vasco Lavos 6ca2e66019 Research + recipe for the Bottomless Pouch. 2013-12-29 23:30:51 +00:00
Vasco Lavos 0bf741c0a8 Finalized the Bottomless Pouch. 2013-12-29 23:16:44 +00:00
Vasco Lavos c4f0352e41 Added the Bottomless Pouch! 2013-12-29 23:09:09 +00:00
Vasco Lavos 4565688111 Added the Bottomless Pouch, functions like a regular Focus Pouch for now, gotta change, gotta change. 2013-12-29 22:24:22 +00:00
Vasco Lavos 5379f364d8 Research + recipe for the Awakened Ichorium Sword. 2013-12-29 22:11:15 +00:00
Vasco Lavos fa8493b280 Added Soul Hearts back. 2013-12-29 21:52:48 +00:00
Vasco Lavos 930db89b51 Started off with the Awakened Ichorium Sword. 2013-12-29 21:32:19 +00:00
Vasco Lavos ebdc99ea59 Added the Awakened Ichorium Axe. 2013-12-29 20:54:34 +00:00
Vasco Lavos 022b0556b7 Added the recipe + research for the Awakened Ichorium Shovel. 2013-12-29 20:19:16 +00:00
Vasco Lavos 67050f39fe Added the Awakened Ichorium Shovel. 2013-12-29 19:51:04 +00:00
Vasco Lavos d7669bd5e1 Finalized the Awakened Ichorium Pickaxe, research, recipe and creative tab. 2013-12-29 19:34:13 +00:00
Vasco Lavos 9caea433ad Added line mode to the pickaxe. 2013-12-29 19:02:46 +00:00
Vasco Lavos 01ea4abc18 Starting work on the advanced Ichorium Pickaxe. Added square mode. 2013-12-29 18:50:59 +00:00
Vasco Lavos 87b3a29642 Fixed items not appearing in the creative search menu. 2013-12-29 18:00:42 +00:00
Vasco Lavos d98b73986b Research + recipe for the Ichorium tools. 2013-12-29 17:53:41 +00:00
Vasco Lavos 9c95b56306 Added the basic Ichorium tools 2013-12-29 17:41:52 +00:00
Vasco Lavos 5ee92d4619 Moved armor classes from kami. 2013-12-29 17:29:18 +00:00
Vasco Lavos 73ff288ce6 Ichor tool textures. 2013-12-29 17:28:35 +00:00
Vasco Lavos 8438490d2e Fixed recipes for the ichorcloth armor not working. 2013-12-29 17:02:50 +00:00
Vasco Lavos 2be812a795 Python Fixes~ 2013-12-28 17:28:55 +00:00
Vasco Lavos 2b8a5bf9ed Build 52 (beta), to fix the recipe for the Ethereal Platform giving slabs. 2013-12-28 17:28:43 +00:00
Vasco Lavos 422ba4da34 Build 51 (beta). 2013-12-27 23:18:09 +00:00
Vasco Lavos f97337114b Clean up the mess I created... 2013-12-27 23:12:28 +00:00
Vasco Lavos 5d766686da I'm an idiot and forgot to set the dimension shards to drop :D 2013-12-27 23:10:45 +00:00
Vasco Lavos d9dd567882 Build 50 (beta). 2013-12-27 22:54:43 +00:00
Vasco Lavos 89563a75d7 Separate KAMI into another mod. 2013-12-27 22:48:32 +00:00
Vasco Lavos 3505c9e8bf Finalize the Nether and End shards with a retexture and a research. 2013-12-27 22:12:21 +00:00
Vasco Lavos 0cfeac57fb Ender and Nether shards. 2013-12-27 21:41:50 +00:00
Vasco Lavos 4ce92cb88d Grammar! 2013-12-27 21:19:52 +00:00
Vasco Lavos 28c7b80442 Finish off the Feline Amulet, with research and recipe and all that. 2013-12-27 21:16:13 +00:00
Vasco Lavos c928387059 Typos typos... 2013-12-27 20:54:24 +00:00
Vasco Lavos 90ff28f272 Made the Feline Amulet prevent creepers from exploding. 2013-12-27 20:51:52 +00:00
Vasco Lavos 608992f3a9 Added the effect of the Feline Amulet. 2013-12-27 20:31:47 +00:00
Vasco Lavos 8c084e702a Nyan~ 2013-12-27 19:53:09 +00:00
Vasco Lavos ba24bf94bc Finalize the Ethereal Platform, research and recipe too. 2013-12-27 19:29:05 +00:00
Vasco Lavos cc34b322e9 Added the Ethereal Platform. 2013-12-27 19:00:06 +00:00
Vasco Lavos 7167e626a3 Allow camo blocks to be set to glass and blocks of the like. 2013-12-27 18:53:25 +00:00
Vasco Lavos 5e38a43302 Added canUpdate override to TileCamo and registered it. 2013-12-27 18:35:43 +00:00
Vasco Lavos ea208bc354 Separate Block/TileTransvector into Block/TileCamo. 2013-12-27 18:32:50 +00:00
Vasco Lavos 7689e1d97c Fixed Ichorcloth armor not being enchantable. 2013-12-27 18:17:27 +00:00
Vasco Lavos ce386ce1d6 Research + Recipe for the Boots of the Horizontal Shield. 2013-12-27 18:11:41 +00:00
Vasco Lavos 0238e673f9 Added the effect for the Gemmed Ichorcloth Boots. 2013-12-27 17:32:05 +00:00
Vasco Lavos 54457f6b02 Research and Recipe for the Leggings of the Burning Mantle. 2013-12-27 16:04:07 +00:00
Vasco Lavos 03654517e7 Added an effect to the gemmed ichorcloth leggings where they heal the a player on fire. 2013-12-27 01:56:19 +00:00
Vasco Lavos 3e6d3c5842 Tentatitive code for making the gemmed ichorcloth leggings light up the area around. 2013-12-27 01:46:35 +00:00
Vasco Lavos 94dc104abe Sort the creative tab, been a long time coming... 2013-12-27 00:55:48 +00:00
Vasco Lavos ad0e34e996 Ignore virtual research for KAMI research items. 2013-12-27 00:19:25 +00:00
Vasco Lavos 809e24bd48 Flag Infused Scribing Tools as NYI. 2013-12-27 00:18:55 +00:00
Vasco Lavos e4f93003dc Fix weird flickering with the Cowl of the Abyssal Depths. 2013-12-27 00:15:46 +00:00
Vasco Lavos 89b67bbd0d Build 49 (beta). 2013-12-26 20:04:33 +00:00
Vasco Lavos 084fabe2a0 Fixed the mod not running in servers. 2013-12-26 19:58:36 +00:00
Vasco Lavos ec3db7d789 Build 48 (beta). 2013-12-26 19:50:09 +00:00
Vasco Lavos d8238bd77d Tucking fypo. 2013-12-26 19:18:47 +00:00
Vasco Lavos f623a19056 Finish off the Robes of the Stratosphere. Research and recipe included. 2013-12-26 19:17:48 +00:00
Vasco Lavos f8e0092eae Added a protection from arrows effect to the Winged Ichorcloth armor. Also made it not crash the game. 2013-12-26 18:52:23 +00:00
Vasco Lavos 1e006f4ca8 Move flight update function to ItemGemChest, so it doesn't called more than once per update tick. 2013-12-26 18:32:27 +00:00
Vasco Lavos a614e12232 Winged Ichorcloth armor now lets you fly in survival. 2013-12-26 18:25:31 +00:00
Vasco Lavos 5fb8d92312 Derp with the model, it was only fixing the rotations while flying. 2013-12-26 17:55:08 +00:00
Vasco Lavos 450387541f Fix vanilla animations with the winged armor. 2013-12-26 17:40:58 +00:00
Vasco Lavos 67716772a7 Animated wings! 2013-12-26 17:31:20 +00:00
Vasco Lavos 61b0e39962 Added wings to the chestpiece's model. Now I gotta animate them... 2013-12-26 17:08:17 +00:00
Vasco Lavos 2d094f8b84 Research + recipe for the Cowl of the Abyssal Depths. 2013-12-26 01:58:38 +00:00
Vasco Lavos 3c39c16cf9 Ichorcloth Armor Tier 2: Cowl of the Abyssal Depths. 2013-12-26 01:10:55 +00:00
Vasco Lavos 7ee9662158 Added items for the advanced ichorcloth armor. Not localized yet and they're not close to done. 2013-12-25 18:47:23 +00:00
Vasco Lavos 48db08392b Merge pull request #138 from Vexatos/patch-2
Typo fixes thanks to @wodkashorty.
2013-12-25 10:15:31 -08:00
Vexatos 46f3724b6d Update with the typo fixes by @wodkashorty. 2013-12-25 19:04:21 +01:00
Vasco Lavos 38b3f87ee8 Textures for advanced armor yo. 2013-12-25 00:19:49 +00:00
Vasco Lavos 9c19eee85e Ichorcloth armor research + recipes. 2013-12-25 00:04:10 +00:00
Vasco Lavos cb373d6e03 Added config option to remove the [TT] tooltips. Per request of aginsun 2013-12-24 22:33:51 +00:00
Vasco Lavos edd6053ef8 Now with a proper texture. 2013-12-24 22:03:09 +00:00
Vasco Lavos 6230340769 Ichorcloth armor! 2013-12-24 22:00:22 +00:00
Vasco Lavos 2638bdfc54 Ichorcloth armor textures. 2013-12-24 21:35:51 +00:00
Vasco Lavos 5d10a08d6b Ichorium Wand Cap recipe/research. 2013-12-24 16:45:41 +00:00
Vasco Lavos e8a825cc9b Ichorcloth Strapped Silverwood Wand Core research + recipe. 2013-12-24 16:23:49 +00:00
Vasco Lavos 909a737652 Eh, make it cheaper. 2013-12-22 20:11:01 +00:00
Vasco Lavos 0cf8ec6dd9 Ichor wand components. Recipes/research are NYI. 2013-12-22 20:10:18 +00:00
Vasco Lavos b0902ab276 More resources, Ichorium Nugget. 2013-12-22 19:06:28 +00:00
Vasco Lavos 1a663ef4dc Ichorcloth recipe and research. 2013-12-22 17:39:22 +00:00
Vasco Lavos 98da05a41a Ichor research + recipe. Also retextured the ichor gem to ichorium. 2013-12-22 16:35:46 +00:00
Vasco Lavos c2401e3876 Logic derps... 2013-12-21 21:15:40 +00:00
Vasco Lavos 9e0047352b Super special awesome research with ALL the requirements! 2013-12-21 21:02:26 +00:00
Vasco Lavos e28323aaaf Added the first resources. 2013-12-21 20:00:51 +00:00
Vasco Lavos f4530497e7 Starting with some stuff for KAMI, first off, separate config sections. 2013-12-21 19:30:44 +00:00
Vasco Lavos 7efa46142f Config option to enable/disable KAMI. 2013-12-21 19:01:02 +00:00
Vasco Lavos bb2ede3ce7 Just some textures passing through. 2013-12-21 18:57:27 +00:00
Vasco Lavos caef8e60f8 Merge pull request #134 from Vexatos/patch-2
Update de_DE.lang
2013-12-21 07:04:08 -08:00
Vexatos baadf21d31 Update de_DE.lang 2013-12-21 15:13:46 +01:00
Vasco Lavos 4d1bbbe5e1 Build 47. 2013-12-16 14:48:38 +00:00
Vasco Lavos 33406e8e0d Better documentation for the Kinectic Attraction entry. 2013-12-16 14:45:46 +00:00
Vasco Lavos 1453a7efae Changed the tablet's fake player localization to localize with ReCubed. 2013-12-16 14:39:14 +00:00
Vasco Lavos d9694bd087 Fixed aspectalyzer gui crash. Closes #129 2013-12-16 14:24:24 +00:00
Vasco Lavos 5ca4786696 Merge pull request #126 from Vexatos/patch-2
More computerization, hooray! (Updated de_DE.lang)
2013-12-13 05:35:29 -08:00
Vasco Lavos 2236f9934f Merge pull request #124 from crafteverywhere/patch-4
Update zh_CN.lang
2013-12-13 05:35:18 -08:00
Vexatos 28e58e2dc8 More computerization, hooray! (Updated de_DE.lang) 2013-12-13 14:30:54 +01:00
crafteverywhere f2cc185121 Update zh_CN.lang 2013-12-13 16:58:53 +08:00
Vasco Lavos fcaf993a0e Build 46 to fix a typo with the IDs, I was tired when I wrote that mkay? 2013-12-12 15:01:54 +00:00
Vasco Lavos 4a65f7ed91 Build 45. 2013-12-12 13:22:56 +00:00
Vasco Lavos 693da8ef5c Added Microblocks to Greatwood and Silverwood planks. 2013-12-11 23:34:35 +00:00
Vasco Lavos 812ff0fda9 Aspectalyzer research and recipe. Done! 2013-12-11 23:32:38 +00:00
Vasco Lavos 98018e61c1 Finish off the Aspectalyzer. 2013-12-11 23:19:55 +00:00
Vasco Lavos fb1b206af1 Fixed non localization on the Corporeal Attractor with empty Soul Mould. 2013-12-11 23:15:51 +00:00
Vasco Lavos 0230565df8 Aspectalyzer GUI work. 2013-12-11 23:06:52 +00:00
Vasco Lavos f906c6cdee More work on the Aspectalyzer. 2013-12-11 22:54:05 +00:00
Vasco Lavos 78ab025fd6 Getting started on the Aspectalyzer. Credit to Lycaon for the awesome name :3 2013-12-11 22:41:40 +00:00
Vasco Lavos af03274c2b Buffed the durability of the Helmet of Revealing. 2013-12-11 22:26:55 +00:00
Vasco Lavos ed9eecbd91 Added arcane bore Peripheral. 2013-12-11 22:25:29 +00:00
Vasco Lavos 54cb71e3ef Added transvector interface Peripheral. 2013-12-11 21:59:52 +00:00
Vasco Lavos 5d624b488c Added arcane ear Peripheral. 2013-12-11 21:48:45 +00:00
Vasco Lavos 240b69bd30 Added Brain in a jar Peripheral. 2013-12-11 21:41:36 +00:00
Vasco Lavos 58e42ffe48 Merge pull request #122 from Vexatos/patch-2
I don't get all those untranslatable references. I translate them anyway...
2013-12-11 08:10:47 -08:00
Vexatos 40a6106b8b I don't get all those untranslatable references. I translate them anyways. 2013-12-11 17:09:43 +01:00
Vasco Lavos f514c655f1 Build 44. 2013-12-11 13:50:26 +00:00
Vasco Lavos d3373fdcd3 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2013-12-11 13:37:54 +00:00
Vasco Lavos 71966d19e5 Fixed osmotic enchanter losing enchantments when a wand is removed. 2013-12-11 13:37:31 +00:00
TheWhiteWolves 4808cf44cf Merge pull request #121 from crafteverywhere/patch-4
Update zh_CN.lang
2013-12-08 23:21:05 -08:00
crafteverywhere dbba18023a Update zh_CN.lang 2013-12-09 13:31:50 +08:00
Vasco Lavos 10e5574e41 Dummy commit. Just testing a thing. 2013-12-08 22:36:48 +00:00
Vasco Lavos c6e512cf82 Removed version.json 2013-12-08 22:25:12 +00:00
Vasco Lavos 99e2e3603b Fixed IC2 API crash. Build 43. 2013-12-08 22:03:48 +00:00
Vasco Lavos f4c4ae94b2 Typos typos typos... 2013-12-08 20:43:05 +00:00
Vasco Lavos e15ae7f5a9 Build 42 (!!). 2013-12-08 20:34:36 +00:00
Vasco Lavos 25a50fc510 Research for the Distortion focus. 2013-12-08 20:26:16 +00:00
Vasco Lavos aa9d3cb65c Effects n stuff. 2013-12-08 18:56:55 +00:00
Vasco Lavos aeec90c4fd New stuff? New stuff! 2013-12-08 18:34:44 +00:00
Vasco Lavos 324835f178 I sneaked in a Kill la Kill reference, woo. 2013-12-08 18:03:22 +00:00
Vasco Lavos 483bdd4dc7 Added Essentia Tube support to the transvector interface. 2013-12-08 17:48:49 +00:00
Vasco Lavos 78e0e367fd Transvector Interface now passes onInventoryChanged() to the bound Tile. 2013-12-08 17:27:50 +00:00
Vasco Lavos 7422d46b08 Made the Transvector Dislocator a lot cheaper. 2013-12-08 17:23:15 +00:00
Vasco Lavos 7e8e61ee73 Actually fixed the exploit this time. 2013-12-08 17:19:47 +00:00
Vasco Lavos 683e71ac42 Fixed Osmotic Enchanter exploit. 2013-12-08 17:08:51 +00:00
Vasco Lavos 188c7ea362 TWW, you're a derp. 2013-12-08 14:46:32 +00:00
TheWhiteWolves bf184ccfe0 fix the annoying gasseous illuminae research instantly completing 2013-12-08 05:55:31 +00:00
Vasco Lavos 83e538e292 Merge pull request #118 from Vexatos/patch-2
Update de_DE.lang
2013-12-07 04:22:26 -08:00
Vexatos 2e6f5707ab Update de_DE.lang 2013-12-07 13:02:32 +01:00
Vasco Lavos 45500adf82 Build 41. 2013-12-02 20:50:03 +00:00
Vasco Lavos 258082d980 Changed the name of the Thaumium Rehabilitator, as it was stupid. 2013-12-02 20:32:59 +00:00
Vasco Lavos 3704bccc60 Buffed the Smelt Focus, it takes less vis now. I might have been a bit tipsy when I set the cost for it. 2013-12-02 20:16:13 +00:00
Vasco Lavos daea446d80 Nooped out the infused scribing tools until future a TC update. 2013-12-02 19:54:12 +00:00
Vasco Lavos 9af1880880 Revert "ASM Stuffs."
This reverts commit de10183c4353a8b3813ddef104dbd423edb82c1a.
2013-12-02 19:46:25 +00:00
Vasco Lavos e105ffcaf5 ASM Stuffs. 2013-12-02 19:02:36 +00:00
Vasco Lavos 230df722f7 Build 40. 2013-12-01 14:07:07 +00:00
Vasco Lavos ff3a8550fa Added Repairer and Funnel to the list of peripherals. 2013-12-01 14:04:12 +00:00
Vasco Lavos cf3a711ae4 Fixed ComputerCraft peripherals not loading on clients. 2013-12-01 14:02:49 +00:00
Vasco Lavos 39af510c4a Build 39. 2013-12-01 12:06:11 +00:00
Vasco Lavos 2c85b152db Changed cast in ClientTickHandler, this should fix the obfuscation issue. 2013-12-01 12:00:37 +00:00
Vasco Lavos 8e551ba556 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2013-12-01 12:00:04 +00:00
Vasco Lavos c3bc2e0673 Fix crash with right clicking on the repairer with an empty hand. 2013-12-01 11:59:32 +00:00
Vasco Lavos 2448935f8d Merge pull request #114 from crafteverywhere/patch-4
Update zh_CN.lang
2013-12-01 03:51:27 -08:00
Vasco Lavos 01874c4a5e Merge pull request #115 from Vexatos/patch-2
Update de_DE.lang
2013-12-01 03:51:22 -08:00
Vexatos d113cb6a69 Update de_DE.lang 2013-12-01 08:47:06 +01:00
crafteverywhere 390168145b Update zh_CN.lang 2013-12-01 14:08:44 +08:00
Vasco Lavos ddc44951a0 Build 38. 2013-11-30 23:25:36 +00:00
Vasco Lavos e0d5553593 Fix compilation crash. 2013-11-30 23:23:55 +00:00
Vasco Lavos 71c4f6881b Build 37. 2013-11-30 22:18:19 +00:00
Vasco Lavos c194eb2b12 Rehabilitator research and recipe. And some tweaks. 2013-11-30 22:11:22 +00:00
Vasco Lavos 8c725eb755 Fixed TWW being a derp. 2013-11-30 21:39:12 +00:00
TheWhiteWolves 3b7a5faf8f Add in the research page for the infused scribing tools 2013-11-30 21:37:03 +00:00
Vasco Lavos bf15eaea06 Add hack for the research table. The item doesn't render, but that's with Azanor. 2013-11-30 21:10:17 +00:00
TheWhiteWolves 3993318f99 that should be ink sacs not bone meal 2013-11-30 21:02:48 +00:00
TheWhiteWolves 267c7eaa94 Stuff for Infused Scribing Tools 2013-11-30 20:52:46 +00:00
Vasco Lavos d39576cf8e Finished the, now named, Thaumic Rehabilitator. 2013-11-30 20:10:00 +00:00
Vasco Lavos 8d1fb229ae Fixed some dislocator and interface problems. 2013-11-30 19:27:47 +00:00
Vasco Lavos 8cbe3fbceb Some repairerwork... 2013-11-30 19:09:01 +00:00
Vasco Lavos 784154458b Initial stuff for the Repairer (working name). 2013-11-30 18:03:21 +00:00
Vasco Lavos 1a0d63c18d A wild model appears! 2013-11-30 17:23:24 +00:00
Vasco Lavos 887e7b7a34 Fix a bunch of stuff with the Essentia Funnel. 2013-11-30 15:57:59 +00:00
Vasco Lavos c89b3d57fa Cleanup run and fix the particles in the enchanter. 2013-11-30 15:03:06 +00:00
Vasco Lavos f63b025051 Fix Vamprism not working. 2013-11-30 15:01:26 +00:00
Vasco Lavos 7020ffae80 Fix TT foci stacking. Closes #110 2013-11-30 14:48:28 +00:00
Vasco Lavos 6f1d3418e4 Build 36. 2013-11-29 17:00:30 +00:00
Vasco Lavos a2488ca798 Made the Ender Rift focus easier to craft. 2013-11-29 16:54:14 +00:00
Vasco Lavos f36261fb99 Fixed the Essentia Funnel being stupid. 2013-11-29 16:43:04 +00:00
Vasco Lavos 028c712ada Build 35. 2013-11-28 21:33:35 +00:00
Vasco Lavos ea308a8814 Wand Focus: Ender Rift and Transvector Dislocator researches will no longer register case mirrors are disabled in the config. 2013-11-28 21:29:31 +00:00
Vasco Lavos 55931b9048 Fixed the mod being dependant on CodeChickenCore. Derp. 2013-11-28 21:26:49 +00:00
Vasco Lavos 30cc3a8ccb Build 34. 2013-11-27 22:43:01 +00:00
Vasco Lavos cbad3ef653 Fixed Transvector Dislocator not copying Tile Entity contents. Also made it not move Aura Nodes. 2013-11-27 22:31:33 +00:00
TheWhiteWolves cabd11f474 Fix dislocator not activating if either target or origin is an air block 2013-11-27 22:00:55 +00:00
Vasco Lavos a13a5245ca Transvector Dislocator will no longer pick up unbreakable blocks or anything that the portable hole can't. 2013-11-27 21:15:13 +00:00
Vasco Lavos d82091637a Added a cooldown to the transvector dislocator, as to prevent it from creating unavoidable traps. 2013-11-27 21:11:03 +00:00
Vasco Lavos 628505fd65 Merge pull request #104 from Vexatos/patch-3
Squashy squash of squashiness.
2013-11-26 11:25:45 -08:00
Vexatos 142e04b2c7 Squashy squash of sqashiness.
I like squashes. Do you like squashes? I do like squashes.
2013-11-26 20:25:11 +01:00
Vasco Lavos 3d47a5984b Merge pull request #102 from crafteverywhere/patch-4
Update zh_CN.lang
2013-11-26 11:25:07 -08:00
crafteverywhere d9e99b1016 Update zh_CN.lang 2013-11-27 00:18:57 +08:00
Vasco Lavos 21b124fb59 Build 33. 2013-11-26 14:28:27 +00:00
Vasco Lavos 1ba03a8c75 Fixed Flaming Touch enchantment being able to go on the Axe of the Stream. It was having weird effects. 2013-11-26 14:23:20 +00:00
Vasco Lavos 4558e0fa58 Fixed the Helmet of Revealing not showing aspects, and added the discount to the tooltip. 2013-11-26 14:18:48 +00:00
Vasco Lavos 562d60e2a2 Removed the ability for the Cursed Spirit's Blade to get the Vampirism Enchantment. 2013-11-26 14:16:54 +00:00
Vasco Lavos 86558c1d26 Buffed durability on the Cursed Spirit's Blade and added support for Repair. 2013-11-26 14:09:01 +00:00
Vasco Lavos f55f16be6a Fixed crash with Quick Draw enchantment. 2013-11-26 14:06:26 +00:00
Vasco Lavos f64a7e9766 Quick build 32 to fix ascent boost. Closes #101 2013-11-25 23:16:30 +00:00
Vasco Lavos 1e83616f51 Build 31. 2013-11-25 21:23:08 +00:00
Vasco Lavos 900c94a6af Added the Helmet of Revealing! 2013-11-25 21:18:05 +00:00
Vasco Lavos c23ee17065 Some changes to localization. 2013-11-25 20:44:57 +00:00
Vasco Lavos 26a0e11bfc Research and recipe for the Transvector Dislocator. 2013-11-25 20:42:51 +00:00
Vasco Lavos e17e3c96dd Transvector Dislocator can now move Entities (incl Players) 2013-11-25 20:26:58 +00:00
Vasco Lavos 0e8e02d98c Sanity check Transvector Dislocator. 2013-11-25 19:34:50 +00:00
Vasco Lavos 11677cd556 Transvector Dislocator works! 2013-11-25 18:51:51 +00:00
Vasco Lavos fce4dca967 Dislocator can now be rotated. 2013-11-25 14:46:07 +00:00
Vasco Lavos 42cdfb301f Transvector Dislocator now listens for RS signals. 2013-11-25 14:40:48 +00:00
Vasco Lavos 4b09e8a1ad Change reflection to work per name rather than per index. Fixes compatibility with M&B Battlegear. 2013-11-25 14:28:26 +00:00
Vasco Lavos c83434355b Some more cleanup. 2013-11-24 23:04:27 +00:00
Vasco Lavos a95651fb5b Added a method to TileTransvector that will be important later. 2013-11-24 23:03:47 +00:00
Vasco Lavos 0ff03ae0c2 Some fixes. 2013-11-24 23:01:36 +00:00
Vasco Lavos c3713deceb Initial Transvector Dislocator code. Doesn't do anything yet, 2013-11-24 22:54:17 +00:00
Vasco Lavos 0fae04aac9 Blame @ikamazu. 2013-11-24 22:42:20 +00:00
Vasco Lavos e461645fde Fixed books being able to be placed on the Osmotic Enchanter via right click. 2013-11-24 21:43:49 +00:00
Vasco Lavos d6df913779 Cleanup run... 2013-11-24 21:10:34 +00:00
Vasco Lavos 27c48126be Research and recipe for the Cursed Spirit's Blade. 2013-11-24 21:09:24 +00:00
Vasco Lavos e3f01b6c59 Fix the Cursed Spirit's Blade code to actually work. 2013-11-24 20:48:47 +00:00
Vasco Lavos f80e39e900 Add the Cursed Spirit's Blade. 2013-11-24 20:23:00 +00:00
Vasco Lavos 6dc5ec03b7 Moar references. 2013-11-24 19:26:42 +00:00
Vasco Lavos b6d48afcb2 Transvector Interface camouflage. 2013-11-24 19:22:14 +00:00
Vasco Lavos ff50f36342 Separate Transvector Interface methods into TileTransvector. 2013-11-24 18:49:47 +00:00
Vasco Lavos dcbd452759 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2013-11-24 18:21:05 +00:00
Vasco Lavos ef8328c541 Build 30. 2013-11-24 18:20:53 +00:00
Vasco Lavos 9b2bd0e5f9 Merge pull request #95 from crafteverywhere/patch-4
Updated for Ender Rift
2013-11-24 10:19:17 -08:00
Vasco Lavos 635bcea800 Merge pull request #97 from Vexatos/patch-2
Update de_DE.lang
2013-11-24 10:19:13 -08:00
Vasco Lavos 4f383f4ad2 Acknowledge interface changes in the lang file. 2013-11-24 18:15:37 +00:00
Vasco Lavos b206f687ef Add TE3 energy support to Transvector Interface. 2013-11-24 18:15:08 +00:00
Vasco Lavos 3d5756072f Fixed reflection on servers. 2013-11-24 18:11:28 +00:00
Vexatos bd6a721395 Update de_DE.lang 2013-11-24 18:19:51 +01:00
crafteverywhere 28aace645a Updated for Ender Rift 2013-11-25 00:23:03 +08:00
Vasco Lavos 26c0d02038 Wand Focus: Ender Rift. It's a small item, so I did it all in one commit. 2013-11-24 15:29:26 +00:00
Vasco Lavos f6cf634215 Merge pull request #94 from crafteverywhere/patch-4
Updated to 29b and changed to use English's punctuation marks.
2013-11-24 06:52:12 -08:00
crafteverywhere a24512f149 Updated to 29b and changed to use English's punctuation marks. 2013-11-24 22:34:27 +08:00
Vasco Lavos 8353ae86fd Build 29. 2013-11-24 13:48:35 +00:00
Vasco Lavos cd5d19d80c Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2013-11-24 13:37:53 +00:00
Vasco Lavos ff7d502a42 I used to be able to access these regularly. Looks like forge changed, so I'm reflecting into them now. 2013-11-24 13:37:36 +00:00
Vasco Lavos 5784aaa664 Merge pull request #91 from VeryBigBro/patch-1
Update ru_RU.lang
2013-11-24 05:22:32 -08:00
Vasco Lavos 58ce56945e Merge pull request #92 from Vexatos/patch-2
Update de_DE.lang
2013-11-24 05:22:24 -08:00
Vexatos de9a231b84 Update de_DE.lang 2013-11-24 09:18:50 +01:00
Anton f4bb88fb16 Update ru_RU.lang 2013-11-24 10:34:28 +03:00
Vasco Lavos 12bcd17c8f Move Hyperenergetic Nitor research and cleanup. 2013-11-23 22:26:19 +00:00
Vasco Lavos fb16094313 Finalize the Mending focus. 2013-11-23 22:24:08 +00:00
Vasco Lavos b3abd0db57 That works better. 2013-11-23 22:03:37 +00:00
Vasco Lavos a5848dc5fd Fixed Candle multiparts not working with metadata. 2013-11-23 21:59:20 +00:00
Vasco Lavos 3cefacbb1b More peripherals. 2013-11-23 21:55:41 +00:00
Vasco Lavos 555118b415 Move Ascent Boost handler, it's smoother and closes #63 2013-11-23 21:38:01 +00:00
Vasco Lavos a229e53d9e Rewrite the mending focus. 2013-11-23 21:24:03 +00:00
Vasco Lavos 805bba3ef2 Remove that println... 2013-11-23 21:12:31 +00:00
Vasco Lavos 7089bb4db5 Add some checks to the dislocation focus to prevent visual anomalies. Closes #82 2013-11-23 21:05:43 +00:00
Vasco Lavos 4792b2b85f Change Mob Magnet peripheral methods. Closes #83 2013-11-23 21:00:35 +00:00
Vasco Lavos 07496652b2 Change Packet3Chat calls in DT to reflect new behaviour. Closes #89 2013-11-23 20:58:47 +00:00
Vasco Lavos 40406918f6 Changed slow fall to only work when the player would take fall damage. Closes #78 2013-11-23 20:53:45 +00:00
Vasco Lavos b714cff27d Some changes to the efreet's flame focus to work better. 2013-11-23 20:47:20 +00:00
Vasco Lavos 41d923fcd8 Efreet's Flame focus doesn't create blocks client side. Closes #79 2013-11-23 20:35:56 +00:00
Vasco Lavos e1bd2bba1e Looks like my automation atempts broke the decompiler. So have build 28. 2013-11-23 20:30:57 +00:00
Vasco Lavos c4515f26c2 Build 27. 2013-11-23 19:45:28 +00:00
Vasco Lavos 0be5cdb606 Move research around to make more sense with the new TC versions. 2013-11-23 19:35:01 +00:00
Vasco Lavos 0dd059f0b8 Update workspace stuff and srgobf.bat for further automation of setup. 2013-11-23 18:49:19 +00:00
Vazkii a9247fe915 Update workspace locations. 2013-11-16 15:30:28 +00:00
Vasco Lavos 89fe11fab7 Increase Fume Dissipator range by 2 blocks.
Can you stop talking about it now IRC?
2013-11-15 14:29:49 +00:00
TheWhiteWolves c427fc0cb0 Build 26 2013-11-12 00:09:55 +00:00
TheWhiteWolves 4cf7e10d91 Add in Mending Focus code
No research or anything for it yet though
2013-11-11 23:47:56 +00:00
Vasco Lavos 37890f6367 Add an important null check... 2013-11-11 23:23:07 +00:00
TheWhiteWolves 942364347a Build 25 2013-11-10 12:58:47 +00:00
TheWhiteWolves 21863a7f70 Fix for Funnel positioning in research
Closes #87
2013-11-10 12:50:52 +00:00
Vasco Lavos 02a21c3213 Merge pull request #86 from VeryBigBro/patch-1
Update ru_RU.lang
2013-11-09 03:12:16 -08:00
Anton 189eadd27e Update LibResources.java 2013-11-09 09:31:44 +03:00
Anton 762607e026 Update ru_RU.lang
- A ton of mistakes fixed
- Translation for Wand Focus: Efreet's Flame added
- Some corrections for the current translation
2013-11-09 08:55:20 +03:00
Vasco Lavos 3d93600b7a Merge pull request #77 from crafteverywhere/patch-3
Register zh_CN lang in the master branch.
2013-10-29 11:31:28 -07:00
crafteverywhere fcad74f3ef Register zh_CN lang in the master branch. 2013-10-30 02:09:54 +08:00
Vasco Lavos 27512a2b8f Merge pull request #76 from crafteverywhere/patch-3
Update zh_CN.lang
2013-10-29 10:59:10 -07:00
crafteverywhere c5c148c61d Update zh_CN.lang 2013-10-30 01:53:26 +08:00
TheWhiteWolves 56fb257121 Build 24.
Closes #75
2013-10-29 16:06:07 +00:00
TheWhiteWolves a8403ad61c Fix for Issue #71 2013-10-29 14:20:42 +00:00
Vasco Lavos 9b17c0d705 Merge pull request #68 from Vexatos/patch-2
If it is not ready yet, just don't merge it yet, but do not close this.
2013-10-29 01:40:05 -07:00
TheWhiteWolves f9cf33083b Add mcp.cfg 2013-10-28 19:47:46 +00:00
TheWhiteWolves cf7ef18bcc Build 23. 2013-10-28 19:43:02 +00:00
Vexatos 530dfa8762 Update de_DE.lang 2013-10-26 15:00:21 +02:00
Vazkii edc1c5b2a8 Getting started with the Mending focus. 2013-10-26 12:15:41 +01:00
Vazkii 416e593cc6 Probably should implement that. 2013-10-26 12:04:36 +01:00
Vazkii a1e71ea4b8 Efreet's Flame recipe and research. 2013-10-26 11:51:14 +01:00
Vazkii 0cc01a5057 Fixed the potency checks being on the wrong target. 2013-10-26 11:37:21 +01:00
Vazkii 31b5a07951 Finished the Wand Focus: Efreet's Flame. Now it needs research. 2013-10-25 22:50:47 +01:00
Vazkii 39eb6f8a6d Peripherals for nodes in jars and wand rechargers. 2013-10-25 19:41:07 +01:00
Vazkii 5962c7c23b Multiparts. 2013-10-25 19:38:59 +01:00
Vazkii b0bdf4d878 Microblocks woo. 2013-10-25 18:31:19 +01:00
Vazkii 2d7279143f Change researches around. Move Magnets research and change Trasnvector Interface to use Arcane Stone. 2013-10-25 16:29:09 +01:00
Vazkii 4e63b1c113 Fixed Creative Mode wand having 150 vis rather than 100. 2013-10-25 15:55:47 +01:00
Vazkii 970e2df68d Fix typo in Dark Quartz block ID. 2013-10-25 15:54:43 +01:00
TheWhiteWolves fc051f69af Inverted the slowfall activation and made the fall smoother 2013-10-25 00:44:06 +01:00
Vazkii ad0b1520f9 Starting work on Wand Focus: Efreet's Flame. More tomorrow... 2013-10-24 23:37:38 +01:00
Vazkii 8b88e15174 Added Potency enchantment support for foci of Dislocation and Telekinesis. Removed potency from Dislocation focus. 2013-10-24 23:09:15 +01:00
Vazkii 87f400eb18 Build 22. 2013-10-24 21:45:22 +01:00
Vazkii 201edd94c0 Huh, that shouldn't have been in this repo. 2013-10-24 18:47:18 +01:00
Vazkii 11288735c9 Brain in a jar isn't lost research any more. 2013-10-24 18:41:27 +01:00
Vazkii 55498358f2 Enchanter channges, fixes a dupe and a minor bug. Also decided to remove the particles from it once and for all. Closes #54 and #58 2013-10-24 18:38:29 +01:00
Vazkii 6e91462f29 Hyperenergetic nitor now places the block at the correct coordinates. Closes #64 2013-10-24 18:06:31 +01:00
Vazkii d1ebe22395 Dynamism Tablet change. Get the slot again in case something got changed. Closes #61 2013-10-24 17:56:58 +01:00
Vazkii 5b67a347d9 Change Essentia Funnel to swap the block with a proper Warded Jar if empty. 2013-10-24 17:35:42 +01:00
Vazkii 2a6dbf9287 Read and Write to NBT functions in TileMobMagnet were swapped. Closes #62 2013-10-24 17:22:07 +01:00
Vazkii 644119c413 Fixed typo in localization for Vampirism enchantment. Closes #60 2013-10-24 17:19:34 +01:00
Vazkii c18c7c925c Added Telekinesis Focus ID to the config. Closes #59 2013-10-24 17:16:49 +01:00
Vazkii b14f483979 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2013-10-24 17:08:19 +01:00
Vazkii 62a003e45f Updated mappings. 2013-10-24 17:07:40 +01:00
Vazkii 1555da45da Merge pull request #56 from ferzrrn/patch-2
Create ru_RU.lang
2013-10-21 11:44:32 -07:00
Andrey ce82b933a7 Create ru_RU.lang
full translate. 
checked in thaumonomicon.
(For russian users) If translate dont work - change text on en_US.lang on this text.
2013-10-21 20:23:18 +06:00
Vazkii 7abd326458 Build 21. 2013-10-15 17:33:29 +01:00
Vazkii f00698bb22 Updated IC2 API. Closes #40, hopefully. 2013-10-15 14:53:46 +01:00
Vazkii 10e6d92885 Merge pull request #48 from RustyXXL/patch-1
Update de_DE.lang
2013-10-15 05:50:41 -07:00
Vazkii c823f98704 Merge pull request #49 from FunnyMan3595/master
Corrected funnel insertion to avoid ItemStack-mangling
2013-10-15 05:50:07 -07:00
Charlie Nolan 8f82530b9a Corrected funnel insertion to avoid ItemStack-mangling
Fixes issue #43.
2013-10-14 20:07:57 -05:00
RustyXXL 4a1eb65f3a Update de_DE.lang 2013-10-15 01:45:53 +02:00
Vazkii 8e7475fc3b Merge pull request #41 from Vexatos/patch-1
Update de_DE.lang
2013-10-11 08:46:02 -07:00
Vexatos 007f85f6b2 Update de_DE.lang 2013-10-11 16:42:14 +02:00
Vazkii 5a01fbf0ba I'm an idiot. 2013-10-11 15:15:03 +01:00
Vazkii 9658f16cd2 Build 20. Somewhat crappy fixes (hopefully) for the enchanter and mirror bug. 2013-10-11 15:11:57 +01:00
Vazkii 64b4688ae8 Fix the mod not working on servers, again. Build 19. 2013-10-06 19:34:55 +01:00
Vazkii 3a2767d7e8 Add some bits and bobs to index.php... 2013-10-03 20:19:20 +01:00
Vazkii 6d3abad185 Clean index.php up... 2013-10-03 19:45:14 +01:00
Vazkii 238e0c6e98 Merge branch '2.0' 2013-10-03 19:13:45 +01:00
Vazkii 0ac010feae Change index.php to find download links from the master branch rather than the, now removed 2.0 branch. 2013-10-03 19:09:50 +01:00
Vazkii bf9f19524e Merge pull request #38 from Vazkii/2.0
Merge 2.0 into mater!
2013-10-03 11:03:27 -07:00
Vazkii e2a97a4a9e Get a title job! 2013-10-03 18:32:43 +01:00
Vazkii c223dd1564 I'm an idiot. ._. 2013-10-03 18:15:58 +01:00
Vazkii cbe5a3597a Getting started with the update checker. Starting with changes to the ANT build script. 2013-10-03 18:12:56 +01:00
Vazkii 951a96d44c Update index.php to find download URLs from GitHub. 2013-10-03 17:37:30 +01:00
Vazkii fbe4db10c1 Web stuffs. 2013-10-03 17:35:07 +01:00
Vazkii 53a122ac73 Build 19, fix talisman of remedium crashing servers. 2013-10-03 14:37:43 +01:00
Vazkii f0d00aa003 Merge pull request #37 from crafteverywhere/patch-2
Update zh_CN.lang
2013-10-03 05:45:29 -07:00
crafteverywhere 23d8826aa8 Update zh_CN.lang 2013-10-03 15:11:07 +08:00
Vazkii f8d82c47da Merge branch '2.0' of https://github.com/Vazkii/ThaumicTinkerer into 2.0 2013-09-29 22:35:46 +01:00
Vazkii d77b5c7e00 Build 17, 'parently the arcane crafting table doesn't like recipes with no aspects, who'd thunk? 2013-09-29 22:34:54 +01:00
Vazkii ee02eb413d Merge pull request #36 from Vexatos/2.0
Updated de_DE.lang and improved en_US.lang
2013-09-29 09:28:21 -07:00
Vexatos 58d24e0cca Updated de_DE.lang and improved en_US.lang 2013-09-29 18:20:27 +02:00
Vazkii 430b8911fa Cleanup and build 16. 2013-09-29 16:33:35 +01:00
Vazkii f5975d53c4 Yeah, there too. 2013-09-29 16:22:38 +01:00
Vazkii 0c8683afb7 Enchantment wrap-up. 2013-09-29 16:21:39 +01:00
Vazkii aeb609dd6c There was an out of bounds exception just waiting to happen right there. 2013-09-29 15:56:20 +01:00
Vazkii efb8800f00 Misc. enchantment work, some revision will be required. 2013-09-29 15:38:11 +01:00
Vazkii 1cb3868c95 More progress on researchable enchants. 2013-09-29 13:45:07 +01:00
Vazkii 43f2253a21 Some lang file cleanup... 2013-09-29 13:04:48 +01:00
Vazkii 27c0b11d8d Added Ascent Boost and Slow Fall enchants. 2013-09-29 13:03:00 +01:00
Vazkii 1956c7a158 Merge branch '2.0' of https://github.com/Vazkii/ThaumicTinkerer into 2.0 2013-09-29 11:39:15 +01:00
Vazkii 84c8ae056c Getting started in researchable enchantments. 2013-09-29 11:36:36 +01:00
Vazkii 3bc5da4839 Merge pull request #33 from Vexatos/2.0
Updated de_DE.lang
2013-09-29 02:02:30 -07:00
Vexatos 5e5d69f394 Updated de_DE.lang 2013-09-29 08:12:56 +02:00
Vazkii 2b34aaf27b Cleanup and build 15. 2013-09-28 22:27:28 +01:00
Vazkii 7685ba0ae4 Wrapped up the funnel: research, recipe and tweaks. 2013-09-28 22:19:14 +01:00
Vazkii 954f320e58 Fixes, fixes fixes #32! 2013-09-28 21:42:35 +01:00
Vazkii be6fca535e Added the Essentia Funnel, still needs recipe/research. 2013-09-28 21:39:42 +01:00
Vazkii 43d900fcf5 Because the reference was too subtle. 2013-09-28 19:25:24 +01:00
Vazkii 4c1c748384 Added warded jars to the CC peripheral list. 2013-09-28 19:13:58 +01:00
Vazkii 37c86801da Ported the talisman of withhold. Plus some tweaks and hacks to things. 2013-09-28 19:10:48 +01:00
Vazkii 2ae58e13cd Move recipes to the new infusion system. 2013-09-28 18:24:58 +01:00
Vazkii 99c73b5f39 Merge branch '2.0' of https://github.com/Vazkii/ThaumicTinkerer into 2.0 2013-09-28 18:22:48 +01:00
Vazkii 4739b162fe Build 15, because stuff was brokened. 2013-09-28 18:21:39 +01:00
Vazkii 3fc2ecf14b Merge pull request #31 from crafteverywhere/patch-2
Find all the anime references!
2013-09-24 05:52:55 -07:00
crafteverywhere 6bbb8c7e33 Peripheral-Documentation Chinese version! 2013-09-24 10:17:24 +08:00
Vazkii a4910fb896 Build 13, because I'm stupid and added a SideOnly where I shouldn't have. 2013-09-22 20:53:39 +01:00
Vazkii ef44347564 Should fix the Wand of Dislocation derping with multiparts. 2013-09-22 18:14:09 +01:00
crafteverywhere 0872126ec6 Find all the anime references! 2013-09-22 19:53:10 +08:00
Vazkii 04dc72d60b Merge branch '2.0' of https://github.com/Vazkii/ThaumicTinkerer into 2.0 2013-09-21 21:57:27 +01:00
Vazkii b022d2f103 Build 11, make the mod work on a10. 2013-09-21 21:54:25 +01:00
Vazkii 5132f0545d Merge pull request #30 from crafteverywhere/patch-2
Create zh_CN.lang
2013-09-19 05:34:34 -07:00
crafteverywhere c995cfe86b Create zh_CN.lang 2013-09-19 12:30:42 +08:00
Vazkii c579bfec60 Build 10. 2013-09-17 21:38:58 +01:00
Vazkii 5b1d542ee4 TAKE THAT MYSTERIOUSAGES! :3 2013-09-17 21:21:32 +01:00
Vazkii 5c669efedb Register de_DE lang. 2013-09-17 21:09:22 +01:00
Vazkii ab6d0da4c2 Merge pull request #29 from Vexatos/2.0
Created de_DE.lang and fixed typos in en_US.lang
2013-09-17 13:07:37 -07:00
Vexatos 3a9ed7a812 Created de_DE.lang and fixed typos in enUS.lang 2013-09-17 21:17:35 +02:00
Vazkii 85ac626018 Research and recipe for the enchanter. 2013-09-17 18:49:28 +01:00
Vazkii 3dc2ce0fed Fix crash on empty aspect listing. 2013-09-17 18:43:46 +01:00
Vazkii 2c4591bdbb Finalize the enchanter, both design and functionality wise. Research and recipe next. 2013-09-17 16:59:29 +01:00
Vazkii 98e593615f Some tweaks to the enchanter. 2013-09-17 13:55:33 +01:00
Vazkii 7b3a17caf8 Fancy particles and pillar multiblock for enchanter. 2013-09-16 23:49:31 +01:00
Vazkii 908f7b503c Render some items and stuff above the enchanter, why not? 2013-09-16 23:01:51 +01:00
Vazkii 7ec32c5b61 Fix possible exploits with frugal foci. 2013-09-16 22:38:00 +01:00
Vazkii ea41d8fff2 Enchanter work, lots of it. It works 100%. Now to make it pretty. 2013-09-16 22:34:12 +01:00
Vazkii a70f7e32e3 Added Punch enchantment to the registry. Removed icons for enchants that won't be used. 2013-09-15 02:38:39 +01:00
Vazkii 104dda81a1 More Enchanting GUI work, now with auto enchantment detection. 2013-09-15 02:19:26 +01:00
Vazkii b23ce2ed0b More work on the enchanter GUI. Still lots of work to do here, but it's coming along... 2013-09-15 01:41:28 +01:00
Vazkii 3236dc82c0 GUI change and NBT work on the enchanter. 2013-09-14 21:31:19 +01:00
Vazkii f03588392b Enchanter GUI work. 2013-09-14 19:04:47 +01:00
Vazkii 06f9d1460c More enchantment system work, registry time! 2013-09-14 17:39:45 +01:00
Vazkii e96b7d9c68 Fix the dislocation focus not allowing some blocks to be placed down. 2013-09-14 16:49:25 +01:00
Vazkii 34680ddb5b Starting on the enchantment system... 2013-09-14 15:25:31 +01:00
Vazkii 802efbdfa5 Added enchantment icons. 2013-09-14 03:21:30 +01:00
Vazkii d79005f2a4 Starting work on the osmotic enchanter. 2013-09-14 01:57:12 +01:00
Vazkii 3e0423f3e2 Build 9. 2013-09-13 20:54:53 +01:00
Vazkii fbcb537b41 Peripheral documentation. 2013-09-13 18:57:14 +01:00
Vazkii 33c8116c20 Build 8. 2013-09-13 01:49:37 +01:00
Vazkii c7936f7e6d CC integration. 2013-09-13 01:30:14 +01:00
Vazkii a6457fb7c8 Cleanup run and build 7. 2013-09-12 23:44:21 +01:00
Vazkii d27fc557c9 Dislocation Focus rebalance. 2013-09-12 23:37:09 +01:00
Vazkii d679506811 Attractor research + recipes. 2013-09-12 23:23:38 +01:00
Vazkii 9260f1b93b Magnet tweaks. 2013-09-12 22:15:30 +01:00
Vazkii 7da90321b1 Added the magnets (now called attractors). Still need research and recipe, but that's for later. This commit is large enough. 2013-09-12 19:00:14 +01:00
Vazkii 7ed2955af7 Wrapping up the Telekinesis Focus. 2013-09-12 16:17:22 +01:00
Vazkii f8e6f17da8 Fixed the Dynamism Tablet not working on servers. Sorry forgecraft! 2013-09-12 14:16:09 +01:00
Vazkii e0bf1c92b3 Finalizing the item for the Telekinesis Focus. Research and recipe tomorrow. Already pretty late. 2013-09-12 02:18:07 +01:00
Vazkii d015c3a77f Getting started on the Telekinesis Focus. 2013-09-12 02:02:05 +01:00
Vazkii 069b3e50d1 Build 6. 2013-09-11 22:35:55 +01:00
Vazkii 3c5b397fed Move some things, clean some things. 2013-09-11 19:39:10 +01:00
Vazkii f996275e17 Hyperenergetic Nitor port. 2013-09-11 19:29:59 +01:00
Vazkii aae2112096 Buffed the Dislocation Focus. 2013-09-11 17:28:25 +01:00
Vazkii 1cb5eab65d Added the Talisman of Remedium. Removed some resources that won't be needed. 2013-09-11 17:18:09 +01:00
Vazkii b603957146 Fixed stupid compile derp. Build 5. 2013-09-10 16:24:07 +01:00
Vazkii 3ea91f45d7 Fixed texture derps in compiled environements. Build 4. 2013-09-10 16:17:00 +01:00
Vazkii d9b49f8200 Build 3! 2013-09-10 14:39:00 +01:00
Vazkii ab8d5a0ae9 Removed the random placeholder in the dislocation focus. 2013-09-10 13:54:18 +01:00
Vazkii f26829b6bd Rewrote the foci, they actually compile peoperly now, I hope. 2013-09-10 13:14:36 +01:00
Vazkii 94300e4b44 New build! 2013-09-10 00:22:09 +01:00
Vazkii 33a8777e4b Wand Focus: Dislocation + a run of cleanup. 2013-09-10 00:05:13 +01:00
Vazkii 7a2628db18 Wand Focus: Uprising, getting started in the dislocation focus. 2013-09-09 22:38:21 +01:00
Vazkii 2d9a47b52e I probably won't use these assets anyway. 2013-09-09 19:10:26 +01:00
Vazkii 9beb361776 Move, researches, get out of the way! 2013-09-09 19:08:50 +01:00
Vazkii 402a8637e5 Packet System. Finished the Dynamism Tablet. 2013-09-09 19:07:51 +01:00
Vazkii 4a3435e1e5 Getting started in porting the animation tablet. Still not done with it, missing the packet system and client renderer. 2013-09-09 16:38:56 +01:00
Vazkii c9f248539f Added Cheaty Mode for the interface, for @TheMattaBase. 2013-09-09 15:41:11 +01:00
Vazkii ed53a3d876 Research Tweaks. 2013-09-09 15:33:05 +01:00
Vazkii d0a094f475 Get a build job! 2013-09-09 02:42:14 +01:00
Vazkii 1f3342d791 And another cleanup run... 2013-09-09 01:42:16 +01:00
Vazkii ea1ea672e5 Enchanting Tab and Spellbinding Cloth. 2013-09-09 01:40:57 +01:00
Vazkii a71eab1f8c Gases! 2013-09-09 00:38:51 +01:00
Vazkii 687d543271 Run the cleanup... 2013-09-08 20:42:01 +01:00
Vazkii 99e2ab7e0a Ported the transvector interface. Had to add the BC and IC2 APIs, as well as some other things. 2013-09-08 20:38:26 +01:00
Vazkii 3452e385a2 Research stuff! 2013-09-08 18:40:22 +01:00
Vazkii 94b564a4fa Block Framework + Smokey Quartz Blocks! 2013-09-08 16:32:32 +01:00
Vazkii 7992b9a3bf Creative Tab and Item Framework. 2013-09-08 15:56:37 +01:00
Vazkii 238d75c01f *cough*Copypaste*cough* 2013-09-04 19:28:26 +01:00
Vazkii 1ebf238501 Turns out localization files need to be .lang, who'd thunk? 2013-09-04 18:36:18 +01:00
Vazkii f975d6e9a0 More work on random stuff: Resources, Localizations and Items. 2013-09-04 18:30:19 +01:00
Vazkii e37c0653c0 Commited most resources salvaged from TT. 2013-09-04 17:36:43 +01:00
Vazkii 11bce906ff Framework for everything! 2013-09-04 17:05:41 +01:00
Vazkii 9836d8ca30 Getting started! 2013-09-04 16:41:16 +01:00
Vazkii 5889925a48 Intial resources, mcmod.info and logo. 2013-09-04 15:56:31 +01:00
Vazkii c7b0619989 Updated code template to reflect new TC version. Removed mcp.cfg as it's not needed anymore. 2013-09-04 15:25:20 +01:00
Vazkii d19f33c799 ANT Files. 2013-09-04 15:20:28 +01:00
Vazkii e9b2f5eead Move old files to OLD dir. 2013-09-04 14:40:35 +01:00
Vazkii 7c7e94bfa1 Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2013-09-04 14:35:43 +01:00
TheWhiteWolves 4db23e6e86 Framework for Helping Hand Enchant
Just need to add the actual Helping Hand effect
2013-08-22 11:20:39 +01:00
TheWhiteWolves c8571597df That should finish Stone Skin enchantment, for now 2013-08-19 00:44:31 +01:00
TheWhiteWolves 11444e41a0 Current progress on the third tinker enchant.
Also ran the cleanup on the project
2013-08-18 23:26:29 +01:00
Vazkii fc2c8251a2 Moved mcmod.info to resources, this will be needed when I finally decide to add an ANT build script. 2013-08-07 21:08:57 +01:00
TheWhiteWolves a384da84aa Added half of the Tinker Enchants, working on the rest
Added Slowfall and Acsent Boost.
Need to finish the StoneSkin client side stuff.
Need to start on helping hand enchant.
2013-08-07 20:43:16 +01:00
Vazkii 854fa9c334 Added the Muramasa. 2013-08-04 16:54:02 +01:00
Vazkii 88fead556b Fixed the interface breaking instantly. 2013-08-04 16:32:20 +01:00
Vazkii 37d8dbbed4 Removed the model from the Interface Connector. Nobody liked that thing anyway. 2013-08-04 15:24:50 +01:00
Vazkii 371a636b4e Fixed #25, buffed the range of the interface by one block. 2013-08-04 15:12:59 +01:00
TheWhiteWolves 47f4ab43f5 Added how to use the soul mould to the research entry 2013-07-26 23:24:24 +01:00
TheWhiteWolves d84f4c5fda Fixed some derpy spelling mistakes I made, thanks AdamG3691 2013-07-26 19:51:17 +01:00
Vazkii 00800e8611 Hotfix on the interface, to actually work, That lazy backporting came back to bite me... 2013-07-26 18:34:42 +01:00
Vazkii 2cc006f911 And that's 1.0.8. 2013-07-26 17:27:18 +01:00
Vazkii ee68f7828d Fixed weather crystals not stacking properly... 2013-07-26 17:24:10 +01:00
Vazkii 971203650e Added the Cryogenic Globe. 2013-07-26 17:20:33 +01:00
Vazkii b6cf110de9 Added research and recipes to the connector and interface. 2013-07-26 16:06:18 +01:00
Vazkii 815f838cc1 Yeah, that was pretty idiotic. Fixed the interface destroying all chunks ever. 2013-07-26 15:22:05 +01:00
Vazkii 61b1dd17ab Add a check to the interface to negate the spawning of orphan chunks. 2013-07-26 15:05:39 +01:00
Vazkii 926444293d Polish to the connector. Fixed #9. And the cleanup script happened to change some buildcraft stuff. No big deal. 2013-07-26 14:14:15 +01:00
Vazkii b604fe65fa Might as well register the thing while I'm here... 2013-07-26 02:44:22 +01:00
Vazkii 3f4ec95e51 Added the Transvector Interface, had to add a part of the Buildcraft API for it. Also added the Cube World model loader, I needed it for the renderer. (Stil needs some polish!) 2013-07-26 02:41:36 +01:00
TheWhiteWolves 25a4df53e4 Allow Hyper-Energetic Nitor to shine in an area covered in snow 2013-07-22 11:17:53 +01:00
TheWhiteWolves 3cf59925bc Research for Adv Magnet and Soul Mould plus a texture for the Soul Mould 2013-07-14 14:43:35 +01:00
TheWhiteWolves 071b1aab03 Adv magnet functionality finished.
just need texture for soul mould and research/recipes etc.
2013-07-13 12:13:42 +01:00
TheWhiteWolves c94c33fdac Mostly working adv magnet
Still need soul mould texture and to fix some sync issues
2013-07-13 01:25:49 +01:00
TheWhiteWolves d881b73ec4 Working soul mould 2013-07-12 20:01:47 +01:00
TheWhiteWolves fa31630cfa Working in survival now, just need to sort creative 2013-07-12 19:27:00 +01:00
TheWhiteWolves c01202d355 third try, better but still broken 2013-07-12 19:03:07 +01:00
TheWhiteWolves 1f43d9cd50 Another try at the Soul Mould 2013-07-12 16:02:14 +01:00
TheWhiteWolves 00ddb35273 Commit current progress on Advanced Thaumostatic Magnatizer 2013-07-07 19:29:39 +01:00
Vazkii 8124669363 Hotfix for a server crash, hopefully... (I can't test server in my current setup, need to get that fixed sometime) 2013-07-04 00:58:16 +01:00
Vazkii 581c781319 Wrapping up the 1.0.7 update. 2013-07-03 20:02:44 +01:00
Vazkii 7b2829612d Wrapping up the loev potion. 2013-07-03 20:00:42 +01:00
Vazkii 2f6467230b Added the Love Potion item, still needs some tweaking... 2013-07-03 18:43:45 +01:00
Vazkii 34705d56b7 Fixed check in the TDT, should act better with tanks and things of the sort. Closes #11. 2013-07-03 16:05:45 +01:00
Vazkii 361732dbe4 Added research and recipe stuff for the bottle of rainwater and the weather crystals. 2013-07-03 14:51:11 +01:00
Vazkii 6b7fb79d45 Added a handler to get the rainwater bottles. 2013-07-03 14:22:56 +01:00
Vazkii 9a726225f1 Added Weather Crystals. 2013-07-03 13:46:59 +01:00
Vazkii b1be5335be Added Bottle of Rainwater (to be used as a resource later), removed debug features in the runes, and flagged those ase NYI, added 2 sprites for new items. 2013-07-03 13:22:32 +01:00
Vazkii b9ce0a5ed3 Wrapped up the Reaper's Scythe (added research and recipe, changed soul hp output to 2 rather than 1 and made the scythe be usable to block). 2013-07-03 00:47:40 +01:00
Vazkii 91524232aa Added the actual Scythe feature, for getting soul hearts. 2013-07-02 22:45:46 +01:00
Vazkii 9592829796 Added the ability of the Scythe. 2013-07-02 21:57:30 +01:00
Vazkii 383dfe0281 Added the Reaper Scythe item, it does nothing... yet. 2013-07-02 20:16:34 +01:00
Vazkii eb4b2cd448 Soul Heart HUD feature wraps up the mechanic. Now to put it to use ;D 2013-07-02 18:30:17 +01:00
Vazkii 1d0c7ce8b6 Derp... 2013-07-02 17:39:53 +01:00
Vazkii bef4a41c52 Some debug measures for the soul heart system. (Temporary) 2013-07-02 17:36:40 +01:00
Vazkii 59f8be7793 Added Soul Hearts GUI resouce. 2013-07-02 17:31:35 +01:00
Vazkii 82360f8759 Networked Soul Hearts. 2013-07-02 17:29:51 +01:00
Vazkii 514cac18fa Framework for the Soul Heart system. 2013-07-02 17:21:35 +01:00
Vazkii 4e01ec77ef Merge branch 'master' of https://github.com/Vazkii/ThaumicTinkerer 2013-06-30 00:38:45 +01:00
Vazkii f394e0ca2e New Rune item. 2013-06-30 00:37:04 +01:00
Vazkii ddbf9571a3 Merge pull request #14 from ZeroLevels/master 2013-06-29 06:04:14 -07:00
Zero 8620f42e6e Optimized Image Files, Saved 151.44 KB 2013-06-29 08:59:29 -04:00
Vazkii e760da1c5f Adding Magnet research and recipe. Wrapped up the 1.0.6 update. 2013-06-29 01:00:43 +01:00
Vazkii ed09496d49 Fixed the magnet not expeling items that are close to it. 2013-06-29 00:30:27 +01:00
Vazkii 78496cc716 Yay, the magnet is working. Now gotta add the research to it... 2013-06-28 23:45:13 +01:00
Vazkii 6a5ef9f95e More work on the magnet rendering... 2013-06-28 22:25:56 +01:00
Vazkii d2cf9aae89 Fixed the magnet model being derpy. 2013-06-28 21:25:05 +01:00
Vazkii 6056f4fbe7 Right click effect on the magnet, to change polarization. 2013-06-28 19:03:49 +01:00
Vazkii 0fac4e2dca Magnet tile render. 2013-06-28 18:50:18 +01:00
Vazkii cad5c288f8 Base block stuff for the magnet. 2013-06-28 18:20:37 +01:00
Vazkii cf2e5e2a29 Model and texture for the new "Thaumostatic Magnetizer" item. 2013-06-28 17:43:52 +01:00
Vazkii 5e102295f3 Added Hyperenergetic Nitor research and recipe. 2013-06-28 01:17:11 +01:00
Vazkii fd7bb2e082 Yay, logic derp. 2013-06-28 00:10:06 +01:00
Vazkii 4eae65551e Better checking on the block created by the Hyperenergetic Nitor, now it allows for 2013-06-27 23:42:39 +01:00
Vazkii e3667a3647 Work on the Hyperenergetic Nitor, now it actually does stuff. Seems to be working relatively well so far. 2013-06-27 23:01:40 +01:00
Vazkii e4f1d4945c Getting started with the new item, Hyperenergetic Nitor. 2013-06-27 18:23:46 +01:00
Vazkii 7666392f7b Wrapped the initializer for the Transmutator Research in a check for the config. Should make the feature to disable the transmutator actually disable it. 2013-06-27 16:30:00 +01:00
Vazkii 5c0f45a8d6 Removed the atempt of trying to fix the harness render bug. The aproach I was going to take did not suffice, sadly. 2013-06-27 16:27:39 +01:00
Vazkii 92d4605c8a Getting started trying to tackle a vanilla TC bug where the harness breaks all rendering. 2013-06-26 21:56:41 +01:00
Vazkii e0dcd6385b Undid all of the 1.1 neverbeen changes. To compensate, I created a new "1.1-Neverbeen" branch, where this code is still located. 2013-06-26 21:40:49 +01:00
Vazkii 6e1142d82d Fixed the Flux Condenser not reading from NBT. 2013-06-03 18:57:46 +01:00
Vazkii a0b029eed3 Some tweaks to the Void Aggregator render, and some particles for the same. Still doesn't do anything! 2013-06-02 23:54:08 +01:00
Vazkii c1c3cd063c Getting started in the renderer for the Shadow Aggregator with a simple vortex. 2013-06-02 21:53:56 +01:00
Vazkii 2638fd9b07 Shadow Aggregator tile entity, container and gui. Still doesn't do anything. 2013-06-02 21:34:53 +01:00
Vazkii a4d8535407 Added the Shadow Aggregator block, it doesn't do anything yet. 2013-06-02 20:18:54 +01:00
Vazkii 2204b303c7 Forgot the file that symbolizes an animation, derp... 2013-06-02 19:59:45 +01:00
Vazkii afd9dccb5a The Void Aggregator side texture is now animated. 2013-06-02 19:44:47 +01:00
Vazkii f27407de6a But before I get started on the void aggregator, made the flux collector drop it's items when broken! 2013-06-02 19:34:53 +01:00
Vazkii 35a2d0d1bf Resources for the Void Aggregator block. 2013-06-02 19:32:57 +01:00
Vazkii 64fc62bdf9 Sync the Flux Condenser cogwheel render with the ticks elapsed on the tile entity. 2013-06-02 19:01:55 +01:00
Vazkii f8cad6ab7a Fixed the Flux Condenser not using vis, at all. 2013-06-02 18:59:26 +01:00
Vazkii a24e36a1ee More work on the Flux Condenser renderer and GUI. 2013-06-02 18:54:23 +01:00
Vazkii 6816a371e4 Flux Condenser balancing... 2013-06-02 18:18:06 +01:00
Vazkii bed0b7dff0 Initial Flux Condenser effect, not final. GUI and Packets for the same. 2013-06-02 17:46:24 +01:00
Vazkii e05d9fcac3 Flux Condenser GUI, inventory, container, all of that. Still does nothing. 2013-06-02 16:30:17 +01:00
Vazkii 9d29a2b96f Flux Condenser Inventory Render. 2013-06-02 15:52:22 +01:00
Vazkii d8a70b151c Added the Flux Condenser block and renderer. Still need to add the inventory renderer... 2013-06-02 01:23:53 +01:00
Vazkii 73e4bb8213 Flux Collector GUI texture. 2013-06-01 23:02:46 +01:00
Vazkii 4c9f6f5e95 Model and textures for the Flux Collector. 2013-06-01 22:26:19 +01:00
Vazkii e339230748 Void Metal Armor, straight out of TC2. 2013-06-01 19:05:44 +01:00
Vazkii 6b3321d2a6 EnumRarity Void, for void items. 2013-06-01 18:34:56 +01:00
Vazkii 56221654f0 Initial item for the Void Crafting materials. 2013-06-01 18:26:49 +01:00
Vazkii 7bdf8998fa Some initial resources for the 1.1 update. 2013-06-01 17:52:25 +01:00
Vazkii 29a3578a68 Added mod thread to the README. 2013-06-01 17:19:32 +01:00
Vazkii 50c164891c Fixed The Tome of Sharing crashing the game when it was supposed to work... 2013-05-30 19:39:39 +01:00
Vazkii a4e9d78e2b And 1.0.5. 2013-05-29 21:28:10 +01:00
Vazkii 58ff3ffdee Added the Tome of Knowledge Sharing item. 2013-05-29 21:27:12 +01:00
Vazkii f1827e3a26 Added more checking for the TDT. Should fix #11. 2013-05-29 20:49:38 +01:00
Vazkii ec70c130d1 Actually fixed phantom stone breaking... 2013-05-29 20:49:06 +01:00
Vazkii e64103fc97 Fixed phantom blocks being unbreakable. 2013-05-29 19:47:58 +01:00
Vazkii 0960096bdb Proxied the particles for enchantments. Fixes #10. 2013-05-29 19:43:17 +01:00
TheWhiteWolves 97d9af8d3a Fixed typo in the Lost Enchantments research 2013-05-28 23:11:06 +01:00
TheWhiteWolves de3d9978cf Fixed Infernal Bracelet not recharging 2013-05-28 23:11:05 +01:00
Vazkii 2df312c46a Made the Phantom Block recipe work. Derp... 2013-05-28 21:24:38 +01:00
Vazkii 6320c7d926 And that about wraps up the 1.0.4 release I believe. 2013-05-27 22:46:37 +01:00
Vazkii c6265980a1 Moved and tweaked some things around. 2013-05-27 22:44:08 +01:00
Vazkii 2969d57f55 Added the recipes/researches for the enchants and phantom stone blocks, had to implement a dummy item for crafting to work. 2013-05-27 22:36:06 +01:00
Vazkii 34a78e77ce Mobs shouldn't spawn on phantom stone... 2013-05-27 19:41:11 +01:00
Vazkii e205562eee Meh, I don't need that. 2013-05-27 19:33:17 +01:00
Vazkii 0adca6c6cb Fixed the warded chest rendering in a container breaking subsequent block renders. 2013-05-27 19:29:30 +01:00
Vazkii a97f063d1f Phantom stone blocks now have glint when rendering in the inventory. 2013-05-27 19:21:01 +01:00
Vazkii 84e9abd491 Phantom stone is now working nicely. 2013-05-27 19:10:48 +01:00
Vazkii f6bfd2ff3b Initial draft for the Phantom Stone blocks, currently they don't work, they need more overrides :P 2013-05-27 13:06:48 +01:00
Vazkii 85c552133c That was a nice resource, but I don't need it. 2013-05-27 12:20:19 +01:00
Vazkii c116faae74 Once a mob gets possessed, it should stay for quite a fair bit, not 10 seconds... 2013-05-27 12:16:47 +01:00
Vazkii ec3765f7f0 Lost enchantments should no longer crash the game on enchanting... 2013-05-27 12:06:20 +01:00
Vazkii 840c8ab497 Implemented the Soulbringer enchantment. 2013-05-27 12:03:44 +01:00
Vazkii de0636e941 Yay, enchantment particles :D 2013-05-27 00:21:23 +01:00
Vazkii 774179d40e Added the possessed potion effect. Doesn't do anything yet, will be used for the Soulbringer enchant. 2013-05-26 23:35:12 +01:00
Vazkii 1424f6fbb4 Added config option for wand of dislocation pickup tiles. 2013-05-26 20:23:45 +01:00
Vazkii 86aeb86f91 Made the fume dissipator need to be researched, this should fix som issues... 2013-05-26 20:12:20 +01:00
Vazkii 7a005a1ae3 Implemented the Ashes enchant. 2013-05-26 19:54:25 +01:00
Vazkii 3aac6bc05f Vampirism now does stuff. 2013-05-25 23:56:01 +01:00
Vazkii 32e7a42406 Added SFX to freezing and made the warded chest doesn't budge sound a more appropriate one. 2013-05-25 23:42:41 +01:00
Vazkii 1b71aeb790 Sync and Withering? BORING! Changing enchantments around, bringing back some TC2 goodies :D 2013-05-25 23:39:30 +01:00
Vazkii e255521141 Copied over the Frozen potion effect from Elemental Tinkerer, working on implementing some of the enchantments. 2013-05-25 23:16:25 +01:00
Vazkii a9ef042830 Added the enchantments I want to make, they don't do anything yet. 2013-05-25 12:24:52 +01:00
Vazkii 5df0319081 Actually laid the foundations, that last commit didn't go so well... 2013-05-25 11:38:18 +01:00
Vazkii 09e35e1565 Laid some foundations for some new enchantments. 2013-05-25 11:37:11 +01:00
Vazkii df96ea26c5 Rewrote the Fluxometer render. Should work universally now, hopefully... 2013-05-25 00:49:42 +01:00
Vazkii 671c449743 Stopwatch now behaves on servers... 2013-05-24 23:58:47 +01:00
Vazkii 6737d04706 Ok, a proper code template is good. 2013-05-21 17:20:33 +01:00
813 changed files with 41836 additions and 8572 deletions

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
# This is the universal Text Editor Configuration
# for all GTNewHorizons projects
# See: https://editorconfig.org/
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{bat,ini}]
end_of_line = crlf
[*.{dtd,json,mcmeta,md,sh,svg,xml,xsd,xsl,yaml,yml}]
indent_size = 2
+2
View File
@@ -0,0 +1,2 @@
# Ignore spotlessApply reformat
481ec1cf3284555e0df0eb5cfcf5cd0b84461093
+44
View File
@@ -0,0 +1,44 @@
* text eol=lf
*.[jJ][aA][rR] binary
*.[pP][nN][gG] binary
*.[jJ][pP][gG] binary
*.[jJ][pP][eE][gG] binary
*.[gG][iI][fF] binary
*.[tT][iI][fF] binary
*.[tT][iI][fF][fF] binary
*.[iI][cC][oO] binary
*.[sS][vV][gG] text
*.[eE][pP][sS] binary
*.[xX][cC][fF] binary
*.[kK][aA][rR] binary
*.[mM]4[aA] binary
*.[mM][iI][dD] binary
*.[mM][iI][dD][iI] binary
*.[mM][pP]3 binary
*.[oO][gG][gG] binary
*.[rR][aA] binary
*.7[zZ] binary
*.[gG][zZ] binary
*.[tT][aA][rR] binary
*.[tT][gG][zZ] binary
*.[zZ][iI][pP] binary
*.[tT][cC][nN] binary
*.[sS][oO] binary
*.[dD][lL][lL] binary
*.[dD][yY][lL][iI][bB] binary
*.[pP][sS][dD] binary
*.[tT][tT][fF] binary
*.[oO][tT][fF] binary
*.[pP][aA][tT][cC][hH] -text
*.[bB][aA][tT] text eol=crlf
*.[cC][mM][dD] text eol=crlf
*.[pP][sS]1 text eol=crlf
*[aA][uU][tT][oO][gG][eE][nN][eE][rR][aA][tT][eE][dD]* binary
+33
View File
@@ -0,0 +1,33 @@
#!/usr/bin/env bash
RUNDIR="run"
CRASH="crash-reports"
SERVERLOG="server.log"
if [[ -d $RUNDIR/$CRASH ]]; then
echo "Crash reports detected:"
cat $RUNDIR/$CRASH/crash*.txt
exit 1
fi
if grep --quiet "Fatal errors were detected" $SERVERLOG; then
echo "Fatal errors detected:"
cat server.log
exit 1
fi
if grep --quiet "The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED" $SERVERLOG; then
echo "Server force stopped:"
cat server.log
exit 1
fi
if ! grep --quiet -Po '.+Done \(.+\)\! For help, type "help" or "\?"' $SERVERLOG; then
echo "Server didn't finish startup:"
cat server.log
exit 1
fi
echo "No crash reports detected"
exit 0
+13
View File
@@ -0,0 +1,13 @@
name: Build and test
on:
pull_request:
branches: [ master, main ]
push:
branches: [ master, main ]
jobs:
build-and-test:
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/build-and-test.yml@master
secrets: inherit
+17
View File
@@ -0,0 +1,17 @@
name: Optimize images
on:
pull_request:
branches: [ master, main, release/** ]
paths:
- "**/*.png"
push:
branches: [ master, main, release/** ]
paths:
- "**/*.png"
jobs:
optimize-images:
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/optimize-images.yml@master
secrets: inherit
+14
View File
@@ -0,0 +1,14 @@
name: Release tagged build
on:
push:
tags: [ '*' ]
permissions:
contents: write
jobs:
release-tags:
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/release-tags.yml@master
secrets: inherit
+28 -28
View File
@@ -1,33 +1,33 @@
# Eclipse stuff
.gradle
.settings
/.idea/
/.vscode/
/run/
/build/
/eclipse/
.classpath
.project
.settings/
# netbeans
nbproject
# maven
/*/target/
# gradle
.gradle/
# vim
.*.sw[a-p]
# various other potential build files
/*/build/
/buildassets/map_*.txt
/*/bin/
/*/dist/
/*/manifest.mf
/release
# Mac filesystem dust
.DS_Store
# intellij
/bin/
/config/
/crash-reports/
/logs/
options.txt
/saves/
usernamecache.json
banned-ips.json
banned-players.json
eula.txt
ops.json
server.properties
servers.dat
usercache.json
whitelist.json
/out/
*.iml
*.ipr
*.iws
.idea/
src/main/resources/mixins.*([!.]).json
*.bat
*.DS_Store
!gradlew.bat
layout.json
+3
View File
@@ -0,0 +1,3 @@
# Any Github changes require admin approval
/.github/** @GTNewHorizons/admin
-56
View File
@@ -1,56 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<profiles version="2">
<profile kind="CleanUpProfile" name="ThaumicTinkererCleanup" version="2">
<setting id="cleanup.remove_unused_private_fields" value="true"/>
<setting id="cleanup.always_use_parentheses_in_expressions" value="false"/>
<setting id="cleanup.never_use_blocks" value="false"/>
<setting id="cleanup.add_missing_deprecated_annotations" value="true"/>
<setting id="cleanup.remove_unused_private_methods" value="true"/>
<setting id="cleanup.convert_to_enhanced_for_loop" value="true"/>
<setting id="cleanup.remove_unnecessary_nls_tags" value="true"/>
<setting id="cleanup.sort_members" value="false"/>
<setting id="cleanup.remove_unused_local_variables" value="true"/>
<setting id="cleanup.remove_unused_private_members" value="true"/>
<setting id="cleanup.never_use_parentheses_in_expressions" value="true"/>
<setting id="cleanup.remove_unnecessary_casts" value="true"/>
<setting id="cleanup.make_parameters_final" value="false"/>
<setting id="cleanup.use_this_for_non_static_field_access" value="true"/>
<setting id="cleanup.use_blocks" value="false"/>
<setting id="cleanup.remove_private_constructors" value="true"/>
<setting id="cleanup.always_use_this_for_non_static_method_access" value="false"/>
<setting id="cleanup.remove_trailing_whitespaces_all" value="true"/>
<setting id="cleanup.always_use_this_for_non_static_field_access" value="false"/>
<setting id="cleanup.use_this_for_non_static_field_access_only_if_necessary" value="true"/>
<setting id="cleanup.add_default_serial_version_id" value="false"/>
<setting id="cleanup.make_type_abstract_if_missing_method" value="false"/>
<setting id="cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class" value="true"/>
<setting id="cleanup.make_variable_declarations_final" value="false"/>
<setting id="cleanup.add_missing_nls_tags" value="false"/>
<setting id="cleanup.format_source_code" value="false"/>
<setting id="cleanup.add_missing_override_annotations" value="true"/>
<setting id="cleanup.qualify_static_method_accesses_with_declaring_class" value="false"/>
<setting id="cleanup.remove_unused_private_types" value="true"/>
<setting id="cleanup.make_local_variable_final" value="true"/>
<setting id="cleanup.add_missing_methods" value="false"/>
<setting id="cleanup.add_missing_override_annotations_interface_methods" value="true"/>
<setting id="cleanup.correct_indentation" value="false"/>
<setting id="cleanup.remove_unused_imports" value="true"/>
<setting id="cleanup.remove_trailing_whitespaces_ignore_empty" value="false"/>
<setting id="cleanup.make_private_fields_final" value="true"/>
<setting id="cleanup.add_generated_serial_version_id" value="true"/>
<setting id="cleanup.organize_imports" value="true"/>
<setting id="cleanup.sort_members_all" value="false"/>
<setting id="cleanup.remove_trailing_whitespaces" value="true"/>
<setting id="cleanup.use_blocks_only_for_return_and_throw" value="false"/>
<setting id="cleanup.use_parentheses_in_expressions" value="true"/>
<setting id="cleanup.add_missing_annotations" value="true"/>
<setting id="cleanup.qualify_static_field_accesses_with_declaring_class" value="false"/>
<setting id="cleanup.use_this_for_non_static_method_access_only_if_necessary" value="true"/>
<setting id="cleanup.use_this_for_non_static_method_access" value="true"/>
<setting id="cleanup.qualify_static_member_accesses_through_instances_with_declaring_class" value="true"/>
<setting id="cleanup.add_serial_version_id" value="true"/>
<setting id="cleanup.always_use_blocks" value="true"/>
<setting id="cleanup.qualify_static_member_accesses_with_declaring_class" value="true"/>
<setting id="cleanup.format_source_code_changes_only" value="false"/>
</profile>
</profiles>
-14
View File
@@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="false" context="filecomment_context" deleted="false" description="Comment for created Java files" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.filecomment" name="filecomment">/**
* This class was created by &lt;Vazkii&gt;. It's distributed as
* part of the ${project_name} Mod.
*
* ${project_name} is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ${project_name} is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [${date}, ${time} (GMT)]
*/</template></templates>
+360
View File
@@ -0,0 +1,360 @@
Creative Commons Legal Code
Attribution-NonCommercial-ShareAlike 3.0 Unported
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
DAMAGES RESULTING FROM ITS USE.
License
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
CONDITIONS.
1. Definitions
a. "Adaptation" means a work based upon the Work, or upon the Work and
other pre-existing works, such as a translation, adaptation,
derivative work, arrangement of music or other alterations of a
literary or artistic work, or phonogram or performance and includes
cinematographic adaptations or any other form in which the Work may be
recast, transformed, or adapted including in any form recognizably
derived from the original, except that a work that constitutes a
Collection will not be considered an Adaptation for the purpose of
this License. For the avoidance of doubt, where the Work is a musical
work, performance or phonogram, the synchronization of the Work in
timed-relation with a moving image ("synching") will be considered an
Adaptation for the purpose of this License.
b. "Collection" means a collection of literary or artistic works, such as
encyclopedias and anthologies, or performances, phonograms or
broadcasts, or other works or subject matter other than works listed
in Section 1(g) below, which, by reason of the selection and
arrangement of their contents, constitute intellectual creations, in
which the Work is included in its entirety in unmodified form along
with one or more other contributions, each constituting separate and
independent works in themselves, which together are assembled into a
collective whole. A work that constitutes a Collection will not be
considered an Adaptation (as defined above) for the purposes of this
License.
c. "Distribute" means to make available to the public the original and
copies of the Work or Adaptation, as appropriate, through sale or
other transfer of ownership.
d. "License Elements" means the following high-level license attributes
as selected by Licensor and indicated in the title of this License:
Attribution, Noncommercial, ShareAlike.
e. "Licensor" means the individual, individuals, entity or entities that
offer(s) the Work under the terms of this License.
f. "Original Author" means, in the case of a literary or artistic work,
the individual, individuals, entity or entities who created the Work
or if no individual or entity can be identified, the publisher; and in
addition (i) in the case of a performance the actors, singers,
musicians, dancers, and other persons who act, sing, deliver, declaim,
play in, interpret or otherwise perform literary or artistic works or
expressions of folklore; (ii) in the case of a phonogram the producer
being the person or legal entity who first fixes the sounds of a
performance or other sounds; and, (iii) in the case of broadcasts, the
organization that transmits the broadcast.
g. "Work" means the literary and/or artistic work offered under the terms
of this License including without limitation any production in the
literary, scientific and artistic domain, whatever may be the mode or
form of its expression including digital form, such as a book,
pamphlet and other writing; a lecture, address, sermon or other work
of the same nature; a dramatic or dramatico-musical work; a
choreographic work or entertainment in dumb show; a musical
composition with or without words; a cinematographic work to which are
assimilated works expressed by a process analogous to cinematography;
a work of drawing, painting, architecture, sculpture, engraving or
lithography; a photographic work to which are assimilated works
expressed by a process analogous to photography; a work of applied
art; an illustration, map, plan, sketch or three-dimensional work
relative to geography, topography, architecture or science; a
performance; a broadcast; a phonogram; a compilation of data to the
extent it is protected as a copyrightable work; or a work performed by
a variety or circus performer to the extent it is not otherwise
considered a literary or artistic work.
h. "You" means an individual or entity exercising rights under this
License who has not previously violated the terms of this License with
respect to the Work, or who has received express permission from the
Licensor to exercise rights under this License despite a previous
violation.
i. "Publicly Perform" means to perform public recitations of the Work and
to communicate to the public those public recitations, by any means or
process, including by wire or wireless means or public digital
performances; to make available to the public Works in such a way that
members of the public may access these Works from a place and at a
place individually chosen by them; to perform the Work to the public
by any means or process and the communication to the public of the
performances of the Work, including by public digital performance; to
broadcast and rebroadcast the Work by any means including signs,
sounds or images.
j. "Reproduce" means to make copies of the Work by any means including
without limitation by sound or visual recordings and the right of
fixation and reproducing fixations of the Work, including storage of a
protected performance or phonogram in digital form or other electronic
medium.
2. Fair Dealing Rights. Nothing in this License is intended to reduce,
limit, or restrict any uses free from copyright or rights arising from
limitations or exceptions that are provided for in connection with the
copyright protection under copyright law or other applicable laws.
3. License Grant. Subject to the terms and conditions of this License,
Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
perpetual (for the duration of the applicable copyright) license to
exercise the rights in the Work as stated below:
a. to Reproduce the Work, to incorporate the Work into one or more
Collections, and to Reproduce the Work as incorporated in the
Collections;
b. to create and Reproduce Adaptations provided that any such Adaptation,
including any translation in any medium, takes reasonable steps to
clearly label, demarcate or otherwise identify that changes were made
to the original Work. For example, a translation could be marked "The
original work was translated from English to Spanish," or a
modification could indicate "The original work has been modified.";
c. to Distribute and Publicly Perform the Work including as incorporated
in Collections; and,
d. to Distribute and Publicly Perform Adaptations.
The above rights may be exercised in all media and formats whether now
known or hereafter devised. The above rights include the right to make
such modifications as are technically necessary to exercise the rights in
other media and formats. Subject to Section 8(f), all rights not expressly
granted by Licensor are hereby reserved, including but not limited to the
rights described in Section 4(e).
4. Restrictions. The license granted in Section 3 above is expressly made
subject to and limited by the following restrictions:
a. You may Distribute or Publicly Perform the Work only under the terms
of this License. You must include a copy of, or the Uniform Resource
Identifier (URI) for, this License with every copy of the Work You
Distribute or Publicly Perform. You may not offer or impose any terms
on the Work that restrict the terms of this License or the ability of
the recipient of the Work to exercise the rights granted to that
recipient under the terms of the License. You may not sublicense the
Work. You must keep intact all notices that refer to this License and
to the disclaimer of warranties with every copy of the Work You
Distribute or Publicly Perform. When You Distribute or Publicly
Perform the Work, You may not impose any effective technological
measures on the Work that restrict the ability of a recipient of the
Work from You to exercise the rights granted to that recipient under
the terms of the License. This Section 4(a) applies to the Work as
incorporated in a Collection, but this does not require the Collection
apart from the Work itself to be made subject to the terms of this
License. If You create a Collection, upon notice from any Licensor You
must, to the extent practicable, remove from the Collection any credit
as required by Section 4(d), as requested. If You create an
Adaptation, upon notice from any Licensor You must, to the extent
practicable, remove from the Adaptation any credit as required by
Section 4(d), as requested.
b. You may Distribute or Publicly Perform an Adaptation only under: (i)
the terms of this License; (ii) a later version of this License with
the same License Elements as this License; (iii) a Creative Commons
jurisdiction license (either this or a later license version) that
contains the same License Elements as this License (e.g.,
Attribution-NonCommercial-ShareAlike 3.0 US) ("Applicable License").
You must include a copy of, or the URI, for Applicable License with
every copy of each Adaptation You Distribute or Publicly Perform. You
may not offer or impose any terms on the Adaptation that restrict the
terms of the Applicable License or the ability of the recipient of the
Adaptation to exercise the rights granted to that recipient under the
terms of the Applicable License. You must keep intact all notices that
refer to the Applicable License and to the disclaimer of warranties
with every copy of the Work as included in the Adaptation You
Distribute or Publicly Perform. When You Distribute or Publicly
Perform the Adaptation, You may not impose any effective technological
measures on the Adaptation that restrict the ability of a recipient of
the Adaptation from You to exercise the rights granted to that
recipient under the terms of the Applicable License. This Section 4(b)
applies to the Adaptation as incorporated in a Collection, but this
does not require the Collection apart from the Adaptation itself to be
made subject to the terms of the Applicable License.
c. You may not exercise any of the rights granted to You in Section 3
above in any manner that is primarily intended for or directed toward
commercial advantage or private monetary compensation. The exchange of
the Work for other copyrighted works by means of digital file-sharing
or otherwise shall not be considered to be intended for or directed
toward commercial advantage or private monetary compensation, provided
there is no payment of any monetary compensation in con-nection with
the exchange of copyrighted works.
d. If You Distribute, or Publicly Perform the Work or any Adaptations or
Collections, You must, unless a request has been made pursuant to
Section 4(a), keep intact all copyright notices for the Work and
provide, reasonable to the medium or means You are utilizing: (i) the
name of the Original Author (or pseudonym, if applicable) if supplied,
and/or if the Original Author and/or Licensor designate another party
or parties (e.g., a sponsor institute, publishing entity, journal) for
attribution ("Attribution Parties") in Licensor's copyright notice,
terms of service or by other reasonable means, the name of such party
or parties; (ii) the title of the Work if supplied; (iii) to the
extent reasonably practicable, the URI, if any, that Licensor
specifies to be associated with the Work, unless such URI does not
refer to the copyright notice or licensing information for the Work;
and, (iv) consistent with Section 3(b), in the case of an Adaptation,
a credit identifying the use of the Work in the Adaptation (e.g.,
"French translation of the Work by Original Author," or "Screenplay
based on original Work by Original Author"). The credit required by
this Section 4(d) may be implemented in any reasonable manner;
provided, however, that in the case of a Adaptation or Collection, at
a minimum such credit will appear, if a credit for all contributing
authors of the Adaptation or Collection appears, then as part of these
credits and in a manner at least as prominent as the credits for the
other contributing authors. For the avoidance of doubt, You may only
use the credit required by this Section for the purpose of attribution
in the manner set out above and, by exercising Your rights under this
License, You may not implicitly or explicitly assert or imply any
connection with, sponsorship or endorsement by the Original Author,
Licensor and/or Attribution Parties, as appropriate, of You or Your
use of the Work, without the separate, express prior written
permission of the Original Author, Licensor and/or Attribution
Parties.
e. For the avoidance of doubt:
i. Non-waivable Compulsory License Schemes. In those jurisdictions in
which the right to collect royalties through any statutory or
compulsory licensing scheme cannot be waived, the Licensor
reserves the exclusive right to collect such royalties for any
exercise by You of the rights granted under this License;
ii. Waivable Compulsory License Schemes. In those jurisdictions in
which the right to collect royalties through any statutory or
compulsory licensing scheme can be waived, the Licensor reserves
the exclusive right to collect such royalties for any exercise by
You of the rights granted under this License if Your exercise of
such rights is for a purpose or use which is otherwise than
noncommercial as permitted under Section 4(c) and otherwise waives
the right to collect royalties through any statutory or compulsory
licensing scheme; and,
iii. Voluntary License Schemes. The Licensor reserves the right to
collect royalties, whether individually or, in the event that the
Licensor is a member of a collecting society that administers
voluntary licensing schemes, via that society, from any exercise
by You of the rights granted under this License that is for a
purpose or use which is otherwise than noncommercial as permitted
under Section 4(c).
f. Except as otherwise agreed in writing by the Licensor or as may be
otherwise permitted by applicable law, if You Reproduce, Distribute or
Publicly Perform the Work either by itself or as part of any
Adaptations or Collections, You must not distort, mutilate, modify or
take other derogatory action in relation to the Work which would be
prejudicial to the Original Author's honor or reputation. Licensor
agrees that in those jurisdictions (e.g. Japan), in which any exercise
of the right granted in Section 3(b) of this License (the right to
make Adaptations) would be deemed to be a distortion, mutilation,
modification or other derogatory action prejudicial to the Original
Author's honor and reputation, the Licensor will waive or not assert,
as appropriate, this Section, to the fullest extent permitted by the
applicable national law, to enable You to reasonably exercise Your
right under Section 3(b) of this License (right to make Adaptations)
but not otherwise.
5. Representations, Warranties and Disclaimer
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING AND TO THE
FULLEST EXTENT PERMITTED BY APPLICABLE LAW, LICENSOR OFFERS THE WORK AS-IS
AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE
WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT
LIMITATION, WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT
DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED
WARRANTIES, SO THIS EXCLUSION MAY NOT APPLY TO YOU.
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR
ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. Termination
a. This License and the rights granted hereunder will terminate
automatically upon any breach by You of the terms of this License.
Individuals or entities who have received Adaptations or Collections
from You under this License, however, will not have their licenses
terminated provided such individuals or entities remain in full
compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
survive any termination of this License.
b. Subject to the above terms and conditions, the license granted here is
perpetual (for the duration of the applicable copyright in the Work).
Notwithstanding the above, Licensor reserves the right to release the
Work under different license terms or to stop distributing the Work at
any time; provided, however that any such election will not serve to
withdraw this License (or any other license that has been, or is
required to be, granted under the terms of this License), and this
License will continue in full force and effect unless terminated as
stated above.
8. Miscellaneous
a. Each time You Distribute or Publicly Perform the Work or a Collection,
the Licensor offers to the recipient a license to the Work on the same
terms and conditions as the license granted to You under this License.
b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
offers to the recipient a license to the original Work on the same
terms and conditions as the license granted to You under this License.
c. If any provision of this License is invalid or unenforceable under
applicable law, it shall not affect the validity or enforceability of
the remainder of the terms of this License, and without further action
by the parties to this agreement, such provision shall be reformed to
the minimum extent necessary to make such provision valid and
enforceable.
d. No term or provision of this License shall be deemed waived and no
breach consented to unless such waiver or consent shall be in writing
and signed by the party to be charged with such waiver or consent.
e. This License constitutes the entire agreement between the parties with
respect to the Work licensed here. There are no understandings,
agreements or representations with respect to the Work not specified
here. Licensor shall not be bound by any additional provisions that
may appear in any communication from You. This License may not be
modified without the mutual written agreement of the Licensor and You.
f. The rights granted under, and the subject matter referenced, in this
License were drafted utilizing the terminology of the Berne Convention
for the Protection of Literary and Artistic Works (as amended on
September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
and the Universal Copyright Convention (as revised on July 24, 1971).
These rights and subject matter take effect in the relevant
jurisdiction in which the License terms are sought to be enforced
according to the corresponding provisions of the implementation of
those treaty provisions in the applicable national law. If the
standard suite of rights granted under applicable copyright law
includes additional rights not granted under this License, such
additional rights are deemed to be included in the License; this
License is not intended to restrict the license of any rights under
applicable law.
Creative Commons Notice
Creative Commons is not a party to this License, and makes no warranty
whatsoever in connection with the Work. Creative Commons will not be
liable to You or any party on any legal theory for any damages
whatsoever, including without limitation any general, special,
incidental or consequential damages arising in connection to this
license. Notwithstanding the foregoing two (2) sentences, if Creative
Commons has expressly identified itself as the Licensor hereunder, it
shall have all rights and obligations of Licensor.
Except for the limited purpose of indicating to the public that the
Work is licensed under the CCPL, Creative Commons does not authorize
the use by either party of the trademark "Creative Commons" or any
related trademark or logo of Creative Commons without the prior
written consent of Creative Commons. Any permitted use will be in
compliance with Creative Commons' then-current trademark usage
guidelines, as may be published on its website or otherwise made
available upon request from time to time. For the avoidance of doubt,
this trademark restriction does not form part of this License.
Creative Commons may be contacted at https://creativecommons.org/.
-17
View File
@@ -1,17 +0,0 @@
[
{
"modid": "ThaumicTinkerer",
"name": "Thaumic Tinkerer",
"description": "An addon to Thaumcraft 3, implementing new content. This mod is a spiritual successor to Elemental Tinkerer. Compiled for Thaumcraft 3.0.5.",
"version": "1.0.3",
"mcversion": "1.5+",
"logoFile": "/mods/ThaumicTinkerer/logo.png",
"url": "minecraftforum.net/topic/1813058-",
"updateUrl": "",
"authors": ["Vazkii"],
"credits": "azanor for creating Thaumcraft. TheAtlanticCraft, MartysGames, TheWhiteWolves.",
"parent": "",
"screenshots": [],
"dependencies": ["Thaumcraft"]
}
]
-102
View File
@@ -1,102 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [24 Apr 2013, 19:28:32 (GMT)]
*/
package vazkii.tinkerer;
import net.minecraftforge.common.MinecraftForge;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.common.CommonProxy;
import thaumcraft.common.Thaumcraft;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.core.proxy.TTCommonProxy;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.lib.LibMisc;
import vazkii.tinkerer.lib.LibNetwork;
import vazkii.tinkerer.lib.LibResources;
import vazkii.tinkerer.network.PacketManager;
import vazkii.tinkerer.network.PlayerTracker;
import vazkii.tinkerer.potion.ModPotions;
import vazkii.tinkerer.research.ModArcaneRecipes;
import vazkii.tinkerer.research.ModCraftingRecipes;
import vazkii.tinkerer.research.ModInfusionRecipes;
import vazkii.tinkerer.research.ModResearchItems;
import vazkii.tinkerer.util.handler.ConfigurationHandler;
import vazkii.tinkerer.util.handler.EntityInteractionHandler;
import vazkii.tinkerer.util.handler.GuiHandler;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
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.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
@Mod(modid = LibMisc.MOD_ID, name = LibMisc.MOD_NAME, version = LibMisc.MOD_VERSION, dependencies = LibMisc.DEPENDENCIES)
@NetworkMod(channels = { LibNetwork.PACKET_CHANNEL }, clientSideRequired = true, packetHandler = PacketManager.class)
public class ThaumicTinkerer {
@Instance(LibMisc.MOD_ID)
public static ThaumicTinkerer modInstance;
@SidedProxy(clientSide = LibMisc.CLIENT_PROXY, serverSide = LibMisc.COMMON_PROXY)
public static TTCommonProxy proxy;
public static CommonProxy tcProxy;
@PreInit
public void onPreInit(FMLPreInitializationEvent event) {
modInstance = this;
tcProxy = Thaumcraft.proxy;
ConfigurationHandler.loadConfig(event.getSuggestedConfigurationFile());
proxy.initPackets();
ThaumcraftApi.registerResearchXML(LibResources.RESEARCH_XML);
}
@Init
public void onInit(FMLInitializationEvent event) {
ModBlocks.initBlocks();
ModItems.initItems();
ModPotions.initPotions();
proxy.initEntities();
proxy.initTileEntities();
proxy.initRenders();
MinecraftForge.EVENT_BUS.register(new EntityInteractionHandler());
GameRegistry.registerPlayerTracker(new PlayerTracker());
NetworkRegistry.instance().registerGuiHandler(modInstance, new GuiHandler());
proxy.initTickHandlers();
}
@PostInit
public void onPostInit(FMLPostInitializationEvent event) {
ModCraftingRecipes.initCraftingRecipes();
ModResearchItems.registerModResearchItems();
ModInfusionRecipes.initInfusionRecipes();
ModArcaneRecipes.initArcaneRecipes();
ModItems.applyObjectTags();
ModBlocks.applyObjectTags();
}
}
@@ -1,203 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [13 May 2013, 14:44:11 (GMT)]
*/
package vazkii.tinkerer.block;
import java.util.Random;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.EntityLiving;
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.tileentity.TileEntity;
import net.minecraft.util.ChunkCoordinates;
import net.minecraft.util.Icon;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import net.minecraftforge.common.ForgeDirection;
import thaumcraft.common.items.wands.ItemWandCasting;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.lib.LibGuiIDs;
import vazkii.tinkerer.tile.TileEntityAnimationTablet;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class BlockAnimationTablet extends BlockModContainer {
Icon iconBottom;
Icon iconTop;
Icon iconSides;
Random random;
public BlockAnimationTablet(int par1) {
super(par1, Material.iron);
setBlockBounds(0F, 0F, 0F, 1F, 1F / 16F * 2F, 1F);
setHardness(3F);
setResistance(50F);
setStepSound(soundMetalFootstep);
random = new Random();
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
iconBottom = IconHelper.forBlock(par1IconRegister, this, 0);
iconTop = IconHelper.forBlock(par1IconRegister, this, 1);
iconSides = IconHelper.forBlock(par1IconRegister, this, 2);
}
@Override
public void onBlockPlacedBy(World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving, ItemStack par6ItemStack) {
byte b0 = 0;
int l1 = MathHelper.floor_double(par5EntityLiving.rotationYaw * 4.0F / 360.0F + 0.5D) & 3;
if (l1 == 0)
b0 = 2;
if (l1 == 1)
b0 = 5;
if (l1 == 2)
b0 = 3;
if (l1 == 3)
b0 = 4;
par1World.setBlockMetadataWithNotify(par2, par3, par4, b0, 2);
}
@Override
public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6) {
TileEntityAnimationTablet tablet = (TileEntityAnimationTablet) par1World.getBlockTileEntity(par2, par3, par4);
if (tablet != null) {
if(tablet.getIsBreaking()) {
ChunkCoordinates coords = tablet.getTargetLoc();
par1World.destroyBlockInWorldPartially(tablet.getFakePlayer().entityId, coords.posX, coords.posY, coords.posZ, -1);
}
for (int j1 = 0; j1 < tablet.getSizeInventory(); ++j1) {
ItemStack itemstack = tablet.getStackInSlot(j1);
if (itemstack != null) {
float f = random.nextFloat() * 0.8F + 0.1F;
float f1 = random.nextFloat() * 0.8F + 0.1F;
EntityItem entityitem;
for (float f2 = random.nextFloat() * 0.8F + 0.1F; itemstack.stackSize > 0; par1World.spawnEntityInWorld(entityitem)) {
int k1 = random.nextInt(21) + 10;
if (k1 > itemstack.stackSize)
k1 = itemstack.stackSize;
itemstack.stackSize -= k1;
entityitem = new EntityItem(par1World, par2 + f, par3 + f1, par4 + f2, new ItemStack(itemstack.itemID, k1, itemstack.getItemDamage()));
float f3 = 0.05F;
entityitem.motionX = (float)random.nextGaussian() * f3;
entityitem.motionY = (float)random.nextGaussian() * f3 + 0.2F;
entityitem.motionZ = (float)random.nextGaussian() * f3;
if (itemstack.hasTagCompound())
entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy());
}
}
}
par1World.func_96440_m(par2, par3, par4, par5);
}
super.breakBlock(par1World, par2, par3, par4, par5, par6);
}
@Override
public void onNeighborBlockChange(World par1World, int par2, int par3, int par4, int par5) {
boolean power = par1World.isBlockIndirectlyGettingPowered(par2, par3, par4) || par1World.isBlockIndirectlyGettingPowered(par2, par3 + 1, par4);
int meta = par1World.getBlockMetadata(par2, par3, par4);
boolean on = (meta & 8) != 0;
if (power && !on) {
par1World.scheduleBlockUpdate(par2, par3, par4, blockID, tickRate(par1World));
par1World.setBlockMetadataWithNotify(par2, par3, par4, meta | 8, 4);
} else if (!power && on)
par1World.setBlockMetadataWithNotify(par2, par3, par4, meta & 7, 4);
}
@Override
public int tickRate(World par1World) {
return 1;
}
@Override
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random) {
TileEntity tile = par1World.getBlockTileEntity(par2, par3, par4);
if(tile != null && tile instanceof TileEntityAnimationTablet) {
TileEntityAnimationTablet tablet = (TileEntityAnimationTablet) tile;
if(tablet.redstone && tablet.swingProgress == 0) {
tablet.findEntities(tablet.getTargetLoc());
tablet.initiateSwing();
par1World.addBlockEvent(par2, par3, par4, ModBlocks.animationTablet.blockID, 0, 0);
}
}
}
@Override
public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) {
if(!par1World.isRemote) {
TileEntity tile = par1World.getBlockTileEntity(par2, par3, par4);
if(tile != null) {
TileEntityAnimationTablet tablet = (TileEntityAnimationTablet) tile;
if(par5EntityPlayer.getCurrentEquippedItem() != null && par5EntityPlayer.getCurrentEquippedItem().getItem() instanceof ItemWandCasting) {
int meta = par1World.getBlockMetadata(par2, par3, par4);
boolean activated = (meta & 8) != 0;
if(!activated && !tablet.getIsBreaking() && tablet.swingProgress == 0) {
par1World.setBlockMetadataWithNotify(par2, par3, par4, meta == 5 ? + 2 : meta + 1, 1 | 2);
par1World.playSoundEffect(par2, par3, par4, "thaumcraft.tool", 0.6F, 1F);
} else par5EntityPlayer.addChatMessage("You can not rotate the Tablet while it's activated.");
// Rare chance this might happen, but better to cope for it.
return true;
} else par5EntityPlayer.openGui(ThaumicTinkerer.modInstance, LibGuiIDs.ID_ANIMATION_TABLET, par1World, par2, par3, par4);
}
}
return true;
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIcon(int par1, int par2) {
return par1 == ForgeDirection.UP.ordinal() ? iconTop : par1 == ForgeDirection.DOWN.ordinal() ? iconBottom : iconSides;
}
@Override
public boolean renderAsNormalBlock() {
return false;
}
@Override
public boolean isOpaqueCube() {
return false;
}
@Override
public TileEntity createNewTileEntity(World world) {
return new TileEntityAnimationTablet();
}
}
@@ -1,42 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [19 May 2013, 16:17:59 (GMT)]
*/
package vazkii.tinkerer.block;
import java.util.Random;
import net.minecraft.world.World;
import vazkii.tinkerer.ThaumicTinkerer;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class BlockDarkGas extends BlockGas {
public BlockDarkGas(int par1) {
super(par1);
setLightOpacity(215);
}
@Override
@SideOnly(Side.CLIENT)
public void randomDisplayTick(World par1World, int par2, int par3, int par4, Random par5Random) {
if(par5Random.nextFloat() < 0.0075F)
ThaumicTinkerer.tcProxy.wispFX2(par1World, par2 + 0.5, par3 + 0.5, par4 + 0.5, 0.125F, 5, true, -0.02F);
}
@Override
public void placeParticle(World world, int par2, int par3, int par4) {
ThaumicTinkerer.tcProxy.wispFX2(world, par2 + 0.5, par3 + 0.5, par4 + 0.5, 0.125F, 5, true, -0.02F);
}
}
@@ -1,121 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [7 May 2013, 17:04:43 (GMT)]
*/
package vazkii.tinkerer.block;
import java.util.List;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import net.minecraft.world.World;
import vazkii.tinkerer.client.util.helper.IconHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class BlockDarkQuartz extends BlockMod {
private static final String[] iconNames = new String[] {"darkQuartz0", "chiseledDarkQuartz0", "pillarDarkQuartz0", null, null};
private Icon[] darkQuartzIcons;
private Icon chiseledDarkQuartzIcon;
private Icon pillarDarkQuartzIcon;
private Icon darkQuartzTopIcon;
public BlockDarkQuartz(int par1) {
super(par1, Material.rock);
setHardness(0.8F);
setResistance(10F);
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIcon(int par1, int par2) {
if (par2 != 2 && par2 != 3 && par2 != 4) {
if (par1 != 1 && (par1 != 0 || par2 != 1)) {
if (par1 == 0)
return darkQuartzTopIcon;
else {
if (par2 < 0 || par2 >= darkQuartzIcons.length)
par2 = 0;
return darkQuartzIcons[par2];
}
}
else return par2 == 1 ? chiseledDarkQuartzIcon : darkQuartzTopIcon;
}
else return par2 == 2 && (par1 == 1 || par1 == 0) ? pillarDarkQuartzIcon : par2 == 3 && (par1 == 5 || par1 == 4) ? pillarDarkQuartzIcon : par2 == 4 && (par1 == 2 || par1 == 3) ? pillarDarkQuartzIcon : darkQuartzIcons[par2];
}
@Override
public int onBlockPlaced(World par1World, int par2, int par3, int par4, int par5, float par6, float par7, float par8, int par9) {
if (par9 == 2) {
switch (par5) {
case 0:
case 1:
par9 = 2;
break;
case 2:
case 3:
par9 = 4;
break;
case 4:
case 5:
par9 = 3;
}
}
return par9;
}
@Override
public int damageDropped(int par1) {
return par1 != 3 && par1 != 4 ? par1 : 2;
}
@Override
protected ItemStack createStackedBlock(int par1) {
return par1 != 3 && par1 != 4 ? super.createStackedBlock(par1) : new ItemStack(blockID, 1, 2);
}
@Override
public int getRenderType() {
return 39;
}
@Override
@SideOnly(Side.CLIENT)
public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List) {
par3List.add(new ItemStack(par1, 1, 0));
par3List.add(new ItemStack(par1, 1, 1));
par3List.add(new ItemStack(par1, 1, 2));
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
darkQuartzIcons = new Icon[iconNames.length];
for (int i = 0; i < darkQuartzIcons.length; ++i) {
if (iconNames[i] == null)
darkQuartzIcons[i] = darkQuartzIcons[i - 1];
else darkQuartzIcons[i] = IconHelper.forName(par1IconRegister, iconNames[i]);
}
darkQuartzTopIcon = IconHelper.forName(par1IconRegister, "darkQuartz1");
chiseledDarkQuartzIcon = IconHelper.forName(par1IconRegister, "chiseledDarkQuartz1");
pillarDarkQuartzIcon = IconHelper.forName(par1IconRegister, "pillarDarkQuartz1");
}
}
@@ -1,73 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [7 May 2013, 17:06:00 (GMT)]
*/
package vazkii.tinkerer.block;
import java.util.Random;
import net.minecraft.block.BlockHalfSlab;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import net.minecraft.world.World;
import vazkii.tinkerer.lib.LibBlockNames;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class BlockDarkQuartzSlab extends BlockHalfSlab {
public BlockDarkQuartzSlab(int par1, boolean par2) {
super(par1, par2, Material.rock);
setHardness(0.8F);
setResistance(10F);
if(!par2) {
setCreativeTab(ModCreativeTab.INSTANCE);
setLightOpacity(0);
}
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIcon(int par1, int par2) {
return ModBlocks.darkQuartz.getBlockTextureFromSide(par1);
}
@Override
public int idDropped(int par1, Random par2Random, int par3) {
return ModBlocks.darkQuartzSlab.blockID;
}
@Override
@SideOnly(Side.CLIENT)
public int idPicked(World par1World, int par2, int par3, int par4) {
return blockID;
}
@Override
protected ItemStack createStackedBlock(int par1) {
return new ItemStack(ModBlocks.darkQuartzSlab);
}
@Override
public String getFullSlabName(int i) {
return LibBlockNames.DARK_QUARTZ_SLAB;
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
// NO-OP
}
}
@@ -1,33 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [7 May 2013, 17:07:48 (GMT)]
*/
package vazkii.tinkerer.block;
import net.minecraft.block.BlockStairs;
import vazkii.tinkerer.util.helper.ModCreativeTab;
/**
* BlockETStairs
*
* Elemental Tinkerer Implementation of BlockStairs.
*
* @author Vazkii
*/
public class BlockDarkQuartzStairs extends BlockStairs {
protected BlockDarkQuartzStairs(int par1) {
super(par1, ModBlocks.darkQuartz, 0);
setCreativeTab(ModCreativeTab.INSTANCE);
}
}
-130
View File
@@ -1,130 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 11:57:15 (GMT)]
*/
package vazkii.tinkerer.block;
import java.util.ArrayList;
import java.util.Random;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.item.ItemStack;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.Explosion;
import net.minecraft.world.World;
import vazkii.tinkerer.client.util.helper.IconHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public abstract class BlockGas extends BlockMod {
public BlockGas(int par1) {
super(par1, Material.air);
setBlockBounds(0, 0, 0, 0, 0, 0);
setTickRandomly(true);
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
blockIcon = IconHelper.emptyTexture(par1IconRegister);
}
@Override
public int getRenderType() {
return -1;
}
@Override
public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random) {
int meta = par1World.getBlockMetadata(par2, par3, par4);
if(meta != 0) {
setAt(par1World, par2 - 1, par3, par4, meta - 1);
setAt(par1World, par2 + 1, par3, par4, meta - 1);
setAt(par1World, par2, par3 - 1, par4, meta - 1);
setAt(par1World, par2, par3 + 1, par4, meta - 1);
setAt(par1World, par2, par3, par4 - 1, meta - 1);
setAt(par1World, par2, par3, par4 + 1, meta - 1);
// Just in case...
par1World.setBlockMetadataWithNotify(par2, par3, par4, 0, 2);
placeParticle(par1World, par2, par3, par4);
}
}
public void placeParticle(World world, int par2, int par3, int par4) {
// NO-OP, override
}
private void setAt(World world, int x, int y, int z, int meta) {
if(world.isAirBlock(x, y, z) && world.getBlockId(x, y, z) != blockID) {
if(!world.isRemote)
world.setBlock(x, y, z, blockID, meta, 2);
world.scheduleBlockUpdate(x, y, z, blockID, 10);
}
}
@Override
public boolean isBlockNormalCube(World world, int x, int y, int z) {
return false;
}
@Override
public boolean isOpaqueCube() {
return false;
}
@Override
boolean registerInCreative() {
return false;
}
@Override
public boolean canDragonDestroy(World world, int x, int y, int z) {
return false;
}
@Override
public boolean canCollideCheck(int par1, boolean par2) {
return false;
}
@Override
public boolean canBeReplacedByLeaves(World world, int x, int y, int z) {
return true;
}
@Override
public boolean canDropFromExplosion(Explosion par1Explosion) {
return false;
}
@Override
public ArrayList<ItemStack> getBlockDropped(World world, int x, int y, int z, int metadata, int fortune) {
return new ArrayList(); // Empty List
}
@Override
public AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World, int par2, int par3, int par4) {
return null;
}
@Override
public boolean isAirBlock(World world, int x, int y, int z) {
return true;
}
}
@@ -1,42 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [19 May 2013, 16:10:50 (GMT)]
*/
package vazkii.tinkerer.block;
import java.util.Random;
import net.minecraft.world.World;
import vazkii.tinkerer.ThaumicTinkerer;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class BlockGlowstoneGas extends BlockGas {
public BlockGlowstoneGas(int par1) {
super(par1);
setLightValue(0.85F);
}
@Override
@SideOnly(Side.CLIENT)
public void randomDisplayTick(World par1World, int par2, int par3, int par4, Random par5Random) {
if(par5Random.nextFloat() < 0.0075F)
ThaumicTinkerer.tcProxy.sparkle(par2 + 0.5F, par3 + 0.5F, par4 + 0.5F, 1F, 1, par5Random.nextFloat() / 2);
}
@Override
public void placeParticle(World world, int par2, int par3, int par4) {
ThaumicTinkerer.tcProxy.sparkle(par2 + 0.5F, par3 + 0.5F, par4 + 0.5F, 1);
}
}
@@ -1,44 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 11:50:58 (GMT)]
*/
package vazkii.tinkerer.block;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class BlockMod extends Block {
public BlockMod(int par1, Material par2Material) {
super(par1, par2Material);
if(registerInCreative())
setCreativeTab(ModCreativeTab.INSTANCE);
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
blockIcon = IconHelper.forBlock(par1IconRegister, this);
}
/** Does the block register in the creative inv? **/
boolean registerInCreative() {
return true;
}
}
@@ -1,44 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 17:32:41 (GMT)]
*/
package vazkii.tinkerer.block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public abstract class BlockModContainer extends BlockContainer {
protected BlockModContainer(int par1, Material par2Material) {
super(par1, par2Material);
if(registerInCreative())
setCreativeTab(ModCreativeTab.INSTANCE);
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
blockIcon = IconHelper.forBlock(par1IconRegister, this);
}
/** Does the block register in the creative inv? **/
boolean registerInCreative() {
return true;
}
}
@@ -1,132 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 16:50:31 (GMT)]
*/
package vazkii.tinkerer.block;
import java.util.Random;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
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.tileentity.TileEntity;
import net.minecraft.util.Icon;
import net.minecraft.world.World;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.lib.LibGuiIDs;
import vazkii.tinkerer.tile.TileEntityTransmutator;
import vazkii.tinkerer.util.handler.ConfigurationHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class BlockTransmutator extends BlockModContainer {
Icon[] icons = new Icon[6];
Random random;
public BlockTransmutator(int par1) {
super(par1, Material.wood);
setBlockBounds(0F, 0F, 0F, 1F, 1F / 16F * 6F, 1F);
setHardness(1.7F);
setResistance(1F);
setStepSound(soundWoodFootstep);
random = new Random();
}
@Override
public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) {
if(!par1World.isRemote) {
TileEntity tile = par1World.getBlockTileEntity(par2, par3, par4);
if(tile != null) {
if(ConfigurationHandler.enableTransmutator)
par5EntityPlayer.openGui(ThaumicTinkerer.modInstance, LibGuiIDs.ID_TRANSMUTATOR, par1World, par2, par3, par4);
else par5EntityPlayer.addChatMessage("The Arcane Transmutator is disabled on this server.");
}
}
return true;
}
@Override
public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6) {
TileEntityTransmutator transmutator = (TileEntityTransmutator) par1World.getBlockTileEntity(par2, par3, par4);
if (transmutator != null) {
for (int j1 = 0; j1 < transmutator.getSizeInventory(); ++j1) {
ItemStack itemstack = transmutator.getStackInSlot(j1);
if (itemstack != null) {
float f = random.nextFloat() * 0.8F + 0.1F;
float f1 = random.nextFloat() * 0.8F + 0.1F;
EntityItem entityitem;
for (float f2 = random.nextFloat() * 0.8F + 0.1F; itemstack.stackSize > 0; par1World.spawnEntityInWorld(entityitem)) {
int k1 = random.nextInt(21) + 10;
if (k1 > itemstack.stackSize)
k1 = itemstack.stackSize;
itemstack.stackSize -= k1;
entityitem = new EntityItem(par1World, par2 + f, par3 + f1, par4 + f2, new ItemStack(itemstack.itemID, k1, itemstack.getItemDamage()));
float f3 = 0.05F;
entityitem.motionX = (float)random.nextGaussian() * f3;
entityitem.motionY = (float)random.nextGaussian() * f3 + 0.2F;
entityitem.motionZ = (float)random.nextGaussian() * f3;
if (itemstack.hasTagCompound())
entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy());
}
}
}
par1World.func_96440_m(par2, par3, par4, par5);
}
super.breakBlock(par1World, par2, par3, par4, par5, par6);
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
for(int i = 0; i < icons.length; i++)
icons[i] = IconHelper.forBlock(par1IconRegister, this, i);
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIcon(int par1, int par2) {
return icons[par1];
}
@Override
public boolean renderAsNormalBlock() {
return false;
}
@Override
public boolean isOpaqueCube() {
return false;
}
@Override
public TileEntity createNewTileEntity(World world) {
return new TileEntityTransmutator();
}
}
@@ -1,178 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [4 May 2013, 21:34:53 (GMT)]
*/
package vazkii.tinkerer.block;
import java.util.Random;
import net.minecraft.block.material.Material;
import net.minecraft.entity.EntityLiving;
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.tileentity.TileEntity;
import net.minecraft.util.Icon;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.common.Config;
import thaumcraft.common.items.wands.ItemWandCasting;
import vazkii.tinkerer.lib.LibRenderIDs;
import vazkii.tinkerer.tile.TileEntityWardChest;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class BlockWardChest extends BlockModContainer {
Random random;
protected BlockWardChest(int par1) {
super(par1, Material.wood);
setBlockUnbreakable();
setHardness(6000F);
disableStats();
setStepSound(soundWoodFootstep);
setBlockBounds(0.0625F, 0F, 0.0625F, 0.9375F, 0.875F, 0.9375F);
ThaumcraftApi.portableHoleBlackList.add(par1);
random = new Random();
}
@Override
public void onBlockPlacedBy(World par1World, int par2, int par3, int par4, EntityLiving par5EntityLiving, ItemStack par6ItemStack) {
byte b0 = 0;
int l1 = MathHelper.floor_double(par5EntityLiving.rotationYaw * 4.0F / 360.0F + 0.5D) & 3;
if (l1 == 0)
b0 = 2;
if (l1 == 1)
b0 = 5;
if (l1 == 2)
b0 = 3;
if (l1 == 3)
b0 = 4;
par1World.setBlockMetadataWithNotify(par2, par3, par4, b0, 2);
TileEntityWardChest chest = (TileEntityWardChest) par1World.getBlockTileEntity(par2, par3, par4);
if (par6ItemStack.hasDisplayName())
chest.customName = par6ItemStack.getDisplayName();
if(par5EntityLiving instanceof EntityPlayer)
chest.owner = ((EntityPlayer) par5EntityLiving).username;
else chest.owner = "";
}
@Override
public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6) {
TileEntityWardChest chest = (TileEntityWardChest) par1World.getBlockTileEntity(par2, par3, par4);
if (chest != null) {
for (int j1 = 0; j1 < chest.getSizeInventory(); ++j1) {
ItemStack itemstack = chest.getStackInSlot(j1);
if (itemstack != null) {
float f = random.nextFloat() * 0.8F + 0.1F;
float f1 = random.nextFloat() * 0.8F + 0.1F;
EntityItem entityitem;
for (float f2 = random.nextFloat() * 0.8F + 0.1F; itemstack.stackSize > 0; par1World.spawnEntityInWorld(entityitem)) {
int k1 = random.nextInt(21) + 10;
if (k1 > itemstack.stackSize)
k1 = itemstack.stackSize;
itemstack.stackSize -= k1;
entityitem = new EntityItem(par1World, par2 + f, par3 + f1, par4 + f2, new ItemStack(itemstack.itemID, k1, itemstack.getItemDamage()));
float f3 = 0.05F;
entityitem.motionX = (float)random.nextGaussian() * f3;
entityitem.motionY = (float)random.nextGaussian() * f3 + 0.2F;
entityitem.motionZ = (float)random.nextGaussian() * f3;
if (itemstack.hasTagCompound())
entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy());
}
}
}
par1World.func_96440_m(par2, par3, par4, par5);
}
super.breakBlock(par1World, par2, par3, par4, par5, par6);
}
@Override
public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) {
if (par1World.isRemote)
return true;
TileEntityWardChest chest = (TileEntityWardChest) par1World.getBlockTileEntity(par2, par3, par4);
effect : {
if (chest != null) {
String owner = chest.owner;
if(owner.equals(par5EntityPlayer.username)) {
if(par5EntityPlayer.getCurrentEquippedItem() != null && par5EntityPlayer.getCurrentEquippedItem().getItem() instanceof ItemWandCasting) {
if(!par1World.isRemote) {
int meta = par1World.getBlockMetadata(par2, par3, par4);
dropBlockAsItem(par1World, par2, par3, par4, meta, par6);
par1World.playAuxSFX(2001, par2, par3, par4, blockID + (meta << 12));
par1World.setBlock(par2, par3, par4, 0, 0, 1 & 2);
break effect;
} else par5EntityPlayer.swingItem();
}
par5EntityPlayer.displayGUIChest(chest);
par1World.playSoundEffect(par2, par3, par4, "thaumcraft.key", 1F, 1F);
} else {
par5EntityPlayer.addChatMessage("The Chest refuses to budge.");
par1World.playSoundEffect(par2, par3, par4, "random.chestclosed", 1F, 0.2F);
}
}
}
return true;
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIcon(int par1, int par2) {
return Config.blockWooden.getIcon(par1, 0);
}
@Override
public int getRenderType() {
return LibRenderIDs.idWardChest;
}
@Override
public boolean isOpaqueCube() {
return false;
}
@Override
public boolean renderAsNormalBlock() {
return false;
}
@Override
public TileEntity createNewTileEntity(World world) {
return new TileEntityWardChest();
}
}
@@ -1,83 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 11:46:35 (GMT)]
*/
package vazkii.tinkerer.block;
import net.minecraft.block.Block;
import thaumcraft.api.EnumTag;
import thaumcraft.api.ObjectTags;
import thaumcraft.api.ThaumcraftApi;
import vazkii.tinkerer.item.ItemDarkQuartzBlock;
import vazkii.tinkerer.item.ItemDarkQuartzSlab;
import vazkii.tinkerer.lib.LibBlockIDs;
import vazkii.tinkerer.lib.LibBlockNames;
import vazkii.tinkerer.lib.LibMisc;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
public final class ModBlocks {
public static Block glowstoneGas;
public static Block transmutator;
public static Block wardChest;
public static Block darkQuartz;
public static Block darkQuartzStairs;
public static Block darkQuartzSlab;
public static Block darkQuartzSlabFull;
public static Block animationTablet;
public static Block darkGas;
public static void initBlocks() {
glowstoneGas = new BlockGlowstoneGas(LibBlockIDs.idGlowstoneGas).setUnlocalizedName(LibBlockNames.GLOWSTONE_GAS);
transmutator = new BlockTransmutator(LibBlockIDs.idTransmutator).setUnlocalizedName(LibBlockNames.TRANSMUTATOR);
wardChest = new BlockWardChest(LibBlockIDs.idWardChest).setUnlocalizedName(LibBlockNames.WARD_CHEST);
darkQuartz = new BlockDarkQuartz(LibBlockIDs.idDarkQuartz).setUnlocalizedName(LibBlockNames.DARK_QUARTZ);
darkQuartzStairs = new BlockDarkQuartzStairs(LibBlockIDs.idDarkQuartzStairs).setUnlocalizedName(LibBlockNames.DARK_QUARTZ_STAIRS);
darkQuartzSlab = new BlockDarkQuartzSlab(LibBlockIDs.idDarkQuartzSlab, false).setUnlocalizedName(LibBlockNames.DARK_QUARTZ_SLAB);
darkQuartzSlabFull = new BlockDarkQuartzSlab(LibBlockIDs.idDarkQuartzSlabFull, true).setUnlocalizedName(LibBlockNames.DARK_QUARTZ_SLAB);
animationTablet = new BlockAnimationTablet(LibBlockIDs.idAnimationTablet).setUnlocalizedName(LibBlockNames.ANIMATION_TABLET);
darkGas = new BlockDarkGas(LibBlockIDs.idDarkGas).setUnlocalizedName(LibBlockNames.DARK_GAS);
registerBlocks();
nameBlocks();
}
private static void registerBlocks() {
GameRegistry.registerBlock(glowstoneGas, LibBlockNames.GLOWSTONE_GAS);
GameRegistry.registerBlock(transmutator, LibBlockNames.TRANSMUTATOR);
GameRegistry.registerBlock(wardChest, LibBlockNames.WARD_CHEST);
GameRegistry.registerBlock(darkQuartz, ItemDarkQuartzBlock.class, LibBlockNames.DARK_QUARTZ);
GameRegistry.registerBlock(darkQuartzStairs, LibBlockNames.DARK_QUARTZ_STAIRS);
GameRegistry.registerBlock(darkQuartzSlab, ItemDarkQuartzSlab.class, LibBlockNames.DARK_QUARTZ_SLAB);
GameRegistry.registerBlock(darkQuartzSlabFull, ItemDarkQuartzSlab.class, LibBlockNames.DARK_QUARTZ_SLAB_FULL);
GameRegistry.registerBlock(animationTablet, LibBlockNames.ANIMATION_TABLET);
GameRegistry.registerBlock(darkGas, LibBlockNames.DARK_GAS);
}
private static void nameBlocks() {
LanguageRegistry.addName(transmutator, LibBlockNames.TRANSMUTATOR_D);
LanguageRegistry.addName(wardChest, LibBlockNames.WARD_CHEST_D);
LanguageRegistry.addName(darkQuartzStairs, LibBlockNames.DARK_QUARTZ_STAIRS_D);
LanguageRegistry.addName(animationTablet, LibBlockNames.ANIMATION_TABLET_D);
}
public static void applyObjectTags() {
ObjectTags tags = new ObjectTags().add(EnumTag.WOOD, 16).add(EnumTag.EXCHANGE, 64).add(EnumTag.FLUX, 24).add(EnumTag.MECHANISM, 8).add(EnumTag.MAGIC, 16);
ThaumcraftApi.registerObjectTag(transmutator.blockID, LibMisc.CRAFTING_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.WOOD, 16).add(EnumTag.VOID, 18).add(EnumTag.MAGIC, 12);
ThaumcraftApi.registerObjectTag(wardChest.blockID, LibMisc.CRAFTING_META_WILDCARD, tags);
}
}
@@ -1,91 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [13 May 2013, 19:59:12 (GMT)]
*/
package vazkii.tinkerer.client.gui;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.entity.player.InventoryPlayer;
import org.lwjgl.opengl.GL11;
import vazkii.tinkerer.client.gui.button.GuiButtonAT;
import vazkii.tinkerer.client.gui.button.GuiButtonATRadio;
import vazkii.tinkerer.client.gui.button.IRadioButton;
import vazkii.tinkerer.inventory.container.ContainerAnimationTablet;
import vazkii.tinkerer.lib.LibResources;
import vazkii.tinkerer.network.PacketManager;
import vazkii.tinkerer.network.packet.PacketAnimationTabletButton;
import vazkii.tinkerer.tile.TileEntityAnimationTablet;
public class GuiAnimationTablet extends GuiContainer {
int x, y;
TileEntityAnimationTablet tablet;
List<GuiButtonAT> buttonListAT = new ArrayList();
List<IRadioButton> radioButtons = new ArrayList();
public GuiAnimationTablet(TileEntityAnimationTablet tablet, InventoryPlayer playerInv) {
super(new ContainerAnimationTablet(tablet, playerInv));
this.tablet = tablet;
}
@Override
public void initGui() {
super.initGui();
x = (width - xSize) / 2;
y = (height - ySize) / 2;
buttonListAT.clear();
addButton(new GuiButtonAT(0, x + xSize / 2 - 7, y + 60, tablet.redstone));
addButton(new GuiButtonATRadio(1, x + 52, y + 15, tablet.leftClick, radioButtons));
addButton(new GuiButtonATRadio(2, x + 111, y + 15, !tablet.leftClick, radioButtons));
buttonList = buttonListAT;
}
private void addButton(GuiButtonAT button) {
buttonListAT.add(button);
if(button instanceof IRadioButton)
radioButtons.add((IRadioButton) button);
}
@Override
protected void actionPerformed(GuiButton par1GuiButton) {
if(par1GuiButton instanceof IRadioButton)
((IRadioButton) par1GuiButton).enableFromClick();
else buttonListAT.get(0).enabled = !buttonListAT.get(0).enabled;
tablet.leftClick = buttonListAT.get(1).enabled;
tablet.redstone = buttonListAT.get(0).enabled;
PacketManager.sendPacketToServer(new PacketAnimationTabletButton(tablet));
}
@Override
protected void drawGuiContainerBackgroundLayer(float f, int i, int j) {
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
mc.renderEngine.bindTexture(LibResources.GUI_ANIMATION_TABLET);
drawTexturedModalRect(x, y, 0, 0, xSize, ySize);
String left = "Left";
String right = "Right";
String redstone = "Redstone";
fontRenderer.drawString(left, x + 48 - fontRenderer.getStringWidth(left), y + 18, 0x999999);
fontRenderer.drawString(right, x + 128, y + 18, 0x999999);
fontRenderer.drawString(redstone, x + xSize / 2 - fontRenderer.getStringWidth(redstone) / 2, y + 50, 0x999999);
GL11.glColor3f(1F, 1F, 1F);
}
}
@@ -1,125 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 18:57:15 (GMT)]
*/
package vazkii.tinkerer.client.gui;
import java.util.Arrays;
import java.util.List;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.util.EnumChatFormatting;
import org.lwjgl.opengl.GL11;
import thaumcraft.api.EnumTag;
import thaumcraft.api.ObjectTags;
import thaumcraft.client.lib.UtilsFX;
import thaumcraft.common.lib.ThaumcraftCraftingManager;
import vazkii.tinkerer.inventory.container.ContainerTransmutator;
import vazkii.tinkerer.inventory.slot.SlotTransmutator;
import vazkii.tinkerer.lib.LibResources;
import vazkii.tinkerer.tile.TileEntityTransmutator;
import vazkii.tinkerer.util.handler.ConfigurationHandler;
import vazkii.tinkerer.util.helper.MiscHelper;
public class GuiTransmutator extends GuiContainer {
int x, y;
TileEntityTransmutator transmutator;
public GuiTransmutator(TileEntityTransmutator tile, InventoryPlayer player) {
super(new ContainerTransmutator(tile, player));
transmutator = tile;
}
@Override
public void initGui() {
super.initGui();
x = (width - xSize) / 2;
y = (height - ySize) / 2;
}
@Override
protected void drawGuiContainerBackgroundLayer(float f, int i, int j) {
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
mc.renderEngine.bindTexture(LibResources.GUI_TRANSMUTATOR);
drawTexturedModalRect(x, y, 0, 0, xSize, ySize);
float deg = (float) (transmutator.ticksExisted % 360F);
renderGlyphsAt(x + 154, y + 19, deg);
if(transmutator.getStackInSlot(0) != null) {
GL11.glPushMatrix();
GL11.glScalef(0.5F, 0.5F, 0.5F);
ObjectTags tags = ThaumcraftCraftingManager.getObjectTags(transmutator.getStackInSlot(0));
int value = SlotTransmutator.getTotalAspectValue(tags) * ConfigurationHandler.transmutatorVisMultiplier;
String price = value + " vis";
fontRenderer.drawString(price, (x + 162 - fontRenderer.getStringWidth(price) / 2) * 2, (y + 69) * 2, 0xFFFFFF);
GL11.glPopMatrix();
}
}
@Override
protected void drawGuiContainerForegroundLayer(int i, int j) {
List<String> renderString = null;
if(transmutator.getStackInSlot(0) != null) {
ObjectTags tags = ThaumcraftCraftingManager.getObjectTags(transmutator.getStackInSlot(0));
int degPerTag = 360 / tags.size();
int renderDeg = -90;
for(EnumTag tag : tags.getAspects()) {
int amount = tags.getAmount(tag);
int xpos = (int) (50 + 35 * Math.cos(renderDeg * Math.PI / 180));
int ypos = (int) (16 + 35 * Math.sin(renderDeg * Math.PI / 180));
UtilsFX.drawTag(mc, xpos, ypos, tag, amount * ConfigurationHandler.transmutatorEssentiaMultiplier, this, false, false);
float deg = (float) (transmutator.ticksExisted * amount % 360F);
int color = tag.color;
int red = color >> 16 & 0xFF;
int green = color >> 8 & 0xFF;
int blue = color & 0xFF;
GL11.glColor4ub((byte) red, (byte) green, (byte) blue, (byte) 128);
if(transmutator.foundTags.getAmount(tag) >= amount * ConfigurationHandler.transmutatorEssentiaMultiplier)
renderGlyphsAt(xpos + 8, ypos + 8, deg);
if(i > xpos + x && i < xpos + x + 16 && j > ypos + y && j < ypos + y + 16)
renderString = Arrays.asList(tag.name, tag.meaning);
renderDeg += degPerTag;
}
if(renderString != null)
UtilsFX.drawCustomTooltip(this, itemRenderer, fontRenderer, renderString, i - x, j - y, EnumChatFormatting.AQUA.ordinal());
}
}
private void renderGlyphsAt(int x, int y, float deg) {
Minecraft mc = MiscHelper.getMc();
mc.renderEngine.bindTexture(LibResources.MISC_GLYPHS);
GL11.glPushMatrix();
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glEnable(GL11.GL_BLEND);
GL11.glTranslatef(x, y, 0F);
GL11.glRotatef(deg, 0F, 0F, 1F);
Tessellator tess = Tessellator.instance;
tess.startDrawingQuads();
tess.addVertexWithUV(-16, 16, zLevel, 0, 1);
tess.addVertexWithUV(16, 16, zLevel, 1, 1);
tess.addVertexWithUV(16, -16, zLevel, 1, 0);
tess.addVertexWithUV(-16, -16, zLevel, 0, 0);
tess.draw();
GL11.glPopMatrix();
}
}
@@ -1,38 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [13 May 2013, 21:37:42 (GMT)]
*/
package vazkii.tinkerer.client.gui.button;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
import vazkii.tinkerer.lib.LibResources;
public class GuiButtonAT extends GuiButton {
public boolean enabled = false;;
public GuiButtonAT(int par1, int par2, int par3, boolean enabled) {
super(par1, par2, par3, 13, 13, "");
this.enabled = enabled;
}
@Override
public void drawButton(Minecraft par1Minecraft, int par2, int par3) {
if(drawButton) {
par1Minecraft.renderEngine.bindTexture(LibResources.GUI_ANIMATION_TABLET);
int y = enabled ? 13 : 0;
drawTexturedModalRect(xPosition, yPosition, 176, y, width, height);
}
}
}
@@ -1,51 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [13 May 2013, 21:37:31 (GMT)]
*/
package vazkii.tinkerer.client.gui.button;
import java.util.List;
public class GuiButtonATRadio extends GuiButtonAT implements IRadioButton {
List<IRadioButton> linkedButtons;
public GuiButtonATRadio(int par1, int par2, int par3, boolean enabled, List<IRadioButton> linkedButtons) {
super(par1, par2, par3, enabled);
this.linkedButtons = linkedButtons;
}
@Override
public void enableFromClick() {
setEnabled(true);
for(IRadioButton button : linkedButtons)
if(button != this)
button.updateStatus(this);
}
@Override
public void updateStatus(IRadioButton otherButton) {
if(otherButton.isEnabled())
setEnabled(false);
}
@Override
public boolean isEnabled() {
return enabled;
}
@Override
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
}
@@ -1,27 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [13 May 2013, 21:47:52 (GMT)]
*/
package vazkii.tinkerer.client.gui.button;
public interface IRadioButton {
public void enableFromClick();
public void updateStatus(IRadioButton otherButton);
public boolean isEnabled();
public void setEnabled(boolean enabled);
}
@@ -1,60 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [26 Apr 2013, 23:46:45 (GMT)]
*/
package vazkii.tinkerer.client.hud;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.client.renderer.RenderHelper;
import net.minecraft.client.renderer.entity.RenderItem;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.util.EnumChatFormatting;
import thaumcraft.api.EnumTag;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.potion.ModPotions;
import vazkii.tinkerer.util.helper.MiscHelper;
public class HUDStopwatch implements IHUDElement {
@Override
public boolean shouldRender() {
return MiscHelper.getMc().currentScreen == null && MiscHelper.getClientPlayer() != null && MiscHelper.getClientPlayer().isPotionActive(ModPotions.effectStopwatch.id);
}
@Override
public void render(float partialTicks) {
Minecraft mc = MiscHelper.getMc();
ScaledResolution res = new ScaledResolution(mc.gameSettings, mc.displayWidth, mc.displayHeight);
int width = res.getScaledWidth();
int height = res.getScaledHeight();
boolean unicode = mc.fontRenderer.getUnicodeFlag();
mc.fontRenderer.setUnicodeFlag(true);
String timeStr = EnumChatFormatting.BOLD + Potion.getDurationString(mc.thePlayer.getActivePotionEffect(ModPotions.effectStopwatch));
RenderItem itemRender = new RenderItem();
int lenght = 18 + mc.fontRenderer.getStringWidth(timeStr);
RenderHelper.enableStandardItemLighting();
itemRender.renderItemIntoGUI(mc.fontRenderer, mc.renderEngine, new ItemStack(ModItems.stopwatch), width / 2 - lenght / 2, height - 85);
RenderHelper.disableStandardItemLighting();
mc.fontRenderer.drawStringWithShadow(timeStr, width / 2 - lenght / 2 + 18, height - 81, EnumTag.TIME.color);
mc.fontRenderer.setUnicodeFlag(unicode);
}
@Override
public void clientTick() { }
}
@@ -1,29 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [26 Apr 2013, 23:42:36 (GMT)]
*/
package vazkii.tinkerer.client.hud;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public interface IHUDElement {
public boolean shouldRender();
public void render(float partialTicks);
public void clientTick();
}
@@ -1,53 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [6 May 2013, 21:23:40 (GMT)]
*/
package vazkii.tinkerer.client.render.block;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.tileentity.TileEntityRenderer;
import net.minecraft.world.IBlockAccess;
import org.lwjgl.opengl.GL11;
import vazkii.tinkerer.lib.LibRenderIDs;
import vazkii.tinkerer.tile.TileEntityWardChest;
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
public class RenderWardChest implements ISimpleBlockRenderingHandler {
@Override
public void renderInventoryBlock(Block block, int metadata, int modelID, RenderBlocks renderer) {
GL11.glPushMatrix();
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
TileEntityRenderer.instance.renderTileEntityAt(new TileEntityWardChest(), 0.0D, 0.0D, 0.0D, 0.0F);
GL11.glPopMatrix();
}
@Override
public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer) {
return false;
}
@Override
public boolean shouldRender3DInInventory() {
return true;
}
@Override
public int getRenderId() {
return LibRenderIDs.idWardChest;
}
}
@@ -1,48 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [11 May 2013, 23:05:52 (GMT)]
*/
package vazkii.tinkerer.client.render.entity;
import net.minecraft.client.renderer.ItemRenderer;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.entity.Entity;
import net.minecraft.util.Icon;
import org.lwjgl.opengl.GL11;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.lib.LibMisc;
import vazkii.tinkerer.util.helper.MiscHelper;
public class RenderDeathRune extends Render {
@Override
public void doRender(Entity entity, double d0, double d1, double d2, float f4, float f5) {
GL11.glPushMatrix();
double xShake = (Math.random() - 0.5) / 12;
double yShake = (Math.random() - 0.5) / 12;
double zShake = (Math.random() - 0.25) / 12;
GL11.glTranslated(d0 + xShake - 0.2, d1 + yShake - 0.25, d2 + zShake);
GL11.glScalef(0.5F, 0.5F, 0.5F);
MiscHelper.getMc().renderEngine.bindTexture("/gui/items.png");
Icon icon = ModItems.deathRune.getIconFromDamage(0);
float f = icon.getMinU();
float f1 = icon.getMaxU();
float f2 = icon.getMinV();
float f3 = icon.getMaxV();
ItemRenderer.renderItemIn2D(Tessellator.instance, f1, f2, f, f3, icon.getSheetWidth(), icon.getSheetHeight(), LibMisc.MODEL_DEFAULT_RENDER_SCALE);
GL11.glPopMatrix();
}
}
@@ -1,99 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [20 May 2013, 22:38:51 (GMT)]
*/
package vazkii.tinkerer.client.render.item;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.renderer.RenderEngine;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import org.lwjgl.opengl.GL11;
import thaumcraft.api.EnumTag;
import thaumcraft.api.ObjectTags;
import thaumcraft.client.lib.UtilsFX;
import thaumcraft.client.renderers.item.HandheldItemRenderer;
import thaumcraft.common.items.armor.ItemGoggles;
import vazkii.tinkerer.client.util.handler.ClientTickHandler;
import vazkii.tinkerer.item.ItemFluxDetector;
import vazkii.tinkerer.util.helper.MiscHelper;
public class RenderItemFluxDetector extends HandheldItemRenderer {
// Because I'm a lasy bastard and don't want to code
// the whole renderer. <3 you Azanor.
DummyGui dummyGui = new DummyGui();
@Override
public void renderThaumometer(ItemStack arg0, EntityPlayer arg1, RenderEngine arg2, float arg3) {
Minecraft mc = MiscHelper.getMc();
boolean goggles = arg1.getCurrentItemOrArmor(4) != null && arg1.getCurrentItemOrArmor(4).getItem() instanceof ItemGoggles;
GL11.glPushMatrix();
GL11.glTranslatef(-0.5F, -0.5F, 0F);
GL11.glScalef(3F, 3F, 3F);
renderItemStack(arg1, arg0, 0, false);
GL11.glScalef(0.3334F, 0.3334F, 0.3334F);
float scale = 1F / 128F;
GL11.glScalef(scale, scale, scale);
float originalZLevel = dummyGui.getZLevel();
ObjectTags tags = ItemFluxDetector.getTags(arg0);
if(tags != null && tags.size() > 0 && !arg1.isSwingInProgress) {
int degPerTag = 360 / tags.size();
int renderDeg = -90 + (int) (ClientTickHandler.clientTicksElapsed % 360);
dummyGui.setZLevel(900 - arg1.rotationPitch * 9);
for(EnumTag tag : tags.getAspects()) {
int amount = tags.getAmount(tag);
int radius = (int) Math.max(0, Math.min(60, arg1.rotationPitch - 30));
int xpos = (int) (radius * Math.cos(renderDeg * Math.PI / 180));
int ypos = (int) (radius * Math.sin(renderDeg * Math.PI / 180));
if(amount == 100 && arg1.rotationPitch >= 90 && goggles) {
xpos += Math.random() - 0.5;
ypos += Math.random() - 0.5;
}
GL11.glPushMatrix();
GL11.glTranslatef(-2500F, -6000F, -500F);
GL11.glScalef(400F, 400F, 150F);
float opacity = Math.min(arg1.rotationPitch / 100F, Math.max(0.15F, amount / 100F));
if(!goggles)
opacity = (float) Math.min(arg1.rotationPitch / 100F, Math.cos(ClientTickHandler.clientTicksElapsed / 5F) + 2F / 2F + 0.2F);
UtilsFX.drawTag(mc, xpos, ypos, goggles ? tag : EnumTag.UNKNOWN, 0, 0, dummyGui, false, false, opacity);
dummyGui.setZLevel(dummyGui.getZLevel() - 2F);
GL11.glTranslatef(0F, 0F, -1F);
GL11.glPopMatrix();
renderDeg += degPerTag;
}
}
dummyGui.setZLevel(originalZLevel);
GL11.glPopMatrix();
}
private static final class DummyGui extends GuiScreen {
public void setZLevel(float level) {
zLevel = level;
}
public float getZLevel() {
return zLevel;
}
}
}
@@ -1,135 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [13 May 2013, 20:05:48 (GMT)]
*/
package vazkii.tinkerer.client.render.tile;
import java.awt.Color;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.ItemRenderer;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.Icon;
import org.lwjgl.opengl.GL11;
import vazkii.tinkerer.client.util.handler.ClientTickHandler;
import vazkii.tinkerer.lib.LibMisc;
import vazkii.tinkerer.lib.LibResources;
import vazkii.tinkerer.tile.TileEntityAnimationTablet;
import vazkii.tinkerer.util.helper.MiscHelper;
public class RenderTileAnimationTablet extends TileEntitySpecialRenderer {
private static final float[][] TRANSLATIONS = new float[][] {
{ 0F, 0F, -1F },
{ -1F, 0F, 0F },
{ 0F, 0F, 0F },
{ -1F, 0F, -1F }
};
@Override
public void renderTileEntityAt(TileEntity tileentity, double d0, double d1, double d2, float partialTicks) {
TileEntityAnimationTablet tile = (TileEntityAnimationTablet) tileentity;
int meta = tile.getBlockMetadata() & 7;
int rotation = meta == 2 ? 270 : meta == 3 ? 90 : meta == 4 ? 0 : 180;
GL11.glPushMatrix();
GL11.glTranslated(d0, d1, d2);
renderOverlay(tile, LibResources.MISC_AT_OVERLAY_DIAL, -1, false, false, 0.65, 0.13F, 0F);
if(tile.leftClick)
renderOverlay(tile, LibResources.MISC_AT_OVERLAY_LEFT, 1, false, true, 1, 0.13F, 0F);
else renderOverlay(tile, LibResources.MISC_AT_OVERLAY_RIGHT, 1, false, true, 1, 0.131F, 0F);
renderOverlay(tile, LibResources.MISC_AT_OVERLAY_FACING, 0, false, false, 0.5F, 0.13F, rotation + 90F);
GL11.glRotatef(rotation, 0F, 1F, 0F);
GL11.glTranslated(0.1, 0.2 + Math.cos(ClientTickHandler.clientTicksElapsed / 12D) / 18F, 0.5);
float[] translations = TRANSLATIONS[meta - 2];
GL11.glTranslatef(translations[0], translations[1], translations[2]);
GL11.glScalef(0.8F, 0.8F, 0.8F);
GL11.glTranslatef(0.5F, 0F, 0.5F);
GL11.glRotatef(tile.swingProgress, 0F, 0F, 1F);
GL11.glTranslatef(-0.5F, 0F, -0.5F);
GL11.glTranslatef(-tile.swingProgress / 250F, tile.swingProgress / 1000F, 0F);
GL11.glRotatef((float) Math.cos(ClientTickHandler.clientTicksElapsed / 8F) * 5F, 1F, 0F, 1F);
renderItem(tile);
GL11.glPopMatrix();
}
private void renderItem(TileEntityAnimationTablet tablet) {
ItemStack stack = tablet.getStackInSlot(0);
Minecraft mc = MiscHelper.getMc();
if(stack != null) {
mc.renderEngine.bindTexture(stack.getItem() instanceof ItemBlock ? "/terrain.png" : "/gui/items.png");
if(stack.getItem() instanceof ItemBlock && RenderBlocks.renderItemIn3d(Block.blocksList[stack.itemID].getRenderType())) {
GL11.glTranslatef(0.5F, 0.55F, 0F);
new RenderBlocks().renderBlockAsItem(Block.blocksList[stack.itemID], stack.getItemDamage(), 1F);
GL11.glTranslatef(-0.5F, -0.55F, 0F);
} else {
int renderPass = 0;
do {
Icon icon = stack.getItem().getIcon(stack, renderPass);
if(icon != null) {
Color color = new Color(stack.getItem().getColorFromItemStack(stack, renderPass));
GL11.glColor3ub((byte) color.getRed(), (byte) color.getGreen(), (byte) color.getBlue());
float f = icon.getMinU();
float f1 = icon.getMaxU();
float f2 = icon.getMinV();
float f3 = icon.getMaxV();
ItemRenderer.renderItemIn2D(Tessellator.instance, f1, f2, f, f3, icon.getSheetWidth(), icon.getSheetHeight(), LibMisc.MODEL_DEFAULT_RENDER_SCALE);
GL11.glColor3f(1F, 1F, 1F);
}
renderPass++;
} while(renderPass < stack.getItem().getRenderPasses(stack.getItemDamage()));
}
}
}
private void renderOverlay(TileEntityAnimationTablet tablet, String texture, int rotationMod, boolean useLighting, boolean useBlend, double size, float height, float forceDeg) {
Minecraft mc = MiscHelper.getMc();
mc.renderEngine.bindTexture(texture);
GL11.glPushMatrix();
GL11.glDepthMask(false);
if(!useLighting)
GL11.glDisable(GL11.GL_LIGHTING);
if(useBlend) {
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
}
GL11.glTranslatef(0.5F, height, 0.5F);
float deg = rotationMod == 0 ? forceDeg : (float) (tablet.ticksExisted * rotationMod % 360F);
GL11.glRotatef(deg, 0F, 1F, 0F);
GL11.glColor4f(1F, 1F, 1F, 1F);
Tessellator tess = Tessellator.instance;
double size1 = size / 2;
double size2 = -size1;
tess.startDrawingQuads();
tess.addVertexWithUV(size2, 0, size1, 0, 1);
tess.addVertexWithUV(size1, 0, size1, 1, 1);
tess.addVertexWithUV(size1, 0, size2, 1, 0);
tess.addVertexWithUV(size2, 0, size2, 0, 0);
tess.draw();
GL11.glDepthMask(true);
if(!useLighting)
GL11.glEnable(GL11.GL_LIGHTING);
GL11.glPopMatrix();
}
}
@@ -1,106 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 21:08:49 (GMT)]
*/
package vazkii.tinkerer.client.render.tile;
import java.awt.Color;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.ItemRenderer;
import net.minecraft.client.renderer.RenderBlocks;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.Icon;
import org.lwjgl.opengl.GL11;
import vazkii.tinkerer.client.util.handler.ClientTickHandler;
import vazkii.tinkerer.lib.LibMisc;
import vazkii.tinkerer.lib.LibResources;
import vazkii.tinkerer.tile.TileEntityTransmutator;
import vazkii.tinkerer.util.helper.MiscHelper;
public class RenderTileTransmutator extends TileEntitySpecialRenderer {
@Override
public void renderTileEntityAt(TileEntity tileentity, double d0, double d1, double d2, float partialTicks) {
TileEntityTransmutator tile = (TileEntityTransmutator) tileentity;
GL11.glPushMatrix();
GL11.glTranslated(d0, d1, d2);
renderGlyphs(tile);
GL11.glTranslated(0.25, 0.45 + Math.cos(ClientTickHandler.clientTicksElapsed / 12D) / 18F, 0.5);
GL11.glScalef(0.5F, 0.5F, 0.5F);
renderItem(tile);
GL11.glPopMatrix();
}
private void renderItem(TileEntityTransmutator transmutator) {
ItemStack stack = transmutator.getStackInSlot(0);
Minecraft mc = MiscHelper.getMc();
if(stack != null) {
mc.renderEngine.bindTexture(stack.getItem() instanceof ItemBlock ? "/terrain.png" : "/gui/items.png");
if(stack.getItem() instanceof ItemBlock && RenderBlocks.renderItemIn3d(Block.blocksList[stack.itemID].getRenderType())) {
GL11.glTranslatef(0.5F, 0.4F, 0F);
new RenderBlocks().renderBlockAsItem(Block.blocksList[stack.itemID], stack.getItemDamage(), 1F);
GL11.glTranslatef(-0.5F, -0.4F, 0F);
} else {
int renderPass = 0;
do {
Icon icon = stack.getItem().getIcon(stack, renderPass);
if(icon != null) {
Color color = new Color(stack.getItem().getColorFromItemStack(stack, renderPass));
GL11.glColor3ub((byte) color.getRed(), (byte) color.getGreen(), (byte) color.getBlue());
float f = icon.getMinU();
float f1 = icon.getMaxU();
float f2 = icon.getMinV();
float f3 = icon.getMaxV();
ItemRenderer.renderItemIn2D(Tessellator.instance, f1, f2, f, f3, icon.getSheetWidth(), icon.getSheetHeight(), LibMisc.MODEL_DEFAULT_RENDER_SCALE);
GL11.glColor3f(1F, 1F, 1F);
}
renderPass++;
} while(renderPass < stack.getItem().getRenderPasses(stack.getItemDamage()));
}
}
}
private void renderGlyphs(TileEntityTransmutator transmutator) {
Minecraft mc = MiscHelper.getMc();
mc.renderEngine.bindTexture(LibResources.MISC_GLYPHS);
GL11.glPushMatrix();
GL11.glDepthMask(false);
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
GL11.glTranslatef(0.5F, 0.4F, 0.5F);
float deg = (float) (transmutator.ticksExisted % 360F);
GL11.glRotatef(deg, 0F, 1F, 0F);
GL11.glColor4f(1F, 1F, 1F, 1F);
Tessellator tess = Tessellator.instance;
tess.startDrawingQuads();
tess.addVertexWithUV(-0.5, 0, 0.5, 0, 1);
tess.addVertexWithUV(0.5, 0, 0.5, 1, 1);
tess.addVertexWithUV(0.5, 0, -0.5, 1, 0);
tess.addVertexWithUV(-0.5, 0, -0.5, 0, 0);
tess.draw();
GL11.glDepthMask(true);
GL11.glEnable(GL11.GL_LIGHTING);
GL11.glPopMatrix();
}
}
@@ -1,111 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [5 May 2013, 18:23:31 (GMT)]
*/
package vazkii.tinkerer.client.render.tile;
import net.minecraft.client.Minecraft;
import net.minecraft.client.model.ModelChest;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.tileentity.TileEntity;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import vazkii.tinkerer.client.util.handler.ClientTickHandler;
import vazkii.tinkerer.lib.LibMisc;
import vazkii.tinkerer.lib.LibResources;
import vazkii.tinkerer.tile.TileEntityWardChest;
import vazkii.tinkerer.util.helper.MiscHelper;
public class RenderTileWardChest extends TileEntitySpecialRenderer {
ModelChest chestModel;
public RenderTileWardChest() {
chestModel = new ModelChest();
}
@Override
public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) {
int meta = tileentity.worldObj == null ? 3 : tileentity.getBlockMetadata();
int rotation = meta == 2 ? 180 : meta == 3 ? 0 : meta == 4 ? 90 : 270;
GL11.glPushMatrix();
GL11.glEnable(GL12.GL_RESCALE_NORMAL);
GL11.glColor4f(1F, 1F, 1F, 1F);
GL11.glTranslatef((float)x, (float)y , (float)z);
bindTextureByName(LibResources.MODEL_WARD_CHEST);
GL11.glTranslatef(0F, 1F, 1F);
GL11.glScalef(1F, -1F, -1F);
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
GL11.glRotatef(rotation, 0F, 1F, 0F);
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
chestModel.chestBelow.render(LibMisc.MODEL_DEFAULT_RENDER_SCALE);
chestModel.chestKnob.render(LibMisc.MODEL_DEFAULT_RENDER_SCALE);
GL11.glDisable(GL12.GL_RESCALE_NORMAL);
GL11.glPopMatrix();
GL11.glColor4f(1F, 1F, 1F, 1F);
GL11.glTranslatef((float) x, (float) y, (float) z);
renderOverlay((TileEntityWardChest) tileentity);
GL11.glTranslatef((float) -x, (float) -y, (float) -z);
bindTextureByName(LibResources.MODEL_WARD_CHEST);
GL11.glPushMatrix();
GL11.glEnable(GL12.GL_RESCALE_NORMAL);
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
GL11.glDepthMask(false);
GL11.glColor4f(1F, 1F, 1F, 1F);
GL11.glTranslatef((float)x, (float)y , (float)z);
bindTextureByName(LibResources.MODEL_WARD_CHEST);
GL11.glTranslatef(0F, 1F, 1F);
GL11.glScalef(1F, -1F, -1F);
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
GL11.glRotatef(rotation, 0F, 1F, 0F);
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
chestModel.chestLid.render(LibMisc.MODEL_DEFAULT_RENDER_SCALE);
GL11.glDisable(GL12.GL_RESCALE_NORMAL);
GL11.glDisable(GL11.GL_BLEND);
GL11.glDepthMask(true);
GL11.glPopMatrix();
GL11.glColor4f(1F, 1F, 1F, 1F);
}
private void renderOverlay(TileEntityWardChest chest) {
Minecraft mc = MiscHelper.getMc();
mc.renderEngine.bindTexture(LibResources.MISC_WARD_CHEST_OVERLAY);
GL11.glPushMatrix();
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glEnable(GL11.GL_BLEND);
GL11.glTranslatef(0.5F, 0.65F, 0.5F);
float deg = (float) ((chest.worldObj == null ? ClientTickHandler.clientTicksElapsed : chest.ticksExisted) % 360F);
GL11.glRotatef(deg, 0F, 1F, 0F);
GL11.glColor4f(1F, 1F, 1F, 1F);
Tessellator tess = Tessellator.instance;
tess.startDrawingQuads();
tess.addVertexWithUV(-0.45, 0, 0.45, 0, 1);
tess.addVertexWithUV(0.45, 0, 0.45, 1, 1);
tess.addVertexWithUV(0.45, 0, -0.45, 1, 0);
tess.addVertexWithUV(-0.45, 0, -0.45, 0, 0);
tess.draw();
GL11.glEnable(GL11.GL_LIGHTING);
GL11.glDisable(GL11.GL_BLEND);
GL11.glPopMatrix();
}
}
@@ -1,72 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [26 Apr 2013, 23:40:32 (GMT)]
*/
package vazkii.tinkerer.client.util.handler;
import java.util.Collection;
import java.util.EnumSet;
import java.util.LinkedHashSet;
import vazkii.tinkerer.client.hud.HUDStopwatch;
import vazkii.tinkerer.client.hud.IHUDElement;
import vazkii.tinkerer.lib.LibMisc;
import cpw.mods.fml.common.ITickHandler;
import cpw.mods.fml.common.TickType;
public class ClientTickHandler implements ITickHandler {
public static long clientTicksElapsed;
private Collection<IHUDElement> hudElements;
public ClientTickHandler() {
hudElements = new LinkedHashSet();
hudElements.add(new HUDStopwatch());
}
@Override
public void tickStart(EnumSet<TickType> type, Object... tickData) { }
@Override
public void tickEnd(EnumSet<TickType> type, Object... tickData) {
if(type.equals(EnumSet.of(TickType.CLIENT)))
clientTick();
else renderTick((Float) tickData[0]);
}
public void clientTick() {
for(IHUDElement element : hudElements)
element.clientTick();
clientTicksElapsed++;
}
public void renderTick(float partialTicks) {
for(IHUDElement element : hudElements)
if(element.shouldRender())
element.render(partialTicks);
}
@Override
public EnumSet<TickType> ticks() {
return EnumSet.of(TickType.RENDER, TickType.CLIENT);
}
@Override
public String getLabel() {
return LibMisc.MOD_ID;
}
}
@@ -1,51 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [24 Apr 2013, 22:58:41 (GMT)]
*/
package vazkii.tinkerer.client.util.helper;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.item.Item;
import net.minecraft.util.Icon;
import vazkii.tinkerer.lib.LibMisc;
import vazkii.tinkerer.lib.LibResources;
public final class IconHelper {
private static Icon emptyTexture;
public static Icon forName(IconRegister ir, String name) {
return ir.registerIcon(LibMisc.MOD_ID + ":" + name);
}
public static Icon forBlock(IconRegister ir, Block block) {
return forName(ir, block.getUnlocalizedName().replaceAll("tile.", ""));
}
public static Icon forBlock(IconRegister ir, Block block, int i) {
return forName(ir, block.getUnlocalizedName().replaceAll("tile.", "") + i);
}
public static Icon emptyTexture(IconRegister ir) {
return emptyTexture == null ? (emptyTexture = forName(ir, LibResources.EMTPY_TEXTURE)) : emptyTexture;
}
public static Icon forItem(IconRegister ir, Item item) {
return forName(ir, item.getUnlocalizedName().replaceAll("item.", ""));
}
public static Icon forItem(IconRegister ir, Item item, int i) {
return forName(ir, item.getUnlocalizedName().replaceAll("item.", "") + i);
}
}
@@ -1,95 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [24 Apr 2013, 21:02:22 (GMT)]
*/
package vazkii.tinkerer.core.proxy;
import net.minecraft.entity.Entity;
import net.minecraft.util.Vec3;
import net.minecraft.world.World;
import net.minecraftforge.client.MinecraftForgeClient;
import thaumcraft.client.fx.FXLightningBolt;
import vazkii.tinkerer.client.render.block.RenderWardChest;
import vazkii.tinkerer.client.render.entity.RenderDeathRune;
import vazkii.tinkerer.client.render.item.RenderItemFluxDetector;
import vazkii.tinkerer.client.render.tile.RenderTileAnimationTablet;
import vazkii.tinkerer.client.render.tile.RenderTileTransmutator;
import vazkii.tinkerer.client.render.tile.RenderTileWardChest;
import vazkii.tinkerer.client.util.handler.ClientTickHandler;
import vazkii.tinkerer.entity.EntityDeathRune;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.lib.LibRenderIDs;
import vazkii.tinkerer.network.PacketManager;
import vazkii.tinkerer.network.packet.PacketAnimationTabletSync;
import vazkii.tinkerer.network.packet.PacketTransmutatorSync;
import vazkii.tinkerer.network.packet.PacketVerification;
import vazkii.tinkerer.tile.TileEntityAnimationTablet;
import vazkii.tinkerer.tile.TileEntityTransmutator;
import vazkii.tinkerer.tile.TileEntityWardChest;
import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.registry.TickRegistry;
import cpw.mods.fml.relauncher.Side;
public class TTClientProxy extends TTCommonProxy {
@Override
public void initTickHandlers() {
super.initTickHandlers();
TickRegistry.registerTickHandler(new ClientTickHandler(), Side.CLIENT);
}
@Override
public void initTileEntities() {
super.initTileEntities();
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTransmutator.class, new RenderTileTransmutator());
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityWardChest.class, new RenderTileWardChest());
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityAnimationTablet.class, new RenderTileAnimationTablet());
}
@Override
public void initEntities() {
super.initEntities();
RenderingRegistry.registerEntityRenderingHandler(EntityDeathRune.class, new RenderDeathRune());
}
@Override
public void initPackets() {
super.initPackets();
PacketManager.packetHandlers.add(new PacketVerification());
PacketManager.packetHandlers.add(new PacketTransmutatorSync());
PacketManager.packetHandlers.add(new PacketAnimationTabletSync());
}
@Override
public void initRenders() {
LibRenderIDs.idWardChest = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(new RenderWardChest());
MinecraftForgeClient.registerItemRenderer(ModItems.fluxDetector.itemID, new RenderItemFluxDetector());
}
@Override
public void sigilLightning(World world, Entity entity, Vec3 end) {
FXLightningBolt lightning = new FXLightningBolt(world, entity.posX + entity.width / 2, entity.posY - entity.height / 2, entity.posZ + entity.width / 2, end.xCoord, end.yCoord, end.zCoord, world.rand.nextLong(), 10, 2F, 5);
lightning.defaultFractal();
lightning.setType(5);
lightning.finalizeBolt();
}
}
@@ -1,58 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [24 Apr 2013, 21:02:12 (GMT)]
*/
package vazkii.tinkerer.core.proxy;
import net.minecraft.entity.Entity;
import net.minecraft.util.Vec3;
import net.minecraft.world.World;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.entity.EntityDeathRune;
import vazkii.tinkerer.lib.LibBlockNames;
import vazkii.tinkerer.lib.LibItemNames;
import vazkii.tinkerer.lib.LibMisc;
import vazkii.tinkerer.network.PacketManager;
import vazkii.tinkerer.network.packet.PacketAnimationTabletButton;
import vazkii.tinkerer.tile.TileEntityAnimationTablet;
import vazkii.tinkerer.tile.TileEntityTransmutator;
import vazkii.tinkerer.tile.TileEntityWardChest;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
public class TTCommonProxy {
public void initTickHandlers() { }
public void initTileEntities() {
GameRegistry.registerTileEntity(TileEntityTransmutator.class, tileName(LibBlockNames.TRANSMUTATOR));
GameRegistry.registerTileEntity(TileEntityWardChest.class, tileName(LibBlockNames.WARD_CHEST));
GameRegistry.registerTileEntity(TileEntityAnimationTablet.class, tileName(LibBlockNames.ANIMATION_TABLET));
}
public void initRenders() { }
public void initEntities() {
EntityRegistry.registerModEntity(EntityDeathRune.class, LibMisc.MOD_ID + "_" + LibItemNames.DEATH_RUNE, 0, ThaumicTinkerer.modInstance, 64, 10, false);
}
public void initPackets() {
PacketManager.packetHandlers.add(new PacketAnimationTabletButton());
}
private static String tileName(String name) {
return LibMisc.MOD_ID + "_" + name;
}
public void sigilLightning(World world, Entity entity, Vec3 end) { }
}
@@ -1,237 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [11 May 2013, 22:43:15 (GMT)]
*/
package vazkii.tinkerer.entity;
import java.util.List;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.DamageSource;
import net.minecraft.util.Vec3;
import net.minecraft.world.World;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.lib.LibItemNames;
public class EntityDeathRune extends Entity implements IInventory {
private static final String TAG_SLOTS_SIZE = "slots";
private static final String TAG_PLAYER_NAME = "playerName";
ItemStack[] inventorySlots;
String username;
public EntityDeathRune(World par1World) {
super(par1World);
width = 0.1F;
height = 0.1F;
}
public EntityDeathRune(EntityPlayer player) {
super(player.worldObj);
width = 0.1F;
height = 0.1F;
int size = player.inventory.getSizeInventory();
username = player.username;
inventorySlots = new ItemStack[size + size % 9];
for(int i = 0; i < player.inventory.getSizeInventory(); i++) {
ItemStack stackAt = player.inventory.getStackInSlot(i);
if(stackAt != null) {
inventorySlots[i] = stackAt.copy();
player.inventory.setInventorySlotContents(i, null);
}
}
}
@Override
protected void entityInit() {
}
@Override
public void onUpdate() {
super.onUpdate();
posY = prevPosY;
if(!worldObj.isRemote) {
List<EntityPlayer> nearbyPlayers = worldObj.getEntitiesWithinAABB(EntityPlayer.class, AxisAlignedBB.getBoundingBox(posX - 2, posY - 2, posZ - 2, posX + 2, posY + 2, posZ + 2));
for(EntityPlayer player : nearbyPlayers) {
if(player.username.equals(username) && player.isEntityAlive())
restockPlayer(player);
}
}
double x = posX + (Math.random() - 0.5);
double y = posY + (Math.random() - 0.5);
double z = posZ + (Math.random() - 0.5);
Vec3 vector = worldObj.getWorldVec3Pool().getVecFromPool(x, y, z);
ThaumicTinkerer.proxy.sigilLightning(worldObj, this, vector);
}
@Override
public boolean attackEntityFrom(DamageSource par1DamageSource, int par2) {
return false;
}
private void restockPlayer(EntityPlayer player) {
boolean hasSomething = false;
for(int i = 0; i < Math.min(inventorySlots.length, player.inventory.getSizeInventory()); i++) {
ItemStack playerStack = player.inventory.getStackInSlot(i);
ItemStack invStack = getStackInSlot(i);
if(invStack != null) {
ItemStack restockStack = invStack.copy();
hasSomething = true;
boolean remove = false;
if(playerStack == null) {
player.inventory.setInventorySlotContents(i, restockStack);
remove = true;
} else if(player.inventory.addItemStackToInventory(restockStack))
remove = true;
if(remove)
setInventorySlotContents(i, null);
}
}
if(!hasSomething)
setDead();
}
@Override
public void setDead() {
super.setDead();
worldObj.playSoundAtEntity(this, "thaumcraft.key", 1F, 1F);
ThaumicTinkerer.tcProxy.burst(worldObj, posX, posY, posZ, 0.5F);
}
@Override
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound) {
inventorySlots = new ItemStack[par1NBTTagCompound.getInteger(TAG_SLOTS_SIZE)];
username = par1NBTTagCompound.getString(TAG_PLAYER_NAME);
NBTTagList var2 = par1NBTTagCompound.getTagList("Items");
inventorySlots = new ItemStack[getSizeInventory()];
for (int var3 = 0; var3 < var2.tagCount(); ++var3) {
NBTTagCompound var4 = (NBTTagCompound)var2.tagAt(var3);
byte var5 = var4.getByte("Slot");
if (var5 >= 0 && var5 < inventorySlots.length)
inventorySlots[var5] = ItemStack.loadItemStackFromNBT(var4);
}
}
@Override
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound) {
par1NBTTagCompound.setInteger(TAG_SLOTS_SIZE, inventorySlots.length);
par1NBTTagCompound.setString(TAG_PLAYER_NAME, username);
NBTTagList var2 = new NBTTagList();
for (int var3 = 0; var3 < inventorySlots.length; ++var3) {
if (inventorySlots[var3] != null) {
NBTTagCompound var4 = new NBTTagCompound();
var4.setByte("Slot", (byte)var3);
inventorySlots[var3].writeToNBT(var4);
var2.appendTag(var4);
}
}
par1NBTTagCompound.setTag("Items", var2);
}
@Override
public int getSizeInventory() {
return inventorySlots.length;
}
@Override
public ItemStack getStackInSlot(int i) {
if(i >= inventorySlots.length)
return null;
return inventorySlots[i];
}
@Override
public ItemStack decrStackSize(int par1, int par2) {
if (inventorySlots[par1] != null) {
ItemStack stackAt;
if (inventorySlots[par1].stackSize <= par2) {
stackAt = inventorySlots[par1];
inventorySlots[par1] = null;
return stackAt;
} else {
stackAt = inventorySlots[par1].splitStack(par2);
if (inventorySlots[par1].stackSize == 0)
inventorySlots[par1] = null;
return stackAt;
}
}
return null;
}
@Override
public ItemStack getStackInSlotOnClosing(int i) {
return getStackInSlot(i);
}
@Override
public void setInventorySlotContents(int i, ItemStack itemstack) {
inventorySlots[i] = itemstack;
}
@Override
public String getInvName() {
return LibItemNames.DEATH_RUNE_D;
}
@Override
public boolean isInvNameLocalized() {
return false;
}
@Override
public int getInventoryStackLimit() {
return 0;
}
@Override
public boolean isUseableByPlayer(EntityPlayer entityplayer) {
return entityplayer.getDistanceSq(posX + 0.5D, posY + 0.5D, posZ + 0.5D) <= 64;
}
@Override
public void openChest() {
}
@Override
public void closeChest() {
}
@Override
public void onInventoryChanged() {
}
@Override
public boolean isStackValidForSlot(int i, ItemStack itemstack) {
return false;
}
}
@@ -1,71 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [13 May 2013, 19:50:33 (GMT)]
*/
package vazkii.tinkerer.inventory.container;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import vazkii.tinkerer.tile.TileEntityAnimationTablet;
public class ContainerAnimationTablet extends ContainerPlayerInv {
public TileEntityAnimationTablet tablet;
public ContainerAnimationTablet(TileEntityAnimationTablet tablet, InventoryPlayer playerInv) {
super(playerInv);
this.tablet = tablet;
addSlotToContainer(new Slot(tablet, 0, 80, 15));
initPlayerInv();
}
@Override
public boolean canInteractWith(EntityPlayer entityplayer) {
return tablet.isUseableByPlayer(entityplayer);
}
@Override
public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2) {
ItemStack var3 = null;
Slot var4 = (Slot)inventorySlots.get(par2);
if (var4 != null && var4.getHasStack()) {
ItemStack var5 = var4.getStack();
var3 = var5.copy();
if (par2 < 1) {
if(!mergeItemStack(var5, 1, 37, false))
return null;
} else if(!mergeItemStack(var5, 0, 1, false))
return null;
if (var5.stackSize == 0)
var4.putStack((ItemStack)null);
else
var4.onSlotChanged();
if (var5.stackSize == var3.stackSize)
return null;
var4.onPickupFromSlot(par1EntityPlayer, var5);
}
return var3;
}
}
@@ -1,43 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 17:57:44 (GMT)]
*/
package vazkii.tinkerer.inventory.container;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.Slot;
public abstract class ContainerPlayerInv extends Container {
InventoryPlayer playerInv;
public ContainerPlayerInv(InventoryPlayer playerInv) {
this.playerInv = playerInv;
}
void initPlayerInv() {
int ys = getInvYStart();
for (int x = 0; x < 3; ++x)
for (int y = 0; y < 9; ++y)
addSlotToContainer(new Slot(playerInv, y + x * 9 + 9, 8 + y * 18, ys + x * 18));
for (int x = 0; x < 9; ++x)
addSlotToContainer(new Slot(playerInv, x, 8 + x * 18, ys + 58));
}
private int getInvYStart() {
return 84;
}
}
@@ -1,73 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 17:57:28 (GMT)]
*/
package vazkii.tinkerer.inventory.container;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import vazkii.tinkerer.inventory.slot.SlotTransmutator;
import vazkii.tinkerer.inventory.slot.SlotTransmutatorOutput;
import vazkii.tinkerer.tile.TileEntityTransmutator;
public class ContainerTransmutator extends ContainerPlayerInv {
TileEntityTransmutator transmutator;
public ContainerTransmutator(TileEntityTransmutator transmutator, InventoryPlayer playerInv) {
super(playerInv);
this.transmutator = transmutator;
addSlotToContainer(new SlotTransmutator(transmutator, 0, 146, 11));
addSlotToContainer(new SlotTransmutatorOutput(transmutator, 1, 146, 49));
initPlayerInv();
}
@Override
public boolean canInteractWith(EntityPlayer entityplayer) {
return transmutator.isUseableByPlayer(entityplayer);
}
@Override
public ItemStack transferStackInSlot(EntityPlayer par1EntityPlayer, int par2) {
ItemStack var3 = null;
Slot var4 = (Slot)inventorySlots.get(par2);
if (var4 != null && var4.getHasStack()) {
ItemStack var5 = var4.getStack();
var3 = var5.copy();
if (par2 < 2) {
if(!mergeItemStack(var5, 2, 38, false))
return null;
}
if (var5.stackSize == 0)
var4.putStack((ItemStack)null);
else
var4.onSlotChanged();
if (var5.stackSize == var3.stackSize)
return null;
var4.onPickupFromSlot(par1EntityPlayer, var5);
}
return var3;
}
}
@@ -1,31 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 19:56:00 (GMT)]
*/
package vazkii.tinkerer.inventory.slot;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public class SlotPureOutput extends Slot {
public SlotPureOutput(IInventory par1iInventory, int par2, int par3, int par4) {
super(par1iInventory, par2, par3, par4);
}
@Override
public boolean isItemValid(ItemStack par1ItemStack) {
return false;
}
}
@@ -1,49 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 18:04:41 (GMT)]
*/
package vazkii.tinkerer.inventory.slot;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import thaumcraft.api.EnumTag;
import thaumcraft.api.ObjectTags;
import thaumcraft.common.lib.ThaumcraftCraftingManager;
import vazkii.tinkerer.tile.TileEntityTransmutator;
import vazkii.tinkerer.util.handler.ConfigurationHandler;
public class SlotTransmutator extends Slot {
public SlotTransmutator(TileEntityTransmutator transmutator, int par2, int par3, int par4) {
super(transmutator, par2, par3, par4);
}
@Override
public boolean isItemValid(ItemStack par1ItemStack) {
ObjectTags tags = ThaumcraftCraftingManager.getObjectTags(par1ItemStack);
return tags != null && getTotalAspectValue(tags) <= ConfigurationHandler.transmutatorMaxValue;
}
public static int getTotalAspectValue(ObjectTags tags) {
int totalValue = 0;
for(EnumTag tag : tags.getAspects())
totalValue += tags.getAmount(tag);
return totalValue;
}
@Override
public int getSlotStackLimit() {
return 1;
}
}
@@ -1,52 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [30 Apr 2013, 22:11:57 (GMT)]
*/
package vazkii.tinkerer.inventory.slot;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import thaumcraft.api.EnumTag;
import thaumcraft.api.IAspectSource;
import thaumcraft.api.ObjectTags;
import thaumcraft.common.aura.AuraManager;
import thaumcraft.common.lib.ThaumcraftCraftingManager;
import vazkii.tinkerer.tile.TileEntityTransmutator;
import vazkii.tinkerer.util.handler.ConfigurationHandler;
public class SlotTransmutatorOutput extends SlotPureOutput {
TileEntityTransmutator transmutator;
public SlotTransmutatorOutput(TileEntityTransmutator transmutator, int par2, int par3, int par4) {
super(transmutator, par2, par3, par4);
this.transmutator = transmutator;
}
@Override
public void onPickupFromSlot(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack) {
ObjectTags tags = ThaumcraftCraftingManager.getObjectTags(transmutator.getStackInSlot(0));
int value = SlotTransmutator.getTotalAspectValue(tags);
int cost = value == 1 ? 0 : value * ConfigurationHandler.transmutatorVisMultiplier;
AuraManager.decreaseClosestAura(transmutator.worldObj, transmutator.xCoord, transmutator.yCoord, transmutator.zCoord, cost);
for(EnumTag tag : tags.getAspects()) {
IAspectSource source = transmutator.foundTags.getSource(tag);
if(source != null)
source.takeFromSource(tag, tags.getAmount(tag) * ConfigurationHandler.transmutatorEssentiaMultiplier);
}
par1EntityPlayer.worldObj.playSoundAtEntity(par1EntityPlayer, "thaumcraft.wand", 0.3F, 1F);
}
}
@@ -1,19 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [17 May 2013, 22:00:39 (GMT)]
*/
package vazkii.tinkerer.item;
public interface INoRemoveEnchant {
}
@@ -1,119 +0,0 @@
/**
* This class was created by <TheWhiteWolves>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [20 May 2013, 19:35:05 (GMT)]
*/
package vazkii.tinkerer.item;
import java.util.List;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.Potion;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.Icon;
import net.minecraft.world.World;
import thaumcraft.common.aura.AuraManager;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.lib.LibFeatures;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemCleansingTalisman extends ItemMod {
private Icon enabledIcon;
private long timer = 0L;
private static final int[] POTIONS_TO_REMOVE = new int[] {
Potion.blindness.id,
Potion.confusion.id,
Potion.poison.id,
Potion.weakness.id,
Potion.moveSlowdown.id,
Potion.wither.id
};
public ItemCleansingTalisman(int par1) {
super(par1);
setMaxStackSize(1);
}
@Override
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
if(par3EntityPlayer.isSneaking()) {
int damage = par1ItemStack.getItemDamage();
par1ItemStack.setItemDamage(damage == 0 ? 1 : 0);
par2World.playSoundAtEntity(par3EntityPlayer, "random.orb", 0.3F, 0.1F);
}
return par1ItemStack;
}
@Override
public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5) {
if(par1ItemStack.getItemDamage() == 1 && !par2World.isRemote) {
if(timer < System.currentTimeMillis()) {
timer = System.currentTimeMillis() + 1000L;
if (par3Entity instanceof EntityPlayer) {
EntityPlayer player = (EntityPlayer)par3Entity;
boolean removed = false;
if(player.isBurning()) {
player.extinguish();
removed = true;
} else for(int potion : POTIONS_TO_REMOVE) {
if(player.isPotionActive(potion)) {
player.removePotionEffect(potion);
removed = true;
break;
}
}
if(removed) {
AuraManager.decreaseClosestAura(par2World, player.posX, player.posY, player.posZ, LibFeatures.CLEANSING_TALISMAN_VIS);
par2World.playSoundAtEntity(player, "thaumcraft.wand", 0.3F, 0.1F);
}
}
}
}
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
itemIcon = IconHelper.forItem(par1IconRegister, this, 0);
enabledIcon = IconHelper.forItem(par1IconRegister, this, 1);
}
@Override
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
if(par1ItemStack.getItemDamage() == 0)
par3List.add(EnumChatFormatting.RED + "Inactive");
else par3List.add(EnumChatFormatting.GREEN + "Active");
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIconFromDamage(int par1) {
return par1 == 1 ? enabledIcon : itemIcon;
}
@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.uncommon;
}
}
@@ -1,32 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [7 May 2013, 17:18:29 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.item.ItemMultiTextureTile;
import net.minecraft.item.ItemStack;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.lib.LibBlockNames;
public class ItemDarkQuartzBlock extends ItemMultiTextureTile {
public ItemDarkQuartzBlock(int par1) {
super(par1, ModBlocks.darkQuartz, new String[] { "" } );
}
@Override
public String getItemDisplayName(ItemStack par1ItemStack) {
return par1ItemStack.getItemDamage() >= 3 ? "" : LibBlockNames.DARK_QUARTZ_BLOCK_NAMES[par1ItemStack.getItemDamage()];
}
}
@@ -1,36 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [7 May 2013, 17:19:52 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.block.BlockHalfSlab;
import net.minecraft.item.ItemSlab;
import net.minecraft.item.ItemStack;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.lib.LibBlockNames;
public class ItemDarkQuartzSlab extends ItemSlab {
public ItemDarkQuartzSlab(int par1) {
super(par1, (BlockHalfSlab) ModBlocks.darkQuartzSlab, (BlockHalfSlab) ModBlocks.darkQuartzSlabFull, par1 == ModBlocks.darkQuartzSlabFull.blockID);
}
@Override
public String getItemDisplayName(ItemStack par1ItemStack) {
return LibBlockNames.DARK_QUARTZ_SLAB_D;
}
}
@@ -1,38 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [11 May 2013, 21:00:24 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import vazkii.tinkerer.util.handler.PlayerDeathHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemDeathRune extends ItemMod {
public ItemDeathRune(int par1) {
super(par1);
setMaxStackSize(1);
MinecraftForge.EVENT_BUS.register(new PlayerDeathHandler());
}
@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.rare;
}
}
@@ -1,105 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [17 May 2013, 19:54:06 (GMT)]
*/
package vazkii.tinkerer.item;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumAction;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemTool;
import net.minecraft.world.World;
import thaumcraft.api.ThaumcraftApi;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.lib.LibFeatures;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemDefaultEnchant extends ItemTool implements INoRemoveEnchant {
Enchantment enchant;
int enchantLevel;
protected ItemDefaultEnchant(int par1, Enchantment enchant, int enchantLevel) {
super(par1, ThaumcraftApi.toolMatThaumium.getDamageVsEntity() + 4, ThaumcraftApi.toolMatThaumium, new Block[0]);
setMaxDamage(LibFeatures.ENCHANT_ITEM_MAX_DMG);
setNoRepair();
setCreativeTab(ModCreativeTab.INSTANCE);
this.enchant = enchant;
this.enchantLevel = enchantLevel;
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
itemIcon = IconHelper.forItem(par1IconRegister, this);
}
@Override
@SideOnly(Side.CLIENT)
public void getSubItems(int par1, CreativeTabs par2CreativeTabs, List par3List) {
ItemStack stack = new ItemStack(par1, 1, 0);
stack.addEnchantment(enchant, enchantLevel);
par3List.add(stack);
}
@Override
public boolean hitEntity(ItemStack par1ItemStack, EntityLiving par2EntityLiving, EntityLiving par3EntityLiving) {
par1ItemStack.damageItem(1, par3EntityLiving);
return true;
}
@Override
public EnumAction getItemUseAction(ItemStack par1ItemStack) {
return EnumAction.block;
}
@Override
public int getMaxItemUseDuration(ItemStack par1ItemStack) {
return 72000;
}
@Override
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
par3EntityPlayer.setItemInUse(par1ItemStack, getMaxItemUseDuration(par1ItemStack));
return par1ItemStack;
}
@Override
public boolean canHarvestBlock(Block par1Block) {
return true;
}
@Override
public float getStrVsBlock(ItemStack stack, Block block, int meta) {
return 1.2F;
}
@Override
public void onCreated(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
par1ItemStack.addEnchantment(enchant, enchantLevel);
}
@Override
public boolean getIsRepairable(ItemStack par1ItemStack, ItemStack par2ItemStack) {
return false;
}
}
@@ -1,54 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [19 May 2013, 12:12:46 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import thaumcraft.common.aura.AuraManager;
import vazkii.tinkerer.lib.LibFeatures;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemEnderMirror extends ItemMod {
public ItemEnderMirror(int par1) {
super(par1);
setMaxStackSize(1);
}
@Override
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
if(AuraManager.decreaseClosestAura(par2World, par3EntityPlayer.posX, par3EntityPlayer.posY, par3EntityPlayer.posZ, LibFeatures.ENDER_MIRROR_COST)) {
par3EntityPlayer.displayGUIChest(par3EntityPlayer.getInventoryEnderChest());
par2World.playSoundAtEntity(par3EntityPlayer, "mob.endermen.portal", 1F, 1F);
}
return par1ItemStack;
}
@Override
@SideOnly(Side.CLIENT)
public boolean isFull3D() {
return true;
}
@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.uncommon;
}
}
@@ -1,114 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [2 May 2013, 11:50:56 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.FurnaceRecipes;
import net.minecraft.util.Icon;
import net.minecraft.world.World;
import thaumcraft.common.Config;
import thaumcraft.common.aura.AuraManager;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.lib.LibFeatures;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemFireBracelet extends ItemMod {
Icon disabledIcon;
public ItemFireBracelet(int par1) {
super(par1);
setMaxStackSize(1);
setMaxDamage(LibFeatures.FIRE_BRACELET_CHARGES + 1);
}
@Override
public boolean onItemUse(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, World par3World, int par4, int par5, int par6, int par7, float par8, float par9, float par10) {
int id = par3World.getBlockId(par4, par5, par6);
int meta = par3World.getBlockMetadata(par4, par5, par6);
boolean did = false;
if(par1ItemStack.getItemDamage() != LibFeatures.FIRE_BRACELET_CHARGES) {
ItemStack stack = new ItemStack(id, 1, meta);
ItemStack result = FurnaceRecipes.smelting().getSmeltingResult(stack);
if(result != null && result.getItem() instanceof ItemBlock) {
par3World.setBlock(par4, par5, par6, result.itemID, result.getItemDamage(), 1 | 2);
par1ItemStack.damageItem(1, par2EntityPlayer);
par3World.playSoundAtEntity(par2EntityPlayer, "fire.ignite", 0.6F, 1F);
par3World.playSoundAtEntity(par2EntityPlayer, "fire.fire", 1F, 1F);
if(par3World.isRemote)
par2EntityPlayer.swingItem();
for(int i = 0; i < 25; i++) {
double x = par4 + Math.random();
double y = par5 + Math.random();
double z = par6 + Math.random();
ThaumicTinkerer.tcProxy.wispFX2(par3World, x, y, z, (float) Math.random() / 2F, 4, true, (float) -Math.random() / 10F);
}
if(par1ItemStack.getItemDamage() == LibFeatures.FIRE_BRACELET_CHARGES)
par3World.playSoundAtEntity(par2EntityPlayer, "thaumcraft.brain", 1F, 1F);
did = true;
return did;
}
}
return false;
}
@Override
public boolean onItemUseFirst(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ) {
int id = world.getBlockId(x, y, z);
int meta = world.getBlockMetadata(x, y, z);
if(stack.getItemDamage() == LibFeatures.FIRE_BRACELET_CHARGES && id == Config.blockWoodenDevice.blockID && meta == 0 && AuraManager.decreaseClosestAura(world, x, y, z, LibFeatures.FIRE_BRACELET_RECHARGE_VIS)) {
world.playSoundAtEntity(player, "fire.ignite", 0.6F, 1F);
world.playSoundAtEntity(player, "fire.fire", 1F, 1F);
if(world.isRemote)
player.swingItem();
stack.setItemDamage(0);
return true;
}
return false;
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
itemIcon = IconHelper.forItem(par1IconRegister, this, 1);
disabledIcon = IconHelper.forItem(par1IconRegister, this, 0);
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIconFromDamage(int par1) {
return par1 == LibFeatures.FIRE_BRACELET_CHARGES ? disabledIcon : itemIcon;
}
@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.uncommon;
}
}
@@ -1,113 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [20 May 2013, 22:15:39 (GMT)]
*/
package vazkii.tinkerer.item;
import java.util.Collection;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTBase;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagInt;
import net.minecraft.util.Icon;
import net.minecraft.world.World;
import thaumcraft.api.EnumTag;
import thaumcraft.api.ObjectTags;
import thaumcraft.api.aura.AuraNode;
import thaumcraft.common.items.ItemThaumometer;
import vazkii.tinkerer.util.helper.MiscHelper;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemFluxDetector extends ItemThaumometer {
private static final String TAG_OBJECT_TAGS_CMP = "tagsCmp";
private static final String TAG_OBJECT_TAG = "tag%s";
private static final String TAG_OBJECT_TAG_REPLACE = "tag";
public ItemFluxDetector(int par1) {
super(par1);
setCreativeTab(ModCreativeTab.INSTANCE);
}
@Override
public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5) {
if(!par2World.isRemote) {
AuraNode node = MiscHelper.getClosestNode(par2World, par3Entity.posX, par3Entity.posY, par3Entity.posZ);
setTagCompoundForNode(par1ItemStack, node);
}
}
private void setTagCompoundForNode(ItemStack stack, AuraNode node) {
NBTTagCompound cmp = new NBTTagCompound();
if(node == null) {
if(stack.hasTagCompound())
cmp.setCompoundTag(TAG_OBJECT_TAGS_CMP, new NBTTagCompound());
} else {
NBTTagCompound cmp1 = new NBTTagCompound();
ObjectTags flux = node.flux;
if(flux != null && flux.getAspects().length > 0) // Nice clean aura :D
for(EnumTag tag : flux.getAspects())
if(tag != null)
cmp1.setInteger(String.format(TAG_OBJECT_TAG, tag.id), flux.getAmount(tag));
cmp.setCompoundTag(TAG_OBJECT_TAGS_CMP, cmp1);
stack.setTagCompound(cmp);
}
}
public static ObjectTags getTags(ItemStack stack) {
if(stack.hasTagCompound()) {
NBTTagCompound cmp = stack.getTagCompound();
if(cmp.hasKey(TAG_OBJECT_TAGS_CMP)) {
NBTTagCompound cmp1 = cmp.getCompoundTag(TAG_OBJECT_TAGS_CMP);
if(cmp1 != null) {
ObjectTags tags = new ObjectTags();
Collection<NBTBase> cmpTags = cmp1.getTags();
for(NBTBase tag : cmpTags) {
if(tag instanceof NBTTagInt) {
NBTTagInt integer = (NBTTagInt) tag;
int tagID = Integer.parseInt(tag.getName().replaceAll(TAG_OBJECT_TAG_REPLACE, ""));
int amount = integer.data;
tags.add(EnumTag.get(tagID), amount);
}
}
return tags;
}
}
}
return null;
}
@Override
public boolean getShareTag() {
return true;
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIconFromDamage(int par1) {
return iconRing;
}
@Override
@SideOnly(Side.CLIENT)
public boolean requiresMultipleRenderPasses() {
return false;
}
}
-53
View File
@@ -1,53 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 11:40:30 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
public class ItemGas extends ItemMod {
private Block setBlock;
public ItemGas(int par1, Block setBlock) {
super(par1);
this.setBlock = setBlock;
}
@Override
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
int x = (int) par3EntityPlayer.posX;
int y = (int) par3EntityPlayer.posY + 1;
int z = (int) par3EntityPlayer.posZ;
boolean air = par2World.isAirBlock(x, y, z);
if (!par3EntityPlayer.capabilities.isCreativeMode)
par1ItemStack.stackSize--;
par2World.playSoundAtEntity(par3EntityPlayer, "random.pop", 0.5F, 0.4F / (itemRand.nextFloat() * 0.4F + 0.8F));
if(air) {
if(!par2World.isRemote)
par2World.setBlock(x, y, z, setBlock.blockID, 4, 2);
else par3EntityPlayer.swingItem();
par2World.scheduleBlockUpdate(x, y, z, setBlock.blockID, 10);
}
return par1ItemStack;
}
}
@@ -1,62 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [20 May 2013, 21:01:32 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import vazkii.tinkerer.block.BlockGas;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemGasRemover extends ItemMod {
public ItemGasRemover(int par1) {
super(par1);
setMaxStackSize(1);
}
@Override
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
if(par3EntityPlayer.isSneaking()) {
int xs = (int) par3EntityPlayer.posX;
int ys = (int) par3EntityPlayer.posY;
int zs = (int) par3EntityPlayer.posZ;
for(int x = xs - 2; x < xs + 2; x++)
for(int y = ys - 3; y < ys + 3; y++)
for(int z = zs - 2; z < zs + 2; z++) {
int id = par2World.getBlockId(x, y, z);
if(Block.blocksList[id] != null && Block.blocksList[id] instanceof BlockGas) {
BlockGas gas = (BlockGas) Block.blocksList[id];
gas.placeParticle(par2World, x, y, z);
par2World.setBlock(x, y, z, 0, 0, 1 | 2);
}
}
par2World.playSoundAtEntity(par3EntityPlayer, "thaumcraft.wand", 0.2F, 1F);
}
return par1ItemStack;
}
@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.uncommon;
}
}
@@ -1,73 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [19 May 2013, 14:48:10 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.MinecraftForge;
import thaumcraft.api.IVisDiscounter;
import thaumcraft.api.IVisRepairable;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.common.aura.AuraManager;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.lib.LibResources;
import vazkii.tinkerer.util.handler.PlayerDamageHandler;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemGoliathLegs extends ItemArmor implements IVisRepairable, IVisDiscounter {
public ItemGoliathLegs(int par1) {
super(par1, ThaumcraftApi.armorMatSpecial, 0, 2);
setCreativeTab(ModCreativeTab.INSTANCE);
MinecraftForge.EVENT_BUS.register(new PlayerDamageHandler());
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
itemIcon = IconHelper.forItem(par1IconRegister, this);
}
@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.rare;
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, int layer) {
return LibResources.MODEL_LEGS_GOLIATH;
}
@Override
public int getVisDiscount() {
return 4;
}
@Override
public void doRepair(ItemStack stack, Entity player)
{
if (AuraManager.decreaseClosestAura(player.worldObj, player.posX, player.posY, player.posZ, 1)) {
stack.damageItem(-1, (EntityLiving)player);
}
}
}
-36
View File
@@ -1,36 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 11:37:18 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.item.Item;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemMod extends Item {
public ItemMod(int par1) {
super(par1);
setCreativeTab(ModCreativeTab.INSTANCE);
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
itemIcon = IconHelper.forItem(par1IconRegister, this);
}
}
@@ -1,63 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [27 Apr 2013, 18:23:29 (GMT)]
*/
package vazkii.tinkerer.item;
import java.util.List;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import thaumcraft.common.entities.golems.EntityGolemBase;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemNametag extends ItemMod {
public ItemNametag(int par1) {
super(par1);
}
@Override
public boolean onLeftClickEntity(ItemStack stack, EntityPlayer player, Entity entity) {
if(entity instanceof EntityGolemBase) {
EntityGolemBase golem = (EntityGolemBase) entity;
if(!stack.hasDisplayName()) {
if(player.worldObj.isRemote)
player.addChatMessage("This name tag is blank. You need to name it using an anvil.");
return true;
}
if(golem.getOwnerName().equals(player.username)) {
golem.func_94058_c(stack.getDisplayName());
golem.playLivingSound();
if(player.worldObj.isRemote)
player.swingItem();
} else if(player.worldObj.isRemote)
player.addChatMessage("That golem isn't yours.");
return true;
}
return false;
}
@Override
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
if(!par1ItemStack.hasDisplayName())
par3List.add("Blank");
}
}
@@ -1,71 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 14:28:21 (GMT)]
*/
package vazkii.tinkerer.item;
import java.awt.Color;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import vazkii.tinkerer.lib.LibFeatures;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemSpellCloth extends ItemMod {
public ItemSpellCloth(int par1) {
super(par1);
setMaxDamage(LibFeatures.SPELL_CLOTH_USES);
setMaxStackSize(1);
CraftingManager.getInstance().getRecipeList().add(new SpellClothRecipe(this));
}
@Override
@SideOnly(Side.CLIENT)
public int getColorFromItemStack(ItemStack par1ItemStack, int par2) {
return Color.HSBtoRGB(0.75F, ((float) par1ItemStack.getMaxDamage() - (float) par1ItemStack.getItemDamage()) / par1ItemStack.getMaxDamage() * 0.5F, 1F);
}
@Override
public boolean hasContainerItem() {
return true;
}
@Override
public ItemStack getContainerItemStack(ItemStack itemStack) {
itemStack.setItemDamage(itemStack.getItemDamage() + 1);
return itemStack;
}
@Override
public boolean doesContainerItemLeaveCraftingGrid(ItemStack par1ItemStack) {
return false;
}
@Override
@SideOnly(Side.CLIENT)
public boolean hasEffect(ItemStack par1ItemStack) {
return par1ItemStack.getItemDamage() == 0;
}
@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.uncommon;
}
}
@@ -1,174 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 21:54:08 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionEffect;
import net.minecraft.world.World;
import net.minecraftforge.common.FakePlayer;
import thaumcraft.common.aura.AuraManager;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.lib.LibFeatures;
import vazkii.tinkerer.potion.ModPotions;
import vazkii.tinkerer.util.helper.ItemNBTHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemStopwatch extends ItemMod {
public static final String TAG_USERNAME = "username";
public static final String TAG_X = "x";
public static final String TAG_Y = "y";
public static final String TAG_Z = "z";
public static final String TAG_PITCH = "pitch";
public static final String TAG_YAW = "yaw";
public static final String TAG_MOTION_X = "motionX";
public static final String TAG_MOTION_Y = "motionY";
public static final String TAG_MOTION_Z = "motionZ";
public static final String TAG_DIMENSION = "dim";
public static final String TAG_HP = "hp";
public static final String TAG_FOOD = "food";
public static final String TAG_SATURATION = "saturation";
public ItemStopwatch(int par1) {
super(par1);
setMaxStackSize(1);
setMaxDamage(11);
setNoRepair();
}
@Override
public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5) {
if(!par2World.isRemote && par1ItemStack.getItemDamage() >= 1 && decreaseAura(par3Entity))
par1ItemStack.setItemDamage(par1ItemStack.getItemDamage() - 1);
if(par3Entity instanceof EntityPlayer && validate(par1ItemStack, (EntityPlayer) par3Entity)) {
EntityPlayer player = (EntityPlayer) par3Entity;
PotionEffect effect = player.getActivePotionEffect(ModPotions.effectStopwatch);
if(effect.duration % 20 == 0)
par2World.playSoundAtEntity(par3Entity, "random.click", 0.5F, 1F);
if(effect.duration == 1) {
moveParticlesAndSound(par3Entity);
if(par3Entity instanceof EntityPlayerMP && !par2World.isRemote) {
regressStatus(par1ItemStack, (EntityPlayerMP) par3Entity);
wipeData(par1ItemStack, par3Entity);
}
moveParticlesAndSound(par3Entity);
}
} else wipeData(par1ItemStack, par3Entity);
}
@Override
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
if(!validate(par1ItemStack, par3EntityPlayer) && !(par3EntityPlayer instanceof FakePlayer)) {
int charge = par1ItemStack.getMaxDamage() - par1ItemStack.getItemDamage();
if(charge >= 10) {
populateNBT(par1ItemStack, par3EntityPlayer);
PotionEffect effect = new PotionEffect(ModPotions.effectStopwatch.id, LibFeatures.STOPWATCH_TIME, 0);
effect.getCurativeItems().clear();
par3EntityPlayer.addPotionEffect(effect);
par2World.playSoundAtEntity(par3EntityPlayer, "thaumcraft.wand", 1F, 1F);
par1ItemStack.damageItem(10, par3EntityPlayer);
} else if(!par2World.isRemote)
par3EntityPlayer.addChatMessage("The Stopwatch does not have enough charge to do that.");
} else if(!par2World.isRemote)
par3EntityPlayer.addChatMessage("You can not Twist Time while a Time Twister effect lingers.");
return par1ItemStack;
}
@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.uncommon;
}
private static void moveParticlesAndSound(Entity entity) {
for(int i = 0; i < 15; i++) {
float x = (float) (entity.posX + Math.random());
float y = (float) (entity.posY + 1.2 + Math.random());
float z = (float) (entity.posZ + Math.random());
ThaumicTinkerer.tcProxy.wispFX(entity.worldObj, x, y, z, (float) Math.random(), 1F, 1F, 0F);
}
entity.worldObj.playSoundAtEntity(entity, "thaumcraft.wand", 1F, 1F);
}
private static boolean decreaseAura(Entity player) {
return AuraManager.decreaseClosestAura(player.worldObj, player.posX, player.posY, player.posZ, LibFeatures.STOPWATCH_VIS / 10);
}
private static void populateNBT(ItemStack stack, EntityPlayer player) {
ItemNBTHelper.setString(stack, TAG_USERNAME, player.username);
ItemNBTHelper.setDouble(stack, TAG_X, player.posX);
ItemNBTHelper.setDouble(stack, TAG_Y, player.posY);
ItemNBTHelper.setDouble(stack, TAG_Z, player.posZ);
ItemNBTHelper.setFloat(stack, TAG_PITCH, player.rotationPitch);
ItemNBTHelper.setFloat(stack, TAG_YAW, player.rotationYaw);
ItemNBTHelper.setDouble(stack, TAG_MOTION_X, player.motionX);
ItemNBTHelper.setDouble(stack, TAG_MOTION_Y, player.motionY);
ItemNBTHelper.setDouble(stack, TAG_MOTION_Z, player.motionZ);
ItemNBTHelper.setInt(stack, TAG_DIMENSION, player.dimension);
ItemNBTHelper.setInt(stack, TAG_HP, player.getHealth());
ItemNBTHelper.setInt(stack, TAG_FOOD, player.getFoodStats().getFoodLevel());
ItemNBTHelper.setFloat(stack, TAG_SATURATION, player.getFoodStats().getSaturationLevel());
}
private static boolean validate(ItemStack stack, EntityPlayer player) {
if(!stack.hasTagCompound() || !player.isPotionActive(ModPotions.effectStopwatch.id))
return false;
String username = ItemNBTHelper.getString(stack, TAG_USERNAME, "");
int dim = ItemNBTHelper.getInt(stack, TAG_DIMENSION, Integer.MIN_VALUE);
return username.equals(player.username) && dim == player.dimension;
}
private static void regressStatus(ItemStack stack, EntityPlayerMP player) {
double x = ItemNBTHelper.getDouble(stack, TAG_X, 0D);
double y = ItemNBTHelper.getDouble(stack, TAG_Y, 0D);
double z = ItemNBTHelper.getDouble(stack, TAG_Z, 0D);
float pitch = ItemNBTHelper.getFloat(stack, TAG_PITCH, 0F);
float yaw = ItemNBTHelper.getFloat(stack, TAG_YAW, 0F);
double motionX = ItemNBTHelper.getDouble(stack, TAG_MOTION_X, 0D);
double motionY = ItemNBTHelper.getDouble(stack, TAG_MOTION_Y, 0D);
double motionZ = ItemNBTHelper.getDouble(stack, TAG_MOTION_Z, 0D);
int health = ItemNBTHelper.getInt(stack, TAG_HP, 0);
int food = ItemNBTHelper.getInt(stack, TAG_FOOD, 0);
float saturation = ItemNBTHelper.getFloat(stack, TAG_SATURATION, 0F);
player.playerNetServerHandler.setPlayerLocation(x, y, z, pitch, yaw);
player.motionX = motionX;
player.motionY = motionY;
player.motionZ = motionZ;
player.setEntityHealth(health);
player.getFoodStats().setFoodLevel(food);
player.getFoodStats().setFoodSaturationLevel(saturation);
}
private static void wipeData(ItemStack stack, Entity player) {
stack.setTagCompound(null);
if(player instanceof EntityLiving)
((EntityLiving) player).removePotionEffect(ModPotions.effectStopwatch.id);
}
}
@@ -1,53 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [11 May 2013, 00:12:00 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import net.minecraft.world.World;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.common.items.equipment.ItemElementalSword;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemSwordCondor extends ItemElementalSword {
public ItemSwordCondor(int i) {
super(i, ThaumcraftApi.toolMatElemental);
setMaxDamage(getMaxDamage() + ModItems.wandUprising.getMaxDamage());
setCreativeTab(ModCreativeTab.INSTANCE);
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
itemIcon = IconHelper.forItem(par1IconRegister, this);
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIconFromDamage(int par1) {
return itemIcon;
}
@Override
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
return ItemWandUprising.movePlayer(par1ItemStack, par2World, par3EntityPlayer, par3EntityPlayer.isSneaking(), 1.15);
}
}
@@ -1,164 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [8 May 2013, 20:53:06 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.EnumAction;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import net.minecraft.util.Vec3;
import net.minecraft.world.World;
import thaumcraft.common.aura.AuraManager;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.lib.LibFeatures;
import vazkii.tinkerer.util.helper.ItemNBTHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemTeleportSigil extends ItemMod {
private static final String TAG_X = "x";
private static final String TAG_Y = "y";
private static final String TAG_Z = "z";
private static final String TAG_DIMENSION = "dim";
Icon enabledIcon;
public ItemTeleportSigil(int par1) {
super(par1);
setMaxStackSize(1);
setHasSubtypes(true);
}
@Override
public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ) {
if(stack.getItemDamage() == 1)
return true;
if(world.isRemote)
player.swingItem();
else setData(stack, player.dimension, x, y, z);
world.playSoundAtEntity(player, "thaumcraft.tool", 1F, 1F);
for(int i = 0; i < 20; i++) {
double x1 = x + Math.random();
double y1 = y + Math.random() + 0.75;
double z1 = z + Math.random();
ThaumicTinkerer.tcProxy.wispFX2(world, x1, y1, z1, 0.25F, 5, true, -0.02F);
}
return true;
}
@Override
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
if(par1ItemStack.getItemDamage() == 1)
par3EntityPlayer.setItemInUse(par1ItemStack, getMaxItemUseDuration(par1ItemStack));
return par1ItemStack;
}
@Override
public void onUsingItemTick(ItemStack stack, EntityPlayer player, int count) {
if(getMaxItemUseDuration(stack) - count >= LibFeatures.TELEPORT_SIGIL_TIME && count % 10 == 0) {
for(int i = 0; i < 5; i++) {
double x = player.posX + player.width / 2 + (Math.random() - 0.5) * 4;
double y = player.posY + player.width / 2 + (Math.random() - 0.5) * 4;
double z = player.posZ - player.height / 2 + (Math.random() - 0.5) * 4;
Vec3 vector = player.worldObj.getWorldVec3Pool().getVecFromPool(x, y, z);
ThaumicTinkerer.proxy.sigilLightning(player.worldObj, player, vector);
}
player.worldObj.playSoundAtEntity(player, "thaumcraft.zap", 0.2F, 1F);
}
}
@Override
public void onPlayerStoppedUsing(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer, int par4) {
if(getMaxItemUseDuration(par1ItemStack) - par4 >= LibFeatures.TELEPORT_SIGIL_TIME && AuraManager.decreaseClosestAura(par2World, par3EntityPlayer.posX, par3EntityPlayer.posY, par3EntityPlayer.posZ, LibFeatures.TELEPORT_SIGIL_VIS)) {
moveParticlesAndSound(par3EntityPlayer);
if(par3EntityPlayer instanceof EntityPlayerMP && !par2World.isRemote)
regressStatus(par1ItemStack, (EntityPlayerMP) par3EntityPlayer);
moveParticlesAndSound(par3EntityPlayer);
par3EntityPlayer.renderBrokenItemStack(par1ItemStack);
par3EntityPlayer.inventory.setInventorySlotContents(par3EntityPlayer.inventory.currentItem, null);
}
}
private static void moveParticlesAndSound(Entity entity) {
for(int i = 0; i < 15; i++) {
float x = (float) (entity.posX + Math.random());
float y = (float) (entity.posY + 1.2 + Math.random());
float z = (float) (entity.posZ + Math.random());
ThaumicTinkerer.tcProxy.wispFX2(entity.worldObj, x, y, z, 0.5F, 5, true, -0.02F);
}
entity.worldObj.playSoundAtEntity(entity, "thaumcraft.tool", 1F, 1F);
}
@Override
public int getMaxItemUseDuration(ItemStack par1ItemStack) {
return 72000;
}
@Override
public EnumAction getItemUseAction(ItemStack par1ItemStack) {
return EnumAction.block;
}
@Override
public boolean getShareTag() {
return true;
}
private static void setData(ItemStack stack, int dim, int x, int y, int z) {
ItemNBTHelper.setInt(stack, TAG_X, x);
ItemNBTHelper.setInt(stack, TAG_Y, y);
ItemNBTHelper.setInt(stack, TAG_Z, z);
ItemNBTHelper.setInt(stack, TAG_DIMENSION, dim);
stack.setItemDamage(1);
}
private static void regressStatus(ItemStack stack, EntityPlayerMP player) {
int x = ItemNBTHelper.getInt(stack, TAG_X, 0);
int y = ItemNBTHelper.getInt(stack, TAG_Y, 0);
int z = ItemNBTHelper.getInt(stack, TAG_Z, 0);
player.playerNetServerHandler.setPlayerLocation(x + 0.5, y + 1.6, z + 0.5, player.rotationPitch, player.rotationYaw);
}
@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.uncommon;
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
itemIcon = IconHelper.forItem(par1IconRegister, this, 0);
enabledIcon = IconHelper.forItem(par1IconRegister, this, 1);
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIconFromDamage(int par1) {
return par1 == 1 ? enabledIcon : itemIcon;
}
}
@@ -1,150 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [27 Apr 2013, 14:59:05 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.Icon;
import net.minecraft.world.World;
import net.minecraftforge.common.ForgeDirection;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.common.items.wands.ItemWandTrade;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.lib.LibFeatures;
import vazkii.tinkerer.util.helper.ItemNBTHelper;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemWandDislocation extends ItemWandTrade {
private static String TAG_TILE_CMP = "tileEntityCMP";
private static String TAG_AVAILABLE = "available";
public ItemWandDislocation(int i) {
super(i);
setMaxDamage(250);
setCreativeTab(ModCreativeTab.INSTANCE);
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
itemIcon = IconHelper.forItem(par1IconRegister, this);
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIconFromDamage(int par1) {
return itemIcon;
}
@Override
public boolean onItemUseFirst(ItemStack arg0, EntityPlayer arg1, World arg2, int arg3, int arg4, int arg5, int arg6, float arg7, float arg8, float arg9) {
int id = arg2.getBlockId(arg3, arg4, arg5);
int meta = arg2.getBlockMetadata(arg3, arg4, arg5);
TileEntity tile = arg2.getBlockTileEntity(arg3, arg4, arg5);
if(arg1.canPlayerEdit(arg3, arg4, arg5, arg6, arg0)) {
if(getPickedBlock(arg0) != null) {
ItemStack stack = getPickedBlock(arg0);
if (arg6 == 0)
--arg4;
if (arg6 == 1)
++arg4;
if (arg6 == 2)
--arg5;
if (arg6 == 3)
++arg5;
if (arg6 == 4)
--arg3;
if (arg6 == 5)
++arg3;
if(Block.blocksList[stack.itemID].canPlaceBlockOnSide(arg2, arg3, arg4, arg5, ForgeDirection.getOrientation(arg6).getOpposite().ordinal(), stack)) {
arg2.setBlock(arg3, arg4, arg5, stack.itemID, stack.getItemDamage(), 1 | 2);
NBTTagCompound tileCmp = ItemNBTHelper.getCompound(arg0, TAG_TILE_CMP, true);
if(tileCmp != null && !tileCmp.getTags().isEmpty()) {
TileEntity tile1 = TileEntity.createAndLoadEntity(tileCmp);
tile1.xCoord = arg3;
tile1.yCoord = arg4;
tile1.zCoord = arg5;
arg2.setBlockTileEntity(arg3, arg4, arg5, tile1);
}
if(arg2.isRemote)
arg1.swingItem();
clearPickedBlock(arg0);
arg0.damageItem(LibFeatures.WAND_DISLOCATION_VIS, arg1);
for(int i = 0; i < 8; i++) {
float x = (float) (arg3 + Math.random());
float y = (float) (arg4 + Math.random()) + 0.65F;
float z = (float) (arg5 + Math.random());
ThaumicTinkerer.tcProxy.burst(arg2, x, y, z, 0.2F);
}
arg2.playSoundAtEntity(arg1, "thaumcraft.wand", 0.5F, 1F);
}
} else if(!ThaumcraftApi.portableHoleBlackList.contains(id) && Block.blocksList[id] != null && Block.blocksList[id].getBlockHardness(arg2, arg3, arg4, arg5) != -1F) {
arg2.removeBlockTileEntity(arg3, arg4, arg5);
arg2.setBlock(arg3, arg4, arg5, 0, 0, 1 | 2);
storePickedBlock(arg0, (short) id, (short) meta, tile);
for(int i = 0; i < 8; i++) {
float x = (float) (arg3 + Math.random());
float y = (float) (arg4 + Math.random());
float z = (float) (arg5 + Math.random());
ThaumicTinkerer.tcProxy.burst(arg2, x, y, z, 0.2F);
}
arg2.playSoundAtEntity(arg1, Block.blocksList[id].stepSound.getBreakSound(), 1F, 1F);
arg2.playSoundAtEntity(arg1, "thaumcraft.wand", 0.5F, 1F);
if(arg2.isRemote)
arg1.swingItem();
arg0.damageItem(LibFeatures.WAND_DISLOCATION_VIS, arg1);
}
}
return false;
}
@Override
public boolean onBlockStartBreak(ItemStack itemstack, int x, int y, int z, EntityPlayer player) {
return true; // Don't allow for the wand of trade behaviour
}
@Override
public ItemStack getPickedBlock(ItemStack stack) {
return stack.hasTagCompound() && stack.getTagCompound().hasKey(TAG_AVAILABLE) &&
stack.getTagCompound().getBoolean(TAG_AVAILABLE) ? super.getPickedBlock(stack) : null;
}
private void storePickedBlock(ItemStack stack, short id, short meta, TileEntity tile) {
super.storePickedBlock(stack, id, meta);
NBTTagCompound cmp = new NBTTagCompound();
if(tile != null)
tile.writeToNBT(cmp);
ItemNBTHelper.setCompound(stack, TAG_TILE_CMP, cmp);
ItemNBTHelper.setBoolean(stack, TAG_AVAILABLE, true);
}
private void clearPickedBlock(ItemStack stack) {
ItemNBTHelper.setBoolean(stack, TAG_AVAILABLE, false);
}
}
@@ -1,55 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [24 Apr 2013, 22:53:54 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
import thaumcraft.common.items.wands.ItemWandCasting;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemWandTinkerer extends ItemWandCasting {
public ItemWandTinkerer(int i) {
super(i);
setCreativeTab(ModCreativeTab.INSTANCE);
}
@Override
public int getMaxVis() {
return 500;
}
@Override
public int getRechargeInterval() {
return 12;
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
itemIcon = IconHelper.forItem(par1IconRegister, this);
}
@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.rare;
}
}
@@ -1,74 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [10 May 2013, 21:53:44 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import net.minecraft.util.Vec3;
import net.minecraft.world.World;
import thaumcraft.common.items.wands.ItemWandFrost;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemWandUprising extends ItemWandFrost {
// ItemWandFrost, in order to have it recharge. That code doesn't seem to be in the
// ItemWandBasic class.
public ItemWandUprising(int i) {
super(i);
setCreativeTab(ModCreativeTab.INSTANCE);
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister ir) {
itemIcon = IconHelper.forItem(ir, this);
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIconFromDamage(int par1) {
return itemIcon;
}
@Override
public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer p) {
return movePlayer(itemstack, world, p, false, 1 / 1.5);
}
// Method also used in ItemSwordCondor
protected static ItemStack movePlayer(ItemStack itemstack, World world, EntityPlayer p, boolean inverse, double force) {
Vec3 vec = p.getLookVec();
int mul = inverse ? -1 : 1;
p.motionX = vec.xCoord * force * mul;
p.motionY = vec.yCoord * force * mul;
p.motionZ = vec.zCoord * force * mul;
p.fallDistance = 0F;
for(int i = 0; i < 5; i++)
ThaumicTinkerer.tcProxy.smokeSpiral(world, p.posX, p.posY - p.motionY, p.posZ, 2F, (int) Math.random() * 360, (int) p.posY);
world.playSoundAtEntity(p, "thaumcraft.wind", 0.4F, 1F);
if(world.isRemote)
p.swingItem();
else itemstack.damageItem(1, p);
return itemstack;
}
}
@@ -1,158 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [1 May 2013, 18:48:38 (GMT)]
*/
package vazkii.tinkerer.item;
import java.util.List;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.entity.item.EntityXPOrb;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.Icon;
import net.minecraft.world.World;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.lib.LibFeatures;
import vazkii.tinkerer.util.helper.ItemNBTHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemXPTalisman extends ItemMod {
private static final String TAG_XP = "xp";
Icon enabledIcon;
public ItemXPTalisman(int par1) {
super(par1);
setMaxStackSize(1);
}
@Override
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer) {
if(par3EntityPlayer.isSneaking()) {
if(getXP(par1ItemStack) < LibFeatures.XP_TALISMAN_MAX_XP) {
int dmg = par1ItemStack.getItemDamage();
par1ItemStack.setItemDamage(dmg == 0 ? 1 : 0);
par2World.playSoundAtEntity(par3EntityPlayer, "random.orb", 0.3F, 0.1F);
}
} else if(getXP(par1ItemStack) >= LibFeatures.XP_TALISMAN_ENCHANTING_BOTTLE_COST) {
boolean has = par3EntityPlayer.inventory.consumeInventoryItem(Item.glassBottle.itemID);
if(has) {
if(!par3EntityPlayer.inventory.addItemStackToInventory(new ItemStack(Item.expBottle, 1)) && !par2World.isRemote)
par3EntityPlayer.dropItem(Item.expBottle.itemID, 1);
int xp = getXP(par1ItemStack);
setXP(par1ItemStack, xp - LibFeatures.XP_TALISMAN_ENCHANTING_BOTTLE_COST);
par2World.playSoundAtEntity(par3EntityPlayer, "random.orb", 0.1F, (float) (0.1F + Math.random() / 2F));
for(int i = 0; par2World.isRemote && i < 6; i++)
ThaumicTinkerer.tcProxy.sparkle((float) (par3EntityPlayer.posX + (Math.random() - 0.5)), (float) (par3EntityPlayer.posY + Math.random() - 0.5), (float) (par3EntityPlayer.posZ + (Math.random() - 0.5)), 3);
}
}
return par1ItemStack;
}
@Override
public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5) {
if(par1ItemStack.getItemDamage() == 1 && !par2World.isRemote) {
int r = LibFeatures.XP_TALISMAN_RANGE;
int currentXP = getXP(par1ItemStack);
int xpToAdd = 0;
int maxXP = LibFeatures.XP_TALISMAN_MAX_XP - currentXP; // Max, to prevent overflow.
if(maxXP <= 0) {
par1ItemStack.setItemDamage(0);
return; // Can't take any XP.
}
AxisAlignedBB boundingBox = AxisAlignedBB.getBoundingBox(par3Entity.posX - r, par3Entity.posY - r, par3Entity.posZ - r, par3Entity.posX + r, par3Entity.posY + r, par3Entity.posZ + r);
List<EntityXPOrb> orbs = par2World.getEntitiesWithinAABB(EntityXPOrb.class, boundingBox);
for(EntityXPOrb orb : orbs) {
if(!orb.isDead) {
int xp = orb.getXpValue();
if(xpToAdd + xp <= maxXP) {
xpToAdd += xp;
consumeXPOrb(orb);
}
maxXP -= xpToAdd;
if(maxXP <= 0)
break;
}
}
setXP(par1ItemStack, Math.min(LibFeatures.XP_TALISMAN_MAX_XP, currentXP + xpToAdd));
}
}
private void consumeXPOrb(EntityXPOrb orb) {
orb.setDead();
orb.worldObj.playSoundAtEntity(orb, "thaumcraft.zap", orb.getXpValue() / 10F, 1F);
ThaumicTinkerer.tcProxy.wispFX(orb.worldObj, orb.posX, orb.posY, orb.posZ, orb.getXpValue() / 5F, 0.1F, 0.9F, 0.1F);
}
@Override
public boolean getShareTag() {
return true;
}
@Override
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
par3List.add("XP: " + getXP(par1ItemStack));
if(getXP(par1ItemStack) >= LibFeatures.XP_TALISMAN_MAX_XP)
par3List.add(EnumChatFormatting.RED + "Full");
else if(par1ItemStack.getItemDamage() == 0)
par3List.add(EnumChatFormatting.RED + "Not Absorbing");
else par3List.add(EnumChatFormatting.GREEN + "Absorbing");
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister par1IconRegister) {
itemIcon = IconHelper.forItem(par1IconRegister, this, 0);
enabledIcon = IconHelper.forItem(par1IconRegister, this, 1);
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIconFromDamage(int par1) {
return par1 == 1 ? enabledIcon : itemIcon;
}
@Override
@SideOnly(Side.CLIENT)
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.uncommon;
}
public static boolean hasCmp(ItemStack stack) {
return ItemNBTHelper.detectNBT(stack);
}
public static int getXP(ItemStack stack) {
return ItemNBTHelper.getInt(stack, TAG_XP, 0);
}
public static void setXP(ItemStack stack, int xp) {
ItemNBTHelper.setInt(stack, TAG_XP, xp);
}
}
-142
View File
@@ -1,142 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [24 Apr 2013, 22:53:42 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.item.Item;
import thaumcraft.api.EnumTag;
import thaumcraft.api.ObjectTags;
import thaumcraft.api.ThaumcraftApi;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.lib.LibItemIDs;
import vazkii.tinkerer.lib.LibItemNames;
import vazkii.tinkerer.lib.LibMisc;
import cpw.mods.fml.common.registry.LanguageRegistry;
public final class ModItems {
public static Item wandTinkerer;
public static Item glowstoneGas;
public static Item spellCloth;
public static Item stopwatch;
public static Item wandDislocation;
public static Item nametag;
public static Item xpTalisman;
public static Item fireBracelet;
public static Item darkQuartz;
public static Item teleportSigil;
public static Item wandUprising;
public static Item swordCondor;
public static Item deathRune;
public static Item silkSword;
public static Item fortuneMaul;
public static Item enderMirror;
public static Item goliathLegs;
public static Item darkGas;
public static Item gasRemover;
public static Item cleansingTalisman;
public static Item fluxDetector;
public static void initItems() {
wandTinkerer = new ItemWandTinkerer(LibItemIDs.idWandTinkerer).setUnlocalizedName(LibItemNames.WAND_TINKERER);
glowstoneGas = new ItemGas(LibItemIDs.idGlowstoneGas, ModBlocks.glowstoneGas).setUnlocalizedName(LibItemNames.GLOWSTONE_GAS);
spellCloth = new ItemSpellCloth(LibItemIDs.idSpellCloth).setUnlocalizedName(LibItemNames.SPELL_CLOTH);
stopwatch = new ItemStopwatch(LibItemIDs.idStopwatch).setUnlocalizedName(LibItemNames.STOPWATCH);
wandDislocation = new ItemWandDislocation(LibItemIDs.idWandDislocation).setUnlocalizedName(LibItemNames.WAND_DISLOCATION);
nametag = new ItemNametag(LibItemIDs.idNametag).setUnlocalizedName(LibItemNames.NAMETAG);
xpTalisman = new ItemXPTalisman(LibItemIDs.idXpTalisman).setUnlocalizedName(LibItemNames.XP_TALISMAN);
fireBracelet = new ItemFireBracelet(LibItemIDs.idFireBracelet).setUnlocalizedName(LibItemNames.FIRE_BRACELET);
darkQuartz = new ItemMod(LibItemIDs.idDarkQuartz).setUnlocalizedName(LibItemNames.DARK_QUARTZ);
teleportSigil = new ItemTeleportSigil(LibItemIDs.idTeleportSigil).setUnlocalizedName(LibItemNames.TELEPORTATION_SIGIL);
wandUprising = new ItemWandUprising(LibItemIDs.idWandUprising).setUnlocalizedName(LibItemNames.WAND_UPRISING);
swordCondor = new ItemSwordCondor(LibItemIDs.idSwordCondor).setUnlocalizedName(LibItemNames.SWORD_CONDOR);
deathRune = new ItemDeathRune(LibItemIDs.idDeathRune).setUnlocalizedName(LibItemNames.DEATH_RUNE);
silkSword = new ItemDefaultEnchant(LibItemIDs.idSilkSword, Enchantment.silkTouch, 1).setUnlocalizedName(LibItemNames.SILK_SWORD);
fortuneMaul = new ItemDefaultEnchant(LibItemIDs.idFortuneMaul, Enchantment.fortune, 3).setUnlocalizedName(LibItemNames.FORTUNE_MAUL);
enderMirror = new ItemEnderMirror(LibItemIDs.idEnderMirror).setUnlocalizedName(LibItemNames.ENDER_MIRROR);
goliathLegs = new ItemGoliathLegs(LibItemIDs.idGoliathLegs).setUnlocalizedName(LibItemNames.GOLIATH_LEGS);
darkGas = new ItemGas(LibItemIDs.idDarkGas, ModBlocks.darkGas).setUnlocalizedName(LibItemNames.DARK_GAS);
gasRemover = new ItemGasRemover(LibItemIDs.idGasRemover).setUnlocalizedName(LibItemNames.GAS_REMOVER);
cleansingTalisman = new ItemCleansingTalisman(LibItemIDs.idCleansingTalisman).setUnlocalizedName(LibItemNames.CLEANSING_TALISMAN);
fluxDetector = new ItemFluxDetector(LibItemIDs.idFluxDetector).setUnlocalizedName(LibItemNames.FLUX_DETECTOR);
nameItems();
}
private static void nameItems() {
LanguageRegistry.addName(wandTinkerer, LibItemNames.WAND_TINKERER_D);
LanguageRegistry.addName(glowstoneGas, LibItemNames.GLOWSTONE_GAS_D);
LanguageRegistry.addName(spellCloth, LibItemNames.SPELL_CLOTH_D);
LanguageRegistry.addName(stopwatch, LibItemNames.STOPWATCH_D);
LanguageRegistry.addName(wandDislocation, LibItemNames.WAND_DISLOCATION_D);
LanguageRegistry.addName(nametag, LibItemNames.NAMETAG_D);
LanguageRegistry.addName(xpTalisman, LibItemNames.XP_TALISMAN_D);
LanguageRegistry.addName(fireBracelet, LibItemNames.FIRE_BRACELET_D);
LanguageRegistry.addName(darkQuartz, LibItemNames.DARK_QUARTZ_D);
LanguageRegistry.addName(teleportSigil, LibItemNames.TELEPORTATION_SIGIL_D);
LanguageRegistry.addName(wandUprising, LibItemNames.WAND_UPRISING_D);
LanguageRegistry.addName(swordCondor, LibItemNames.SWORD_CONDOR_D);
LanguageRegistry.addName(deathRune, LibItemNames.DEATH_RUNE_D);
LanguageRegistry.addName(silkSword, LibItemNames.SILK_SWORD_D);
LanguageRegistry.addName(fortuneMaul, LibItemNames.FORTUNE_MAUL_D);
LanguageRegistry.addName(enderMirror, LibItemNames.ENDER_MIRROR_D);
LanguageRegistry.addName(goliathLegs, LibItemNames.GOLIATH_LEGS_D);
LanguageRegistry.addName(darkGas, LibItemNames.DARK_GAS_D);
LanguageRegistry.addName(gasRemover, LibItemNames.GAS_REMOVER_D);
LanguageRegistry.addName(cleansingTalisman, LibItemNames.CLEANSING_TALISMAN_D);
LanguageRegistry.addName(fluxDetector, LibItemNames.FLUX_DETECTOR_D);
}
public static void applyObjectTags() {
ObjectTags tags = new ObjectTags().add(EnumTag.MAGIC, 48).add(EnumTag.VOID, 12).add(EnumTag.CRYSTAL, 15);
ThaumcraftApi.registerObjectTag(wandTinkerer.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.LIGHT, 12).add(EnumTag.WIND, 4).add(EnumTag.POWER, 3);
ThaumcraftApi.registerObjectTag(glowstoneGas.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.MAGIC, 15).add(EnumTag.CLOTH, 12).add(EnumTag.EXCHANGE, 8);
ThaumcraftApi.registerObjectTag(spellCloth.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.TIME, 12).add(EnumTag.MECHANISM, 12).add(EnumTag.POWER, 9);
ThaumcraftApi.registerObjectTag(stopwatch.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.MAGIC, 24).add(EnumTag.CRYSTAL, 6).add(EnumTag.EXCHANGE, 12).add(EnumTag.TRAP, 8);
ThaumcraftApi.registerObjectTag(wandDislocation.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.WOOD, 2).add(EnumTag.DARK, 1);
ThaumcraftApi.registerObjectTag(nametag.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.EVIL, 12).add(EnumTag.KNOWLEDGE, 12).add(EnumTag.TRAP, 24).add(EnumTag.MAGIC, 8);
ThaumcraftApi.registerObjectTag(xpTalisman.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.MECHANISM, 12).add(EnumTag.MOTION, 8).add(EnumTag.ELDRITCH, 12);
ThaumcraftApi.registerObjectTag(teleportSigil.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.FLIGHT, 8).add(EnumTag.WIND, 8).add(EnumTag.MOTION, 9).add(EnumTag.POWER, 20).add(EnumTag.MAGIC, 16);
ThaumcraftApi.registerObjectTag(wandUprising.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.FLIGHT, 12).add(EnumTag.WIND, 24).add(EnumTag.MOTION, 20).add(EnumTag.POWER, 24).add(EnumTag.MAGIC, 30);
ThaumcraftApi.registerObjectTag(swordCondor.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.DEATH, 16).add(EnumTag.TRAP, 12).add(EnumTag.POWER, 12).add(EnumTag.MAGIC, 22);
ThaumcraftApi.registerObjectTag(deathRune.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.DARK, 1);
ThaumcraftApi.registerComplexObjectTag(darkQuartz.itemID, LibMisc.TAG_META_WILDCARD, tags);
tags = new ObjectTags().add(EnumTag.HEAL, 16).add(EnumTag.KNOWLEDGE, 18).add(EnumTag.WATER, 6).add(EnumTag.MAGIC, 10).add(EnumTag.TOOL, 12);
ThaumcraftApi.registerObjectTag(cleansingTalisman.itemID, LibMisc.TAG_META_WILDCARD, tags);
}
}
@@ -1,83 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 14:28:58 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
public class SpellClothRecipe implements IRecipe {
Item item;
public SpellClothRecipe(Item item) {
this.item = item;
}
@Override
public boolean matches(InventoryCrafting var1, World var2) {
boolean foundCloth = false;
boolean foundEnchanted = false;
for(int i = 0; i < var1.getSizeInventory(); i++) {
ItemStack stack = var1.getStackInSlot(i);
if(stack != null) {
if(stack.isItemEnchanted() && !(stack.getItem() instanceof INoRemoveEnchant) && !foundEnchanted)
foundEnchanted = true;
else if(stack.itemID == item.itemID && !foundCloth)
foundCloth = true;
else return false; // Found an invalid item, breaking the recipe
}
}
return foundCloth && foundEnchanted;
}
@Override
public ItemStack getCraftingResult(InventoryCrafting var1) {
ItemStack stackToDisenchant = null;
for(int i = 0; i < var1.getSizeInventory(); i++) {
ItemStack stack = var1.getStackInSlot(i);
if(stack != null && stack.isItemEnchanted()) {
stackToDisenchant = stack.copy();
break;
}
}
if(stackToDisenchant == null)
return null;
NBTTagCompound cmp = (NBTTagCompound) stackToDisenchant.getTagCompound().copy();
cmp.removeTag("ench"); // Remove enchantments
stackToDisenchant.setTagCompound(cmp);
return stackToDisenchant;
}
@Override
public int getRecipeSize() {
return 10;
}
@Override
public ItemStack getRecipeOutput() {
return null;
}
}
@@ -1,38 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 12:02:56 (GMT)]
*/
package vazkii.tinkerer.lib;
public final class LibBlockIDs {
public static final int DEFAULT_GLOWSTONE_GAS = 2150;
public static final int DEFAULT_TRANSMUTATOR = 2151;
public static final int DEFAULT_WARD_CHEST = 2152;
public static final int DEFAULT_ANIMATION_TABLET = 2153;
public static final int DEFAULT_DARK_QUARTZ = 2154;
public static final int DEFAULT_DARK_QUARTZ_SLAB = 2155;
public static final int DEFAULT_DARK_QUARTZ_STAIRS = 2156;
public static final int DEFAULT_DARK_QUARTZ_SLAB_FULL = 2157;
public static final int DEFAULT_DARK_GAS = 2158;
public static int idGlowstoneGas;
public static int idTransmutator;
public static int idWardChest;
public static int idDarkQuartz;
public static int idDarkQuartzSlab;
public static int idDarkQuartzStairs;
public static int idDarkQuartzSlabFull;
public static int idAnimationTablet;
public static int idDarkGas;
}
@@ -1,58 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 12:01:26 (GMT)]
*/
package vazkii.tinkerer.lib;
public final class LibBlockNames {
/*
* Item Suffixes:
*
* No suffix = Internal Name
* _R = Research/Recipe Name
* _D = Display Name
*/
public static final String GLOWSTONE_GAS = LibItemNames.GLOWSTONE_GAS;
public static final String TRANSMUTATOR = "transmutator";
public static final String TRANSMUTATOR_R = "TRANSMUTATOR";
public static final String TRANSMUTATOR_D = "Arcane Transmutator";
public static final String WARD_CHEST = "wardChest";
public static final String WARD_CHEST_R = "WARD_CHEST";
public static final String WARD_CHEST_D = "Warded Chest";
public static final String DARK_QUARTZ = "darkQuartz";
public static final String DARK_QUARTZ_STAIRS = "darkQuartzStairs";
public static final String DARK_QUARTZ_STAIRS_D = "Smokey Quartz Stairs";
public static final String DARK_QUARTZ_SLAB = "darkQuartzSlab";
public static final String DARK_QUARTZ_SLAB_D = "Smokey Quartz Slab";
public static final String DARK_QUARTZ_SLAB_FULL = "darkQuartzSlabFull";
public static final String ANIMATION_TABLET = "animationTablet";
public static final String ANIMATION_TABLET_R = "ANIMATION_TABLET";
public static final String ANIMATION_TABLET_D = "Tool Dynamism Tablet";
public static final String DARK_GAS = LibItemNames.DARK_GAS;
public static final String[] DARK_QUARTZ_BLOCK_NAMES = {
"Block of Smokey Quartz",
"Chiseled Smokey Quartz Block",
"Pillar Smokey Quartz Block"
};
}
@@ -1,43 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 14:31:08 (GMT)]
*/
package vazkii.tinkerer.lib;
public final class LibFeatures {
public static final int SPELL_CLOTH_USES = 35;
public static final int STOPWATCH_TIME = 1200;
public static final int STOPWATCH_VIS = 20;
public static final int WAND_DISLOCATION_VIS = 50;
public static final int XP_TALISMAN_RANGE = 3;
public static final int XP_TALISMAN_MAX_XP = 1500;
public static final int XP_TALISMAN_ENCHANTING_BOTTLE_COST = 10;
public static final int FIRE_BRACELET_CHARGES = 64;
public static final int FIRE_BRACELET_RECHARGE_VIS = 12;
public static final int TELEPORT_SIGIL_TIME = 60;
public static final int TELEPORT_SIGIL_VIS = 25;
public static final int ENCHANT_ITEM_MAX_DMG = 1200;
public static final int ENDER_MIRROR_COST = 1;
public static final int GOLIATH_LEGS_MAX_SAFETY = 5;
public static final int CLEANSING_TALISMAN_VIS = 10;
}
-22
View File
@@ -1,22 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 17:55:15 (GMT)]
*/
package vazkii.tinkerer.lib;
public final class LibGuiIDs {
public static final int ID_TRANSMUTATOR = 0;
public static final int ID_ANIMATION_TABLET = 1;
}
@@ -1,48 +0,0 @@
package vazkii.tinkerer.lib;
public final class LibItemIDs {
public static final int DEFAULT_WAND_TINKERER = 21150;
public static final int DEFAULT_GLOWSTONE_GAS = 21151;
public static final int DEFAULT_SPELL_CLOTH = 21152;
public static final int DEFAULT_STOPWATCH = 21153;
public static final int DEFAULT_WAND_DISLOCATION = 21154;
public static final int DEFAULT_NAMETAG = 21155;
public static final int DEFAULT_XP_TALISMAN = 21156;
public static final int DEFAULT_FIRE_BRACELET = 21157;
public static final int DEFAULT_DARK_QUARTZ = 21158;
public static final int DEFAULT_TELEPORT_SIGIL = 21159;
public static final int DEFAULT_WAND_UPRISING = 21160;
public static final int DEFAULT_SWORD_CONDOR = 21161;
public static final int DEFAULT_DEATH_RUNE = 21162;
public static final int DEFAULT_SILK_SWORD = 21163;
public static final int DEFAULT_FORTUNE_MAUL = 21164;
public static final int DEFAULT_ENDER_MIRROR = 21165;
public static final int DEFAULT_GOLIATH_LEGS = 21166;
public static final int DEFAULT_DARK_GAS = 21167;
public static final int DEFAULT_GAS_REMOVER = 21168;
public static final int DEFAULT_FLUX_DETECTOR = 21169;
public static final int DEFAULT_CLEANSING_TALISMAN = 21170;
public static int idWandTinkerer;
public static int idGlowstoneGas;
public static int idSpellCloth;
public static int idStopwatch;
public static int idWandDislocation;
public static int idNametag;
public static int idXpTalisman;
public static int idFireBracelet;
public static int idDarkQuartz;
public static int idTeleportSigil;
public static int idWandUprising;
public static int idSwordCondor;
public static int idDeathRune;
public static int idSilkSword;
public static int idFortuneMaul;
public static int idEnderMirror;
public static int idGoliathLegs;
public static int idDarkGas;
public static int idGasRemover;
public static int idFluxDetector;
public static int idCleansingTalisman;
}
@@ -1,96 +0,0 @@
package vazkii.tinkerer.lib;
public final class LibItemNames {
/*
* Item Suffixes:
*
* No suffix = Internal Name
* _R = Research/Recipe Name
* _D = Display Name
*/
public static final String WAND_TINKERER = "wandTinkerer";
public static final String WAND_TINKERER_R = "WAND_TINKERER";
public static final String WAND_TINKERER_D = "Wand of the Tinkerer";
public static final String GLOWSTONE_GAS = "glowstoneGas";
public static final String GLOWSTONE_GAS_R = "GLOWSTONE_GAS";
public static final String GLOWSTONE_GAS_D = "Gaseous Glowstone";
public static final String SPELL_CLOTH = "spellCloth";
public static final String SPELL_CLOTH_R = "SPELL_CLOTH";
public static final String SPELL_CLOTH_D = "Spellbinding Cloth";
public static final String STOPWATCH = "stopwatch";
public static final String STOPWATCH_R = "STOPWATCH";
public static final String STOPWATCH_D = "Stopwatch of the Timetwister";
public static final String WAND_DISLOCATION = "wandDislocation";
public static final String WAND_DISLOCATION_R = "WAND_DISLOCATION";
public static final String WAND_DISLOCATION_D = "Wand of Dislocation";
public static final String NAMETAG = "nametag";
public static final String NAMETAG_R = "NAMETAG";
public static final String NAMETAG_D = "Golem Name Tag";
public static final String XP_TALISMAN = "xpTalisman";
public static final String XP_TALISMAN_R = "XP_TALISMAN";
public static final String XP_TALISMAN_D = "Talisman of Withhold";
public static final String FIRE_BRACELET = "fireBracelet";
public static final String FIRE_BRACELET_R = "FIRE_BRACELET";
public static final String FIRE_BRACELET_D = "Infernal Bracelet";
public static final String DARK_QUARTZ = "darkQuartz";
public static final String DARK_QUARTZ_R = "DARK_QUARTZ";
public static final String DARK_QUARTZ_D = "Smokey Quartz";
public static final String TELEPORTATION_SIGIL = "teleportSigil";
public static final String TELEPORTATION_SIGIL_R = "TELEPORTATION_SIGIL";
public static final String TELEPORTATION_SIGIL_D = "Sigil of Memories";
public static final String WAND_UPRISING = "wandUprising";
public static final String WAND_UPRISING_R = "WAND_UPRISING";
public static final String WAND_UPRISING_D = "Wand of Uprising";
public static final String SWORD_CONDOR = "swordCondor";
public static final String SWORD_CONDOR_R = "SWORD_CONDOR";
public static final String SWORD_CONDOR_D = "Sword of the Condor";
public static final String DEATH_RUNE = "deathRune";
public static final String DEATH_RUNE_R = "DEATH_RUNE";
public static final String DEATH_RUNE_D = "Rune Thanatos";
public static final String SILK_SWORD = "silkSword";
public static final String SILK_SWORD_R = "SILK_SWORD";
public static final String SILK_SWORD_D = "Silk Cutter";
public static final String FORTUNE_MAUL = "fortuneMaul";
public static final String FORTUNE_MAUL_R = "FORTUNE_MAUL";
public static final String FORTUNE_MAUL_D = "Fortunate Maul";
public static final String ENDER_MIRROR = "enderMirror";
public static final String ENDER_MIRROR_R = "ENDER_MIRROR";
public static final String ENDER_MIRROR_D = "Ender Mirror";
public static final String GOLIATH_LEGS = "goliathLegs";
public static final String GOLIATH_LEGS_R = "GOLIATH_LEGS";
public static final String GOLIATH_LEGS_D = "Goliath's Leggings";
public static final String DARK_GAS = "darkGas";
public static final String DARK_GAS_R = "DARK_GAS";
public static final String DARK_GAS_D = "Gaseous Tenebrae";
public static final String GAS_REMOVER = "gasRemover";
public static final String GAS_REMOVER_R = "GAS_REMOVER";
public static final String GAS_REMOVER_D = "Fume Dissipator";
public static final String FLUX_DETECTOR = "fluxDetector";
public static final String FLUX_DETECTOR_R = "FLUX_DETECTOR";
public static final String FLUX_DETECTOR_D = "Fluxometer";
public static final String CLEANSING_TALISMAN = "cleansingTalisman";
public static final String CLEANSING_TALISMAN_R = "CLEANSING_TALISMAN";
public static final String CLEANSING_TALISMAN_D = "Talisman of Remedium";
}
-34
View File
@@ -1,34 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [24 Apr 2013, 20:38:31 (GMT)]
*/
package vazkii.tinkerer.lib;
public final class LibMisc {
public static final String MOD_ID = "ThaumicTinkerer";
public static final String MOD_NAME = "Thaumic Tinkerer";
public static final String MOD_VERSION = "1.0.3";
public static final String DEPENDENCIES = "required-after:Thaumcraft";
public static final String COMMON_PROXY = "vazkii.tinkerer.core.proxy.TTCommonProxy";
public static final String CLIENT_PROXY = "vazkii.tinkerer.core.proxy.TTClientProxy";
public static final short CRAFTING_META_WILDCARD = Short.MAX_VALUE;
public static final short TAG_META_WILDCARD = -1;
public static final float MODEL_DEFAULT_RENDER_SCALE = 0.0625F;
}
@@ -1,25 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 20:22:37 (GMT)]
*/
package vazkii.tinkerer.lib;
public final class LibNetwork {
public static final String PACKET_CHANNEL = LibMisc.MOD_ID;
public static final String SUBCHANNEL_VERIFY = "verify";
public static final String SUBCHANNEL_TRANSMUTATOR_SYNC = "transmutatorSync";
public static final String SUBCHANNEL_ANIMATION_TABLET_SYNC = "tabletSync";
public static final String SUBCHANNEL_ANIMATION_TABLET_BUTTON = "tabletButton";
}
@@ -1,27 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 22:10:53 (GMT)]
*/
package vazkii.tinkerer.lib;
public final class LibPotions {
public static final int DEFAULT_ID_STOPWATCH = 21;
public static int idStopwatch;
public static final String NAME_STOPWATCH = "stopwatch";
public static final String DISPLAY_NAME_STOPWATCH = "Time Twister";
}
@@ -1,21 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [6 May 2013, 21:24:32 (GMT)]
*/
package vazkii.tinkerer.lib;
public final class LibRenderIDs {
public static int idWardChest;
}
@@ -1,46 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [24 Apr 2013, 22:14:57 (GMT)]
*/
package vazkii.tinkerer.lib;
public final class LibResources {
public static final String ROOT = "/mods/ThaumicTinkerer/";
public static final String ROOT_GUI = ROOT + "gui/";
public static final String ROOT_MODEL = ROOT + "model/";
public static final String ROOT_MISC = ROOT + "misc/";
public static final String ROOT_TC = "/mods/thaumcraft/textures/";
public static final String BLUR = "%blur%";
public static final String RESEARCH_XML = ROOT + "research.xml";
public static final String SS_POTIONS = ROOT_GUI + "potionEffects.png";
public static final String GUI_TRANSMUTATOR = ROOT_GUI + "guiTransmutator.png";
public static final String GUI_ANIMATION_TABLET = ROOT_GUI + "guiAnimationTablet.png";
public static final String MODEL_WARD_CHEST = ROOT_MODEL + "chestWard.png";
public static final String MODEL_LEGS_GOLIATH = ROOT_MODEL + "armorGoliath.png";
public static final String MISC_GLYPHS = BLUR + ROOT_MISC + "transmutatorGlyphs.png";
public static final String MISC_WARD_CHEST_OVERLAY = ROOT_MISC + "wardChestOverlay.png";
public static final String MISC_AT_OVERLAY_LEFT = BLUR + ROOT_MISC + "atLeft.png";
public static final String MISC_AT_OVERLAY_RIGHT = BLUR + ROOT_MISC + "atRight1.png";
public static final String MISC_AT_OVERLAY_DIAL = BLUR + ROOT_TC + "misc/dial.png";
public static final String MISC_AT_OVERLAY_FACING = BLUR + ROOT_MISC + "tabletFacingInd.png";
public static final String EMTPY_TEXTURE = "emptyTexture";
}
@@ -1,49 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 20:06:45 (GMT)]
*/
package vazkii.tinkerer.network;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import net.minecraft.network.INetworkManager;
import net.minecraft.network.packet.Packet250CustomPayload;
import cpw.mods.fml.common.network.Player;
public abstract class ModPacket {
public abstract ByteArrayOutputStream asOutputStream() throws IOException;
public abstract boolean readPayload(Packet250CustomPayload packet, INetworkManager manager, Player player, String subchannel) throws IOException;
public abstract String getSubchannel();
public ByteArrayOutputStream emptyStream() throws IOException {
ByteArrayOutputStream stream = new ByteArrayOutputStream();
DataOutputStream data = new DataOutputStream(stream);
writeSubchannel(data);
return stream;
}
public final void skipSubchannel(DataInputStream stream) throws IOException {
stream.readUTF();
}
public final void writeSubchannel(DataOutputStream stream) throws IOException {
stream.writeUTF(getSubchannel());
}
}
@@ -1,134 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 20:05:24 (GMT)]
*/
package vazkii.tinkerer.network;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.ItemStack;
import net.minecraft.network.INetworkManager;
import net.minecraft.network.packet.Packet250CustomPayload;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.World;
import vazkii.tinkerer.lib.LibNetwork;
import cpw.mods.fml.common.network.IPacketHandler;
import cpw.mods.fml.common.network.PacketDispatcher;
import cpw.mods.fml.common.network.Player;
public class PacketManager implements IPacketHandler {
public static boolean currentServerVerified = false;
public static Set<ModPacket> packetHandlers = new LinkedHashSet();
@Override
public void onPacketData(INetworkManager handler, Packet250CustomPayload packet, Player player) {
ByteArrayInputStream stream = new ByteArrayInputStream(packet.data);
DataInputStream inputStream = new DataInputStream(stream);
try {
String subchannel = inputStream.readUTF();
for(ModPacket packetHandler : packetHandlers) {
if(packetHandler.readPayload(packet, handler, player, subchannel)) // If the packet handler read the packet, stops execution
break;
}
} catch (IOException e) {
e.printStackTrace();
}
}
public static void sendPacketToClient(Player player, ModPacket packet) {
Packet250CustomPayload payload = generatePacket(packet);
PacketDispatcher.sendPacketToPlayer(payload, player);
}
public static void sendPacketToAllClients(ModPacket packet) {
Packet250CustomPayload payload = generatePacket(packet);
PacketDispatcher.sendPacketToAllPlayers(payload);
}
// Sends a packet to all players in range of the area pssed in
public static void sendPacketToClientsInRange(ModPacket packet, World world, double x, double y, double z, float range) {
Packet250CustomPayload payload = generatePacket(packet);
List<EntityPlayerMP> players = world.getEntitiesWithinAABB(EntityPlayerMP.class, AxisAlignedBB.getBoundingBox(x-range, y-range, z-range, x+range, y+range, z+range));
for(EntityPlayerMP player : players)
PacketDispatcher.sendPacketToPlayer(payload, (Player)player);
}
public static void sendPacketToServer(ModPacket packet) {
if(!currentServerVerified)
return;
try {
ByteArrayOutputStream outStream = packet.asOutputStream();
Packet250CustomPayload payload = signPacket(outStream, packet);
PacketDispatcher.sendPacketToServer(payload);
} catch(IOException e) {
e.printStackTrace();
}
}
/** Generates a packet **/
public static Packet250CustomPayload generatePacket(ModPacket packet) {
try {
ByteArrayOutputStream outStream = packet.asOutputStream();
Packet250CustomPayload payload = signPacket(outStream, packet);
return payload;
} catch(IOException e) {
e.printStackTrace();
return null;
}
}
/** Signs a packet, setting the channel, data and size **/
public static Packet250CustomPayload signPacket(ByteArrayOutputStream outStream, ModPacket packet) {
Packet250CustomPayload payload = new Packet250CustomPayload();
payload.data = outStream.toByteArray();
payload.length = payload.data.length;
payload.channel = LibNetwork.PACKET_CHANNEL;
return payload;
}
/** Writes an ItemStack onto a DataOutputStream but
* it write the Stack Tag Compound. **/
public static void writeItemStackIntoStream(ItemStack stack, DataOutputStream stream) throws IOException {
if(stack != null) {
stream.writeShort(stack.itemID);
stream.writeByte(stack.stackSize);
stream.writeShort(stack.getItemDamage());
} else {
stream.writeShort(-1); // If the itemstack is null, write it regardless
}
}
/** Gets an ItemStack from a DataInputStream. **/
public static ItemStack getItemStackFromStream(DataInputStream stream) throws IOException {
short id = stream.readShort();
if(id == -1) // Handle null item stacks
return null;
byte size = stream.readByte();
short dmg = stream.readShort();
return new ItemStack(id, size, dmg);
}
}
@@ -1,44 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 20:30:53 (GMT)]
*/
package vazkii.tinkerer.network;
import net.minecraft.entity.player.EntityPlayer;
import vazkii.tinkerer.network.packet.PacketVerification;
import cpw.mods.fml.common.IPlayerTracker;
import cpw.mods.fml.common.network.Player;
public class PlayerTracker implements IPlayerTracker {
@Override
public void onPlayerLogin(EntityPlayer player) {
PacketManager.sendPacketToClient((Player) player, new PacketVerification());
}
@Override
public void onPlayerLogout(EntityPlayer player) {
// NO-OP
}
@Override
public void onPlayerChangedDimension(EntityPlayer player) {
// NO-OP
}
@Override
public void onPlayerRespawn(EntityPlayer player) {
// NO-OP
}
}
@@ -1,88 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [14 May 2013, 20:08:07 (GMT)]
*/
package vazkii.tinkerer.network.packet;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.network.INetworkManager;
import net.minecraft.network.packet.Packet250CustomPayload;
import vazkii.tinkerer.inventory.container.ContainerAnimationTablet;
import vazkii.tinkerer.lib.LibNetwork;
import vazkii.tinkerer.network.ModPacket;
import vazkii.tinkerer.network.PacketManager;
import vazkii.tinkerer.tile.TileEntityAnimationTablet;
import cpw.mods.fml.common.network.Player;
public class PacketAnimationTabletButton extends ModPacket {
TileEntityAnimationTablet tablet;
public PacketAnimationTabletButton() { }
public PacketAnimationTabletButton(TileEntityAnimationTablet tablet) {
this.tablet = tablet;
}
@Override
public ByteArrayOutputStream asOutputStream() throws IOException {
ByteArrayOutputStream stream = new ByteArrayOutputStream();
DataOutputStream data = new DataOutputStream(stream);
writeSubchannel(data);
data.writeInt(tablet.xCoord);
data.writeInt(tablet.yCoord);
data.writeInt(tablet.zCoord);
data.writeBoolean(tablet.leftClick);
data.writeBoolean(tablet.redstone);
return stream;
}
@Override
public boolean readPayload(Packet250CustomPayload packet, INetworkManager manager, Player player, String subchannel) throws IOException {
if(subchannel.equals(getSubchannel()) && player != null && player instanceof EntityPlayer) {
EntityPlayer entityPlayer = (EntityPlayer)player;
if(entityPlayer.openContainer != null && entityPlayer.openContainer instanceof ContainerAnimationTablet) {
ByteArrayInputStream stream = new ByteArrayInputStream(packet.data);
DataInputStream inputStream = new DataInputStream(stream);
skipSubchannel(inputStream);
int x = inputStream.readInt();
int y = inputStream.readInt();
int z = inputStream.readInt();
ContainerAnimationTablet container = (ContainerAnimationTablet)entityPlayer.openContainer;
if(container.tablet.xCoord == x && container.tablet.yCoord == y && container.tablet.zCoord == z) {
TileEntityAnimationTablet tablet = (TileEntityAnimationTablet) container.tablet.worldObj.getBlockTileEntity(x, y, z);
boolean leftClick = inputStream.readBoolean();
boolean redstone = inputStream.readBoolean();
tablet.leftClick = leftClick;
tablet.redstone = redstone;
PacketAnimationTabletSync packet1 = new PacketAnimationTabletSync(tablet);
PacketManager.sendPacketToClient(player, packet1);
}
}
return true;
}
return false;
}
@Override
public String getSubchannel() {
return LibNetwork.SUBCHANNEL_ANIMATION_TABLET_BUTTON;
}
}
@@ -1,86 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [13 May 2013, 19:43:05 (GMT)]
*/
package vazkii.tinkerer.network.packet;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.network.INetworkManager;
import net.minecraft.network.packet.Packet250CustomPayload;
import vazkii.tinkerer.lib.LibNetwork;
import vazkii.tinkerer.network.ModPacket;
import vazkii.tinkerer.network.PacketManager;
import vazkii.tinkerer.tile.TileEntityAnimationTablet;
import cpw.mods.fml.common.network.Player;
public class PacketAnimationTabletSync extends ModPacket {
TileEntityAnimationTablet tablet;
public PacketAnimationTabletSync() { }
public PacketAnimationTabletSync(TileEntityAnimationTablet tablet) {
this.tablet = tablet;
}
@Override
public ByteArrayOutputStream asOutputStream() throws IOException {
ByteArrayOutputStream stream = new ByteArrayOutputStream();
DataOutputStream data = new DataOutputStream(stream);
writeSubchannel(data);
data.writeInt(tablet.xCoord);
data.writeInt(tablet.yCoord);
data.writeInt(tablet.zCoord);
PacketManager.writeItemStackIntoStream(tablet.getStackInSlot(0), data);
data.writeBoolean(tablet.leftClick);
data.writeBoolean(tablet.redstone);
return stream;
}
@Override
public boolean readPayload(Packet250CustomPayload packet, INetworkManager manager, Player player, String subchannel) throws IOException {
if(subchannel.equals(getSubchannel()) && player != null && player instanceof EntityPlayer) {
ByteArrayInputStream stream = new ByteArrayInputStream(packet.data);
DataInputStream inputStream = new DataInputStream(stream);
skipSubchannel(inputStream);
int x = inputStream.readInt();
int y = inputStream.readInt();
int z = inputStream.readInt();
TileEntityAnimationTablet tablet = (TileEntityAnimationTablet) ((EntityPlayer)player).worldObj.getBlockTileEntity(x, y, z);
ItemStack stack = PacketManager.getItemStackFromStream(inputStream);
if(tablet != null) {
tablet.setInventorySlotContents(0, stack);
boolean leftClick = inputStream.readBoolean();
boolean redstone = inputStream.readBoolean();
tablet.leftClick = leftClick;
tablet.redstone = redstone;
}
return true;
}
return false;
}
@Override
public String getSubchannel() {
return LibNetwork.SUBCHANNEL_ANIMATION_TABLET_SYNC;
}
}
@@ -1,76 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 20:50:21 (GMT)]
*/
package vazkii.tinkerer.network.packet;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.network.INetworkManager;
import net.minecraft.network.packet.Packet250CustomPayload;
import vazkii.tinkerer.lib.LibNetwork;
import vazkii.tinkerer.network.ModPacket;
import vazkii.tinkerer.network.PacketManager;
import vazkii.tinkerer.tile.TileEntityTransmutator;
import cpw.mods.fml.common.network.Player;
public class PacketTransmutatorSync extends ModPacket {
TileEntityTransmutator transmutator;
public PacketTransmutatorSync() { }
public PacketTransmutatorSync(TileEntityTransmutator transmutator) {
this.transmutator = transmutator;
}
@Override
public ByteArrayOutputStream asOutputStream() throws IOException {
ByteArrayOutputStream stream = new ByteArrayOutputStream();
DataOutputStream data = new DataOutputStream(stream);
writeSubchannel(data);
data.writeInt(transmutator.xCoord);
data.writeInt(transmutator.yCoord);
data.writeInt(transmutator.zCoord);
PacketManager.writeItemStackIntoStream(transmutator.getStackInSlot(0), data);
return stream;
}
@Override
public boolean readPayload(Packet250CustomPayload packet, INetworkManager manager, Player player, String subchannel) throws IOException {
if(subchannel.equals(getSubchannel()) && player != null && player instanceof EntityPlayer) {
ByteArrayInputStream stream = new ByteArrayInputStream(packet.data);
DataInputStream inputStream = new DataInputStream(stream);
skipSubchannel(inputStream);
int x = inputStream.readInt();
int y = inputStream.readInt();
int z = inputStream.readInt();
TileEntityTransmutator transmutator = (TileEntityTransmutator) ((EntityPlayer)player).worldObj.getBlockTileEntity(x, y, z);
ItemStack stack = PacketManager.getItemStackFromStream(inputStream);
transmutator.setInventorySlotContents(0, stack);
return true;
}
return false;
}
@Override
public String getSubchannel() {
return LibNetwork.SUBCHANNEL_TRANSMUTATOR_SYNC;
}
}
@@ -1,51 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [28 Apr 2013, 20:25:08 (GMT)]
*/
package vazkii.tinkerer.network.packet;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import net.minecraft.network.INetworkManager;
import net.minecraft.network.packet.Packet250CustomPayload;
import vazkii.tinkerer.lib.LibNetwork;
import vazkii.tinkerer.network.ModPacket;
import vazkii.tinkerer.network.PacketManager;
import cpw.mods.fml.common.network.Player;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class PacketVerification extends ModPacket {
@Override
public ByteArrayOutputStream asOutputStream() throws IOException {
return emptyStream();
}
@Override
@SideOnly(Side.CLIENT)
public boolean readPayload(Packet250CustomPayload packet, INetworkManager manager, Player player, String subchannel) {
if(subchannel.equals(getSubchannel())) {
PacketManager.currentServerVerified = true;
return true;
}
return false;
}
@Override
public String getSubchannel() {
return LibNetwork.SUBCHANNEL_VERIFY;
}
}
@@ -1,29 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 22:02:51 (GMT)]
*/
package vazkii.tinkerer.potion;
import net.minecraft.potion.Potion;
import vazkii.tinkerer.lib.LibPotions;
public final class ModPotions {
public static int idStopwatch;
public static Potion effectStopwatch;
public static void initPotions() {
effectStopwatch = new TTPotion(idStopwatch, false, 0x999900, 0, 0).setPotionName(LibPotions.DISPLAY_NAME_STOPWATCH);
}
}
@@ -1,37 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 Apr 2013, 22:07:40 (GMT)]
*/
package vazkii.tinkerer.potion;
import net.minecraft.potion.Potion;
import vazkii.tinkerer.lib.LibResources;
import vazkii.tinkerer.util.helper.MiscHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class TTPotion extends Potion {
protected TTPotion(int par1, boolean par2, int par3, int ssX, int ssY) {
super(par1, par2, par3);
setIconIndex(ssX, ssY);
}
@Override
@SideOnly(Side.CLIENT)
public int getStatusIconIndex() {
MiscHelper.getMc().renderEngine.bindTexture(LibResources.SS_POTIONS);
return super.getStatusIconIndex();
}
}
@@ -1,46 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [27 Apr 2013, 22:44:38 (GMT)]
*/
package vazkii.tinkerer.research;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.common.Config;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.lib.LibItemNames;
public final class ModArcaneRecipes {
public static void initArcaneRecipes() {
ThaumcraftApi.addArcaneCraftingRecipe(LibItemNames.NAMETAG_R, LibItemNames.NAMETAG_R, 2, new ItemStack(ModItems.nametag),
"SI",
'S', new ItemStack(Item.sign),
'I', new ItemStack(Item.dyePowder));
ThaumcraftApi.addArcaneCraftingRecipe(LibItemNames.GAS_REMOVER_R, LibItemNames.GAS_REMOVER_R, 15, new ItemStack(ModItems.gasRemover),
"DDD", "T G", "QQQ",
'D', new ItemStack(ModItems.darkQuartz),
'T', new ItemStack(ModItems.darkGas),
'G', new ItemStack(ModItems.glowstoneGas),
'Q', new ItemStack(Item.netherQuartz));
ThaumcraftApi.addArcaneCraftingRecipe(LibItemNames.FLUX_DETECTOR_R, LibItemNames.FLUX_DETECTOR_R, 75, new ItemStack(ModItems.fluxDetector),
" G ", "FMF", " G ",
'G', new ItemStack(Item.ingotGold),
'F', new ItemStack(Config.itemResource, 1, 8),
'M', new ItemStack(Config.itemThaumometer));
}
}
@@ -1,65 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [7 May 2013, 18:28:45 (GMT)]
*/
package vazkii.tinkerer.research;
import java.util.Arrays;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import thaumcraft.api.research.ResearchList;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.lib.LibItemNames;
import cpw.mods.fml.common.registry.GameRegistry;
public final class ModCraftingRecipes {
public static void initCraftingRecipes() {
registerResearchItem(LibItemNames.DARK_QUARTZ_R + 0, new ItemStack(ModItems.darkQuartz, 8),
"QQQ", "QCQ", "QQQ",
'Q', Item.netherQuartz,
'C', Item.coal);
registerResearchItem(LibItemNames.DARK_QUARTZ_R + 0, new ItemStack(ModItems.darkQuartz, 8),
"QQQ", "QCQ", "QQQ",
'Q', Item.netherQuartz,
'C', new ItemStack(Item.coal, 1, 1));
registerResearchItem(LibItemNames.DARK_QUARTZ_R + 1, new ItemStack(ModBlocks.darkQuartz),
"QQ", "QQ",
'Q', ModItems.darkQuartz);
registerResearchItem(LibItemNames.DARK_QUARTZ_R + 2, new ItemStack(ModBlocks.darkQuartzSlab, 6),
"QQQ",
'Q', ModBlocks.darkQuartz);
registerResearchItem(LibItemNames.DARK_QUARTZ_R + 3, new ItemStack(ModBlocks.darkQuartz, 2, 2),
"Q", "Q",
'Q', ModBlocks.darkQuartz);
registerResearchItem(LibItemNames.DARK_QUARTZ_R + 4, new ItemStack(ModBlocks.darkQuartz, 1, 1),
"Q", "Q",
'Q', ModBlocks.darkQuartzSlab);
registerResearchItem(LibItemNames.DARK_QUARTZ_R + 5, new ItemStack(ModBlocks.darkQuartzStairs, 4),
" Q", " QQ", "QQQ",
'Q', ModBlocks.darkQuartz);
registerResearchItem("", new ItemStack(ModBlocks.darkQuartzStairs, 4),
"Q ", "QQ ", "QQQ",
'Q', ModBlocks.darkQuartz);
}
private static void registerResearchItem(String name, ItemStack output, Object... stuff) {
GameRegistry.addRecipe(output, stuff);
if(name != null && name.length() != 0)
ResearchList.craftingRecipesForResearch.put(name, Arrays.asList(CraftingManager.getInstance().getRecipeList().size() -1));
}
}
@@ -1,163 +0,0 @@
package vazkii.tinkerer.research;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import thaumcraft.api.EnumTag;
import thaumcraft.api.ObjectTags;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.common.Config;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.lib.LibBlockNames;
import vazkii.tinkerer.lib.LibItemNames;
import vazkii.tinkerer.lib.LibMisc;
public final class ModInfusionRecipes {
public static void initInfusionRecipes() {
ObjectTags tags = new ObjectTags().add(EnumTag.MAGIC, 16).add(EnumTag.VOID, 12);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.WAND_TINKERER_R, LibItemNames.WAND_TINKERER_R, 85, tags, new ItemStack(ModItems.wandTinkerer),
"SSS", "SWS", "SSS",
'S', new ItemStack(Config.itemShard, 1, 4),
'W', new ItemStack(Config.itemWandCastingAdept, 1, LibMisc.CRAFTING_META_WILDCARD));
tags = new ObjectTags().add(EnumTag.WIND, 8);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.GLOWSTONE_GAS_R, LibItemNames.GLOWSTONE_GAS_R, 5, tags, new ItemStack(ModItems.glowstoneGas),
"GPG", " N ",
'G', new ItemStack(Block.glowStone),
'P', new ItemStack(Config.itemEssence, 1, 0),
'N', new ItemStack(Config.itemResource, 1, 1));
tags = new ObjectTags().add(EnumTag.CLOTH, 4).add(EnumTag.MAGIC, 6).add(EnumTag.EXCHANGE, 8);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.SPELL_CLOTH_R, LibItemNames.SPELL_CLOTH_R, 55, tags, new ItemStack(ModItems.spellCloth),
" C ", "CEC", " C ",
'C', new ItemStack(Config.itemResource, 1, 7),
'E', new ItemStack(Item.expBottle));
tags = new ObjectTags().add(EnumTag.TIME, 12).add(EnumTag.MECHANISM, 20);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.STOPWATCH_R, LibItemNames.STOPWATCH_R, 85, tags, new ItemStack(ModItems.stopwatch),
" Q ", "QCQ", " Q ",
'Q', new ItemStack(Item.netherQuartz),
'C', new ItemStack(Item.pocketSundial));
tags = new ObjectTags().add(EnumTag.TRAP, 12).add(EnumTag.EXCHANGE, 14);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.WAND_DISLOCATION_R, LibItemNames.WAND_DISLOCATION_R, 90, tags, new ItemStack(ModItems.wandDislocation),
" H", "W ",
'H', new ItemStack(Config.itemPortableHole),
'W', new ItemStack(Config.itemWandTrade));
tags = new ObjectTags().add(EnumTag.FLUX, 24).add(EnumTag.EXCHANGE, 48);
ThaumcraftApi.addInfusionCraftingRecipe(LibBlockNames.TRANSMUTATOR_R, LibBlockNames.TRANSMUTATOR_R, 320, tags, new ItemStack(ModBlocks.transmutator),
"ITI", "WFW", "WCW",
'W', new ItemStack(Config.blockWooden),
'T', new ItemStack(Config.itemWandTrade),
'I', new ItemStack(Config.itemResource, 1, 2),
'F', new ItemStack(Config.itemResource, 1, 8),
'C', new ItemStack(Config.blockCrucible));
tags = new ObjectTags().add(EnumTag.EVIL, 6).add(EnumTag.TRAP, 18).add(EnumTag.KNOWLEDGE, 12);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.XP_TALISMAN_R, LibItemNames.XP_TALISMAN_R, 140, tags, new ItemStack(ModItems.xpTalisman),
"OGO", "GBG", "OGO",
'O', new ItemStack(Block.obsidian),
'G', new ItemStack(Item.ingotGold),
'B', new ItemStack(Config.itemResource, 1, 5));
tags = new ObjectTags().add(EnumTag.FIRE, 8).add(EnumTag.ROCK, 6).add(EnumTag.METAL, 12);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.FIRE_BRACELET_R, LibItemNames.FIRE_BRACELET_R, 85, tags, new ItemStack(ModItems.fireBracelet),
"O O", "ILI",
'O', new ItemStack(Block.obsidian),
'I', new ItemStack(Item.ingotIron),
'L', new ItemStack(Item.bucketLava));
tags = new ObjectTags().add(EnumTag.VOID, 12).add(EnumTag.MAGIC, 16);
ThaumcraftApi.addInfusionCraftingRecipe(LibBlockNames.WARD_CHEST_R, LibBlockNames.WARD_CHEST_R, 25, tags, new ItemStack(ModBlocks.wardChest),
"GGG", "IBI", "WCW",
'G', new ItemStack(Config.blockCosmeticOpaque, 1, 2),
'I', new ItemStack(Config.itemResource, 1, 2),
'B', new ItemStack(Config.itemResource, 1, 5),
'W', new ItemStack(Config.blockWooden),
'C', new ItemStack(Block.chest));
tags = new ObjectTags().add(EnumTag.MOTION, 16).add(EnumTag.ELDRITCH, 4).add(EnumTag.MECHANISM, 12);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.TELEPORTATION_SIGIL_R, LibItemNames.TELEPORTATION_SIGIL_R, 50, tags, new ItemStack(ModItems.teleportSigil),
" O ", "OEO", " O ",
'O', new ItemStack(Block.obsidian),
'E', new ItemStack(Item.enderPearl));
tags = new ObjectTags().add(EnumTag.FLIGHT, 12).add(EnumTag.WIND, 6);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.WAND_UPRISING_R, LibItemNames.WAND_UPRISING_R, 25, tags, new ItemStack(ModItems.wandUprising),
" Q ", "QWQ", " Q ",
'Q', new ItemStack(Config.itemResource, 1, 3),
'W', new ItemStack(Config.itemWandLightning));
tags = new ObjectTags().add(EnumTag.POWER, 14).add(EnumTag.FLIGHT, 6);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.SWORD_CONDOR_R, LibItemNames.SWORD_CONDOR_R, 25, tags, new ItemStack(ModItems.swordCondor),
"I W", " S ", " I",
'I', new ItemStack(Config.itemResource, 1, 2),
'S', new ItemStack(Config.itemSwordElemental),
'W', new ItemStack(ModItems.wandUprising));
tags = new ObjectTags().add(EnumTag.DEATH, 16).add(EnumTag.POWER, 12).add(EnumTag.MAGIC, 20);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.DEATH_RUNE_R, LibItemNames.DEATH_RUNE_R, 60, tags, new ItemStack(ModItems.deathRune),
"TOT", "OBO", "TOT",
'T', new ItemStack(Config.itemResource, 1, 2),
'O', new ItemStack(Block.obsidian),
'B', new ItemStack(Config.itemResource, 1, 5));
tags = new ObjectTags().add(EnumTag.CONTROL, 16).add(EnumTag.MOTION, 8).add(EnumTag.MECHANISM, 16).add(EnumTag.MAGIC, 12);
ThaumcraftApi.addInfusionCraftingRecipe(LibBlockNames.ANIMATION_TABLET_R, LibBlockNames.ANIMATION_TABLET_R, 25, tags, new ItemStack(ModBlocks.animationTablet),
"GIG", "ICI",
'G', new ItemStack(Item.ingotGold),
'I', new ItemStack(Item.ingotIron),
'C', new ItemStack(Config.itemGolemCore, 1, 0));
tags = new ObjectTags().add(EnumTag.TOOL, 25).add(EnumTag.DARK, 4).add(EnumTag.MAGIC, 12).add(EnumTag.CLOTH, 100);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.SILK_SWORD_R, LibItemNames.SILK_SWORD_R, 100, tags, new ItemStack(ModItems.silkSword),
"O1O", "2D3", "O4O",
'1', new ItemStack(Config.itemSwordThaumium),
'2', new ItemStack(Config.itemAxeThaumium),
'3', new ItemStack(Config.itemPickThaumium),
'4', new ItemStack(Config.itemShovelThaumium),
'O', new ItemStack(Block.obsidian),
'D', new ItemStack(Item.diamond));
tags = new ObjectTags().add(EnumTag.TOOL, 25).add(EnumTag.DARK, 4).add(EnumTag.MAGIC, 12).add(EnumTag.VALUABLE, 25);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.FORTUNE_MAUL_R, LibItemNames.FORTUNE_MAUL_R, 100, tags, new ItemStack(ModItems.fortuneMaul),
"O1O", "2D3", "O4O",
'1', new ItemStack(Config.itemHoeThaumium),
'2', new ItemStack(Config.itemAxeThaumium),
'3', new ItemStack(Config.itemPickThaumium),
'4', new ItemStack(Config.itemShovelThaumium),
'O', new ItemStack(Block.obsidian),
'D', new ItemStack(Item.diamond));
tags = new ObjectTags().add(EnumTag.TOOL, 8).add(EnumTag.VISION, 6).add(EnumTag.ELDRITCH, 12);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.ENDER_MIRROR_R, LibItemNames.ENDER_MIRROR_R, 25, tags, new ItemStack(ModItems.enderMirror),
"E C", " M ", "O E",
'O', new ItemStack(Block.obsidian),
'C', new ItemStack(Block.enderChest),
'M', new ItemStack(Config.itemHandMirror),
'E', new ItemStack(Item.enderPearl));
tags = new ObjectTags().add(EnumTag.BEAST, 16).add(EnumTag.ARMOR, 16);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.GOLIATH_LEGS_R, LibItemNames.GOLIATH_LEGS_R, 80, tags, new ItemStack(ModItems.goliathLegs),
"LLL", "LRL", "L L",
'L', new ItemStack(Item.leather),
'R', new ItemStack(Config.itemLegsRobe));
tags = new ObjectTags().add(EnumTag.WIND, 6).add(EnumTag.DARK, 2);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.DARK_GAS_R, LibItemNames.DARK_GAS_R, 5, tags, new ItemStack(ModItems.darkGas),
"QPQ", " A ",
'Q', new ItemStack(ModItems.darkQuartz),
'P', new ItemStack(Config.itemEssence, 1, 0),
'A', new ItemStack(Config.itemResource, 1, 0));
tags = new ObjectTags().add(EnumTag.HEAL, 16).add(EnumTag.KNOWLEDGE, 18).add(EnumTag.TOOL, 12).add(EnumTag.MAGIC, 10);
ThaumcraftApi.addInfusionCraftingRecipe(LibItemNames.CLEANSING_TALISMAN_R, LibItemNames.CLEANSING_TALISMAN_R, 100, tags, new ItemStack(ModItems.cleansingTalisman),
"STS", "TWT", "STS",
'S', new ItemStack(ModItems.darkQuartz),
'T', new ItemStack(Config.itemResource, 1, 7),
'W', new ItemStack(Item.enderPearl));
}
}
@@ -1,128 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [24 Apr 2013, 22:14:28 (GMT)]
*/
package vazkii.tinkerer.research;
import net.minecraft.item.ItemStack;
import thaumcraft.api.EnumTag;
import thaumcraft.api.ObjectTags;
import thaumcraft.api.research.ResearchItem;
import thaumcraft.common.Config;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.lib.LibBlockNames;
import vazkii.tinkerer.lib.LibItemNames;
public final class ModResearchItems {
public static ResearchItem wandTinkerer;
public static ResearchItem glowstoneGas;
public static ResearchItem spellCloth;
public static ResearchItem stopwatch;
public static ResearchItem wandDislocation;
public static ResearchItem nametag;
public static ResearchItem transmutator;
public static ResearchItem xpTalisman;
public static ResearchItem fireBracelet;
public static ResearchItem wardChest;
public static ResearchItem darkQuartz;
public static ResearchItem sigilTeleport;
public static ResearchItem wandUprising;
public static ResearchItem swordCondor;
public static ResearchItem deathRune;
public static ResearchItem animationTablet;
public static ResearchItem silkSword;
public static ResearchItem fortuneMaul;
public static ResearchItem enderMirror;
public static ResearchItem goliathLegs;
public static ResearchItem darkGas;
public static ResearchItem gasRemover;
public static ResearchItem cleansingTalisman;
public static ResearchItem fluxDetector;
public static void registerModResearchItems() {
ObjectTags tags = new ObjectTags().add(EnumTag.MAGIC, 16).add(EnumTag.VOID, 8);
wandTinkerer = new ResearchItem(LibItemNames.WAND_TINKERER_R, tags, -5, 3, ModItems.wandTinkerer).setParentsHidden(Config.researchGoggles).registerResearchItem();
tags = new ObjectTags().add(EnumTag.LIGHT, 7).add(EnumTag.WIND, 4).add(EnumTag.POWER, 3);
glowstoneGas = new ResearchItem(LibItemNames.GLOWSTONE_GAS_R, tags, 4, 2, ModItems.glowstoneGas).setParents(Config.researchNitor).registerResearchItem();
tags = new ObjectTags().add(EnumTag.CLOTH, 9).add(EnumTag.MAGIC, 8).add(EnumTag.EXCHANGE, 6);
spellCloth = new ResearchItem(LibItemNames.SPELL_CLOTH_R, tags, -6, 1, ModItems.spellCloth).setParents(Config.researchFabric).setParentsHidden(Config.researchUTFT).registerResearchItem();
tags = new ObjectTags().add(EnumTag.TIME, 4).add(EnumTag.MECHANISM, 8);
stopwatch = new ResearchItem(LibItemNames.STOPWATCH_R, tags, -2, 24, ModItems.stopwatch).setParents(Config.researchTTOE).registerResearchItem();
tags = new ObjectTags().add(EnumTag.TRAP, 10).add(EnumTag.EXCHANGE, 8).add(EnumTag.CRYSTAL, 4);
wandDislocation = new ResearchItem(LibItemNames.WAND_DISLOCATION_R, tags, -1, 7, ModItems.wandDislocation).setParents(Config.researchWandTrade).setParentsHidden(Config.researchPortableHole).registerResearchItem();
tags = new ObjectTags().add(EnumTag.WOOD, 1).add(EnumTag.DARK, 1);
nametag = new ResearchItem(LibItemNames.NAMETAG_R, tags, 4, 18, ModItems.nametag).setParents(Config.researchGolemancy).registerResearchItem();
tags = new ObjectTags().add(EnumTag.FLUX, 12).add(EnumTag.EXCHANGE, 20);
transmutator = new ResearchItem(LibBlockNames.TRANSMUTATOR_R, tags, -5, 24, ModBlocks.transmutator).setParents(Config.researchCrystalCore).setParentsHidden(Config.researchWandTrade).registerResearchItem();
tags = new ObjectTags().add(EnumTag.EVIL, 8).add(EnumTag.TRAP, 16).add(EnumTag.KNOWLEDGE, 12);
xpTalisman = new ResearchItem(LibItemNames.XP_TALISMAN_R, tags, -4, 14, ModItems.xpTalisman).setParents(Config.researchJarBrain).setHidden().registerResearchItem();
tags = new ObjectTags().add(EnumTag.FIRE, 8).add(EnumTag.ROCK, 12).add(EnumTag.METAL, 4);
fireBracelet = new ResearchItem(LibItemNames.FIRE_BRACELET_R, tags, -4, 9, ModItems.fireBracelet).setParents(Config.researchArcaneBellows).setHidden().registerResearchItem();
tags = new ObjectTags().add(EnumTag.WOOD, 12).add(EnumTag.VOID, 12).add(EnumTag.MAGIC, 16);
wardChest = new ResearchItem(LibBlockNames.WARD_CHEST_R, tags, 3, 11, ModBlocks.wardChest).setParents(Config.researchArcaneDoor).setHidden().registerResearchItem();
tags = new ObjectTags();
darkQuartz = new ResearchItem(LibItemNames.DARK_QUARTZ_R, tags, -7, -3, ModItems.darkQuartz).setAutoUnlock().registerResearchItem();
tags = new ObjectTags().add(EnumTag.MECHANISM, 12).add(EnumTag.MOTION, 16).add(EnumTag.ELDRITCH, 5);
sigilTeleport = new ResearchItem(LibItemNames.TELEPORTATION_SIGIL_R, tags, -2, 26, new ItemStack(ModItems.teleportSigil, 0, 1)).setParents(Config.researchTTOE).setHidden().registerResearchItem();
tags = new ObjectTags().add(EnumTag.MAGIC, 8).add(EnumTag.POWER, 8).add(EnumTag.MOTION, 12).add(EnumTag.FLIGHT, 14);
wandUprising = new ResearchItem(LibItemNames.WAND_UPRISING_R, tags, 2, 7, ModItems.wandUprising).setParents(Config.researchElementalSword).setHidden().registerResearchItem();
tags = new ObjectTags().add(EnumTag.FLIGHT, 12).add(EnumTag.MOTION, 8).add(EnumTag.POWER, 14).add(EnumTag.MAGIC, 12);
swordCondor = new ResearchItem(LibItemNames.SWORD_CONDOR_R, tags, 4, 7, ModItems.swordCondor).setParents(wandUprising).setHidden().registerResearchItem();
tags = new ObjectTags().add(EnumTag.DEATH, 20).add(EnumTag.POWER, 16).add(EnumTag.TRAP, 12);
deathRune = new ResearchItem(LibItemNames.DEATH_RUNE_R, tags, 5, 11, ModItems.deathRune).setParents(wardChest).setHidden().registerResearchItem();
tags = new ObjectTags().add(EnumTag.CONTROL, 12).add(EnumTag.MOTION, 6).add(EnumTag.MECHANISM, 12).add(EnumTag.MAGIC, 4);
animationTablet = new ResearchItem(LibBlockNames.ANIMATION_TABLET_R, tags, 4, 24, ModBlocks.animationTablet).setParents(Config.researchGolemIronGuardian).registerResearchItem();
tags = new ObjectTags().add(EnumTag.TOOL, 12).add(EnumTag.DARK, 1).add(EnumTag.CLOTH, 48);
silkSword = new ResearchItem(LibItemNames.SILK_SWORD_R, tags, 7, 24, ModItems.silkSword).setParentsHidden(Config.researchThaumium).setHidden().setLost().registerResearchItem();
tags = new ObjectTags().add(EnumTag.TOOL, 12).add(EnumTag.DARK, 1).add(EnumTag.VALUABLE, 12);
fortuneMaul = new ResearchItem(LibItemNames.FORTUNE_MAUL_R, tags, 8, 24, ModItems.fortuneMaul).setParentsHidden(Config.researchThaumium).setHidden().setLost().registerResearchItem();
tags = new ObjectTags().add(EnumTag.TOOL, 8).add(EnumTag.ELDRITCH, 6).add(EnumTag.MAGIC, 12).add(EnumTag.VISION, 12);
enderMirror = new ResearchItem(LibItemNames.ENDER_MIRROR_R, tags, 5, 5, ModItems.enderMirror).setParents(Config.researchHandMirror).setHidden().registerResearchItem();
tags = new ObjectTags().add(EnumTag.BEAST, 12).add(EnumTag.ARMOR, 12);
goliathLegs = new ResearchItem(LibItemNames.GOLIATH_LEGS_R, tags, 1, 15, ModItems.goliathLegs).setParentsHidden(Config.researchRobes).setParents(Config.researchUTFT).setHidden().registerResearchItem();
tags = new ObjectTags().add(EnumTag.DARK, 4).add(EnumTag.WIND, 5).add(EnumTag.POWER, 4);
darkGas = new ResearchItem(LibItemNames.DARK_GAS_R, tags, 5, -1, ModItems.darkGas).setParents(Config.researchAlumentum).setParentsHidden(glowstoneGas).registerResearchItem();
tags = new ObjectTags();
gasRemover = new ResearchItem(LibItemNames.GAS_REMOVER_R, tags, 5, -2, ModItems.gasRemover).setParents(darkGas).setHidden().setStub().registerResearchItem();
darkGas.setSiblings(gasRemover);
tags = new ObjectTags().add(EnumTag.HEAL, 10).add(EnumTag.TOOL, 16).add(EnumTag.MAGIC, 8).add(EnumTag.WATER, 4).add(EnumTag.KNOWLEDGE, 16);
cleansingTalisman = new ResearchItem(LibItemNames.CLEANSING_TALISMAN_R, tags, 1, 18, ModItems.cleansingTalisman).setParents(Config.researchUTFT).setHidden().registerResearchItem();
tags = new ObjectTags().add(EnumTag.VISION, 16).add(EnumTag.MAGIC, 12).add(EnumTag.FLUX, 10);
fluxDetector = new ResearchItem(LibItemNames.FLUX_DETECTOR_R, tags, -3, 19, ModItems.fluxDetector).setParents(Config.researchBasicFlux).setParentsHidden(Config.researchGoggles).registerResearchItem();
}
}
@@ -1,74 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [15 May 2013, 19:38:21 (GMT)]
*/
package vazkii.tinkerer.tile;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ChunkCoordinates;
import net.minecraft.world.World;
import net.minecraftforge.common.FakePlayer;
public class TabletFakePlayer extends FakePlayer {
TileEntityAnimationTablet tablet;
public TabletFakePlayer(TileEntityAnimationTablet tablet) {
super(tablet.worldObj, tablet.getInvName());
this.tablet = tablet;
}
@Override
public void openGui(Object mod, int modGuiId, World world, int x, int y, int z) {
// NO-OP
}
@Override
public void onUpdate() {
posX = tablet.xCoord + 0.5;
posY = tablet.yCoord + 1.6;
posZ = tablet.zCoord + 0.5;
if(riddenByEntity != null)
riddenByEntity.ridingEntity = null;
if(ridingEntity != null)
ridingEntity.riddenByEntity = null;
riddenByEntity = null;
ridingEntity = null;
motionX = motionY = motionZ = 0;
setEntityHealth(getMaxHealth());
isDead = false;
int meta = tablet.getBlockMetadata() & 7;
int rotation = meta == 2 ? 180 : meta == 3 ? 0 : meta == 4 ? 90 : -90;
rotationYaw = rotationYawHead = rotation;
rotationPitch = -15;
for(int i = 0; i < inventory.getSizeInventory(); i++) {
if(i != inventory.currentItem) {
ItemStack stack = inventory.getStackInSlot(i);
if(stack != null) {
dropPlayerItem(stack);
inventory.setInventorySlotContents(i, null);
}
}
}
}
@Override
public ChunkCoordinates getPlayerCoordinates() {
return new ChunkCoordinates(tablet.xCoord, tablet.yCoord, tablet.zCoord);
}
}
@@ -1,473 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [13 May 2013, 19:36:07 (GMT)]
*/
package vazkii.tinkerer.tile;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.network.packet.Packet;
import net.minecraft.network.packet.Packet3Chat;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.ChunkCoordinates;
import net.minecraft.util.EnumChatFormatting;
import net.minecraftforge.common.FakePlayer;
import net.minecraftforge.common.ForgeDirection;
import net.minecraftforge.event.Event;
import net.minecraftforge.event.ForgeEventFactory;
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
import net.minecraftforge.event.entity.player.PlayerInteractEvent.Action;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.lib.LibBlockNames;
import vazkii.tinkerer.network.PacketManager;
import vazkii.tinkerer.network.packet.PacketAnimationTabletSync;
import cpw.mods.fml.common.network.PacketDispatcher;
public class TileEntityAnimationTablet extends TileEntity implements IInventory {
private static final String TAG_LEFT_CLICK = "leftClick";
private static final String TAG_REDSTONE = "redstone";
private static final String TAG_PROGRESS = "progress";
private static final String TAG_MOD = "mod";
private static final int[][] LOC_INCREASES = new int[][] {
{ 0, -1 },
{ 0, +1 },
{ -1, 0 },
{ +1, 0 }
};
private static final ForgeDirection[] SIDES = new ForgeDirection[] {
ForgeDirection.NORTH,
ForgeDirection.SOUTH,
ForgeDirection.WEST,
ForgeDirection.EAST
};
private static final int SWING_SPEED = 3;
private static final int MAX_DEGREE = 45;
List<Entity> detectedEntities = new ArrayList();
ItemStack[] inventorySlots = new ItemStack[1];
public double ticksExisted = 0;
public boolean leftClick = true;
public boolean redstone = false;
public int swingProgress = 0;
private int swingMod = 0;
private boolean isBreaking = false;
private int initialDamage = 0;
private int curblockDamage = 0;
private int durabilityRemainingOnBlock;
FakePlayer player;
@Override
public void updateEntity() {
if(player == null)
player = new TabletFakePlayer(this);
player.onUpdate();
ticksExisted++;
ItemStack stack = getStackInSlot(0);
if(stack != null) {
if(swingProgress >= MAX_DEGREE)
swingHit();
swingMod = swingProgress <= 0 ? 0 : swingProgress >= MAX_DEGREE ? -SWING_SPEED : swingMod;
swingProgress += swingMod;
if(swingProgress < 0)
swingProgress = 0;
} else {
swingMod = 0;
swingProgress = 0;
if(isBreaking)
stopBreaking();
}
boolean detect = detect();
if(!detect)
stopBreaking();
if(detect && isBreaking)
continueBreaking();
if((!redstone || isBreaking) && detect && swingProgress == 0) {
initiateSwing();
worldObj.addBlockEvent(xCoord, yCoord, zCoord, ModBlocks.animationTablet.blockID, 0, 0);
}
}
public void initiateSwing() {
swingMod = SWING_SPEED;
swingProgress = 1;
}
public void swingHit() {
ChunkCoordinates coords = getTargetLoc();
ItemStack stack = getStackInSlot(0);
Item item = stack.getItem();
int id = worldObj.getBlockId(coords.posX, coords.posY, coords.posZ);
player.setCurrentItemOrArmor(0, stack);
boolean done = false;
if(leftClick) {
Entity entity = detectedEntities.isEmpty() ? null : detectedEntities.get(worldObj.rand.nextInt(detectedEntities.size()));
if(entity != null) {
stack.getDamageVsEntity(entity);
player.attackTargetEntityWithCurrentItem(entity);
done = true;
} else if(!isBreaking){
if(id != 0 && !Block.blocksList[id].isAirBlock(worldObj, coords.posX, coords.posY, coords.posZ) && Block.blocksList[id].getBlockHardness(worldObj, coords.posX, coords.posY, coords.posZ) >= 0) {
isBreaking = true;
startBreaking(Block.blocksList[id], worldObj.getBlockMetadata(coords.posX, coords.posY, coords.posZ));
done = true;
}
}
} else {
int side = SIDES[(getBlockMetadata() & 7) - 2].getOpposite().ordinal();
if(!(id != 0 && !Block.blocksList[id].isAirBlock(worldObj, coords.posX, coords.posY, coords.posZ))) {
coords.posY -= 1;
side = ForgeDirection.UP.ordinal();
id = worldObj.getBlockId(coords.posX, coords.posY, coords.posZ);
}
try {
ForgeEventFactory.onPlayerInteract(player, Action.RIGHT_CLICK_AIR, coords.posX, coords.posY, coords.posZ, side);
Entity entity = detectedEntities.isEmpty() ? null : detectedEntities.get(worldObj.rand.nextInt(detectedEntities.size()));
done = entity != null && entity instanceof EntityLiving && (item.itemInteractionForEntity(stack, (EntityLiving) entity) || entity.interact(player));
if(!done)
item.onItemUseFirst(stack, player, worldObj, coords.posX, coords.posY, coords.posZ, side, 0F, 0F, 0F);
if(!done)
done = Block.blocksList[id] != null && Block.blocksList[id].onBlockActivated(worldObj, coords.posX, coords.posY, coords.posZ, player, side, 0F, 0F, 0F);
if(!done)
done = item.onItemUse(stack, player, worldObj, coords.posX, coords.posY, coords.posZ, side, 0F, 0F, 0F);
if(!done) {
stack = item.onItemRightClick(stack, worldObj, player);
done = true;
}
} catch(Throwable e) {
e.printStackTrace();
Packet3Chat packet = new Packet3Chat(EnumChatFormatting.RED + "Something went wrong with a Tool Dynamism Tablet! Check your FML log.");
Packet3Chat packet1 = new Packet3Chat(EnumChatFormatting.RED + "" + EnumChatFormatting.ITALIC + e.getMessage());
PacketDispatcher.sendPacketToAllAround(xCoord, yCoord, zCoord, 16, worldObj.getWorldInfo().getDimension(), packet);
PacketDispatcher.sendPacketToAllAround(xCoord, yCoord, zCoord, 16, worldObj.getWorldInfo().getDimension(), packet1);
}
}
if(done) {
setInventorySlotContents(0, stack.stackSize == 0 ? null : stack);
PacketDispatcher.sendPacketToAllPlayers(getDescriptionPacket());
}
}
// Copied from ItemInWorldManager, seems to do the trick.
private void stopBreaking() {
isBreaking = false;
ChunkCoordinates coords = getTargetLoc();
worldObj.destroyBlockInWorldPartially(player.entityId, coords.posX, coords.posY, coords.posZ, -1);
}
// Copied from ItemInWorldManager, seems to do the trick.
private void startBreaking(Block block, int meta) {
int side = SIDES[(getBlockMetadata() & 7) - 2].getOpposite().ordinal();
ChunkCoordinates coords = getTargetLoc();
PlayerInteractEvent event = ForgeEventFactory.onPlayerInteract(player, Action.LEFT_CLICK_BLOCK, coords.posX, coords.posY, coords.posZ, side);
if (event.isCanceled()) {
stopBreaking();
return;
}
initialDamage = curblockDamage;
float var5 = 1F;
if (block != null) {
if (event.useBlock != Event.Result.DENY)
block.onBlockClicked(worldObj, coords.posX, coords.posY, coords.posZ, player);
var5 = block.getPlayerRelativeBlockHardness(player, worldObj, coords.posX, coords.posY, coords.posZ);
}
if (event.useItem == Event.Result.DENY) {
stopBreaking();
return;
}
if(var5 >= 1F) {
tryHarvestBlock(coords.posX, coords.posY, coords.posZ);
stopBreaking();
} else {
int var7 = (int) (var5 * 10);
worldObj.destroyBlockInWorldPartially(player.entityId, coords.posX, coords.posY, coords.posZ, var7);
durabilityRemainingOnBlock = var7;
}
}
// Copied from ItemInWorldManager, seems to do the trick.
private void continueBreaking() {
++curblockDamage;
int var1;
float var4;
int var5;
ChunkCoordinates coords = getTargetLoc();
var1 = curblockDamage - initialDamage;
int var2 = worldObj.getBlockId(coords.posX, coords.posY, coords.posZ);
if (var2 == 0)
stopBreaking();
else {
Block var3 = Block.blocksList[var2];
var4 = var3.getPlayerRelativeBlockHardness(player, worldObj,coords.posX, coords.posY, coords.posZ) * var1;
var5 = (int) (var4 * 10);
if (var5 != durabilityRemainingOnBlock) {
worldObj.destroyBlockInWorldPartially(player.entityId, coords.posX, coords.posY, coords.posZ, var5);
durabilityRemainingOnBlock = var5;
}
if (var4 >= 1F) {
tryHarvestBlock(coords.posX, coords.posY, coords.posZ);
stopBreaking();
}
}
}
// Copied from ItemInWorldManager, seems to do the trick.
public boolean tryHarvestBlock(int par1, int par2, int par3) {
ItemStack stack = getStackInSlot(0);
if (stack != null && stack.getItem().onBlockStartBreak(stack, par1, par2, par3, player))
return false;
int var4 = worldObj.getBlockId(par1, par2, par3);
int var5 = worldObj.getBlockMetadata(par1, par2, par3);
worldObj.playAuxSFXAtEntity(player, 2001, par1, par2, par3, var4 + (var5 << 12));
boolean var6 = false;
boolean var8 = false;
Block block = Block.blocksList[var4];
if (block != null)
var8 = block.canHarvestBlock(player, var5);
worldObj.loadedEntityList.size();
if (stack != null)
stack.onBlockDestroyed(worldObj, var4, par1, par2, par3, player);
var6 = removeBlock(par1, par2, par3);
if (var6 && var8)
Block.blocksList[var4].harvestBlock(worldObj, player, par1, par2, par3, var5);
return var6;
}
// Copied from ItemInWorldManager, seems to do the trick.
private boolean removeBlock(int par1, int par2, int par3) {
Block var4 = Block.blocksList[worldObj.getBlockId(par1, par2, par3)];
int var5 = worldObj.getBlockMetadata(par1, par2, par3);
if (var4 != null)
var4.onBlockHarvested(worldObj, par1, par2, par3, var5, player);
boolean var6 = var4 != null && var4.removeBlockByPlayer(worldObj, player, par1, par2, par3);
if (var4 != null && var6)
var4.onBlockDestroyedByPlayer(worldObj, par1, par2, par3, var5);
return var6;
}
public boolean detect() {
ChunkCoordinates coords = getTargetLoc();
findEntities(coords);
return !worldObj.isAirBlock(coords.posX, coords.posY, coords.posZ) || !detectedEntities.isEmpty();
}
public void findEntities(ChunkCoordinates coords) {
AxisAlignedBB boundingBox = AxisAlignedBB.getBoundingBox(coords.posX, coords.posY, coords.posZ, coords.posX + 1, coords.posY + 1, coords.posZ + 1);
detectedEntities = worldObj.getEntitiesWithinAABB(Entity.class, boundingBox);
}
public ChunkCoordinates getTargetLoc() {
ChunkCoordinates coords = new ChunkCoordinates(xCoord, yCoord, zCoord);
int meta = getBlockMetadata();
int[] increase = LOC_INCREASES[(meta & 7) - 2];
coords.posX += increase[0];
coords.posZ += increase[1];
return coords;
}
public boolean getIsBreaking() {
return isBreaking;
}
public FakePlayer getFakePlayer() {
return player;
}
@Override
public boolean receiveClientEvent(int par1, int par2) {
if(par1 == 0) {
initiateSwing();
return true;
}
return tileEntityInvalid;
}
@Override
public void readFromNBT(NBTTagCompound par1NBTTagCompound) {
super.readFromNBT(par1NBTTagCompound);
leftClick = par1NBTTagCompound.getBoolean(TAG_LEFT_CLICK);
redstone = par1NBTTagCompound.getBoolean(TAG_REDSTONE);
swingProgress = par1NBTTagCompound.getInteger(TAG_PROGRESS);
swingMod = par1NBTTagCompound.getInteger(TAG_MOD);
NBTTagList var2 = par1NBTTagCompound.getTagList("Items");
inventorySlots = new ItemStack[getSizeInventory()];
for (int var3 = 0; var3 < var2.tagCount(); ++var3) {
NBTTagCompound var4 = (NBTTagCompound)var2.tagAt(var3);
byte var5 = var4.getByte("Slot");
if (var5 >= 0 && var5 < inventorySlots.length)
inventorySlots[var5] = ItemStack.loadItemStackFromNBT(var4);
}
}
@Override
public void writeToNBT(NBTTagCompound par1NBTTagCompound) {
super.writeToNBT(par1NBTTagCompound);
par1NBTTagCompound.setBoolean(TAG_LEFT_CLICK, leftClick);
par1NBTTagCompound.setBoolean(TAG_REDSTONE, redstone);
par1NBTTagCompound.setInteger(TAG_PROGRESS, swingProgress);
par1NBTTagCompound.setInteger(TAG_MOD, swingMod);
NBTTagList var2 = new NBTTagList();
for (int var3 = 0; var3 < inventorySlots.length; ++var3) {
if (inventorySlots[var3] != null) {
NBTTagCompound var4 = new NBTTagCompound();
var4.setByte("Slot", (byte)var3);
inventorySlots[var3].writeToNBT(var4);
var2.appendTag(var4);
}
}
par1NBTTagCompound.setTag("Items", var2);
}
@Override
public int getSizeInventory() {
return inventorySlots.length;
}
@Override
public ItemStack getStackInSlot(int i) {
return inventorySlots[i];
}
@Override
public ItemStack decrStackSize(int par1, int par2) {
if (inventorySlots[par1] != null) {
ItemStack stackAt;
if (inventorySlots[par1].stackSize <= par2) {
stackAt = inventorySlots[par1];
inventorySlots[par1] = null;
return stackAt;
} else {
stackAt = inventorySlots[par1].splitStack(par2);
if (inventorySlots[par1].stackSize == 0)
inventorySlots[par1] = null;
return stackAt;
}
}
return null;
}
@Override
public ItemStack getStackInSlotOnClosing(int i) {
return getStackInSlot(i);
}
@Override
public void setInventorySlotContents(int i, ItemStack itemstack) {
inventorySlots[i] = itemstack;
}
@Override
public String getInvName() {
return LibBlockNames.ANIMATION_TABLET_D;
}
@Override
public boolean isInvNameLocalized() {
return false;
}
@Override
public int getInventoryStackLimit() {
return 64;
}
@Override
public boolean isStackValidForSlot(int i, ItemStack itemstack) {
return true;
}
@Override
public boolean isUseableByPlayer(EntityPlayer entityplayer) {
return worldObj.getBlockTileEntity(xCoord, yCoord, zCoord) != this ? false : entityplayer.getDistanceSq(xCoord + 0.5D, yCoord + 0.5D, zCoord + 0.5D) <= 64;
}
@Override
public void openChest() {
// NO-OP
}
@Override
public void closeChest() {
// NO-OP
}
@Override
public Packet getDescriptionPacket() {
return PacketManager.generatePacket(new PacketAnimationTabletSync(this));
}
}
Loaded 100 of 813 files, more files were not shown because too many files have changed in this diff. Show more