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
- never
- environmentIndices
- weatherIndices
- fluidFXIndices
- environmentTagPatternIndex
- weatherTagPatternIndex
- surroundingBlockSoundSets
- altitude
- walls
- roof
- roofMaterialTagPatternIndex
- floor
- sunLightLevel
- torchLightLevel
- globalLightLevel
- dayTime
- space
- shelter
- surfaces
- roofState
- spaceScaleRange
- spaceScaleMinRange
- spaceScaleMaxRange
- escapedRayPercentRange
- reflectionCoeffRange
- absorptionCoeffRange
- roofDistanceRange
- surfacePhysicalMaterials
- surfacePhysicalMaterialsMatchAny
- exteriorRoofPhysicalMaterials
- exteriorRoofPhysicalMaterialsMatchAny
- Constructor Details
- AmbienceFXConditions()
- AmbienceFXConditions(boolean, int[], int[], int[], int, int, AmbienceFXBlockSoundSet[], Range, Rangeb, boolean, int, boolean, Rangeb, Rangeb, Rangeb, Rangef, SpaceSize[], ShelterType[], SurfaceType[], RoofState, Rangef, Rangef, Rangef, Rangef, Rangef, Rangef, Rangef, AmbienceFXPhysicalMaterial[], boolean, AmbienceFXPhysicalMaterial[], boolean)
- AmbienceFXConditions(AmbienceFXConditions)
- Method Details
- requireBounds(MemorySegment, int)
- getNever(MemorySegment)
- getNever(MemorySegment, int)
- getEnvironmentIndices(MemorySegment)
- getEnvironmentIndices(MemorySegment, int)
- getWeatherIndices(MemorySegment)
- getWeatherIndices(MemorySegment, int)
- getFluidFXIndices(MemorySegment)
- getFluidFXIndices(MemorySegment, int)
- getEnvironmentTagPatternIndex(MemorySegment)
- getEnvironmentTagPatternIndex(MemorySegment, int)
- getWeatherTagPatternIndex(MemorySegment)
- getWeatherTagPatternIndex(MemorySegment, int)
- getSurroundingBlockSoundSets(MemorySegment)
- getSurroundingBlockSoundSets(MemorySegment, int)
- getAltitude(MemorySegment)
- getAltitude(MemorySegment, int)
- getWalls(MemorySegment)
- getWalls(MemorySegment, int)
- getRoof(MemorySegment)
- getRoof(MemorySegment, int)
- getRoofMaterialTagPatternIndex(MemorySegment)
- getRoofMaterialTagPatternIndex(MemorySegment, int)
- getFloor(MemorySegment)
- getFloor(MemorySegment, int)
- getSunLightLevel(MemorySegment)
- getSunLightLevel(MemorySegment, int)
- getTorchLightLevel(MemorySegment)
- getTorchLightLevel(MemorySegment, int)
- getGlobalLightLevel(MemorySegment)
- getGlobalLightLevel(MemorySegment, int)
- getDayTime(MemorySegment)
- getDayTime(MemorySegment, int)
- getSpace(MemorySegment)
- getSpace(MemorySegment, int)
- getShelter(MemorySegment)
- getShelter(MemorySegment, int)
- getSurfaces(MemorySegment)
- getSurfaces(MemorySegment, int)
- getRoofState(MemorySegment)
- getRoofState(MemorySegment, int)
- getSpaceScaleRange(MemorySegment)
- getSpaceScaleRange(MemorySegment, int)
- getSpaceScaleMinRange(MemorySegment)
- getSpaceScaleMinRange(MemorySegment, int)
- getSpaceScaleMaxRange(MemorySegment)
- getSpaceScaleMaxRange(MemorySegment, int)
- getEscapedRayPercentRange(MemorySegment)
- getEscapedRayPercentRange(MemorySegment, int)
- getReflectionCoeffRange(MemorySegment)
- getReflectionCoeffRange(MemorySegment, int)
- getAbsorptionCoeffRange(MemorySegment)
- getAbsorptionCoeffRange(MemorySegment, int)
- getRoofDistanceRange(MemorySegment)
- getRoofDistanceRange(MemorySegment, int)
- getSurfacePhysicalMaterials(MemorySegment)
- getSurfacePhysicalMaterials(MemorySegment, int)
- getSurfacePhysicalMaterialsMatchAny(MemorySegment)
- getSurfacePhysicalMaterialsMatchAny(MemorySegment, int)
- getExteriorRoofPhysicalMaterials(MemorySegment)
- getExteriorRoofPhysicalMaterials(MemorySegment, int)
- getExteriorRoofPhysicalMaterialsMatchAny(MemorySegment)
- getExteriorRoofPhysicalMaterialsMatchAny(MemorySegment, int)
- hasSpaceScaleRange(MemorySegment, int)
- hasSpaceScaleMinRange(MemorySegment, int)
- hasSpaceScaleMaxRange(MemorySegment, int)
- hasEscapedRayPercentRange(MemorySegment, int)
- hasReflectionCoeffRange(MemorySegment, int)
- hasAbsorptionCoeffRange(MemorySegment, int)
- hasRoofDistanceRange(MemorySegment, int)
- hasEnvironmentIndices(MemorySegment, int)
- hasWeatherIndices(MemorySegment, int)
- hasFluidFXIndices(MemorySegment, int)
- hasSurroundingBlockSoundSets(MemorySegment, int)
- hasSpace(MemorySegment, int)
- hasShelter(MemorySegment, int)
- hasSurfaces(MemorySegment, int)
- hasSurfacePhysicalMaterials(MemorySegment, int)
- hasExteriorRoofPhysicalMaterials(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class AmbienceFXConditions
java.lang.Object
com.hypixel.hytale.protocol.AmbienceFXConditions
-
Field Summary
FieldsModifier and TypeFieldDescriptionint[]intbooleanstatic final intbooleanint[]static final intbooleanstatic final intbooleanintbooleanstatic final intstatic final intint[]int -
Constructor Summary
ConstructorsConstructorDescriptionAmbienceFXConditions(boolean never, int[] environmentIndices, int[] weatherIndices, int[] fluidFXIndices, int environmentTagPatternIndex, int weatherTagPatternIndex, AmbienceFXBlockSoundSet[] surroundingBlockSoundSets, Range altitude, Rangeb walls, boolean roof, int roofMaterialTagPatternIndex, boolean floor, Rangeb sunLightLevel, Rangeb torchLightLevel, Rangeb globalLightLevel, Rangef dayTime, SpaceSize[] space, ShelterType[] shelter, SurfaceType[] surfaces, RoofState roofState, Rangef spaceScaleRange, Rangef spaceScaleMinRange, Rangef spaceScaleMaxRange, Rangef escapedRayPercentRange, Rangef reflectionCoeffRange, Rangef absorptionCoeffRange, Rangef roofDistanceRange, AmbienceFXPhysicalMaterial[] surfacePhysicalMaterials, boolean surfacePhysicalMaterialsMatchAny, AmbienceFXPhysicalMaterial[] exteriorRoofPhysicalMaterials, boolean exteriorRoofPhysicalMaterialsMatchAny) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic Rangefstatic RangefgetAbsorptionCoeffRange(MemorySegment mem, int offset) static RangegetAltitude(MemorySegment mem) static RangegetAltitude(MemorySegment mem, int offset) static RangefgetDayTime(MemorySegment mem) static RangefgetDayTime(MemorySegment mem, int offset) static int[]static int[]getEnvironmentIndices(MemorySegment mem, int offset) static intstatic intgetEnvironmentTagPatternIndex(MemorySegment mem, int offset) static Rangefstatic RangefgetEscapedRayPercentRange(MemorySegment mem, int offset) static AmbienceFXPhysicalMaterial[]static AmbienceFXPhysicalMaterial[]getExteriorRoofPhysicalMaterials(MemorySegment mem, int offset) static booleanstatic booleangetExteriorRoofPhysicalMaterialsMatchAny(MemorySegment mem, int offset) static booleangetFloor(MemorySegment mem) static booleangetFloor(MemorySegment mem, int offset) static int[]static int[]getFluidFXIndices(MemorySegment mem, int offset) static Rangebstatic RangebgetGlobalLightLevel(MemorySegment mem, int offset) static booleangetNever(MemorySegment mem) static booleangetNever(MemorySegment mem, int offset) static Rangefstatic RangefgetReflectionCoeffRange(MemorySegment mem, int offset) static booleangetRoof(MemorySegment mem) static booleangetRoof(MemorySegment mem, int offset) static Rangefstatic RangefgetRoofDistanceRange(MemorySegment mem, int offset) static intstatic intgetRoofMaterialTagPatternIndex(MemorySegment mem, int offset) static RoofStatestatic RoofStategetRoofState(MemorySegment mem, int offset) static ShelterType[]getShelter(MemorySegment mem) static ShelterType[]getShelter(MemorySegment mem, int offset) static SpaceSize[]getSpace(MemorySegment mem) static SpaceSize[]getSpace(MemorySegment mem, int offset) static Rangefstatic RangefgetSpaceScaleMaxRange(MemorySegment mem, int offset) static Rangefstatic RangefgetSpaceScaleMinRange(MemorySegment mem, int offset) static Rangefstatic RangefgetSpaceScaleRange(MemorySegment mem, int offset) static Rangebstatic RangebgetSunLightLevel(MemorySegment mem, int offset) static AmbienceFXPhysicalMaterial[]static AmbienceFXPhysicalMaterial[]getSurfacePhysicalMaterials(MemorySegment mem, int offset) static booleanstatic booleangetSurfacePhysicalMaterialsMatchAny(MemorySegment mem, int offset) static SurfaceType[]getSurfaces(MemorySegment mem) static SurfaceType[]getSurfaces(MemorySegment mem, int offset) static AmbienceFXBlockSoundSet[]static AmbienceFXBlockSoundSet[]getSurroundingBlockSoundSets(MemorySegment mem, int offset) static Rangebstatic RangebgetTorchLightLevel(MemorySegment mem, int offset) static RangebgetWalls(MemorySegment mem) static RangebgetWalls(MemorySegment mem, int offset) static int[]static int[]getWeatherIndices(MemorySegment mem, int offset) static intstatic intgetWeatherTagPatternIndex(MemorySegment mem, int offset) static booleanhasAbsorptionCoeffRange(MemorySegment mem, int offset) static booleanhasEnvironmentIndices(MemorySegment mem, int offset) static booleanhasEscapedRayPercentRange(MemorySegment mem, int offset) static booleanhasExteriorRoofPhysicalMaterials(MemorySegment mem, int offset) static booleanhasFluidFXIndices(MemorySegment mem, int offset) inthashCode()static booleanhasReflectionCoeffRange(MemorySegment mem, int offset) static booleanhasRoofDistanceRange(MemorySegment mem, int offset) static booleanhasShelter(MemorySegment mem, int offset) static booleanhasSpace(MemorySegment mem, int offset) static booleanhasSpaceScaleMaxRange(MemorySegment mem, int offset) static booleanhasSpaceScaleMinRange(MemorySegment mem, int offset) static booleanhasSpaceScaleRange(MemorySegment mem, int offset) static booleanhasSurfacePhysicalMaterials(MemorySegment mem, int offset) static booleanhasSurfaces(MemorySegment mem, int offset) static booleanhasSurroundingBlockSoundSets(MemorySegment mem, int offset) static booleanhasWeatherIndices(MemorySegment mem, int offset) static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) static AmbienceFXConditionstoObject(MemorySegment mem) static AmbienceFXConditionstoObject(MemorySegment mem, int offset) static AmbienceFXConditionstoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one AmbienceFXConditions 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:
-
never
public boolean never -
environmentIndices
@Nullable public int[] environmentIndices -
weatherIndices
@Nullable public int[] weatherIndices -
fluidFXIndices
@Nullable public int[] fluidFXIndices -
environmentTagPatternIndex
public int environmentTagPatternIndex -
weatherTagPatternIndex
public int weatherTagPatternIndex -
surroundingBlockSoundSets
-
altitude
-
walls
-
roof
public boolean roof -
roofMaterialTagPatternIndex
public int roofMaterialTagPatternIndex -
floor
public boolean floor -
sunLightLevel
-
torchLightLevel
-
globalLightLevel
-
dayTime
-
space
-
shelter
-
surfaces
-
roofState
-
spaceScaleRange
-
spaceScaleMinRange
-
spaceScaleMaxRange
-
escapedRayPercentRange
-
reflectionCoeffRange
-
absorptionCoeffRange
-
roofDistanceRange
-
surfacePhysicalMaterials
-
surfacePhysicalMaterialsMatchAny
public boolean surfacePhysicalMaterialsMatchAny -
exteriorRoofPhysicalMaterials
-
exteriorRoofPhysicalMaterialsMatchAny
public boolean exteriorRoofPhysicalMaterialsMatchAny
-
-
Constructor Details
-
AmbienceFXConditions
public AmbienceFXConditions() -
AmbienceFXConditions
public AmbienceFXConditions(boolean never, @Nullable int[] environmentIndices, @Nullable int[] weatherIndices, @Nullable int[] fluidFXIndices, int environmentTagPatternIndex, int weatherTagPatternIndex, @Nullable AmbienceFXBlockSoundSet[] surroundingBlockSoundSets, @Nonnull Range altitude, @Nonnull Rangeb walls, boolean roof, int roofMaterialTagPatternIndex, boolean floor, @Nonnull Rangeb sunLightLevel, @Nonnull Rangeb torchLightLevel, @Nonnull Rangeb globalLightLevel, @Nonnull Rangef dayTime, @Nullable SpaceSize[] space, @Nullable ShelterType[] shelter, @Nullable SurfaceType[] surfaces, @Nonnull RoofState roofState, @Nullable Rangef spaceScaleRange, @Nullable Rangef spaceScaleMinRange, @Nullable Rangef spaceScaleMaxRange, @Nullable Rangef escapedRayPercentRange, @Nullable Rangef reflectionCoeffRange, @Nullable Rangef absorptionCoeffRange, @Nullable Rangef roofDistanceRange, @Nullable AmbienceFXPhysicalMaterial[] surfacePhysicalMaterials, boolean surfacePhysicalMaterialsMatchAny, @Nullable AmbienceFXPhysicalMaterial[] exteriorRoofPhysicalMaterials, boolean exteriorRoofPhysicalMaterialsMatchAny) -
AmbienceFXConditions
-
-
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. -
getNever
-
getNever
-
getEnvironmentIndices
-
getEnvironmentIndices
-
getWeatherIndices
-
getWeatherIndices
-
getFluidFXIndices
-
getFluidFXIndices
-
getEnvironmentTagPatternIndex
-
getEnvironmentTagPatternIndex
-
getWeatherTagPatternIndex
-
getWeatherTagPatternIndex
-
getSurroundingBlockSoundSets
-
getSurroundingBlockSoundSets
@Nullable public static AmbienceFXBlockSoundSet[] getSurroundingBlockSoundSets(MemorySegment mem, int offset) -
getAltitude
-
getAltitude
-
getWalls
-
getWalls
-
getRoof
-
getRoof
-
getRoofMaterialTagPatternIndex
-
getRoofMaterialTagPatternIndex
-
getFloor
-
getFloor
-
getSunLightLevel
-
getSunLightLevel
-
getTorchLightLevel
-
getTorchLightLevel
-
getGlobalLightLevel
-
getGlobalLightLevel
-
getDayTime
-
getDayTime
-
getSpace
-
getSpace
-
getShelter
-
getShelter
-
getSurfaces
-
getSurfaces
-
getRoofState
-
getRoofState
-
getSpaceScaleRange
-
getSpaceScaleRange
-
getSpaceScaleMinRange
-
getSpaceScaleMinRange
-
getSpaceScaleMaxRange
-
getSpaceScaleMaxRange
-
getEscapedRayPercentRange
-
getEscapedRayPercentRange
-
getReflectionCoeffRange
-
getReflectionCoeffRange
-
getAbsorptionCoeffRange
-
getAbsorptionCoeffRange
-
getRoofDistanceRange
-
getRoofDistanceRange
-
getSurfacePhysicalMaterials
-
getSurfacePhysicalMaterials
@Nullable public static AmbienceFXPhysicalMaterial[] getSurfacePhysicalMaterials(MemorySegment mem, int offset) -
getSurfacePhysicalMaterialsMatchAny
-
getSurfacePhysicalMaterialsMatchAny
-
getExteriorRoofPhysicalMaterials
@Nullable public static AmbienceFXPhysicalMaterial[] getExteriorRoofPhysicalMaterials(MemorySegment mem) -
getExteriorRoofPhysicalMaterials
@Nullable public static AmbienceFXPhysicalMaterial[] getExteriorRoofPhysicalMaterials(MemorySegment mem, int offset) -
getExteriorRoofPhysicalMaterialsMatchAny
-
getExteriorRoofPhysicalMaterialsMatchAny
-
hasSpaceScaleRange
-
hasSpaceScaleMinRange
-
hasSpaceScaleMaxRange
-
hasEscapedRayPercentRange
-
hasReflectionCoeffRange
-
hasAbsorptionCoeffRange
-
hasRoofDistanceRange
-
hasEnvironmentIndices
-
hasWeatherIndices
-
hasFluidFXIndices
-
hasSurroundingBlockSoundSets
-
hasSpace
-
hasShelter
-
hasSurfaces
-
hasSurfacePhysicalMaterials
-
hasExteriorRoofPhysicalMaterials
-
toObject
-
toObject
-
toObject
public static AmbienceFXConditions toObject(MemorySegment mem, int offset, @Nullable ReadCursor cursor) Decodes one AmbienceFXConditions 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
-