package com.elmakers.mine.bukkit.utility.platform.v1_17_0;

import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Biome;
import org.bukkit.block.Block;
import org.bukkit.block.Skull;

import com.elmakers.mine.bukkit.utility.platform.Platform;
import com.elmakers.mine.bukkit.utility.platform.base.DeprecatedUtilsBase;

public class DeprecatedUtils extends DeprecatedUtilsBase {
    public DeprecatedUtils(Platform platform) {
        super(platform);
    }

    @Override
    public void setTypeAndData(Block block, Material material, byte data, boolean applyPhysics) {
        block.setType(material, applyPhysics);
    }

    @Override
    public Biome getBiome(Location location) {
        return location.getWorld().getBiome(location.getBlockX(), location.getBlockY(), location.getBlockZ());
    }

    @Override
    public void setSkullType(Skull skullBlock, short skullType) {
    }

    @Override
    public short getSkullType(Skull skullBlock) {
        return 0;
    }
}

@@ -75,75 +75,16 @@
 kit.
-Location;%0Aimport org.bukkit.Material;%0Aimport org.bukkit.block.Biome
+Material
 ;%0Aim
@@ -203,22 +203,53 @@
 atform;%0A
-import
+%0Apublic class DeprecatedUtils extends
  com.elm
@@ -287,12 +287,13 @@
 orm.
-base
+v1_15
 .Dep
@@ -308,71 +308,8 @@
 tils
-Base;%0A%0Apublic class DeprecatedUtils extends DeprecatedUtilsBase
  %7B%0A 
@@ -557,187 +557,8 @@
  %7D%0A%0A
-    @Override%0A    public Biome getBiome(Location location) %7B%0A        return location.getWorld().getBiome(location.getBlockX(), location.getBlockY(), location.getBlockZ());%0A    %7D%0A%0A
     

Allow 1.17 DeprecatedUtils to inherit from 1.15