mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-26 02:29:14 +00:00
Fix "boar" instead of "bore", lol
This commit is contained in:
@@ -625,7 +625,7 @@ public class IrisObject extends IrisRegistrant
|
||||
BlockVector offset = new BlockVector(config.getTranslate().getX(), config.getTranslate().getY(), config.getTranslate().getZ());
|
||||
for(int i = x - Math.floorDiv(w, 2) + (int) offset.getX(); i <= x + Math.floorDiv(w, 2) - (w % 2 == 0 ? 1 : 0) + (int) offset.getX(); i++)
|
||||
{
|
||||
for(int j = y - Math.floorDiv(h, 2) - config.getBoarExtendMinY() + (int) offset.getY(); j <= y + Math.floorDiv(h, 2) + config.getBoarExtendMaxY() - (h % 2 == 0 ? 1 : 0) + (int) offset.getY(); j++)
|
||||
for(int j = y - Math.floorDiv(h, 2) - config.getBoreExtendMinY() + (int) offset.getY(); j <= y + Math.floorDiv(h, 2) + config.getBoreExtendMaxY() - (h % 2 == 0 ? 1 : 0) + (int) offset.getY(); j++)
|
||||
{
|
||||
for(int k = (int) (z - Math.floorDiv(d, 2) + (int) offset.getZ()); k <= z + Math.floorDiv(d, 2) - (d % 2 == 0 ? 1 : 0) + (int) offset.getX(); k++)
|
||||
{
|
||||
|
||||
@@ -59,14 +59,14 @@ public class IrisObjectPlacement
|
||||
@MaxNumber(64)
|
||||
@MinNumber(0)
|
||||
@DontObfuscate
|
||||
@Desc("When boar is enabled, expand max-y of the cuboid it removes")
|
||||
private int boarExtendMaxY = 0;
|
||||
@Desc("When bore is enabled, expand max-y of the cuboid it removes")
|
||||
private int boreExtendMaxY = 0;
|
||||
|
||||
@MaxNumber(64)
|
||||
@MinNumber(0)
|
||||
@DontObfuscate
|
||||
@Desc("When boar is enabled, lower min-y of the cuboid it removes")
|
||||
private int boarExtendMinY = 0;
|
||||
@Desc("When bore is enabled, lower min-y of the cuboid it removes")
|
||||
private int boreExtendMinY = 0;
|
||||
|
||||
@DontObfuscate
|
||||
@Desc("If set to true, objects will place on the terrain height, ignoring the water surface.")
|
||||
@@ -137,8 +137,8 @@ public class IrisObjectPlacement
|
||||
p.setSmartBore(smartBore);
|
||||
p.setCarvingSupport(carvingSupport);
|
||||
p.setUnderwater(underwater);
|
||||
p.setBoarExtendMaxY(boarExtendMaxY);
|
||||
p.setBoarExtendMinY(boarExtendMinY);
|
||||
p.setBoreExtendMaxY(boreExtendMaxY);
|
||||
p.setBoreExtendMinY(boreExtendMinY);
|
||||
p.setOverStilt(overStilt);
|
||||
p.setDensity(density);
|
||||
p.setChance(chance);
|
||||
|
||||
Reference in New Issue
Block a user