1.18.x Omnibus (#8239)

This commit is contained in:
sciwhiz12 authored and GitHub committed 2022-03-01 18:59:37 +00:00
1 parent 4011c3fb07
commit 34291c1fb2
89 files changed
+1014 -1192

No files matched your search

@@ -15,7 +15,7 @@ import net.minecraft.world.level.BlockGetter;
public interface IPlantable
{
default PlantType getPlantType(BlockGetter world, BlockPos pos) {
default PlantType getPlantType(BlockGetter level, BlockPos pos) {
if (this instanceof CropBlock) return PlantType.CROP;
if (this instanceof SaplingBlock) return PlantType.PLAINS;
if (this instanceof FlowerBlock) return PlantType.PLAINS;
@@ -28,5 +28,5 @@ public interface IPlantable
return net.minecraftforge.common.PlantType.PLAINS;
}
BlockState getPlant(BlockGetter world, BlockPos pos);
BlockState getPlant(BlockGetter level, BlockPos pos);
}