| Constructor and Description |
|---|
EntityData(@NotNull AnnoyingPlugin plugin,
@NotNull org.bukkit.entity.Entity entity)
Construct a new
EntityData for the given entity |
| Modifier and Type | Method and Description |
|---|---|
@Nullable java.lang.String |
get(@NotNull java.lang.String key)
Get the data value for the given key
|
@NotNull java.lang.String |
getTargetName()
Get the name of the target used for warning messages
|
@NotNull EntityData |
remove(@NotNull java.lang.String key)
Remove the data value with the given key
|
protected @NotNull EntityData |
set(@NotNull java.lang.String key,
@NotNull java.lang.String value)
Set the data value for the given key.
|
public EntityData(@NotNull
@NotNull AnnoyingPlugin plugin,
@NotNull
@NotNull org.bukkit.entity.Entity entity)
EntityData for the given entityplugin - Data.pluginentity - Data.target@NotNull public @NotNull java.lang.String getTargetName()
DatagetTargetName in class Data<org.bukkit.entity.Entity>@Nullable
public @Nullable java.lang.String get(@NotNull
@NotNull java.lang.String key)
Data@NotNull protected @NotNull EntityData set(@NotNull @NotNull java.lang.String key, @NotNull @NotNull java.lang.String value)
Data@NotNull public @NotNull EntityData remove(@NotNull @NotNull java.lang.String key)
Data