mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-02-27 08:51:20 +01:00
Deprecate some utility classes that still need some additional work
This commit is contained in:
parent
f1fa34f891
commit
3203e4b799
@ -13,7 +13,10 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Class based off of https://gist.github.com/graywolf336/8153678
|
||||
*
|
||||
* @deprecated Will be moved into a more appropriate package and refactored.
|
||||
*/
|
||||
@Deprecated
|
||||
public class ItemSerializer {
|
||||
/**
|
||||
* A method to serialize an {@link ItemStack} list to Base64 String.
|
||||
|
@ -1,12 +1,12 @@
|
||||
package com.craftaro.core.utils;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
import com.mojang.authlib.properties.Property;
|
||||
import com.craftaro.core.compatibility.ClassMapping;
|
||||
import com.craftaro.core.compatibility.CompatibleHand;
|
||||
import com.craftaro.core.compatibility.CompatibleMaterial;
|
||||
import com.craftaro.core.compatibility.MethodMapping;
|
||||
import com.craftaro.core.compatibility.ServerVersion;
|
||||
import com.mojang.authlib.GameProfile;
|
||||
import com.mojang.authlib.properties.Property;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
@ -42,7 +42,10 @@ import java.util.stream.Stream;
|
||||
|
||||
/**
|
||||
* This class uses some Minecraft code and also Paper API
|
||||
*
|
||||
* @deprecated Needs to be re-implemented without ClassMapping usage etc. and moved into a more appropriate package
|
||||
*/
|
||||
@Deprecated
|
||||
public class ItemUtils {
|
||||
static boolean can_getI18NDisplayName = true;
|
||||
|
||||
|
@ -36,7 +36,10 @@ import java.util.zip.GZIPOutputStream;
|
||||
* bStats collects some data for plugin authors.
|
||||
* <p>
|
||||
* Check out https://bStats.org/ to learn more about bStats!
|
||||
*
|
||||
* @deprecated Replace with latest version of bStats
|
||||
*/
|
||||
@Deprecated
|
||||
@SuppressWarnings({"WeakerAccess", "unused"})
|
||||
public class Metrics {
|
||||
static {
|
||||
|
Loading…
Reference in New Issue
Block a user