Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- NULLABLE_BIT_FIELD_SIZE
- FIXED_BLOCK_SIZE
- VARIABLE_FIELD_COUNT
- VARIABLE_BLOCK_START
- MAX_SIZE
- id
- particle
- shape
- emitOffset
- cameraOffset
- useEmitDirection
- lifeSpan
- spawnRate
- spawnBurst
- waveDelay
- totalParticles
- maxConcurrentParticles
- initialVelocity
- velocityStretchMultiplier
- particleRotationInfluence
- particleRotateWithSpawner
- isLowRes
- trailSpawnerPositionMultiplier
- trailSpawnerRotationMultiplier
- particleCollision
- renderMode
- lightInfluence
- linearFiltering
- particleLifeSpan
- uvMotion
- attractors
- intersectionHighlight
- Constructor Details
- ParticleSpawner()
- ParticleSpawner(String, Particle, EmitShape, RangeVector3f, float, boolean, float, Rangef, boolean, Rangef, Range, int, InitialVelocity, float, ParticleRotationInfluence, boolean, boolean, float, float, ParticleCollision, FXRenderMode, float, boolean, Rangef, UVMotion, ParticleAttractor[], IntersectionHighlight)
- ParticleSpawner(ParticleSpawner)
- Method Details
- requireBounds(MemorySegment, int)
- getId(MemorySegment)
- getId(MemorySegment, int)
- getParticle(MemorySegment)
- getParticle(MemorySegment, int)
- getShape(MemorySegment)
- getShape(MemorySegment, int)
- getEmitOffset(MemorySegment)
- getEmitOffset(MemorySegment, int)
- getCameraOffset(MemorySegment)
- getCameraOffset(MemorySegment, int)
- getUseEmitDirection(MemorySegment)
- getUseEmitDirection(MemorySegment, int)
- getLifeSpan(MemorySegment)
- getLifeSpan(MemorySegment, int)
- getSpawnRate(MemorySegment)
- getSpawnRate(MemorySegment, int)
- getSpawnBurst(MemorySegment)
- getSpawnBurst(MemorySegment, int)
- getWaveDelay(MemorySegment)
- getWaveDelay(MemorySegment, int)
- getTotalParticles(MemorySegment)
- getTotalParticles(MemorySegment, int)
- getMaxConcurrentParticles(MemorySegment)
- getMaxConcurrentParticles(MemorySegment, int)
- getInitialVelocity(MemorySegment)
- getInitialVelocity(MemorySegment, int)
- getVelocityStretchMultiplier(MemorySegment)
- getVelocityStretchMultiplier(MemorySegment, int)
- getParticleRotationInfluence(MemorySegment)
- getParticleRotationInfluence(MemorySegment, int)
- getParticleRotateWithSpawner(MemorySegment)
- getParticleRotateWithSpawner(MemorySegment, int)
- getIsLowRes(MemorySegment)
- getIsLowRes(MemorySegment, int)
- getTrailSpawnerPositionMultiplier(MemorySegment)
- getTrailSpawnerPositionMultiplier(MemorySegment, int)
- getTrailSpawnerRotationMultiplier(MemorySegment)
- getTrailSpawnerRotationMultiplier(MemorySegment, int)
- getParticleCollision(MemorySegment)
- getParticleCollision(MemorySegment, int)
- getRenderMode(MemorySegment)
- getRenderMode(MemorySegment, int)
- getLightInfluence(MemorySegment)
- getLightInfluence(MemorySegment, int)
- getLinearFiltering(MemorySegment)
- getLinearFiltering(MemorySegment, int)
- getParticleLifeSpan(MemorySegment)
- getParticleLifeSpan(MemorySegment, int)
- getUvMotion(MemorySegment)
- getUvMotion(MemorySegment, int)
- getAttractors(MemorySegment)
- getAttractors(MemorySegment, int)
- getIntersectionHighlight(MemorySegment)
- getIntersectionHighlight(MemorySegment, int)
- hasEmitOffset(MemorySegment, int)
- hasSpawnRate(MemorySegment, int)
- hasWaveDelay(MemorySegment, int)
- hasTotalParticles(MemorySegment, int)
- hasInitialVelocity(MemorySegment, int)
- hasParticleCollision(MemorySegment, int)
- hasParticleLifeSpan(MemorySegment, int)
- hasIntersectionHighlight(MemorySegment, int)
- hasId(MemorySegment, int)
- hasParticle(MemorySegment, int)
- hasUvMotion(MemorySegment, int)
- hasAttractors(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class ParticleSpawner
java.lang.Object
com.hypixel.hytale.protocol.ParticleSpawner
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatstatic final intbooleanfloatfloatbooleanstatic final intintstatic final intbooleanbooleanfloatfloatbooleanstatic final intstatic final intfloat -
Constructor Summary
ConstructorsConstructorDescriptionParticleSpawner(ParticleSpawner other) ParticleSpawner(String id, Particle particle, EmitShape shape, RangeVector3f emitOffset, float cameraOffset, boolean useEmitDirection, float lifeSpan, Rangef spawnRate, boolean spawnBurst, Rangef waveDelay, Range totalParticles, int maxConcurrentParticles, InitialVelocity initialVelocity, float velocityStretchMultiplier, ParticleRotationInfluence particleRotationInfluence, boolean particleRotateWithSpawner, boolean isLowRes, float trailSpawnerPositionMultiplier, float trailSpawnerRotationMultiplier, ParticleCollision particleCollision, FXRenderMode renderMode, float lightInfluence, boolean linearFiltering, Rangef particleLifeSpan, UVMotion uvMotion, ParticleAttractor[] attractors, IntersectionHighlight intersectionHighlight) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic ParticleAttractor[]static ParticleAttractor[]getAttractors(MemorySegment mem, int offset) static floatstatic floatgetCameraOffset(MemorySegment mem, int offset) static RangeVector3fstatic RangeVector3fgetEmitOffset(MemorySegment mem, int offset) static StringgetId(MemorySegment mem) static StringgetId(MemorySegment mem, int offset) static InitialVelocitystatic InitialVelocitygetInitialVelocity(MemorySegment mem, int offset) static IntersectionHighlightstatic IntersectionHighlightgetIntersectionHighlight(MemorySegment mem, int offset) static booleangetIsLowRes(MemorySegment mem) static booleangetIsLowRes(MemorySegment mem, int offset) static floatgetLifeSpan(MemorySegment mem) static floatgetLifeSpan(MemorySegment mem, int offset) static floatstatic floatgetLightInfluence(MemorySegment mem, int offset) static booleanstatic booleangetLinearFiltering(MemorySegment mem, int offset) static intstatic intgetMaxConcurrentParticles(MemorySegment mem, int offset) static ParticlegetParticle(MemorySegment mem) static ParticlegetParticle(MemorySegment mem, int offset) static ParticleCollisionstatic ParticleCollisiongetParticleCollision(MemorySegment mem, int offset) static Rangefstatic RangefgetParticleLifeSpan(MemorySegment mem, int offset) static booleanstatic booleangetParticleRotateWithSpawner(MemorySegment mem, int offset) static ParticleRotationInfluencestatic ParticleRotationInfluencegetParticleRotationInfluence(MemorySegment mem, int offset) static FXRenderModestatic FXRenderModegetRenderMode(MemorySegment mem, int offset) static EmitShapegetShape(MemorySegment mem) static EmitShapegetShape(MemorySegment mem, int offset) static booleanstatic booleangetSpawnBurst(MemorySegment mem, int offset) static Rangefstatic RangefgetSpawnRate(MemorySegment mem, int offset) static Rangestatic RangegetTotalParticles(MemorySegment mem, int offset) static floatstatic floatgetTrailSpawnerPositionMultiplier(MemorySegment mem, int offset) static floatstatic floatgetTrailSpawnerRotationMultiplier(MemorySegment mem, int offset) static booleanstatic booleangetUseEmitDirection(MemorySegment mem, int offset) static UVMotiongetUvMotion(MemorySegment mem) static UVMotiongetUvMotion(MemorySegment mem, int offset) static floatstatic floatgetVelocityStretchMultiplier(MemorySegment mem, int offset) static Rangefstatic RangefgetWaveDelay(MemorySegment mem, int offset) static booleanhasAttractors(MemorySegment mem, int offset) static booleanhasEmitOffset(MemorySegment mem, int offset) inthashCode()static booleanhasId(MemorySegment mem, int offset) static booleanhasInitialVelocity(MemorySegment mem, int offset) static booleanhasIntersectionHighlight(MemorySegment mem, int offset) static booleanhasParticle(MemorySegment mem, int offset) static booleanhasParticleCollision(MemorySegment mem, int offset) static booleanhasParticleLifeSpan(MemorySegment mem, int offset) static booleanhasSpawnRate(MemorySegment mem, int offset) static booleanhasTotalParticles(MemorySegment mem, int offset) static booleanhasUvMotion(MemorySegment mem, int offset) static booleanhasWaveDelay(MemorySegment mem, int offset) static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) static ParticleSpawnertoObject(MemorySegment mem) static ParticleSpawnertoObject(MemorySegment mem, int offset) static ParticleSpawnertoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one ParticleSpawner and reports the end of its encoding through the cursor.
-
Field Details
-
NULLABLE_BIT_FIELD_SIZE
public static final int NULLABLE_BIT_FIELD_SIZE- See Also:
-
FIXED_BLOCK_SIZE
public static final int FIXED_BLOCK_SIZE- See Also:
-
VARIABLE_FIELD_COUNT
public static final int VARIABLE_FIELD_COUNT- See Also:
-
VARIABLE_BLOCK_START
public static final int VARIABLE_BLOCK_START- See Also:
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
-
id
-
particle
-
shape
-
emitOffset
-
cameraOffset
public float cameraOffset -
useEmitDirection
public boolean useEmitDirection -
lifeSpan
public float lifeSpan -
spawnRate
-
spawnBurst
public boolean spawnBurst -
waveDelay
-
totalParticles
-
maxConcurrentParticles
public int maxConcurrentParticles -
initialVelocity
-
velocityStretchMultiplier
public float velocityStretchMultiplier -
particleRotationInfluence
-
particleRotateWithSpawner
public boolean particleRotateWithSpawner -
isLowRes
public boolean isLowRes -
trailSpawnerPositionMultiplier
public float trailSpawnerPositionMultiplier -
trailSpawnerRotationMultiplier
public float trailSpawnerRotationMultiplier -
particleCollision
-
renderMode
-
lightInfluence
public float lightInfluence -
linearFiltering
public boolean linearFiltering -
particleLifeSpan
-
uvMotion
-
attractors
-
intersectionHighlight
-
-
Constructor Details
-
ParticleSpawner
public ParticleSpawner() -
ParticleSpawner
public ParticleSpawner(@Nullable String id, @Nullable Particle particle, @Nonnull EmitShape shape, @Nullable RangeVector3f emitOffset, float cameraOffset, boolean useEmitDirection, float lifeSpan, @Nullable Rangef spawnRate, boolean spawnBurst, @Nullable Rangef waveDelay, @Nullable Range totalParticles, int maxConcurrentParticles, @Nullable InitialVelocity initialVelocity, float velocityStretchMultiplier, @Nonnull ParticleRotationInfluence particleRotationInfluence, boolean particleRotateWithSpawner, boolean isLowRes, float trailSpawnerPositionMultiplier, float trailSpawnerRotationMultiplier, @Nullable ParticleCollision particleCollision, @Nonnull FXRenderMode renderMode, float lightInfluence, boolean linearFiltering, @Nullable Rangef particleLifeSpan, @Nullable UVMotion uvMotion, @Nullable ParticleAttractor[] attractors, @Nullable IntersectionHighlight intersectionHighlight) -
ParticleSpawner
-
-
Method Details
-
requireBounds
Checks that the fixed block fits. The per-field getters read without their own bound check, so call this once before reading fields out of an untrusted segment. -
getId
-
getId
-
getParticle
-
getParticle
-
getShape
-
getShape
-
getEmitOffset
-
getEmitOffset
-
getCameraOffset
-
getCameraOffset
-
getUseEmitDirection
-
getUseEmitDirection
-
getLifeSpan
-
getLifeSpan
-
getSpawnRate
-
getSpawnRate
-
getSpawnBurst
-
getSpawnBurst
-
getWaveDelay
-
getWaveDelay
-
getTotalParticles
-
getTotalParticles
-
getMaxConcurrentParticles
-
getMaxConcurrentParticles
-
getInitialVelocity
-
getInitialVelocity
-
getVelocityStretchMultiplier
-
getVelocityStretchMultiplier
-
getParticleRotationInfluence
-
getParticleRotationInfluence
-
getParticleRotateWithSpawner
-
getParticleRotateWithSpawner
-
getIsLowRes
-
getIsLowRes
-
getTrailSpawnerPositionMultiplier
-
getTrailSpawnerPositionMultiplier
-
getTrailSpawnerRotationMultiplier
-
getTrailSpawnerRotationMultiplier
-
getParticleCollision
-
getParticleCollision
-
getRenderMode
-
getRenderMode
-
getLightInfluence
-
getLightInfluence
-
getLinearFiltering
-
getLinearFiltering
-
getParticleLifeSpan
-
getParticleLifeSpan
-
getUvMotion
-
getUvMotion
-
getAttractors
-
getAttractors
-
getIntersectionHighlight
-
getIntersectionHighlight
@Nullable public static IntersectionHighlight getIntersectionHighlight(MemorySegment mem, int offset) -
hasEmitOffset
-
hasSpawnRate
-
hasWaveDelay
-
hasTotalParticles
-
hasInitialVelocity
-
hasParticleCollision
-
hasParticleLifeSpan
-
hasIntersectionHighlight
-
hasId
-
hasParticle
-
hasUvMotion
-
hasAttractors
-
toObject
-
toObject
-
toObject
Decodes one ParticleSpawner and reports the end of its encoding through the cursor. The variable block is decoded in field order against a running position, and each offset slot must name that position, so the fields decoded are the bytes walked. -
serialize
-
computeSize
public int computeSize() -
clone
-
equals
-
hashCode
-