mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-03 06:16:19 +00:00
Fix "boar" instead of "bore", lol
This commit is contained in:
@@ -10593,8 +10593,8 @@ Class: public com.volmit.iris.object.IrisObjectLimit NameNotChanged
|
||||
Class: public com.volmit.iris.object.IrisObjectPlacement NameNotChanged
|
||||
Source: "IrisObjectPlacement.java"
|
||||
FieldsOf: com.volmit.iris.object.IrisObjectPlacement
|
||||
private int boarExtendMaxY NameNotChanged
|
||||
private int boarExtendMinY NameNotChanged
|
||||
private int boreExtendMaxY NameNotChanged
|
||||
private int boreExtendMinY NameNotChanged
|
||||
private boolean bore NameNotChanged
|
||||
private boolean bottom NameNotChanged
|
||||
private double chance NameNotChanged
|
||||
@@ -10617,8 +10617,8 @@ Class: public com.volmit.iris.object.IrisObjectPlacement NameNotChanged
|
||||
public void <init>() SignatureNotChanged
|
||||
protected boolean canEqual(java.lang.Object) SignatureNotChanged
|
||||
public boolean equals(java.lang.Object) SignatureNotChanged
|
||||
public int getBoarExtendMaxY() SignatureNotChanged
|
||||
public int getBoarExtendMinY() SignatureNotChanged
|
||||
public int getBoreExtendMaxY() SignatureNotChanged
|
||||
public int getBoreExtendMinY() SignatureNotChanged
|
||||
public double getChance() SignatureNotChanged
|
||||
public com.volmit.iris.object.IrisObjectLimit getClamp() 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());
|
||||
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