Interface TrackerUpdateAction

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

Tracker update action
  • Method Details

    • brightness

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

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

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

      @NotNull static @NotNull TrackerUpdateAction.ViewRange viewRange(float viewRange)
      Creates view range action
      Parameters:
      viewRange - view range
      Returns:
      view range action
    • tint

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

      @NotNull static @NotNull TrackerUpdateAction.PreviousTint previousTint()
      Gets previous tint action
      Returns:
      previous tint action
    • enchant

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

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

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

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

      @NotNull static @NotNull TrackerUpdateAction.ItemMapping itemMapping()
      Gets item mapping action
      Returns:
      item mapping action
    • moveDuration

      @NotNull static @NotNull TrackerUpdateAction.MoveDuration moveDuration(int moveDuration)
      Creates move duration action
      Parameters:
      moveDuration - move duration
      Returns:
      move duration action
    • composite

      @NotNull static @NotNull TrackerUpdateAction.Composite composite(@NotNull @NotNull TrackerUpdateAction... actions)
      Gets composited action
      Returns:
      composited action
    • test

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

      @NotNull default @NotNull TrackerUpdateAction then(@NotNull @NotNull TrackerUpdateAction action)
      Adds other actions to this update action
      Parameters:
      action - action
      Returns:
      merged action
    • stream

      @NotNull default @NotNull Stream<TrackerUpdateAction> stream()
      Gets action stream
      Returns:
      stream