Commit graph

60 commits

Author SHA1 Message Date
Nicholas Ignoffo
7f24698651 Fix sacrifice range of altar (#905)
@Arcaratus, you swapped Y and Z when you copied this.
2016-09-06 17:27:45 -07:00
Arcaratus
81d7cd4093 Bucket recipe fix and Creative Sacrificial Dagger fix (#827)
* Bucket recipe fix and Creative Sacrificial Dagger fix

* Do #808

* Add a Sacrificial Dagger conversion config

* Put the conversion everywhere
2016-06-28 11:55:58 -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
027787e3cd Fix logging levels of LogHelper
Apparently this has always been wrong *shrug*
2016-05-30 18:20:50 -07:00
Nicholas Ignoffo
512600a677 Split EventHandler into multiple different handlers
Better organization allows for finding things easier
2016-05-30 18:20:31 -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
WayofTime
25108a5838 Formatting pass. 2016-05-02 20:56:32 -04:00
Nicholas Ignoffo
d550513f0a Update Forge + mappings 2016-04-24 10:06:28 -07:00
Nick
458f8810b6 Fix Sacrificial Runes not affect sacrifice amount (#713) 2016-04-17 00:03:53 -07:00
Arcaratus
3e50dd4117 Improved the API and internal workings
Update things

Fix some more things

Update once more

Refactoring and removing unnecessary null checks

Woops

Fix

Nother fix

Moar fix

Fix imports

Update ItemBindable.java
2016-04-12 20:34:08 -04:00
WayofTime
f0730791f7 - Changed the growth behavior of the crystals
- Fixed Potion getting for various methods
- Started work on crystal automation ritual
- Finished first iteration of the iterator of AreaDescriptor
2016-03-24 14:11:05 -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
399442cf62 Helper method for getting the max LP contained in a tier
Finds the highest capacity of the orbs in a given tier
2016-03-14 18:57:39 -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
alex-hawks
33f05cd819 Add Capability support to Ritual Sones, Finish TE support as well 2016-02-24 01:52:52 +08:00
WayofTime
8ec653b2a7 Fixed lava crystal working even if there is no LP available. Causes a desync on server worlds. 2016-02-15 08:11:18 -05:00
WayofTime
a5391840a4 Small change to docs in NetworkHelper. 2016-02-11 07:29:11 -05:00
Nick
fd16a58b6b Move getOwnerName/UUID to IBindable
Where it should have been to begin with... hehe...

Deprecated methods will be removed after beta
2016-02-04 00:25:37 -08:00
Nick
8c1eaddb97 Rewrite Binding system to be fully automated
No more manual handling of binding items to players. Retains all previous functionality.

I have tested on both the Client and Server and it seems to work just fine. If any issues arise from this, do not hesitate to yell at me.

The deprecated methods will be removed after beta.
2016-02-03 23:14:26 -08:00
Nick
7e8b469349 Allow rituals to be disabled via config (#545)
Not automated like the old method, but works. Requires an MC restart. Might look at making it reload-able while ingame at a later date.
2016-02-01 17:05:39 -08:00
WayofTime
cc1e11f09f Added some rudimentary path blocks for the tranquility altar - textures pending. 2016-01-26 19:39:39 -05:00
Nick
ad296a8e0e Fix client always reporting 0 LP 2016-01-24 17:47:11 -08:00
WayofTime
de08e5d0ac Fixed crash when activating rituals on servers. 2016-01-24 06:54:46 -05:00
Nick
2d6b4611ef Attempt 2 at fakeplayer lookup fix
Removes the name checker and is now based on class names.
2016-01-22 17:19:01 -08:00
WayofTime
ec7676a69c Potential fix for a bunch of stuff that required the use of UUID -> username lookup on servers. This fix adds an extra tag to the NBT of items so that it caches the username of the owner. The UUID is still stored on items, but is not used client-side. 2016-01-13 19:59:28 -05:00
Nick
5ac78b2dea Should fix fakePlayer lookup NPE #546
I think it's safe to say that if the player is null here, the places we use this check should probably not continue. Will see how it goes.

Also added the check to imperfect rituals and removed a redundant check from the dagger.
2016-01-13 13:13:01 -08:00
WayofTime
f4abee84ef Reorganized fix for the Lava Crystal 2016-01-05 10:41:23 -05:00
WayofTime
04f5b7a584 Fixed client-side issue when shift-clicking lava crystals into a furnace while on a server. 2016-01-05 09:19:26 -05:00
WayofTime
1c75d4f648 Fixed Sided issue in PlayerHelper - caused crashes in SMP. 2016-01-02 18:52:45 -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
Nick
18c1ccae80 Fix SoulNetwork lookup via UUID 2016-01-01 18:54:39 -08:00
Nick
7ebd59382f Javadoc warning cleanup 2016-01-01 10:52:42 -08:00
WayofTime
400161f787 Potentially fixed Javadocs 2016-01-01 13:14:49 -05:00
Arcaratus
a8a0ae6e8b Teleposers and refractoring 2016-01-01 12:08:17 -05:00
WayofTime
65d75313cb Now causes nausea when passive operations (such as rituals or the Lava Crystal).
Added the Lava crystal model.
2015-12-31 20:47:01 -05: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
WayofTime
98ca2fbd16 Implemented the Ritual Diviner and added its recipe. Added unlocalized name to rituals. Removed a few unnecessary imports. 2015-12-30 11:34:04 -05:00
Nick
f09cf5d018 Fix javadoc compile errors 2015-12-29 13:37:54 -08:00
WayofTime
0e1173ef5d Added directionality to rituals. 2015-12-29 09:10:03 -05:00
WayofTime
971d4c4d1e Fixed the ritual system so that it would properly validate the ritual from the list.
Used the activation crystal's owner's LP to activate the ritual.
Removed some unnecessary imports.
2015-12-29 08:44:34 -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
Nick
03847ad6d9 Committing the Ritual stuff
Incomplete. Ritual detection/rotation needs to be implemented. Currently hardcoded to a test ritual
2015-12-26 16:49:25 -08:00
Nick
61b2b293ba Clean up some logging + protect against negative values in Altar Recipes 2015-12-23 09:41:59 -08:00
Nick
26e3888004 Remove reference to sun.misc.Launcher 2015-12-01 21:59:07 -08:00
Nick
b97f7d81c4 Docs for NetworkHelper 2015-12-01 21:55:56 -08:00
Nick
c4e6f63ada Cleanup javadoc and make it compile correctly 2015-12-01 21:14:26 -08:00