mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 23:13:09 +00:00
Another pass through items/entities
This commit is contained in:
1 parent
4ad7e675eb
commit
95fc132f9f
74 files changed
+642
-708
No files matched your search
@@ -47,7 +47,7 @@ public class ItemFertilizer extends ItemMod {
|
||||
for(int k = 2; k >= -2; k--) {
|
||||
BlockPos pos_ = pos.add(i + 1, k + 1, j + 1);
|
||||
if(world.isAirBlock(pos_) && (!world.getDimension().isNether() || pos_.getY() < 255)
|
||||
&& ModBlocks.whiteFlower.isValidPosition(ModBlocks.whiteFlower.getDefaultState(), world, pos_))
|
||||
&& ModBlocks.whiteFlower.getDefaultState().isValidPosition(world, pos_))
|
||||
validCoords.add(pos_);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user