Fixed Big Mushrooms not generating (#6390)
Removed vanilla negation from Forge logic that negated the vanilla logic it was replacing also ran datagen to update the dirt tag to reflect changes that were previously made in the datagen code
This commit is contained in:
parent
df04ae11ef
commit
c37e44efb6
3 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
for(int i = 0; i < p_227210_5_; ++i) {
|
for(int i = 0; i < p_227210_5_; ++i) {
|
||||||
p_227210_6_.func_189533_g(p_227210_3_).func_189534_c(Direction.UP, i);
|
p_227210_6_.func_189533_g(p_227210_3_).func_189534_c(Direction.UP, i);
|
||||||
- if (!p_227210_1_.func_180495_p(p_227210_6_).func_200015_d(p_227210_1_, p_227210_6_)) {
|
- if (!p_227210_1_.func_180495_p(p_227210_6_).func_200015_d(p_227210_1_, p_227210_6_)) {
|
||||||
+ if (!p_227210_1_.func_180495_p(p_227210_6_).canBeReplacedByLeaves(p_227210_1_, p_227210_6_)) {
|
+ if (p_227210_1_.func_180495_p(p_227210_6_).canBeReplacedByLogs(p_227210_1_, p_227210_6_)) {
|
||||||
this.func_202278_a(p_227210_1_, p_227210_6_, p_227210_4_.field_227273_b_.func_225574_a_(p_227210_2_, p_227210_3_));
|
this.func_202278_a(p_227210_1_, p_227210_6_, p_227210_4_.field_227273_b_.func_225574_a_(p_227210_2_, p_227210_3_));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
if (!flag4 || !flag5) {
|
if (!flag4 || !flag5) {
|
||||||
p_225564_5_.func_189533_g(p_225564_3_).func_196234_d(j, p_225564_4_, k);
|
p_225564_5_.func_189533_g(p_225564_3_).func_196234_d(j, p_225564_4_, k);
|
||||||
- if (!p_225564_1_.func_180495_p(p_225564_5_).func_200015_d(p_225564_1_, p_225564_5_)) {
|
- if (!p_225564_1_.func_180495_p(p_225564_5_).func_200015_d(p_225564_1_, p_225564_5_)) {
|
||||||
+ if (!p_225564_1_.func_180495_p(p_225564_5_).canBeReplacedByLeaves(p_225564_1_, p_225564_5_)) {
|
+ if (p_225564_1_.func_180495_p(p_225564_5_).canBeReplacedByLeaves(p_225564_1_, p_225564_5_)) {
|
||||||
boolean flag6 = flag || flag5 && j == 1 - i;
|
boolean flag6 = flag || flag5 && j == 1 - i;
|
||||||
boolean flag7 = flag1 || flag5 && j == i - 1;
|
boolean flag7 = flag1 || flag5 && j == i - 1;
|
||||||
boolean flag8 = flag2 || flag4 && k == 1 - i;
|
boolean flag8 = flag2 || flag4 && k == 1 - i;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
if (i >= p_225564_4_ || flag4 != flag5) {
|
if (i >= p_225564_4_ || flag4 != flag5) {
|
||||||
p_225564_5_.func_189533_g(p_225564_3_).func_196234_d(l, i, i1);
|
p_225564_5_.func_189533_g(p_225564_3_).func_196234_d(l, i, i1);
|
||||||
- if (!p_225564_1_.func_180495_p(p_225564_5_).func_200015_d(p_225564_1_, p_225564_5_)) {
|
- if (!p_225564_1_.func_180495_p(p_225564_5_).func_200015_d(p_225564_1_, p_225564_5_)) {
|
||||||
+ if (!p_225564_1_.func_180495_p(p_225564_5_).canBeReplacedByLeaves(p_225564_1_, p_225564_5_)) {
|
+ if (p_225564_1_.func_180495_p(p_225564_5_).canBeReplacedByLeaves(p_225564_1_, p_225564_5_)) {
|
||||||
this.func_202278_a(p_225564_1_, p_225564_5_, p_225564_6_.field_227272_a_.func_225574_a_(p_225564_2_, p_225564_3_).func_206870_a(HugeMushroomBlock.field_196465_z, Boolean.valueOf(i >= p_225564_4_ - 1)).func_206870_a(HugeMushroomBlock.field_196464_y, Boolean.valueOf(l < -k)).func_206870_a(HugeMushroomBlock.field_196461_b, Boolean.valueOf(l > k)).func_206870_a(HugeMushroomBlock.field_196459_a, Boolean.valueOf(i1 < -k)).func_206870_a(HugeMushroomBlock.field_196463_c, Boolean.valueOf(i1 > k)));
|
this.func_202278_a(p_225564_1_, p_225564_5_, p_225564_6_.field_227272_a_.func_225574_a_(p_225564_2_, p_225564_3_).func_206870_a(HugeMushroomBlock.field_196465_z, Boolean.valueOf(i >= p_225564_4_ - 1)).func_206870_a(HugeMushroomBlock.field_196464_y, Boolean.valueOf(l < -k)).func_206870_a(HugeMushroomBlock.field_196461_b, Boolean.valueOf(l > k)).func_206870_a(HugeMushroomBlock.field_196459_a, Boolean.valueOf(i1 < -k)).func_206870_a(HugeMushroomBlock.field_196463_c, Boolean.valueOf(i1 > k)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue