Commit graph

68 commits

Author SHA1 Message Date
Nicholas Ignoffo
53b6030ba9 Run code formatter
🦀 Way is gone 🦀
2019-04-14 08:22:42 -07:00
Tobias Gremeyer
77ca407630 no idea why I didn't put it before the switch statement to begin with; (#1538)
that would just have been too logical

#1537
2019-02-10 17:29:57 -08:00
Nicholas Ignoffo
83f0eefa15 Update mappings + dependencies 2019-01-31 19:10:37 -08:00
Tobias Gremeyer
1426e49164 Potion tipped & modded arrows now get the will effects applied alongside them. (#1424)
* Potion tipped arrows now get the will effects applied alongside them
 - Destructive releases a splash potion at the target location
 - potion amplifiers are increased if the potion effect is already applied by the will type (poison, levitation, slowness)

* On hold for now, I'll do the commands first (I've had enough of arrows for this week).

* Revert Sentient Bow/Arrow to handle only potion arrows and fire regular modded arrows.

* Removed last remnants of modded arrow creation code.

* arrowHit() now supports modded Arrows (onUpdate() has the issue of TNT arrows exploding indefinitely atm)

* Crashes when firing a TNT arrow from the SimplyArrows mod with destructive will infused sentient bow

* Fixed potion arrows.
Modded arrows now work fully when hitting the ground (no splash visual effect).

