mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Add perf. improvments for Forge
This commit is contained in:
committed by
Matthew Miller
parent
8c17aab9c5
commit
27c7d488a2
@ -67,12 +67,4 @@ public interface BlockRegistry {
|
||||
*/
|
||||
OptionalInt getInternalBlockStateId(BlockState state);
|
||||
|
||||
/**
|
||||
* Retrieve a block state by its internal ID, if possible.
|
||||
*
|
||||
* @param id The internal ID
|
||||
* @return the block state, if available
|
||||
*/
|
||||
@Nullable
|
||||
BlockState getBlockStateByInternalId(int id);
|
||||
}
|
||||
|
@ -59,9 +59,4 @@ public class BundledBlockRegistry implements BlockRegistry {
|
||||
return OptionalInt.empty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlockState getBlockStateByInternalId(int id) {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user