mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-01 20:46:41 +00:00
More progress towards 1.13
This commit is contained in:
@ -24,11 +24,6 @@ public class DepreciationAggregator
|
||||
return server.getOfflinePlayer(name);
|
||||
}
|
||||
|
||||
public static Material getMaterial(int id)
|
||||
{
|
||||
return Material.getMaterial(id);
|
||||
}
|
||||
|
||||
public static byte getData_MaterialData(MaterialData md)
|
||||
{
|
||||
return md.getData();
|
||||
@ -44,21 +39,11 @@ public class DepreciationAggregator
|
||||
return block.getData();
|
||||
}
|
||||
|
||||
public static void setData_Block(Block block, byte data)
|
||||
{
|
||||
block.setData(data);
|
||||
}
|
||||
|
||||
public static org.bukkit.material.Lever makeLeverWithData(byte data)
|
||||
{
|
||||
return new org.bukkit.material.Lever(Material.LEVER, data);
|
||||
}
|
||||
|
||||
public static int getTypeId_Block(Block block)
|
||||
{
|
||||
return block.getTypeId();
|
||||
}
|
||||
|
||||
public static String getName_EntityType(EntityType et)
|
||||
{
|
||||
return et.getName();
|
||||
|
Reference in New Issue
Block a user