Uses of Enum Class
hm.zelha.particlesfx.util.ShapeDisplayMechanic.Phase
Packages that use ShapeDisplayMechanic.Phase
-
Uses of ShapeDisplayMechanic.Phase in hm.zelha.particlesfx.shapers.parents
Fields in hm.zelha.particlesfx.shapers.parents with type parameters of type ShapeDisplayMechanic.PhaseModifier and TypeFieldDescriptionprotected final List<Pair<ShapeDisplayMechanic, ShapeDisplayMechanic.Phase>> ParticleShaper.mechanicsMethods in hm.zelha.particlesfx.shapers.parents with parameters of type ShapeDisplayMechanic.PhaseModifier and TypeMethodDescriptionvoidParticleShaper.addMechanic(ShapeDisplayMechanic.Phase phase, ShapeDisplayMechanic mechanic) voidShape.addMechanic(ShapeDisplayMechanic.Phase phase, ShapeDisplayMechanic mechanic) Similar toConsumer
in the case of phasesBEFORE_ROTATIONandAFTER_ROTATIONthe given mechanic will run before the location is modified to display the next particle, allowing you to modify the addition vector however you want, though doing so may be very volatile
keep in mind that all changes to the given objects will be reflected in the display() method, and considering that the display() method often displays hundreds of particles, try to make sure the mechanic isn't very resource-intensive
ShapeDisplayMechanic.apply(Particle, Location, Vector, int)protected voidParticleShaper.applyMechanics(ShapeDisplayMechanic.Phase phase, Particle particle, org.bukkit.Location current, org.bukkit.util.Vector addition) -
Uses of ShapeDisplayMechanic.Phase in hm.zelha.particlesfx.util
Methods in hm.zelha.particlesfx.util that return ShapeDisplayMechanic.PhaseModifier and TypeMethodDescriptionstatic ShapeDisplayMechanic.PhaseReturns the enum constant of this class with the specified name.static ShapeDisplayMechanic.Phase[]ShapeDisplayMechanic.Phase.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in hm.zelha.particlesfx.util with parameters of type ShapeDisplayMechanic.PhaseModifier and TypeMethodDescriptionvoidParticleShapeCompound.addMechanic(ShapeDisplayMechanic.Phase phase, ShapeDisplayMechanic mechanic)