Class SparkBehaviorComponent
java.lang.Object
team.lodestar.lodestone.systems.particle.world.behaviors.components.SparkBehaviorComponent
- All Implemented Interfaces:
LodestoneBehaviorComponent
- Direct Known Subclasses:
ExtrudingSparkBehaviorComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.world.phys.Vec3protected final GenericParticleDataFields inherited from interface team.lodestar.lodestone.systems.particle.world.behaviors.components.LodestoneBehaviorComponent
DIRECTIONAL, EXTRUDING_SPARK, SPARK -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.Vec3net.minecraft.world.phys.Vec3getDirection(LodestoneWorldParticle particle) getLengthData(LodestoneWorldParticle particle) net.minecraft.world.phys.Vec3sparkEnd(net.minecraft.world.phys.Vec3 pos, net.minecraft.world.phys.Vec3 offset) net.minecraft.world.phys.Vec3sparkStart(net.minecraft.world.phys.Vec3 pos, net.minecraft.world.phys.Vec3 offset) voidtick(LodestoneWorldParticle particle)
-
Field Details
-
lengthData
-
cachedDirection
protected net.minecraft.world.phys.Vec3 cachedDirection
-
-
Constructor Details
-
SparkBehaviorComponent
-
SparkBehaviorComponent
public SparkBehaviorComponent()
-
-
Method Details
-
tick
- Specified by:
tickin interfaceLodestoneBehaviorComponent
-
getLengthData
-
getDirection
-
getBehaviorType
- Specified by:
getBehaviorTypein interfaceLodestoneBehaviorComponent
-
getLengthData
-
getCachedDirection
public net.minecraft.world.phys.Vec3 getCachedDirection() -
sparkStart
public net.minecraft.world.phys.Vec3 sparkStart(net.minecraft.world.phys.Vec3 pos, net.minecraft.world.phys.Vec3 offset) -
sparkEnd
public net.minecraft.world.phys.Vec3 sparkEnd(net.minecraft.world.phys.Vec3 pos, net.minecraft.world.phys.Vec3 offset)
-