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.CompanionNested 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
CompanionFields inherited from interface io.github.pylonmc.rebar.entity.base.RebarTickingEntity
Companion -
Constructor Summary
ConstructorsConstructorDescriptionDisplayProjectile(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
Methods inherited from class io.github.pylonmc.rebar.entity.RebarEntity
getEntity, getKey, getPickItem, getSchema, getSettings, getUuid, getWaila, onUnload, register, register, write, writeDebugInfoMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
tickin interfaceio.github.pylonmc.rebar.entity.base.RebarTickingEntity
-