Commit graph

48 commits

Author SHA1 Message Date
Tobias
5f31f8c69a Should fix all NPEs encountered because of nonexistant task maps (#1667) 2019-11-04 18:20:54 -08:00
Tobias
3cdf4517a8 Fixed some black magic that occurred when a mob was summoned in a world that was loaded but didn't have a list entry that is supposed to be generated on world load. (#1618) 2019-09-04 18:38:52 -07:00
Tobias
a6a5704a42 Removed overseen debug print statements from Rituals veil of evel & ward of sacrosanctity (#1639) 2019-08-11 11:49:30 -07:00
Tobias
7f5a5a24ff Veil of Evil & Ward of Sacrosanctity (#1578)
* Veil of Evil class creation

Signed-off-by: tobias <angryaeon@icloud.com>

* Transplanted legacy code.

* VeilOfEvil and WardOfSacrosanctity base finished.
Added isActive() to IMasterRitualStone

* Renaming, commented out arimethric error

* make it static to make it work

* removed sout & renamed rituals

* Finished up base Veil of Evil & Ward of Sacrosanctity.

Temporarily removed Gaia's Transformation.
2019-05-19 08:35:38 -07:00
Nicholas Ignoffo
73d2459c6c angery 2019-04-14 08:59:21 -07:00
Nicholas Ignoffo
f997aee891 Fix crash on world unload
Don't know how to reproduce, but this will make sure we don't call clear
on null
2019-04-14 08:49:26 -07:00
Nicholas Ignoffo
59f5fe9407 Fix incompatibility with Unmending mod (#1566) 2019-04-14 08:48:47 -07:00
Nicholas Ignoffo
53b6030ba9 Run code formatter
🦀 Way is gone 🦀
2019-04-14 08:22:42 -07:00
Tobias Gremeyer
827ee85e81 Implemented Ritual of Grounding, a Ritual to change gravity behavior (#1501)
*  Implemented Ritual of Grounding, a Ritual to change gravity behavior

[x] <- x are new potion effects
 - (NoMod) moves entities towards the ground, prevents jumping [Grounded]
 - (Raw) affects players
 - (Corrosive) disables gravity [Suspension]
 - (Destructive) increases fall damage [Heavy Heart]
 - (Steadfast) affects bosses
 - (Vengeful) stronger effects, (+Corrosive) applies levitation (+Destructive) stronger effect

 [Grounded] prevents jumping and moves entities towards the ground, higher amplifiers cause a faster descend, interesting interaction with Sigil of Air

 [Suspension] disables gravity (keeps movement)

 [Heavy Heart] increases fall height and fall damage multiplier by 1 per level.

 Fixed a possible division by 0 in RitualConder.
 Saved event entity variable in PotionEventHandlers.
 Made rune configuration more readable in RitualHarvest.

Signed-off-by: tobias <angryaeon@icloud.com>

* Fixed Ritual area

* Lists are cleared on world unload.
2019-01-31 16:33:46 -08:00
Tobias Gremeyer
865968a4b8 Ported Ritual of the Feathered Earth to BM2. (#1492)
* Ported Ritual of the Feathered Earth to BM2.

* Changed maximum area

* Feathered Earth Hurt timer fall damage negation based on Set part1

* Part 2, switched to handling through potions, digging into area descriptor range bug

* Fixed Ritual area

* Update gradle.properties
2019-01-31 16:29:51 -08:00
AEon - Tobias
7942465edc Well of Suffering item drop control (#1388)
* Added a new DamageSource for the Well of Suffering
Added an event handler for death through Well of Suffering
Added a config option to enable (true) or disable (false) Well of Suffering Mob drops.

* Moved the DamageSource creation to RitualManager
Renamed the new DamageSource to "RITUAL_DAMAGE"
DamageSource "RITUAL_DAMAGE" is now used by RitualForsakenSoul and RitualWellOfSuffering
Added death message string for "RITUAL_DAMAGE" for en_US and de_DE

* Cleanup, removed the ability to damage entities in creative mode (creative mode should be considered as having infinite health, the rituals only damage mobs anyways).

* Update GenericHandler.java
2018-08-26 12:55:23 -07:00
Nicholas Ignoffo
58d9678c40 Switch some more instances of chat spam to the action bar 2018-03-23 16:50:17 -07:00
Nicholas Ignoffo
70d98455b7 Cleaned up a lot of different inspections 2018-03-01 19:27:39 -08:00
Nicholas Ignoffo
2a43e53842 Rewrite IBindable to provide an object instead of storing 2 strings 2018-02-27 16:59:51 -08:00
Nicholas Ignoffo
2fecb427fd Merge apibutnotreally with the main packages
Do not consider anything outside of the true API safe to use. And even then,
I'm changing things. Just wait. Please I beg you.
2018-02-15 18:49:07 -08:00
Nicholas Ignoffo
616c08094b Run formatter 2018-02-14 23:38:57 -08:00
Nicholas Ignoffo
8be8cc30b9 nullcheck obtained entity entries (#1206, 1207)
No idea what's going on here but aight
2018-02-06 17:04:04 -08:00
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
3536a25cc3 Add modid to subscriber annotations
(cherry picked from commit 7cac007)
2018-02-04 19:16:09 -08:00
Nicholas Ignoffo
8a4117106d Stop using a custom bus subscriber annotation
I'm sorry, past self, but Forge has had one since like 1.10, it's time to
move on. It's for the better.

(cherry picked from commit 9de2354)
2018-02-04 19:15:37 -08:00
Nicholas Ignoffo
d99cf77288 Move config to annotation system
All old configs must be deleted for this to work properly. Since the rest
of the update is filled with world breaking changes, this should be fine.

Also some mapping updates

(cherry picked from commit d587a8c)
2018-02-04 19:01:27 -08: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
5475549c18 More null stack fixes 2017-02-19 16:06:29 -08:00
Nicholas Ignoffo
a628adfde8 Lowercase all the tooltip strings 2017-01-02 01:18:29 -08:00
Nicholas Ignoffo
00d6f8eb46 Initial stab at 1.11
About halfway.
2016-12-12 19:56:37 -08:00
WayofTime
0419800a86 Finished most of the Augments for the Ritual of the Shepherd. 2016-11-06 17:03:10 -05:00
WayofTime
a2317a3a8a Minor code laying out a new sigil. No functionality currently. 2016-10-25 17:02:33 -04:00
WayofTime
ea43fbce7d Added the Sigil of Elasticity, the Sigil of the Claw, and the Sigil of Winter's Breath. 2016-10-14 20:51:21 -04:00
WayofTime
5ad3c0eda1 Added new potion effects for bouncing as well as clinging to walls - the sigils will come later (Hai, Yulife~) 2016-10-13 19:58:39 -04:00
WayofTime
7a42968633 Fixed NPE when attacking mobs when you don't have a set of Living Armour. Oops. Fixes #934 2016-09-29 19:53:28 -04:00
WayofTime
f9185817a1 Added another proper Armour Downgrade: Battle Hunger. More to follow. 2016-09-25 19:08:06 -04:00
Nicholas Ignoffo
24b4c4b8d1 Made all item fields final 2016-09-10 17:04:24 -07:00
Nicholas Ignoffo
137975331c Fix specters spawning with /give (#885) 2016-09-06 18:38:52 -07:00
WayofTime
0bc3824814 Added the Living Armour Upgrade, Nocturnal Prowess, which gives night vision in dark areas and increases damage while the area is dark 2016-09-03 11:17:36 -04:00
WayofTime
42d2c454f8 Changed the Demon Will Aura Gauge so it refreshes based on the player's ticks existed 2016-08-24 22:10:12 -04:00
WayofTime
5592e8661b Fixed it so that if the Sentient Specters hit each other and they have the same owner they will not attack each other 2016-08-16 21:41:02 -04:00
WayofTime
007c6c5ace Corrosive Sentient Specters will steal the negative effects from the owner and attempt to apply them to other entities it attacks. 2016-08-16 16:13:29 -04:00
WayofTime
d3c6a474de Added the Corrosive Green Grove augmentation 2016-08-10 17:24:36 -04:00
WayofTime
bb3081e2a5 Fixed the Aura gauge not resetting in chunks that do not have any Aura 2016-07-28 09:28:43 -04:00
WayofTime
2af621cced Implemented a "Constriction" potion, which prevents using items in your hand (will be refined later) 2016-07-25 17:42:54 -04:00
WayofTime
c5f6495859 Work on the Lava Ritual's demon Will shenanigans 2016-07-12 18:24:19 -04:00
WayofTime
98ed17fe21 Updated the Demon Aura hud by allowing it to actually see the Aura in the chunk - refresh rate is 50 ticks. 2016-07-10 15:27:26 -04:00
WayofTime
c69b6bbade Fixed horrible memory leak in the Living Armour. Fixes #825 2016-06-26 09:38:13 -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
4af15fc059 Move Bucket over to Forge system 2016-06-05 12:31:35 -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