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 Details

    • create

      public static SlimePropertyLongArray create(@NotNull @NotNull String key, long[] defaultValue)
    • 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 class SlimeProperty<long[],net.kyori.adventure.nbt.LongArrayBinaryTag>
    • readValue

      protected long[] readValue(net.kyori.adventure.nbt.LongArrayBinaryTag tag)
      Specified by:
      readValue in class SlimeProperty<long[],net.kyori.adventure.nbt.LongArrayBinaryTag>
    • cast

      protected net.kyori.adventure.nbt.LongArrayBinaryTag cast(net.kyori.adventure.nbt.BinaryTag rawTag)
      Specified by:
      cast in class SlimeProperty<long[],net.kyori.adventure.nbt.LongArrayBinaryTag>