mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-14 00:29:09 +01:00
change some gen values around a bit
This commit is contained in:
parent
be448e26da
commit
c4f83bfb6e
4 changed files with 4 additions and 4 deletions
|
@ -81,7 +81,7 @@ public class TileEntityFieldCreator extends TileEntityImpl implements ITickable
|
||||||
creator.sendToClients();
|
creator.sendToClients();
|
||||||
}
|
}
|
||||||
|
|
||||||
chunk.drainAura(spot, 15);
|
chunk.drainAura(spot, 10);
|
||||||
this.sendParticles();
|
this.sendParticles();
|
||||||
} else {
|
} else {
|
||||||
if (this.world.getTotalWorldTime() % 20 == 0)
|
if (this.world.getTotalWorldTime() % 20 == 0)
|
||||||
|
|
|
@ -57,7 +57,7 @@ public class TileEntityFlowerGenerator extends TileEntityImpl implements ITickab
|
||||||
IBlockState state = this.world.getBlockState(pos);
|
IBlockState state = this.world.getBlockState(pos);
|
||||||
MutableInt curr = this.consumedRecently.computeIfAbsent(state, s -> new MutableInt());
|
MutableInt curr = this.consumedRecently.computeIfAbsent(state, s -> new MutableInt());
|
||||||
|
|
||||||
int addAmount = 100;
|
int addAmount = 200;
|
||||||
int toAdd = Math.max(0, addAmount - curr.getValue());
|
int toAdd = Math.max(0, addAmount - curr.getValue());
|
||||||
if (toAdd > 0) {
|
if (toAdd > 0) {
|
||||||
BlockPos auraPos = IAuraChunk.getLowestSpot(this.world, this.pos, 30, this.pos);
|
BlockPos auraPos = IAuraChunk.getLowestSpot(this.world, this.pos, 30, this.pos);
|
||||||
|
|
|
@ -41,7 +41,7 @@ public class TileEntityPotionGenerator extends TileEntityImpl implements ITickab
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
int toAdd = ((effect.getAmplifier() * 5 + 1) * (effect.getDuration() / 40)) / 4;
|
int toAdd = ((effect.getAmplifier() * 6 + 1) * (effect.getDuration() / 30)) / 4;
|
||||||
int toAddTimes = 4;
|
int toAddTimes = 4;
|
||||||
while (toAddTimes > 0) {
|
while (toAddTimes > 0) {
|
||||||
boolean foundEmpty = false;
|
boolean foundEmpty = false;
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"text": "Then, throwing any kind of positive, lasting $(item)Lingering Potion$() down in its vicinity will cause the effect to be consumed and turned into $(aura) that will be spread into the area.$(p)Notice that, however, only one effect can be converted at one time, and throwing multiple potions at the ritual will cause their powers to go to waste. Additionally, once there is enough $(aura) in the area, additional potion effects will similarly go to waste."
|
"text": "Then, throwing any kind of positive, lasting $(item)Lingering Potion$() down in its vicinity will cause the effect to be consumed and turned into $(aura). Needless to say, the longer and higher the effect, the more $(aura) gets created.$(br)Notice that, however, only one effect can be converted at one time, and throwing multiple potions at the ritual will cause their powers to go to waste. Additionally, once there is enough $(aura) in the area, additional potion effects will similarly go to waste."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "multiblock",
|
"type": "multiblock",
|
||||||
|
|
Loading…
Reference in a new issue