Commit graph

1815 commits

Author SHA1 Message Date
WayofTime
2a8143844a Crushing Ritual fix
Fixed a crash on servers for the Crushing Ritual. Also added the Ritual of the Feathered Knife.
2020-10-25 14:19:05 -04:00
WayofTime
4ac0f31124 Additional Rituals
Added Ritual of Magnetism and Ritual of Crushing.
2020-10-25 14:00:11 -04:00
WayofTime
6e3f1b3a4e RItual Recipes
Finished adding the base recipes that are required for the Rituals.
2020-10-25 11:51:58 -04:00
WayofTime
9a274186b7 Ghost block fix
Fixed the ClientHandler method for rendering the Ritual's ghost block.
2020-10-25 11:28:44 -04:00
WayofTime
3f158b8908 Added lava crystal
Added the Lava Crystal and fixed a bug where it would take a lot of LP initially. Now correctly only draws LP when getContainer is called.
2020-10-25 11:17:22 -04:00
WayofTime
e254287a5e Implemented RitualDiviner
Finished fully implementing the Ritual Diviner item. Changed the `cycleDirection` method to occur when the player does not sneak + right clicks, because the method for when a player left clicks with an item seems to have dissapeared.
2020-10-25 10:55:38 -04:00
WayofTime
85e47dbfa8 Part 1 of reimplementing Ritual Diviner
Finished the placement of the Ritual Stones from the ItemRitualDiviner.
Still need to finish the rendering system for the ghost blocks.
2020-10-24 22:37:04 -04:00
WayofTime
1f0dcb608a Initial Work on Rituals
Added the framework for Rituals, including the automatic registration of rituals using the annotation.
This includes:
- The Master Ritual Stone
- The regular Ritual Stones (all 7 types)
- The Ritual Registration system
- The activation crystal items.
- Reintroduction of the Demon Will Aura (changed saved Dimension ID from Integer to ResourceLocation)

