Package com.hypixel.hytale.protocol
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()static intcomputeBytesConsumed(io.netty.buffer.ByteBuf buf, int offset) intstatic Weatherdeserialize(io.netty.buffer.ByteBuf buf, int offset) booleaninthashCode()voidserialize(io.netty.buffer.ByteBuf buf) static ValidationResultvalidateStructure(io.netty.buffer.ByteBuf buffer, int offset)
-
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
-
deserialize
-
computeBytesConsumed
public static int computeBytesConsumed(@Nonnull io.netty.buffer.ByteBuf buf, int offset) -
serialize
public void serialize(@Nonnull io.netty.buffer.ByteBuf buf) -
computeSize
public int computeSize() -
validateStructure
public static ValidationResult validateStructure(@Nonnull io.netty.buffer.ByteBuf buffer, int offset) -
clone
-
equals
-
hashCode
public int hashCode()
-