mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-09 01:47:54 +01:00
Add Unmodifiable annotation
This commit is contained in:
parent
f17355a972
commit
22ba15f390
@ -8,6 +8,7 @@ import net.minestom.server.utils.NamespaceID;
|
|||||||
import org.jetbrains.annotations.Contract;
|
import org.jetbrains.annotations.Contract;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
import org.jetbrains.annotations.Unmodifiable;
|
||||||
import org.jglrxavpok.hephaistos.nbt.NBTCompound;
|
import org.jglrxavpok.hephaistos.nbt.NBTCompound;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -59,6 +60,7 @@ public interface Block extends ProtocolObject, TagReadable, BlockConstants {
|
|||||||
@Contract(pure = true)
|
@Contract(pure = true)
|
||||||
@Nullable BlockHandler handler();
|
@Nullable BlockHandler handler();
|
||||||
|
|
||||||
|
@Unmodifiable
|
||||||
@Contract(pure = true)
|
@Contract(pure = true)
|
||||||
@NotNull Map<String, String> properties();
|
@NotNull Map<String, String> properties();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user