Class SlimePropertyLongArray
java.lang.Object
com.infernalsuite.asp.api.world.properties.SlimeProperty<long[],net.kyori.adventure.nbt.LongArrayBinaryTag>
com.infernalsuite.asp.api.world.properties.type.SlimePropertyLongArray
public class SlimePropertyLongArray
extends SlimeProperty<long[],net.kyori.adventure.nbt.LongArrayBinaryTag>
-
Method Summary
Modifier and TypeMethodDescriptionprotected net.kyori.adventure.nbt.LongArrayBinaryTag
cast
(net.kyori.adventure.nbt.BinaryTag rawTag) static SlimePropertyLongArray
static SlimePropertyLongArray
protected net.kyori.adventure.nbt.LongArrayBinaryTag
createTag
(long[] value) protected long[]
readValue
(net.kyori.adventure.nbt.LongArrayBinaryTag tag) Methods inherited from class com.infernalsuite.asp.api.world.properties.SlimeProperty
applyValidator, getDefaultValue, getKey, getValidator, toString
-
Method Details
-
create
-
create
public static SlimePropertyLongArray create(@NotNull @NotNull String key, long[] defaultValue, @NotNull @NotNull Function<long[], Boolean> validator) -
createTag
protected net.kyori.adventure.nbt.LongArrayBinaryTag createTag(long[] value) - Specified by:
createTag
in classSlimeProperty<long[],
net.kyori.adventure.nbt.LongArrayBinaryTag>
-
readValue
protected long[] readValue(net.kyori.adventure.nbt.LongArrayBinaryTag tag) - Specified by:
readValue
in classSlimeProperty<long[],
net.kyori.adventure.nbt.LongArrayBinaryTag>
-
cast
protected net.kyori.adventure.nbt.LongArrayBinaryTag cast(net.kyori.adventure.nbt.BinaryTag rawTag) - Specified by:
cast
in classSlimeProperty<long[],
net.kyori.adventure.nbt.LongArrayBinaryTag>
-