Fix "boar" instead of "bore", lol

This commit is contained in:
CocoTheOwner
2021-01-30 15:04:50 +01:00
parent 6c425947bf
commit 11a484714a
3 changed files with 11 additions and 11 deletions
+4 -4
View File
@@ -10593,8 +10593,8 @@ Class: public com.volmit.iris.object.IrisObjectLimit NameNotChanged
Class: public com.volmit.iris.object.IrisObjectPlacement NameNotChanged Class: public com.volmit.iris.object.IrisObjectPlacement NameNotChanged
Source: "IrisObjectPlacement.java" Source: "IrisObjectPlacement.java"
FieldsOf: com.volmit.iris.object.IrisObjectPlacement FieldsOf: com.volmit.iris.object.IrisObjectPlacement
private int boarExtendMaxY NameNotChanged private int boreExtendMaxY NameNotChanged
private int boarExtendMinY NameNotChanged private int boreExtendMinY NameNotChanged
private boolean bore NameNotChanged private boolean bore NameNotChanged
private boolean bottom NameNotChanged private boolean bottom NameNotChanged
private double chance NameNotChanged private double chance NameNotChanged
@@ -10617,8 +10617,8 @@ Class: public com.volmit.iris.object.IrisObjectPlacement NameNotChanged
public void <init>() SignatureNotChanged public void <init>() SignatureNotChanged
protected boolean canEqual(java.lang.Object) SignatureNotChanged protected boolean canEqual(java.lang.Object) SignatureNotChanged
public boolean equals(java.lang.Object) SignatureNotChanged public boolean equals(java.lang.Object) SignatureNotChanged
public int getBoarExtendMaxY() SignatureNotChanged public int getBoreExtendMaxY() SignatureNotChanged
public int getBoarExtendMinY() SignatureNotChanged public int getBoreExtendMinY() SignatureNotChanged
public double getChance() SignatureNotChanged public double getChance() SignatureNotChanged
public com.volmit.iris.object.IrisObjectLimit getClamp() SignatureNotChanged public com.volmit.iris.object.IrisObjectLimit getClamp() SignatureNotChanged
public int getDensity() SignatureNotChanged public int getDensity() SignatureNotChanged
@@ -625,7 +625,7 @@ public class IrisObject extends IrisRegistrant
BlockVector offset = new BlockVector(config.getTranslate().getX(), config.getTranslate().getY(), config.getTranslate().getZ()); 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 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++) 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) @MaxNumber(64)
@MinNumber(0) @MinNumber(0)
@DontObfuscate @DontObfuscate
@Desc("When boar is enabled, expand max-y of the cuboid it removes") @Desc("When bore is enabled, expand max-y of the cuboid it removes")
private int boarExtendMaxY = 0; private int boreExtendMaxY = 0;
@MaxNumber(64) @MaxNumber(64)
@MinNumber(0) @MinNumber(0)
@DontObfuscate @DontObfuscate
@Desc("When boar is enabled, lower min-y of the cuboid it removes") @Desc("When bore is enabled, lower min-y of the cuboid it removes")
private int boarExtendMinY = 0; private int boreExtendMinY = 0;
@DontObfuscate @DontObfuscate
@Desc("If set to true, objects will place on the terrain height, ignoring the water surface.") @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.setSmartBore(smartBore);
p.setCarvingSupport(carvingSupport); p.setCarvingSupport(carvingSupport);
p.setUnderwater(underwater); p.setUnderwater(underwater);
p.setBoarExtendMaxY(boarExtendMaxY); p.setBoreExtendMaxY(boreExtendMaxY);
p.setBoarExtendMinY(boarExtendMinY); p.setBoreExtendMinY(boreExtendMinY);
p.setOverStilt(overStilt); p.setOverStilt(overStilt);
p.setDensity(density); p.setDensity(density);
p.setChance(chance); p.setChance(chance);