Commit graph

53 commits

Author SHA1 Message Date
Nicholas Ignoffo ddaadfbe52 Swap the API packages
The new one is now built for the api jar and the old one is now internal.
It will slowly be moved around to sane places within the internal code. Most
of the features provided in the old "api" are addon specific features which
will generally rely on the main jar anyways. The new API will be specific
to compatibility features, such as blacklists, recipes, and value modification.
2018-02-05 17:04:46 -08:00
Nicholas Ignoffo a10b2ece9a Fixed altar detection 2017-08-16 17:29:24 -07:00
Nicholas Ignoffo 08258fd6ef Run formatter 2017-08-15 21:30:56 -07:00
Nicholas Ignoffo 554c9852e6 Move commonly used API systems to a plugin based system
Create a class that implements IBloodMagicPlugin and annotate it with
`@BloodMagicPlugin`. The `register` method will be called during init.

Currently implemented systems:
- Blacklisting
  - Teleposer
  - Teleposer (entity)
  - Transposition
  - Well of Suffering
  - Green Grove
- Setting sacrificial values
- Adding altar components
2017-08-15 18:14:28 -07:00
Nicholas Ignoffo 5fcdd978d7 this doesn't compile yet, but have something to peek at 2017-08-14 20:53:46 -07:00
Nicholas Ignoffo fceb50bd00 Initialize default altar result as empty stack (#1086) 2017-03-06 16:05:52 -08:00
Nicholas Ignoffo a7a6b1fddc Fix oddity with comparators on Altars (#1058)
*shakes fist at @Arcaratus*

(cherry picked from commit 461c476)
2017-02-21 16:13:23 -08:00
Nicholas Ignoffo f135dab7ba IMC API for adding new altar components (#1039)
CC @Drullkus

(cherry picked from commit 8a8bff8)
2017-02-12 01:34:51 -08:00
Nicholas Ignoffo d80afb18f0 More progress 2017-01-01 21:43:34 -08:00
Arcaratus aac2623440 Implement a functioning Blood Tank (#969)
Added a search bar to the Upgrade Tomes Creative Tab
Updated some Altar fluid code (remove deprecated stuff)
Moved Rendering classes into appropriate package
Fix the localization errors on the Demon Crystals
A few cleanups here and there
2016-12-11 17:28:47 -08:00
WayofTime 77b5f898ca Made the Blood Altar respect the new capability system for fluid management. 2016-10-24 18:15:30 -04:00
WayofTime ca96afa375 - Changed the recipe of the Acceleration rune so that it is a T4 rune.
- Added the Charging rune, which accumulates charge by using the LP from the Blood Altar (1 charge = 1 LP always). If enough charge is stored when crafting, the crafting occurs instantly.
2016-09-22 14:20:05 -04:00
Arcaratus c34bd48aa5 Store ItemStackWrappers instead of just ItemStacks (#844)
* Store ItemStackWrappers instead of just ItemStacks
Allows proper usage of getRecipeForInput()

* Refactoring and helper methods
2016-07-08 15:13:46 -07:00
WayofTime a35e4385ed Added the main tank to the FluidTankInfo of the blood altar. 2016-06-27 15:21:04 -04:00
Arcaratus 6a2c30834e Added holograms to TileMasterRitualStone and TileAltar (#810)
* Added holograms to TileMasterRitualStone and TileAltar
-Right click with either Ritual Diviner or (name pending) Sanguine Sanctum to show up the hologram
-Ritual hologram disappears once ritual is activated
-Altar hologram disappears once altar reaches specified tier
-Fixed the Sigil of Holding configs
-Someone still needs to add in a recipe for the Sigil of Holding
-Disabled the Sanguine Sanctum right-click effect for now
-Kept the hologram from holding the Ritual Diviner in hand
-Someone needs to fix the lighting for the ritual hologram!

* Getters and formatting changes

* Re-implement commented out feature

* Moved the rendering completely to client-side

Have the Sanguine Book work again

Make it actually work

Tidy things up

* Cycles through tier when right clicked

* Re put onItemUse

* Add IAltarReader to ItemSigilHolding
2016-06-21 18:20:49 -07:00
Nicholas Ignoffo 2c70e6ebc1 Accept null from IAltarComponent 2016-06-19 22:36:35 -07:00
Nicholas Ignoffo aa8d41385f IAltarComponent should use state, not meta 2016-06-19 22:24:47 -07:00
Nicholas Ignoffo f99b21cffc Rewrite LP network data saving system
Instead of creating a new file for each player with their UUID as the name, we create a single file and store it all in a List. That List gets converted to a UUID -> SoulNetwork map when read from the file.

MigrateNetworkDataHandler is used to migrate players from the old system to the new one. It reads both data files and sets the LP of the new network to the LP of the old network (if the old network is larger). Once conversion is done, we delete the old file so that it doesn't happen again and overwrite player progress.

This is an API breaking change due to an import change.
2016-06-12 13:41:02 -07:00
WayofTime e406a4fa6f Grew a Pair 2016-06-02 19:13:50 -04:00
WayofTime cf72036ff9 Added an initial (read: rough) method to divine where a blood rune is missing for the next tier of altar 2016-06-02 19:09:02 -04:00
Nicholas Ignoffo de5e23e6c4 package-info upd- I mean 1.9.4 update
These are now "required" thanks to Mojang giving us some annotations. Yay..?
2016-05-19 17:43:33 -07:00
Nick 1bcc4e47e0 Fix a few nutderps on block updates
Incorrect assumptions + adopting very early = mistakes were made
2016-03-18 13:05:57 -07:00
Nick 6c729db70c Initial 1.9 commit
This DOES NOT BUILD. Do not even attempt.

Almost everything has been ported besides the block/item packages. Then it's a matter of testing what broke.
2016-03-17 13:00:46 -07:00
WayofTime da6f410394 Lots of import rearrangement due to odd "clean up" algorithm. Added Crystals, which are very WIP. 2016-02-25 08:54:18 -05:00
Nick 7af53ce85b Add AltarCraftedEvent
Called after an altar has crafted an item. Not cancellable, however the output itemstack may be modified.
2016-02-23 22:48:15 -08:00
WayofTime 15650bac8b Amended range of Zephyr ritual
Fixed Green Grove ritual
Fixed Crusher ritual so it didn't break everything at once.
2016-02-16 11:46:47 -05:00
WayofTime 460df89e10 Fixed Blood Altar resetting when clicked with an item. 2016-02-11 15:56:08 -05:00
WayofTime fa6b338a03 Fixed NPE when draining the Blood Altar while it has an empty buffer. 2016-02-07 06:45:38 -05:00
WayofTime 932a767ecf Added the ability for the blood altar to have its buffer tanks accessed 2016-01-31 18:30:57 -05:00
WayofTime fa15499388 Added particles to the Blood Altar. 2016-01-19 22:03:46 -05:00
WayofTime 6ea5e8279f Added in rendering for LP for the Blood Altar. 2016-01-03 23:16:43 -05:00
Nick e157a68696 Orb filling recipes 2016-01-01 19:59:10 -08:00
WayofTime 318e3a03c7 Added Charging rune and associated necessities, such as having the Seer's Sigil detect total charge. 2016-01-01 17:36:50 -05:00
Arcaratus a8a0ae6e8b Teleposers and refractoring 2016-01-01 12:08:17 -05:00
Vindex e8b4e6f2c0 Comment fixes 2016-01-01 10:34:17 +01:00
WayofTime 6fb409f20f Fixed the Soul Network and made sure the majority of the items worked on it. 2015-12-31 20:10:57 -05:00
WayofTime e48eedb874 Changed formatting to have bracing on a new line 2015-12-30 15:34:40 -05:00
Nick 24058d7350 Move SoulNetwork to UUID system
*Should* work correctly. As for all major changes, needs to be
thoroughly tested.
2015-12-28 20:13:11 -08:00
Arcaratus 5dff08380d Basic sigils implementation 2015-12-27 19:38:12 -05:00
WayofTime 4e063e24a0 Removed latent System.out and reformatted to an inferior format. 2015-12-22 21:05:47 -05:00
WayofTime f1a3c5ee46 Fixed Orb filling and added the Weak Blood Orb as a fillable orb. 2015-12-22 21:03:00 -05:00
WayofTime 4145b2a11c Performed initial cleaning to BloodAltar/TileAltar and migrated all logic from the Tile to the BloodAltar class. 2015-12-22 20:32:25 -05:00
Nick 96d94721c4 Revamp altar to only use EnumAltarComponent
- Removes internal references in API
- Makes full use of the idea of the API
- No more special checks
2015-12-02 16:02:18 -08:00
Nick c4e6f63ada Cleanup javadoc and make it compile correctly 2015-12-01 21:14:26 -08:00
Arcaratus 225016e030 Finished the Altar 2015-11-29 19:04:50 -05:00
Nick 34dee6447b A whole lot of formatting cleanup
Also changes NBTHolder to a standard Constants class with subclasses for each category
2015-11-28 18:25:46 -08:00
Arcaratus a6d329cf98 Altar works 2015-11-27 20:15:19 -05:00
Arcaratus 86fcd4808b Finished Water, Lava, and Void sigils
Also added in bloodstone
2015-11-07 21:37:12 -05:00
Nick ddcc1237e8 Inventories now don't NPE when broken 2015-11-03 09:11:39 -08:00
Arcaratus ab60e5f3fe Finished the Altar 2015-11-03 10:34:11 -05:00