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
- tagIndexes
- stars
- moons
- clouds
- sunlightDampingMultiplier
- sunlightColors
- skyTopColors
- skyBottomColors
- skySunsetColors
- sunColors
- sunScales
- sunGlowColors
- moonColors
- moonScales
- moonGlowColors
- fogColors
- fogHeightFalloffs
- fogDensities
- screenEffect
- screenEffectColors
- colorFilters
- waterTints
- particle
- fog
- fogOptions
- Constructor Details
- Method Details
- requireBounds(MemorySegment, int)
- getId(MemorySegment)
- getId(MemorySegment, int)
- getTagIndexes(MemorySegment)
- getTagIndexes(MemorySegment, int)
- getStars(MemorySegment)
- getStars(MemorySegment, int)
- getMoons(MemorySegment)
- getMoons(MemorySegment, int)
- getClouds(MemorySegment)
- getClouds(MemorySegment, int)
- getSunlightDampingMultiplier(MemorySegment)
- getSunlightDampingMultiplier(MemorySegment, int)
- getSunlightColors(MemorySegment)
- getSunlightColors(MemorySegment, int)
- getSkyTopColors(MemorySegment)
- getSkyTopColors(MemorySegment, int)
- getSkyBottomColors(MemorySegment)
- getSkyBottomColors(MemorySegment, int)
- getSkySunsetColors(MemorySegment)
- getSkySunsetColors(MemorySegment, int)
- getSunColors(MemorySegment)
- getSunColors(MemorySegment, int)
- getSunScales(MemorySegment)
- getSunScales(MemorySegment, int)
- getSunGlowColors(MemorySegment)
- getSunGlowColors(MemorySegment, int)
- getMoonColors(MemorySegment)
- getMoonColors(MemorySegment, int)
- getMoonScales(MemorySegment)
- getMoonScales(MemorySegment, int)
- getMoonGlowColors(MemorySegment)
- getMoonGlowColors(MemorySegment, int)
- getFogColors(MemorySegment)
- getFogColors(MemorySegment, int)
- getFogHeightFalloffs(MemorySegment)
- getFogHeightFalloffs(MemorySegment, int)
- getFogDensities(MemorySegment)
- getFogDensities(MemorySegment, int)
- getScreenEffect(MemorySegment)
- getScreenEffect(MemorySegment, int)
- getScreenEffectColors(MemorySegment)
- getScreenEffectColors(MemorySegment, int)
- getColorFilters(MemorySegment)
- getColorFilters(MemorySegment, int)
- getWaterTints(MemorySegment)
- getWaterTints(MemorySegment, int)
- getParticle(MemorySegment)
- getParticle(MemorySegment, int)
- getFog(MemorySegment)
- getFog(MemorySegment, int)
- getFogOptions(MemorySegment)
- getFogOptions(MemorySegment, int)
- hasFog(MemorySegment, int)
- hasFogOptions(MemorySegment, int)
- hasId(MemorySegment, int)
- hasTagIndexes(MemorySegment, int)
- hasStars(MemorySegment, int)
- hasMoons(MemorySegment, int)
- hasClouds(MemorySegment, int)
- hasSunlightDampingMultiplier(MemorySegment, int)
- hasSunlightColors(MemorySegment, int)
- hasSkyTopColors(MemorySegment, int)
- hasSkyBottomColors(MemorySegment, int)
- hasSkySunsetColors(MemorySegment, int)
- hasSunColors(MemorySegment, int)
- hasSunScales(MemorySegment, int)
- hasSunGlowColors(MemorySegment, int)
- hasMoonColors(MemorySegment, int)
- hasMoonScales(MemorySegment, int)
- hasMoonGlowColors(MemorySegment, int)
- hasFogColors(MemorySegment, int)
- hasFogHeightFalloffs(MemorySegment, int)
- hasFogDensities(MemorySegment, int)
- hasScreenEffect(MemorySegment, int)
- hasScreenEffectColors(MemorySegment, int)
- hasColorFilters(MemorySegment, int)
- hasWaterTints(MemorySegment, int)
- hasParticle(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class Weather
java.lang.Object
com.hypixel.hytale.protocol.Weather
-
Field Summary
FieldsModifier and TypeFieldDescriptionCloud[]static final intstatic final intstatic final intint[]static final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionWeather()Weather(String id, int[] tagIndexes, String stars, Map<Integer, String> moons, Cloud[] clouds, Map<Float, Float> sunlightDampingMultiplier, Map<Float, Color> sunlightColors, Map<Float, ColorAlpha> skyTopColors, Map<Float, ColorAlpha> skyBottomColors, Map<Float, ColorAlpha> skySunsetColors, Map<Float, Color> sunColors, Map<Float, Float> sunScales, Map<Float, ColorAlpha> sunGlowColors, Map<Float, ColorAlpha> moonColors, Map<Float, Float> moonScales, Map<Float, ColorAlpha> moonGlowColors, Map<Float, Color> fogColors, Map<Float, Float> fogHeightFalloffs, Map<Float, Float> fogDensities, String screenEffect, Map<Float, ColorAlpha> screenEffectColors, Map<Float, Color> colorFilters, Map<Float, Color> waterTints, WeatherParticle particle, NearFar fog, FogOptions fogOptions) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic Cloud[]getClouds(MemorySegment mem) static Cloud[]getClouds(MemorySegment mem, int offset) getColorFilters(MemorySegment mem, int offset) static NearFargetFog(MemorySegment mem) static NearFargetFog(MemorySegment mem, int offset) getFogColors(MemorySegment mem, int offset) getFogDensities(MemorySegment mem, int offset) getFogHeightFalloffs(MemorySegment mem, int offset) static FogOptionsstatic FogOptionsgetFogOptions(MemorySegment mem, int offset) static StringgetId(MemorySegment mem) static StringgetId(MemorySegment mem, int offset) static Map<Float, ColorAlpha> static Map<Float, ColorAlpha> getMoonColors(MemorySegment mem, int offset) static Map<Float, ColorAlpha> static Map<Float, ColorAlpha> getMoonGlowColors(MemorySegment mem, int offset) getMoons(MemorySegment mem) getMoons(MemorySegment mem, int offset) getMoonScales(MemorySegment mem, int offset) static WeatherParticlegetParticle(MemorySegment mem) static WeatherParticlegetParticle(MemorySegment mem, int offset) static Stringstatic StringgetScreenEffect(MemorySegment mem, int offset) static Map<Float, ColorAlpha> static Map<Float, ColorAlpha> getScreenEffectColors(MemorySegment mem, int offset) static Map<Float, ColorAlpha> static Map<Float, ColorAlpha> getSkyBottomColors(MemorySegment mem, int offset) static Map<Float, ColorAlpha> static Map<Float, ColorAlpha> getSkySunsetColors(MemorySegment mem, int offset) static Map<Float, ColorAlpha> static Map<Float, ColorAlpha> getSkyTopColors(MemorySegment mem, int offset) static StringgetStars(MemorySegment mem) static StringgetStars(MemorySegment mem, int offset) getSunColors(MemorySegment mem, int offset) static Map<Float, ColorAlpha> static Map<Float, ColorAlpha> getSunGlowColors(MemorySegment mem, int offset) getSunlightColors(MemorySegment mem, int offset) getSunlightDampingMultiplier(MemorySegment mem, int offset) getSunScales(MemorySegment mem, int offset) static int[]static int[]getTagIndexes(MemorySegment mem, int offset) getWaterTints(MemorySegment mem, int offset) static booleanhasClouds(MemorySegment mem, int offset) static booleanhasColorFilters(MemorySegment mem, int offset) static booleanhasFog(MemorySegment mem, int offset) static booleanhasFogColors(MemorySegment mem, int offset) static booleanhasFogDensities(MemorySegment mem, int offset) static booleanhasFogHeightFalloffs(MemorySegment mem, int offset) static booleanhasFogOptions(MemorySegment mem, int offset) inthashCode()static booleanhasId(MemorySegment mem, int offset) static booleanhasMoonColors(MemorySegment mem, int offset) static booleanhasMoonGlowColors(MemorySegment mem, int offset) static booleanhasMoons(MemorySegment mem, int offset) static booleanhasMoonScales(MemorySegment mem, int offset) static booleanhasParticle(MemorySegment mem, int offset) static booleanhasScreenEffect(MemorySegment mem, int offset) static booleanhasScreenEffectColors(MemorySegment mem, int offset) static booleanhasSkyBottomColors(MemorySegment mem, int offset) static booleanhasSkySunsetColors(MemorySegment mem, int offset) static booleanhasSkyTopColors(MemorySegment mem, int offset) static booleanhasStars(MemorySegment mem, int offset) static booleanhasSunColors(MemorySegment mem, int offset) static booleanhasSunGlowColors(MemorySegment mem, int offset) static booleanhasSunlightColors(MemorySegment mem, int offset) static booleanhasSunlightDampingMultiplier(MemorySegment mem, int offset) static booleanhasSunScales(MemorySegment mem, int offset) static booleanhasTagIndexes(MemorySegment mem, int offset) static booleanhasWaterTints(MemorySegment mem, int offset) static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) static WeathertoObject(MemorySegment mem) static WeathertoObject(MemorySegment mem, int offset) static WeathertoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one Weather 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
-
tagIndexes
@Nullable public int[] tagIndexes -
stars
-
moons
-
clouds
-
sunlightDampingMultiplier
-
sunlightColors
-
skyTopColors
-
skyBottomColors
-
skySunsetColors
-
sunColors
-
sunScales
-
sunGlowColors
-
moonColors
-
moonScales
-
moonGlowColors
-
fogColors
-
fogHeightFalloffs
-
fogDensities
-
screenEffect
-
screenEffectColors
-
colorFilters
-
waterTints
-
particle
-
fog
-
fogOptions
-
-
Constructor Details
-
Weather
public Weather() -
Weather
public Weather(@Nullable String id, @Nullable int[] tagIndexes, @Nullable String stars, @Nullable Map<Integer, String> moons, @Nullable Cloud[] clouds, @Nullable Map<Float, Float> sunlightDampingMultiplier, @Nullable Map<Float, Color> sunlightColors, @Nullable Map<Float, ColorAlpha> skyTopColors, @Nullable Map<Float, ColorAlpha> skyBottomColors, @Nullable Map<Float, ColorAlpha> skySunsetColors, @Nullable Map<Float, Color> sunColors, @Nullable Map<Float, Float> sunScales, @Nullable Map<Float, ColorAlpha> sunGlowColors, @Nullable Map<Float, ColorAlpha> moonColors, @Nullable Map<Float, Float> moonScales, @Nullable Map<Float, ColorAlpha> moonGlowColors, @Nullable Map<Float, Color> fogColors, @Nullable Map<Float, Float> fogHeightFalloffs, @Nullable Map<Float, Float> fogDensities, @Nullable String screenEffect, @Nullable Map<Float, ColorAlpha> screenEffectColors, @Nullable Map<Float, Color> colorFilters, @Nullable Map<Float, Color> waterTints, @Nullable WeatherParticle particle, @Nullable NearFar fog, @Nullable FogOptions fogOptions) -
Weather
-
-
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
-
getTagIndexes
-
getTagIndexes
-
getStars
-
getStars
-
getMoons
-
getMoons
-
getClouds
-
getClouds
-
getSunlightDampingMultiplier
-
getSunlightDampingMultiplier
@Nullable public static Map<Float,Float> getSunlightDampingMultiplier(MemorySegment mem, int offset) -
getSunlightColors
-
getSunlightColors
-
getSkyTopColors
-
getSkyTopColors
-
getSkyBottomColors
-
getSkyBottomColors
-
getSkySunsetColors
-
getSkySunsetColors
-
getSunColors
-
getSunColors
-
getSunScales
-
getSunScales
-
getSunGlowColors
-
getSunGlowColors
-
getMoonColors
-
getMoonColors
-
getMoonScales
-
getMoonScales
-
getMoonGlowColors
-
getMoonGlowColors
-
getFogColors
-
getFogColors
-
getFogHeightFalloffs
-
getFogHeightFalloffs
-
getFogDensities
-
getFogDensities
-
getScreenEffect
-
getScreenEffect
-
getScreenEffectColors
-
getScreenEffectColors
-
getColorFilters
-
getColorFilters
-
getWaterTints
-
getWaterTints
-
getParticle
-
getParticle
-
getFog
-
getFog
-
getFogOptions
-
getFogOptions
-
hasFog
-
hasFogOptions
-
hasId
-
hasTagIndexes
-
hasStars
-
hasMoons
-
hasClouds
-
hasSunlightDampingMultiplier
-
hasSunlightColors
-
hasSkyTopColors
-
hasSkyBottomColors
-
hasSkySunsetColors
-
hasSunColors
-
hasSunScales
-
hasSunGlowColors
-
hasMoonColors
-
hasMoonScales
-
hasMoonGlowColors
-
hasFogColors
-
hasFogHeightFalloffs
-
hasFogDensities
-
hasScreenEffect
-
hasScreenEffectColors
-
hasColorFilters
-
hasWaterTints
-
hasParticle
-
toObject
-
toObject
-
toObject
Decodes one Weather 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
-