Class RenderPipeline

java.lang.Object
kr.toxicity.model.api.data.renderer.RenderPipeline

public final class RenderPipeline extends Object
A pipeline class of each tracker.
  • Constructor Details

  • Method Details

    • createBundler

      @NotNull public @NotNull PacketBundler createBundler()
    • channel

      @Nullable public @Nullable PlayerChannelHandler channel(@NotNull @NotNull UUID uuid)
    • createLazyBundler

      @NotNull public @NotNull PacketBundler createLazyBundler()
    • createParallelBundler

      @NotNull public @NotNull PacketBundler createParallelBundler()
    • viewFilter

      public void viewFilter(@NotNull @NotNull Predicate<org.bukkit.entity.Player> filter)
    • hideFilter

      public void hideFilter(@NotNull @NotNull Predicate<org.bukkit.entity.Player> filter)
    • spawnPacketHandler

      public void spawnPacketHandler(@NotNull @NotNull Consumer<PacketBundler> spawnPacketHandler)
    • despawnPacketHandler

      public void despawnPacketHandler(@NotNull @NotNull Consumer<PacketBundler> despawnPacketHandler)
    • hidePacketHandler

      public void hidePacketHandler(@NotNull @NotNull Consumer<PacketBundler> despawnPacketHandler)
    • showPacketHandler

      public void showPacketHandler(@NotNull @NotNull Consumer<PacketBundler> despawnPacketHandler)
    • isSpawned

      public boolean isSpawned(@NotNull @NotNull UUID uuid)
    • runningAnimation

      @Nullable public @Nullable RunningAnimation runningAnimation()
    • name

      @NotNull public @NotNull String name()
    • despawn

      public void despawn()
    • rotate

      public boolean rotate(@NotNull @NotNull ModelRotation rotation, @NotNull @NotNull PacketBundler bundler)
    • tick

      public boolean tick(@NotNull @NotNull PacketBundler bundler)
    • tick

      public boolean tick(@NotNull @NotNull UUID uuid, @NotNull @NotNull PacketBundler bundler)
    • defaultPosition

      public void defaultPosition(@NotNull @NotNull Supplier<org.joml.Vector3f> movement)
    • scale

      public void scale(@NotNull @NotNull FloatSupplier scale)
    • addRotationModifier

      public boolean addRotationModifier(@NotNull @NotNull BonePredicate predicate, @NotNull @NotNull Function<org.joml.Quaternionf,org.joml.Quaternionf> mapper)
    • addPositionModifier

      public boolean addPositionModifier(@NotNull @NotNull BonePredicate predicate, @NotNull @NotNull Function<org.joml.Vector3f,org.joml.Vector3f> mapper)
    • bones

      @NotNull public @NotNull @Unmodifiable Collection<RenderedBone> bones()
    • hitboxes

      @NotNull public @NotNull Stream<HitBox> hitboxes()
    • boneOf

      @Nullable public @Nullable RenderedBone boneOf(@NotNull @NotNull BoneName name)
    • boneOf

      @Nullable public @Nullable RenderedBone boneOf(@NotNull @NotNull Predicate<RenderedBone> predicate)
    • animate

      @Internal public boolean animate(@NotNull @NotNull Predicate<RenderedBone> filter, @NotNull @NotNull String animation, @NotNull @NotNull AnimationModifier modifier, @NotNull @NotNull AnimationEventHandler eventHandler)
    • animate

      @Internal public boolean animate(@NotNull @NotNull Predicate<RenderedBone> filter, @NotNull @NotNull BlueprintAnimation animation, @NotNull @NotNull AnimationModifier modifier, @NotNull @NotNull AnimationEventHandler eventHandler)
    • replace

      @Internal public boolean replace(@NotNull @NotNull Predicate<RenderedBone> filter, @NotNull @NotNull String target, @NotNull @NotNull String animation, @NotNull @NotNull AnimationModifier modifier)
    • replace

      @Internal public boolean replace(@NotNull @NotNull Predicate<RenderedBone> filter, @NotNull @NotNull String target, @NotNull @NotNull BlueprintAnimation animation, @NotNull @NotNull AnimationModifier modifier)
    • stopAnimation

      @Internal public boolean stopAnimation(@NotNull @NotNull Predicate<RenderedBone> filter, @NotNull @NotNull String target, @Nullable @Nullable org.bukkit.entity.Player player)
    • spawn

      @Internal public boolean spawn(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull PacketBundler bundler)
    • remove

      @Internal public boolean remove(@NotNull @NotNull org.bukkit.entity.Player player)
    • matchTree

      public boolean matchTree(@NotNull @NotNull BonePredicate predicate, BiPredicate<RenderedBone,BonePredicate> mapper)
    • matchTree

      public boolean matchTree(@NotNull @NotNull AnimationPredicate predicate, BiPredicate<RenderedBone,AnimationPredicate> mapper)
    • matchTree

      public boolean matchTree(@NotNull @NotNull Predicate<RenderedBone> predicate)
    • iterateTree

      public void iterateTree(@NotNull @NotNull Consumer<RenderedBone> consumer)
    • playerCount

      public int playerCount()
    • allPlayer

      @NotNull public @NotNull Stream<org.bukkit.entity.Player> allPlayer()
    • nonHidePlayer

      @NotNull public @NotNull Stream<org.bukkit.entity.Player> nonHidePlayer()
    • viewedPlayer

      @NotNull public @NotNull Stream<org.bukkit.entity.Player> viewedPlayer()
    • filteredPlayer

      @NotNull public @NotNull Stream<org.bukkit.entity.Player> filteredPlayer(@NotNull @NotNull Predicate<org.bukkit.entity.Player> predicate)
    • hide

      public boolean hide(@NotNull @NotNull org.bukkit.entity.Player player)
    • isHide

      public boolean isHide(@NotNull @NotNull org.bukkit.entity.Player player)
    • show

      public boolean show(@NotNull @NotNull org.bukkit.entity.Player player)