Class SlimePropertyLong

java.lang.Object
com.infernalsuite.asp.api.world.properties.SlimeProperty<Long,net.kyori.adventure.nbt.LongBinaryTag>
com.infernalsuite.asp.api.world.properties.type.SlimePropertyLong

public class SlimePropertyLong extends SlimeProperty<Long,net.kyori.adventure.nbt.LongBinaryTag>
  • Method Details

    • create

      public static SlimePropertyLong create(@NotNull @NotNull String key, long defaultValue)
    • create

      public static SlimePropertyLong create(@NotNull @NotNull String key, long defaultValue, @NotNull @NotNull Function<Long,Boolean> validator)
    • createTag

      protected net.kyori.adventure.nbt.LongBinaryTag createTag(Long value)
      Specified by:
      createTag in class SlimeProperty<Long,net.kyori.adventure.nbt.LongBinaryTag>
    • readValue

      protected Long readValue(net.kyori.adventure.nbt.LongBinaryTag tag)
      Specified by:
      readValue in class SlimeProperty<Long,net.kyori.adventure.nbt.LongBinaryTag>
    • cast

      protected net.kyori.adventure.nbt.LongBinaryTag cast(net.kyori.adventure.nbt.BinaryTag rawTag)
      Specified by:
      cast in class SlimeProperty<Long,net.kyori.adventure.nbt.LongBinaryTag>