mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
1.18.x Omnibus (#8239)
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user