mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
convert BlockState to BlockData
This commit is contained in:
parent
c2413cc6a1
commit
fdc35330f2
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ import org.bukkit.Bukkit;
|
|||
import org.bukkit.Keyed;
|
||||
import org.bukkit.NamespacedKey;
|
||||
import org.bukkit.Registry;
|
||||
import org.bukkit.block.BlockState;
|
||||
import org.bukkit.block.data.BlockData;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
|
@ -97,10 +97,10 @@ public interface PoiType extends Keyed {
|
|||
* Determines whether or not the provided BlockState is relevant to this
|
||||
* point of interest.
|
||||
*
|
||||
* @param state the BlockState to check
|
||||
* @param data the BlockData to check
|
||||
* @return true if the BlockState is relevant, otherwise false
|
||||
*/
|
||||
boolean is(@NotNull final BlockState state);
|
||||
boolean is(@NotNull final BlockData data);
|
||||
|
||||
@NotNull
|
||||
private static PoiType get(@NotNull final String key) {
|
||||
|
|
Loading…
Add table
Reference in a new issue