* Added scaling for explosive potion arrows + cleanup
2019-01-31 17:17:00 -08:00
KohaiKhaos
ebfd8ce9a3 Several mimic fixes, with actually cleaned up commit history. (#1379)
* Reimplemented a lot of mimic logic and did a first run of changing how mimics store their states.

* Finished removing all metadata calls for blocks replaced by mimics.

* Update EntityMimic.java

* Update ItemBlockMimic.java

* Update TileMimic.java

* How did I even replace a semicolon with a slash.

* Changed all tabs to 4 spaces. Changed Serializer to StateUtil

* Fixed spacing again, hopefully for the last time
2018-08-07 16:28:55 -07:00
AEon - Tobias
d30dcf1ae5 Sentient Sword to not attack players unless provoked/auto attack mobs (#1381)
* Should close #1121

Not tested (yet) (because I haven't figured out how to launch the server with a fake player entity... yet).

* will close #1121

Tested.

Specters only attack players if they attack the owner or the specter.
Spectres now autoattack every instance of EntityMob in range.

//TODO: (fluff) make Bow Specter change angle based on target position (it currently always looks like it shoots into the ground)
2018-08-07 15:48:01 -07:00
WayofTime
6e7b387e6a Added additional effects to the Sentient Bow when aspected to different Will types. 2018-03-29 16:05:56 -04:00
Nicholas Ignoffo
70d98455b7 Cleaned up a lot of different inspections 2018-03-01 19:27:39 -08:00
Nicholas Ignoffo
0dd0854bd9 Move all SysOut references to debug logging 2018-03-01 18:23:56 -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
163fe864e5 Soul Snares should not trigger on players. Especially not in a weird way (#1216) 2018-02-11 10:15:16 -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
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
348fee1e2a It compiles. Somehow. 2017-08-15 20:21:55 -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
d524cc32b7 Another null stack in the Sentient Specters 2017-03-28 18:32:25 -07:00
Nicholas Ignoffo
0208d5412c Fix crash when meteor hits (#1088) 2017-03-11 16:09:57 -08:00
Nicholas Ignoffo
f5a68adc2e Remove all the package-info.java's
Except the API one
2017-01-01 21:49:52 -08:00
Nicholas Ignoffo
00d6f8eb46 Initial stab at 1.11
About halfway.
2016-12-12 19:56:37 -08:00
WayofTime
fb38c2e8b8 Snares can no longer hit the thrower of the snare within 20 ticks of throwing it (#745)
Added the "Diseased" upgrade, which vastly decreases healing potency.
2016-11-11 10:42:56 -05:00
WayofTime
faef980e59 - Made it so peaceful animals provide more LP by default (to encourage creating your own farm).
- Increased the effectiveness of animals for the Gathering of the Forsaken Souls ritual by a factor of 4.
- Added the framework for the Purification Altar.
2016-11-05 11:14:56 -04:00
Nicholas Ignoffo
66974716ef Fix deserialization of EnumDemonWillType 2016-10-18 16:59:50 -07:00
WayofTime
22ffed51b9 Fixed 1.9 support 2016-09-22 19:30:07 -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
WayofTime
dade5f0837 Fixed the symmetry issues of the Ritual of Containment 2016-09-21 07:37:48 -04:00
WayofTime
9538e9aa0d Added a corrupted chicken, which hits very hard but stealths itself in between attacks. 2016-09-20 17:28:58 -04:00
WayofTime
d6c1d59e5d Updated the hp/damage/etc logic of the corrupted mobs in general, and made it so the sheep will cast resistance on hurt allies when nearby on a cooldown.
Added an alchemy array layer (WIP) for the sheep when it is casting a "spell".
2016-09-18 18:44:18 -04:00
WayofTime
f7ff728c0d Added a corruption handler so that blocks can be corrupted by a wide variety of processes. 2016-09-18 10:07:02 -04:00
WayofTime
7b55293a40 Added the initial body of the Corrupted sheep, as well as the rendering. Moved most of the aspected demon stuff to a new base class. 2016-09-17 08:06:31 -04:00
WayofTime
e541ed67e9 Fixed the Sentient Specters, stopping them dropping null items if they have nothing in their hand (only happens due to spawners). Solves #920 2016-09-16 14:11:52 -04:00
WayofTime
e9549fd9db Did a lot of work on the behaviour of the Inversion Pillar. Also added a Corrupted Zombie for later testing. 2016-09-13 17:20:35 -04:00
Nicholas Ignoffo
24b4c4b8d1 Made all item fields final 2016-09-10 17:04:24 -07:00
Nicholas Ignoffo
537ccc092c Made all block fields final 2016-09-10 16:13:20 -07:00
WayofTime
7d690ad598 Generalized the demon entity AI logic. Also improved the behaviour of the mimic entities. 2016-08-29 18:56:21 -04:00
WayofTime
b422e00019 Fixed SILLY rendering errors with the Mimic 2016-08-26 17:11:03 -04:00
WayofTime
215b337f71 Added peaceful-friendly settings for the Sentient Mimics 2016-08-26 17:01:34 -04:00
WayofTime
8a94dd8acd Mimic entities will spawn when the player can see their block and they are within 5 blocks (mimics with inventories only spawn on interacting with them). 2016-08-24 17:06:24 -04:00
WayofTime
421aa77c02 Worked on mimic spawning and death - needs some adjustments 2016-08-23 19:41:05 -04:00
WayofTime
80bf140ee5 Made it so placed mimic blocks replace the block that you place it on unless you hold shift. Also worked on dungeon schematic saving/loading. 2016-08-22 14:22:18 -04:00
WayofTime
7fefea3243 Fixed compatability issue in the Specter AI 2016-08-19 22:02:01 -04:00
WayofTime
51275f99b3 Added recipe for the Mimic block and updated the changelog for release. Also minor update to the particles that spawn from the specter when it heals. 2016-08-19 20:45:50 -04:00
WayofTime
0fe442d804 Prevented the Specter from despawning on Peaceful.
Changed the healing algorithm to make it more evil.
2016-08-18 16:31:30 -04:00
WayofTime
64c06e39b5 Added retreat-and-heal AI to the Specters 2016-08-17 15:48:59 -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
939e1c3946 Added the ability for the Sentient Specter to shoot arrows with status effects, depending on its typing. 2016-08-16 18:22:05 -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
5953a5a0cf A bit more work on the ranged aspects of the Sentient Specter - Allowed it to inherit the abilities of the Sentient Bow 2016-08-15 21:52:54 -04:00
WayofTime
38f4ea6bac Added ownership to the Sentient Specter and improved its AI. Also enabled it to use a bow. 2016-08-15 17:09:01 -04:00