mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Fix most non rendering issues
This commit is contained in:
1 parent
bafd2bfa6d
commit
24e777cab5
88 files changed
+397
-454
No files matched your search
@@ -22,6 +22,7 @@ import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.Vec3d;
|
||||
import net.minecraft.world.IBlockReader;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.server.ServerWorld;
|
||||
import net.minecraftforge.api.distmarker.Dist;
|
||||
import net.minecraftforge.api.distmarker.OnlyIn;
|
||||
import vazkii.botania.client.fx.SparkleParticleData;
|
||||
@@ -88,7 +89,7 @@ public class BlockModFlower extends FlowerBlock implements IGrowable {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void grow(@Nonnull World world, @Nonnull Random rand, @Nonnull BlockPos pos, @Nonnull BlockState state) {
|
||||
public void grow(@Nonnull ServerWorld world, @Nonnull Random rand, @Nonnull BlockPos pos, @Nonnull BlockState state) {
|
||||
Block block = ModBlocks.getDoubleFlower(color);
|
||||
if(block instanceof DoublePlantBlock) {
|
||||
((DoublePlantBlock) block).placeAt(world, pos, 3);
|
||||
|
||||
Reference in new issue
Block a user