Commit graph

15 commits

Author SHA1 Message Date
Ellpeck
b10545994a lazy load chunk capabilities so that OptiFine doesn't kill itself 2019-04-14 11:22:11 +02:00
Ellpeck
9aa2e498d2 add the ability to see passive effects to the ocular 2019-02-09 21:55:40 +01:00
Ellpeck
58169599e6 mark the underlying chunk of aura chunks dirty so that they don't forget to save if something changes 2019-02-09 18:47:20 +01:00
Ellpeck
37bd687d1f added a nice looking aura effect 2019-01-27 19:12:48 +01:00
Ellpeck
656a76980b make over- and underflow create another spot 2018-12-03 14:40:53 +01:00
Ellpeck
5fcd096a99 easy fix to a concurrency issue 2018-12-03 00:45:34 +01:00
Ellpeck
031bf3fbc3 if we return 0 here then a lot of unrelated problems will be caused, so this is the easiest fix as this scenario is highly unlikely anyway 2018-12-02 23:34:37 +01:00
Ellpeck
08fd796fe2 made an API change to enforce the right aura methods, also add over- and underflow protection 2018-12-02 01:36:41 +01:00
Ellpeck
69e07e25a5 add a simulate parameter to IAuraChunk draining/storing for convenience 2018-11-24 17:32:39 +01:00
Ellpeck
ca3fca7eac throw an exception when a spot gets added to the wrong chunk 2018-11-23 20:36:31 +01:00
Ellpeck
6d0a14e3c4 b3 2018-11-18 20:50:51 +01:00
Ellpeck
e501f96c0c API update that makes it so that almost empty spots don't get overfilled by default 2018-11-18 20:34:57 +01:00
Ellpeck
a54ea5b989 remove a concurrent modification exception when changing effects 2018-11-18 19:49:30 +01:00
Ellpeck
b0ac500ec0 Added a config for the passive aura effects and also fix double flowers dropping items on the ground with the boost effect
Closes #7
2018-11-13 18:21:41 +01:00
Ellpeck
6af7634d6c generify the drain spot system so that addon devs can more easily use it 2018-11-13 11:39:28 +01:00
Renamed from src/main/java/de/ellpeck/naturesaura/aura/chunk/AuraChunk.java (Browse further)