Skip to content

Commit

Permalink
getNamespacedIdsInRegistry method for CustomFurniture
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneDev6 committed Nov 14, 2023
1 parent 54f2155 commit 3959d6d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>dev.lone</groupId>
<artifactId>api-itemsadder</artifactId>
<version>3.6.1</version>
<version>3.6.2-beta-r3</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
11 changes: 11 additions & 0 deletions src/main/java/dev/lone/itemsadder/api/CustomFurniture.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,23 @@
import org.bukkit.entity.Entity;
import org.jetbrains.annotations.Nullable;

import java.util.Set;

/**
* Class representing a CustomFurniture of ItemsAdder.
* <br>This class extends the {@link CustomStack} class.
*/
public class CustomFurniture extends CustomStack
{
/**
* Returns a list of all the registered furniture identifiers in the format {@code namespace:id}
* @return a list of Namespaces and IDs in the format {@code namespace:id}
*/
public static Set<String> getNamespacedIdsInRegistry()
{
throw new NotActuallyItemsAdderException();
}

/**
* Gets a CustomFurniture instance from the provided Armor stand.
* <br>This may return null if the Armor stand is not part of a furniture.
Expand Down

0 comments on commit 3959d6d

Please sign in to comment.