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
- switchTo
- effectDirection
- animationDuration
- animationRange
- loopOption
- curveType
- highlightColor
- highlightThickness
- useBloomOnHighlight
- useProgessiveHighlight
- noiseScale
- noiseScrollSpeed
- postColor
- postColorOpacity
- opacity
- Constructor Details
- Method Details
- requireBounds(MemorySegment, int)
- getId(MemorySegment)
- getId(MemorySegment, int)
- getSwitchTo(MemorySegment)
- getSwitchTo(MemorySegment, int)
- getEffectDirection(MemorySegment)
- getEffectDirection(MemorySegment, int)
- getAnimationDuration(MemorySegment)
- getAnimationDuration(MemorySegment, int)
- getAnimationRange(MemorySegment)
- getAnimationRange(MemorySegment, int)
- getLoopOption(MemorySegment)
- getLoopOption(MemorySegment, int)
- getCurveType(MemorySegment)
- getCurveType(MemorySegment, int)
- getHighlightColor(MemorySegment)
- getHighlightColor(MemorySegment, int)
- getHighlightThickness(MemorySegment)
- getHighlightThickness(MemorySegment, int)
- getUseBloomOnHighlight(MemorySegment)
- getUseBloomOnHighlight(MemorySegment, int)
- getUseProgessiveHighlight(MemorySegment)
- getUseProgessiveHighlight(MemorySegment, int)
- getNoiseScale(MemorySegment)
- getNoiseScale(MemorySegment, int)
- getNoiseScrollSpeed(MemorySegment)
- getNoiseScrollSpeed(MemorySegment, int)
- getPostColor(MemorySegment)
- getPostColor(MemorySegment, int)
- getPostColorOpacity(MemorySegment)
- getPostColorOpacity(MemorySegment, int)
- getOpacity(MemorySegment)
- getOpacity(MemorySegment, int)
- hasAnimationRange(MemorySegment, int)
- hasHighlightColor(MemorySegment, int)
- hasNoiseScale(MemorySegment, int)
- hasNoiseScrollSpeed(MemorySegment, int)
- hasPostColor(MemorySegment, int)
- hasId(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class ModelVFX
java.lang.Object
com.hypixel.hytale.protocol.ModelVFX
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatorg.joml.Vector2fcstatic final intfloatstatic final intorg.joml.Vector2fcorg.joml.Vector2fcstatic final intfloatfloatbooleanbooleanstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionModelVFX()ModelVFX(String id, SwitchTo switchTo, EffectDirection effectDirection, float animationDuration, org.joml.Vector2fc animationRange, LoopOption loopOption, CurveType curveType, Color highlightColor, float highlightThickness, boolean useBloomOnHighlight, boolean useProgessiveHighlight, org.joml.Vector2fc noiseScale, org.joml.Vector2fc noiseScrollSpeed, Color postColor, float postColorOpacity, float opacity) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic floatstatic floatgetAnimationDuration(MemorySegment mem, int offset) static org.joml.Vector2fcstatic org.joml.Vector2fcgetAnimationRange(MemorySegment mem, int offset) static CurveTypestatic CurveTypegetCurveType(MemorySegment mem, int offset) static EffectDirectionstatic EffectDirectiongetEffectDirection(MemorySegment mem, int offset) static Colorstatic ColorgetHighlightColor(MemorySegment mem, int offset) static floatstatic floatgetHighlightThickness(MemorySegment mem, int offset) static StringgetId(MemorySegment mem) static StringgetId(MemorySegment mem, int offset) static LoopOptionstatic LoopOptiongetLoopOption(MemorySegment mem, int offset) static org.joml.Vector2fcstatic org.joml.Vector2fcgetNoiseScale(MemorySegment mem, int offset) static org.joml.Vector2fcstatic org.joml.Vector2fcgetNoiseScrollSpeed(MemorySegment mem, int offset) static floatgetOpacity(MemorySegment mem) static floatgetOpacity(MemorySegment mem, int offset) static Colorstatic ColorgetPostColor(MemorySegment mem, int offset) static floatstatic floatgetPostColorOpacity(MemorySegment mem, int offset) static SwitchTogetSwitchTo(MemorySegment mem) static SwitchTogetSwitchTo(MemorySegment mem, int offset) static booleanstatic booleangetUseBloomOnHighlight(MemorySegment mem, int offset) static booleanstatic booleangetUseProgessiveHighlight(MemorySegment mem, int offset) static booleanhasAnimationRange(MemorySegment mem, int offset) inthashCode()static booleanhasHighlightColor(MemorySegment mem, int offset) static booleanhasId(MemorySegment mem, int offset) static booleanhasNoiseScale(MemorySegment mem, int offset) static booleanhasNoiseScrollSpeed(MemorySegment mem, int offset) static booleanhasPostColor(MemorySegment mem, int offset) static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) static ModelVFXtoObject(MemorySegment mem) static ModelVFXtoObject(MemorySegment mem, int offset) static ModelVFXtoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one ModelVFX 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
-
switchTo
-
effectDirection
-
animationDuration
public float animationDuration -
animationRange
@Nullable public org.joml.Vector2fc animationRange -
loopOption
-
curveType
-
highlightColor
-
highlightThickness
public float highlightThickness -
useBloomOnHighlight
public boolean useBloomOnHighlight -
useProgessiveHighlight
public boolean useProgessiveHighlight -
noiseScale
@Nullable public org.joml.Vector2fc noiseScale -
noiseScrollSpeed
@Nullable public org.joml.Vector2fc noiseScrollSpeed -
postColor
-
postColorOpacity
public float postColorOpacity -
opacity
public float opacity
-
-
Constructor Details
-
ModelVFX
public ModelVFX() -
ModelVFX
public ModelVFX(@Nullable String id, @Nonnull SwitchTo switchTo, @Nonnull EffectDirection effectDirection, float animationDuration, @Nullable org.joml.Vector2fc animationRange, @Nonnull LoopOption loopOption, @Nonnull CurveType curveType, @Nullable Color highlightColor, float highlightThickness, boolean useBloomOnHighlight, boolean useProgessiveHighlight, @Nullable org.joml.Vector2fc noiseScale, @Nullable org.joml.Vector2fc noiseScrollSpeed, @Nullable Color postColor, float postColorOpacity, float opacity) -
ModelVFX
-
-
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
-
getSwitchTo
-
getSwitchTo
-
getEffectDirection
-
getEffectDirection
-
getAnimationDuration
-
getAnimationDuration
-
getAnimationRange
-
getAnimationRange
-
getLoopOption
-
getLoopOption
-
getCurveType
-
getCurveType
-
getHighlightColor
-
getHighlightColor
-
getHighlightThickness
-
getHighlightThickness
-
getUseBloomOnHighlight
-
getUseBloomOnHighlight
-
getUseProgessiveHighlight
-
getUseProgessiveHighlight
-
getNoiseScale
-
getNoiseScale
-
getNoiseScrollSpeed
-
getNoiseScrollSpeed
-
getPostColor
-
getPostColor
-
getPostColorOpacity
-
getPostColorOpacity
-
getOpacity
-
getOpacity
-
hasAnimationRange
-
hasHighlightColor
-
hasNoiseScale
-
hasNoiseScrollSpeed
-
hasPostColor
-
hasId
-
toObject
-
toObject
-
toObject
Decodes one ModelVFX 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
-