Commit graph

27 commits

Author SHA1 Message Date
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
f5a68adc2e Remove all the package-info.java's
Except the API one
2017-01-01 21:49:52 -08:00
WayofTime
8c4eff0d81 Formatting! 2016-06-23 21:43:27 -04: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
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
Nicholas Ignoffo
9253d6a410 Add an entity blacklist for the Teleposer (#701)
Added event for when an entity is teleposed. Includes a Post version as well to allow modification of the entity after the fact.
2016-05-11 20:29:16 -07:00
WayofTime
b56bbef29e Formatting! 2016-04-05 16:16:17 -04:00
Arcaratus
0383f0fb31 Move some base classes into the API
Add Javadocs for API classes that didn't already have them

Redo

'nother redo

Another redo

Update ItemSigil.java

Last one, I swear

Fix
2016-03-23 20:23:39 -04: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
134b11f177 Normalized code formatting. 2016-03-16 18:41:06 -04:00
Nick
76b3c14499 AddToNetworkEvent should be cancellable 2016-03-14 18:55:05 -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
Nick
c3beb48499 Implement BlockStack in Teleposer related areas 2016-01-05 15:26:24 -08:00
WayofTime
b74ed8d431 Added self-sacrifice upgrade to living armour. 2016-01-05 12:17:05 -05:00
WayofTime
71421b7d88 Formatted the code - Release state for Blood Magic 1.8.9-2.0.0-1 2016-01-02 17:56:37 -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
e48eedb874 Changed formatting to have bracing on a new line 2015-12-30 15:34:40 -05:00
Arcaratus
aa0f7d81a0 Bound tools
Fix errors

Fix

Fix

Patch

Patch
2015-12-29 14:56:32 -05:00
Nick
8edb8a45e6 Fix build crash on Javadoc 2015-12-28 19:40:16 -08:00
Nick
c4e6f63ada Cleanup javadoc and make it compile correctly 2015-12-01 21:14:26 -08: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
Nick
e0b073b8b7 Cleanup the SoulNetwork a bit.
Should work now?
2015-11-22 13:43:15 -08:00
Arcaratus
2fc34a5138 Sacrificial Commit 2015-11-07 11:51:41 -05:00
Nick
096ba02450 Refactor everything to WayofTime.bloodmagic.* 2015-11-02 12:39:47 -08:00