Interface TrackerUpdateAction

All Superinterfaces:
BiPredicate<RenderedBone,BonePredicate>
All Known Implementing Classes:
TrackerUpdateAction.Billboard, TrackerUpdateAction.Brightness, TrackerUpdateAction.Enchant, TrackerUpdateAction.Glow, TrackerUpdateAction.GlowColor, TrackerUpdateAction.ItemStack, TrackerUpdateAction.Tint, TrackerUpdateAction.TogglePart

Tracker update action
  • Method Details

    • test

      boolean test(@NotNull @NotNull RenderedBone bone, @NotNull @NotNull BonePredicate predicate)
      Specified by:
      test in interface BiPredicate<RenderedBone,BonePredicate>
    • brightness

      @NotNull static @NotNull TrackerUpdateAction.Brightness brightness(int block, int sky)
      Creates brightness data
      Parameters:
      block - block brightness
      sky - sky brightness
      Returns:
      brightness data
    • glow

      @NotNull static @NotNull TrackerUpdateAction.Glow glow(boolean glow)
      Creates glow data
      Parameters:
      glow - should be applying a glow
      Returns:
      glow data
    • glowColor

      @NotNull static @NotNull TrackerUpdateAction.GlowColor glowColor(int glowColor)
      Creates glow color data
      Parameters:
      glowColor - glow color
      Returns:
      glow color data
    • tint

      @NotNull static @NotNull TrackerUpdateAction.Tint tint(int rgb)
      Creates tint data
      Parameters:
      rgb - rgb
      Returns:
      tint data
    • enchant

      @NotNull static @NotNull TrackerUpdateAction.Enchant enchant(boolean enchant)
      Gets enchant data
      Parameters:
      enchant - should be enchanted
      Returns:
      enchant data
    • togglePart

      @NotNull static @NotNull TrackerUpdateAction.TogglePart togglePart(boolean toggle)
      Gets toggle part data
      Parameters:
      toggle - should be visible
      Returns:
      toggle part data
    • itemStack

      @NotNull static @NotNull TrackerUpdateAction.ItemStack itemStack(@NotNull @NotNull TransformedItemStack itemStack)
      Creates item stack data
      Parameters:
      itemStack - item stack
      Returns:
      item stack data
    • billboard

      @NotNull static @NotNull TrackerUpdateAction.Billboard billboard(@NotNull org.bukkit.entity.Display.Billboard billboard)
      Creates billboard data
      Parameters:
      billboard - billboard
      Returns:
      billboard data