mirror of
https://github.com/songoda/UltimateTimber.git
synced 2024-11-05 10:09:45 +01:00
TreeCheck & NoAnimationTreeDestroye update
Increased accuracy of TreeCheck Fixed that when animation is disabled, it doesn't replant.
This commit is contained in:
parent
17cb5b6b76
commit
e485388b3d
1
.gitignore
vendored
1
.gitignore
vendored
@ -104,3 +104,4 @@ target/classes/config\.yml
|
|||||||
\.idea/libraries/Maven__org_yaml_snakeyaml_1_18\.xml
|
\.idea/libraries/Maven__org_yaml_snakeyaml_1_18\.xml
|
||||||
|
|
||||||
target/classes/com/songoda/ultimatetimber/utils/VersionChecker\.class
|
target/classes/com/songoda/ultimatetimber/utils/VersionChecker\.class
|
||||||
|
target/UltimateTimber-maven-version-number.jar
|
||||||
|
@ -57,7 +57,7 @@ public class TreeChecker {
|
|||||||
offset determines the search radius around the main trunk
|
offset determines the search radius around the main trunk
|
||||||
maxheight sets the maximum height the plugin will crawl through to find a tree
|
maxheight sets the maximum height the plugin will crawl through to find a tree
|
||||||
*/
|
*/
|
||||||
int offset = 5;
|
int offset = 8;
|
||||||
int maxHeight = 31;
|
int maxHeight = 31;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -108,11 +108,11 @@ public class TreeChecker {
|
|||||||
int radMin, radMax;
|
int radMin, radMax;
|
||||||
|
|
||||||
if (i > 5) {
|
if (i > 5) {
|
||||||
radMin = -2;
|
radMin = -3; //-2
|
||||||
radMax = 3;
|
radMax = 4; //3
|
||||||
} else {
|
} else {
|
||||||
radMin = -1;
|
radMin = -2; //-1
|
||||||
radMax = 2;
|
radMax = 3; //2
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int x = radMin; x < radMax; x++)
|
for (int x = radMin; x < radMax; x++)
|
||||||
|
Loading…
Reference in New Issue
Block a user