Deprecate BlockUtils and BlockUtilsModern classes

This commit is contained in:
Christian Koop 2023-04-22 15:18:29 +02:00
parent eb76ba47ee
commit 9361fad0bf
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
2 changed files with 8 additions and 0 deletions

View File

@ -20,6 +20,10 @@ import java.util.Set;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.Logger; import java.util.logging.Logger;
/**
* @deprecated This class will be removed in the future and replaced with a more maintainable system.
*/
@Deprecated
public class BlockUtils { public class BlockUtils {
protected static final Set<Material> DOORS; protected static final Set<Material> DOORS;
protected static final Set<Material> PRESSURE_PLATES; protected static final Set<Material> PRESSURE_PLATES;

View File

@ -22,6 +22,10 @@ import java.lang.reflect.Method;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.Logger; import java.util.logging.Logger;
/**
* @deprecated This class will be removed in the future and replaced with a more maintainable system.
*/
@Deprecated
public class BlockUtilsModern { public class BlockUtilsModern {
protected static void _updatePressurePlateModern(Block plate, int power) { protected static void _updatePressurePlateModern(Block plate, int power) {
BlockData blockData = plate.getBlockData(); BlockData blockData = plate.getBlockData();