mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-16 05:43:54 +00:00
Removed duplicated method and implemented missing ones
This commit is contained in:
@ -174,17 +174,6 @@ public interface BukkitImplAdapter<T> extends IBukkitAdapter {
|
||||
*/
|
||||
BaseItemStack adapt(ItemStack itemStack);
|
||||
|
||||
|
||||
/**
|
||||
* Retrieve the internal ID for a given state, if possible.
|
||||
*
|
||||
* @param state The block state
|
||||
* @return the internal ID of the state
|
||||
*/
|
||||
default OptionalInt getInternalBlockStateId(BlockState state) {
|
||||
return OptionalInt.empty();
|
||||
}
|
||||
|
||||
boolean isChunkInUse(Chunk chunk);
|
||||
|
||||
default BlockMaterial getMaterial(BlockType blockType) {
|
||||
@ -213,6 +202,7 @@ public interface BukkitImplAdapter<T> extends IBukkitAdapter {
|
||||
* @param state The block state
|
||||
* @return the internal ID of the state
|
||||
*/
|
||||
|
||||
default OptionalInt getInternalBlockStateId(BlockState state) {
|
||||
return OptionalInt.empty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user