Commit graph

21 commits

Author SHA1 Message Date
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
c46ed3e648 Sigils should draw LP from the bound network, not the user
(cherry picked from commit 082d2b8)
2017-01-02 01:57:07 -08:00
Nicholas Ignoffo
b0007a1d36 Re-add FakePlayer check to sigils (#970)
whar did dey go?
2016-11-11 16:57:50 -08:00
Joseph C. Sible
e5276fba6f More Sigil of the Green Grove fixes and cleanup (#938)
When applying the bonemeal effect, apply it from the player using the sigil,
rather than from a fake player. (Looking at the commit history, this seems
to be this way solely because of overzealous copying and pasting from vanilla
ItemDye.) Also, play the effect for the use of bonemeal, rather than for
breaking a block. Finally, remove a parameter that's no longer necessary.
2016-10-01 13:18:48 -07:00
Joseph C. Sible
59704162a6 Fix Sigil of the Green Grove disappearing on modded crops (#937)
Currently, the Sigil of the Green Grove uses ForgeEventFactory.onApplyBonemeal
for its effects, which gives the right answer for all crops, but for modded
crops, it has the side effect of removing one item from the current stack
(since it's intended for actual bonemeal). That's not desired in this case,
since the sigil isn't supposed to get used up, so this change directly makes
and fires the event itself. This problem was originally reported in
josephcsible/ExpandedBonemeal#1.
2016-10-01 10:35:34 -07:00
WayofTime
d3c6a474de Added the Corrosive Green Grove augmentation 2016-08-10 17:24:36 -04:00
Nicholas Ignoffo
5aea7b637a Fix Green Grove Sigil destroying plants (#767) 2016-05-29 16:39: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
Nick
d48e4e5ae8 Move setRegistryName out of item/block constructors 2016-04-09 16:50:16 -07: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
WayofTime
f95949a1c8 Sigils (257 errors) 2016-03-18 15:38:26 -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
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
50bd8514ee Allow mods to blacklist their blocks from Green Grove 2016-01-23 00:32:10 -08:00
Nick
fdfcb5c5b7 Change how blocks/items are registered (desc)
tterrag is a meany face and yelled at me for using class.getSimpleName(). So here's an API-friendly re-work of the registration system. This allows all our Items/Blocks to be obtained via the API. Just add a new enum.
2016-01-18 22:34:12 -08:00
Nick
d868414f5b Sigils now don't do their effect when accessing blocks
Should solve #557
2016-01-09 17:30:10 -08:00
Arcaratus
a8a0ae6e8b Teleposers and refractoring 2016-01-01 12:08:17 -05:00
WayofTime
e48eedb874 Changed formatting to have bracing on a new line 2015-12-30 15:34:40 -05:00
Arcaratus
5dff08380d Basic sigils implementation 2015-12-27 19:38:12 -05:00