Class DisplayProjectile

java.lang.Object
io.github.pylonmc.rebar.entity.RebarEntity<org.bukkit.entity.ItemDisplay>
io.github.pylonmc.pylon.util.DisplayProjectile
All Implemented Interfaces:
io.github.pylonmc.rebar.entity.base.RebarTickingEntity

public final class DisplayProjectile extends io.github.pylonmc.rebar.entity.RebarEntity<org.bukkit.entity.ItemDisplay> implements io.github.pylonmc.rebar.entity.base.RebarTickingEntity
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.github.pylonmc.rebar.entity.RebarEntity

    io.github.pylonmc.rebar.entity.RebarEntity.Companion

    Nested classes/interfaces inherited from interface io.github.pylonmc.rebar.entity.base.RebarTickingEntity

    io.github.pylonmc.rebar.entity.base.RebarTickingEntity.Companion
  • Field Summary

    Fields inherited from class io.github.pylonmc.rebar.entity.RebarEntity

    Companion

    Fields inherited from interface io.github.pylonmc.rebar.entity.base.RebarTickingEntity

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    DisplayProjectile(org.bukkit.entity.Player player, org.bukkit.Material material, org.bukkit.Location source, @NotNull org.bukkit.util.Vector direction, float thickness, float length, float speedBlockPerSecond, double damage, int tickInterval, int remainingLifetimeTicks, @Nullable net.kyori.adventure.sound.Sound hitSound, @Nullable net.kyori.adventure.sound.Sound playerHitSound)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class io.github.pylonmc.rebar.entity.RebarEntity

    getEntity, getKey, getPickItem, getSchema, getSettings, getUuid, getWaila, onUnload, register, register, write, writeDebugInfo

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.github.pylonmc.rebar.entity.base.RebarTickingEntity

    getTickInterval, isAsync, setAsync, setTickInterval
  • Constructor Details

    • DisplayProjectile

      public DisplayProjectile(org.bukkit.entity.Player player, org.bukkit.Material material, org.bukkit.Location source, @NotNull @NotNull org.bukkit.util.Vector direction, float thickness, float length, float speedBlockPerSecond, double damage, int tickInterval, int remainingLifetimeTicks, @Nullable @Nullable net.kyori.adventure.sound.Sound hitSound, @Nullable @Nullable net.kyori.adventure.sound.Sound playerHitSound)
  • Method Details

    • tick

      public void tick()
      Specified by:
      tick in interface io.github.pylonmc.rebar.entity.base.RebarTickingEntity