Localization needs to be completed, as well as the implementation of all the rituals.
2020-10-24 14:50:25 -04:00
WayofTime
d617911d7a Creation of 1.16.3 branch
Initial publishing of the 1.16.3 branch of the mod. A lot of systems are missing (such as Rituals and Living Armour), but enough is present for a decent Alpha release.
2020-10-24 08:59:04 -04:00
Nicholas Ignoffo
c8996c8fba Sweeping changes, mainly NBT related 2019-09-23 09:51:22 -07:00
Nicholas Ignoffo
4035d91151 Run migration mappings
Everything is still broken, but at least we reduced the amount of errors by hundreds, if not thousands.
2019-09-22 12:55:43 -07:00
Tobias
39cdc0c42f Lava Crystals can now set things on fire! (#1652)
* Lava Crystals can now set things on fire!

* Remove unecessary else
2019-09-04 19:02:39 -07:00
Tobias
1155be6d6b Fixed Ritual Tinkerer & added range reset (#1636)
* Add getMinimumOffset() and getMaximumOffset to AreaDescriptor
Add the ability to reset BlockRanges to the Ritual Tinkerer

* Added copy-constructors and functions to AreaDescriptor
Added the ability to reset BlockRanges to the Ritual Tinkerer
- Mode: Define Area, with BloodOrb in offhand & sneaking, right click on MRS

Changed "addBlockRange" and "addBlockRanges" to use .putIfAbsent
Added "setBlockRange" and "setBlockRanges" to IMasterRitualStone
- reference implementation in TileMasterRitualStone is identical to old "addBlockRange" and "addBlockRanges"

Fixed range setting for good.

Tested behavior with RitualWater.

* Minor cleanup

* Remove TODO
2019-09-04 18:58:45 -07:00
Tobias
a23cd35556 Implemented BloodAltar modification with redstone lamp below altar (#1635)
* Implemented BloodAltar modification with redstone lamp below altar

- strong and weak Redstone signal of power 15 (similar to BlockLever)
- activates when crafting finishes and a BlockRedstoneLight is directly below the altar
- deactivates when the next crafting cycle is about to begin

Use case:

- Redstone-controlled automatic ejection of crafted goods

* Removed Docs

* Meta to use 0 for off, 1 for on

* Syntactic sugar & storing value
2019-09-04 18:55:53 -07:00
Tobias
4f1308874d Fixes BloodAltar being able to obtain negative progress. (#1649)
* Fixes BloodAltar being able to obtain negative progress.

* Updated to use Math.max()
2019-09-04 18:51:25 -07:00
Tobias
24b3552b60 Guide capacity recipe, rearranged some entries (#1641)
* Fix meta ID's (recipes shown) in the guide book for Displacement and Capacity

* Rearranged topics to be closer to a natural progression.
2019-09-04 18:50:21 -07:00
Tobias
845ca65cab Changed SoundType and visible Material of wooden path blocks from stone/rock to wood (#1638)
* Changed SoundType and visible Material of wooden path blocks from stone/rock to wood. Breaking wooden path blocks is now effective & faster with an axe and slow with a pickaxe type tool.

* Moved hacky to getter.

* Cleanup unneeded override

* Using Enums instead of meta IDs
2019-09-04 18:48:54 -07:00
Sam Kirby
97d4967d31 Fixes for Ritual of the Eternal Soul (#1633)
* Fixes for Ritual of the Eternal Soul

* Use the same code to determine altar location and only cache its offset as is done in Well of Suffering. This prevents keeping a TileEntity loaded after it has been removed from the world, and also means the ritual will function if there are multiple master ritual stones using it in the world.
* Use getCapability to obtain the BloodAltar which implements IFluidHandler, and fill that instead of trying to fill the tile entity.
* Change the structure to match that found in previous versions.

* Set owner HP to 2 (1 heart) if within ritual vincinity.

* Add Soul Fray to every player in the vincinity of the ritual.
2019-09-04 18:39:54 -07: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
cbefc14f72 Fixes /bloodmagic network command permissions required for executing the command. (#1613)
Inheriting from CommandTreeBase, the required permission level was 4.
All other BloodMagic commands had a required permission level of 2.
This resulted in network command not able to be executed from a Command Block, which have a permission level of 2.
2019-09-04 08:38:42 -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
f34a89efa7 Level 4 StormTrooper downgrade to correctly cost -65 upgrade points (was 65) (#1631) 2019-08-07 08:29:38 -07:00
Tobias
1d52a137d5 Added getHeight() to AreaDescriptor, Jumping power modifyable (#1608) 2019-05-19 09:59:25 -07:00
Nicholas Ignoffo
28057bd3f6 Fix sigil of holding saving data to the wrong inventory tag (#1584) 2019-05-19 09:40:48 -07:00
Nicholas Ignoffo
6420c2635e Fix tough palms being trainable without an altar nearby (#1588)
*When using an empowered sacrificial dagger
2019-05-19 09:04:20 -07:00
Tobias
39f1ac0c7d Added JEI recipes for repairing Sentient Tools & Living Armor (#1606)
* Added sentient tool repair recipes to JEI.

* Added living armor repair recipes to JEI.
2019-05-19 08:37:21 -07:00
Tobias
a5a5899b7c Fixed /bloodmagic network get not having a network to get from, (#1604)
added translation keys for tickethistory
2019-05-19 08:36:05 -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
Tobias
bf35baac77 Improved Compression Sigil performance & fixed leftover eating bug (#1603)
* Performance improvements, small cleanup

* Moved the saved stacks to class scope to have an actual effect.

* Variable scope change (no effect)

* Saving known recipes to a Map in CompressionRegistry now, allowing quick lookup as long as the server has not been restarted for all but the first compression recipe of every itemstack type encountered.

Fixed compression process consuming items even though the compression would not finish.
2019-05-19 08:34:04 -07:00
Tobias
0090ec0a56 Lava will not replaced with lava anymore unless it's flowing lava. (#1599)
* Lava will not replaced with lava anymore unless it's flowing lava.

* Fixed Flowing Liquid detection

* Removed unnecessary function arguments
2019-05-19 08:03:48 -07:00
Tobias Gremeyer
21f3b9047c Made teleposers a bit more foolproof (#1592)
Fixed an issue where a teleposer that somehow got filled with nasty items would crash on tick because the teleposer throws a fit at that nasty item.
2019-04-25 00:09:15 -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
d5834a34ba Merge remote-tracking branch 'origin/1.12' into 1.12 2019-04-14 08:42:02 -07:00
Tobias Gremeyer
572d8eff4f Possible fix to (many of the) abnormal death events concerning the sacrificial Dagger (#1554)
* Possible fix to (many of the) abnormal death events concerning the sacrifical dagger.

=> #1444

Works with Grim Reaper's Sprint, not tested for anything else.

* Being special, players can survive massive blood loss up until 1 heart remains.

(Math.floor() caused players to die when they sacrificed with 3 health remaining)
2019-04-14 08:38:17 -07:00
Phil
7c767b3bbf Stop insertions into Demon Crucible if the inventory is not empty (#1567) 2019-04-14 08:29:51 -07:00
Nicholas Ignoffo
eec64695b5 Fix Blood Letter's Pack and Coat of Arms passing the wrong hand (#1582) 2019-04-14 08:28:46 -07:00
Nicholas Ignoffo
f832103386 Fix state parsing (#1573) 2019-04-14 08:23:02 -07:00
Nicholas Ignoffo
53b6030ba9 Run code formatter
🦀 Way is gone 🦀
2019-04-14 08:22:42 -07:00
Phil
7c1565a68c Quick fix for ritual of grounding, which was applying gravity to every entity. (#1576)
Added a check to determine if an entity already has no gravity, in which case it would not track them.
2019-04-05 14:26:18 -07:00
Tobias Gremeyer
6b176bebf3 Block range fixes (#1571)
* Veil of Evil class creation

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

* Some getBlockRange() oversights.

* Delete RitualVeilOfEvil.java

should not be in this branch.

* Removed TODO.
2019-03-31 14:53:35 -07:00
Tobias Gremeyer
dea733a76e Fixed Sigil tooltip formatting (#1559) 2019-03-10 14:52:42 -07:00
Richard Freimer
bc168a3937 Use TextFormatting rather than including color codes in block lang name (#1546) 2019-03-02 23:16:25 -08:00
Phil
c8b004c9b6 Added Whirlwind to the potion registry - fixing a bug where the fast miner sigil would also cause the whirlwind effect. Increased the effect of the fast miner sigil to haste 2, to correspond with what the Sanguine Scientium states. (#1552) 2019-02-28 12:13:48 -08:00
Tobias Gremeyer
22ac5b0da5 Tested everything again, noticed 2 oversights that didn't have any impact. (#1548)
Usable in both SSP (creative mode) and SMP (op).

Required permission level for commands is 2 (server's "op" permission level can be seen and changed in the server.properties).
2019-02-20 14:28:04 -08:00
Phil
069051bf3b Modified Living Armour's Step Assist to only apply when the player is not sneaking. (#1545) 2019-02-17 13:45:57 -08:00
Phil
2d49fab893 Trickshot - Sentient Arrows Implementation (#1540)
* The onArrowFire event handler for LivingArmour now checks whether the arrows were fired from a sentient bow, and if they are it calls a getDuplicateArrows method in ItemSentientBow. Said method gets the will and potion types, without changing the bow's durability or consuming will or arrows.

* Extra line breaks removed
2019-02-13 16:27:41 -08:00
Phil
4a59dede53 Fixed an error where firing a tipped arrow with a sentient bow without (#1542)
demon will would still result in the effect of the tipped arrow being
multiplied.
2019-02-13 15:59:56 -08: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