Class SlimePropertyIntArray

java.lang.Object
com.infernalsuite.asp.api.world.properties.SlimeProperty<int[],net.kyori.adventure.nbt.IntArrayBinaryTag>
com.infernalsuite.asp.api.world.properties.type.SlimePropertyIntArray

public class SlimePropertyIntArray extends SlimeProperty<int[],net.kyori.adventure.nbt.IntArrayBinaryTag>
  • Method Details

    • create

      public static SlimePropertyIntArray create(@NotNull @NotNull String key, int[] defaultValue)
    • create

      public static SlimePropertyIntArray create(@NotNull @NotNull String key, int[] defaultValue, @NotNull @NotNull Function<int[],Boolean> validator)
    • createTag

      protected net.kyori.adventure.nbt.IntArrayBinaryTag createTag(int[] value)
      Specified by:
      createTag in class SlimeProperty<int[],net.kyori.adventure.nbt.IntArrayBinaryTag>
    • readValue

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

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