Added some missing bukkit registries

This commit is contained in:
Matthew Miller
2018-10-14 17:55:57 +10:00
parent 815f14d4a1
commit f8bf547c9e
6 changed files with 118 additions and 18 deletions

View File

@ -37,12 +37,4 @@ public interface CategoryRegistry<T> {
Set<T> getCategorisedByName(String category);
Set<T> getAll(final Category<T> category);
/**
* Gets a list of categories given to a value.
*
* @param categorised The value
* @return A set of categories
*/
Set<String> getCategories(T categorised);
}

View File

@ -36,9 +36,4 @@ public class NullBlockCategoryRegistry implements BlockCategoryRegistry {
public Set<BlockType> getAll(final Category<BlockType> category) {
return Collections.emptySet();
}
@Override
public Set<String> getCategories(BlockType categorised) {
return Collections.emptySet();
}
}

View File

@ -36,9 +36,4 @@ public class NullItemCategoryRegistry implements ItemCategoryRegistry {
public Set<ItemType> getAll(final Category<ItemType> category) {
return Collections.emptySet();
}
@Override
public Set<String> getCategories(ItemType categorised) {
return Collections.emptySet();
}
}