UTF-8
diff --git a/src/main/java/dev/lone/itemsadder/api/CustomFurniture.java b/src/main/java/dev/lone/itemsadder/api/CustomFurniture.java
index c510317..ebef472 100644
--- a/src/main/java/dev/lone/itemsadder/api/CustomFurniture.java
+++ b/src/main/java/dev/lone/itemsadder/api/CustomFurniture.java
@@ -1,5 +1,6 @@
package dev.lone.itemsadder.api;
+import org.bukkit.Color;
import org.bukkit.Location;
import org.bukkit.block.Block;
import org.bukkit.entity.Entity;
@@ -123,6 +124,47 @@ public void replaceFurniture(String newFurnitureNamespacedId)
throw new NotActuallyItemsAdderException();
}
+ /**
+ * Replace the model of this furniture with the model of another furniture.
+ *
+ * @param newFurnitureNamespacedId the namespace and ID of the new furniture model.
+ * @param color the new color of this furniture. Will apply only to naturally colorable items.
+ */
+ public void replaceFurniture(String newFurnitureNamespacedId, Color color)
+ {
+ throw new NotActuallyItemsAdderException();
+ }
+
+ /**
+ * Replace color of this furniture. Will apply only to naturally colorable items.
+ *
+ * @param color the new color of this furniture. Will apply only to naturally colorable items.
+ */
+ public void setColor(Color color)
+ {
+ throw new NotActuallyItemsAdderException();
+ }
+
+ /**
+ * Returns the original light level of this CustomFurniture.
+ *
+ * @return Integer representing the original light level of the CustomFurniture.
+ */
+ public int getOriginalLightLevel()
+ {
+ throw new NotActuallyItemsAdderException();
+ }
+
+ /**
+ * Sets the current light level for this CustomFurniture.
+ *
+ * @param level The light level to set for this CustomFurniture.
+ */
+ public void setCurrentLightLevel(int level)
+ {
+ throw new NotActuallyItemsAdderException();
+ }
+
/**
* Gets the Armor stand associated with this CustomFurniture.
*
This may return null if the Armor stand is not yet spawned in the world.
diff --git a/src/main/java/dev/lone/itemsadder/api/CustomStack.java b/src/main/java/dev/lone/itemsadder/api/CustomStack.java
index eeffe22..e37662c 100644
--- a/src/main/java/dev/lone/itemsadder/api/CustomStack.java
+++ b/src/main/java/dev/lone/itemsadder/api/CustomStack.java
@@ -261,6 +261,16 @@ public void setDurability(int durability)
throw new NotActuallyItemsAdderException();
}
+ /**
+ * Sets the custom max durability of this CustomStack to the provided integer.
+ *
+ * @param maxDurability The max durability to set for this CustomStack.
+ */
+ public void setMaxDurability(int maxDurability)
+ {
+ throw new NotActuallyItemsAdderException();
+ }
+
/**
* Gets the maximum custom durability of this CustomStack.
*
diff --git a/src/main/java/dev/lone/itemsadder/api/ItemsAdder.java b/src/main/java/dev/lone/itemsadder/api/ItemsAdder.java
index 86e2f15..980ec0c 100644
--- a/src/main/java/dev/lone/itemsadder/api/ItemsAdder.java
+++ b/src/main/java/dev/lone/itemsadder/api/ItemsAdder.java
@@ -237,6 +237,21 @@ public static ItemStack setCustomItemDurability(ItemStack item, int durability)
throw new NotActuallyItemsAdderException();
}
+ /**
+ * Please use {@link CustomStack} instead.
+ *
+ * Set the custom durability of a custom item.
+ *
+ * @param item Custom item.
+ * @param maxDurability Max durability to set.
+ * @return The modified ItemStack.
+ */
+ @Deprecated
+ public static ItemStack setCustomItemMaxDurability(ItemStack item, int maxDurability)
+ {
+ throw new NotActuallyItemsAdderException();
+ }
+
/**
* Please use {@link CustomStack} instead.
*