Skip to content

Fluid

← Back to Asset Types

Documentation for the Fluid asset type.

Location

Item/Block/Fluids

Use in Your Files

Add this to your JSON files for IDE autocompletion and validation:

"$schema": "https://hytaledb.ginco.gg/schemas/Fluid.schema.json"

Schema

MaxFluidLevel integer
Default:8
Min: 0Max: 15
Textures arraynull
Array items: BlockTypeTextures
Effect arraynull
Array items: string
Opacity string
Enum:"Solid""Semitransparent""Cutout""Transparent"
Default:"Solid"
RequiresAlphaBlending boolean
Default:true
FluidFXId stringnull
Default:"Empty"
Ticker unknown
Any of
DefaultFluidTicker
FiniteFluidTicker
null
Light unknown
Any of
ColorLight
null
DamageToEntities integer
Default:0
BlockParticleSetId stringnull

The block particle set defined here defines which particles should be spawned when an entity interacts with this block (like when stepping on it for example

ParticleColor unknown
Any of
string
string
null
BlockSoundSetId stringnull

Sets the BlockSoundSet that will be used for this block for various events e.g. placement, breaking

Default:"EMPTY"
Interactions objectnull
Primary unknown
Any of
stringReference to RootInteraction
Secondary unknown
Any of
stringReference to RootInteraction
Ability1 unknown
Any of
stringReference to RootInteraction
Ability2 unknown
Any of
stringReference to RootInteraction
Ability3 unknown
Any of
stringReference to RootInteraction
Use unknown
Any of
stringReference to RootInteraction
Pick unknown
Any of
stringReference to RootInteraction
Pickup unknown
Any of
stringReference to RootInteraction
CollisionEnter unknown
Any of
stringReference to RootInteraction
CollisionLeave unknown
Any of
stringReference to RootInteraction
Collision unknown
Any of
stringReference to RootInteraction
EntityStatEffect unknown
Any of
stringReference to RootInteraction
SwapTo unknown
Any of
stringReference to RootInteraction
SwapFrom unknown
Any of
stringReference to RootInteraction
Death unknown
Any of
stringReference to RootInteraction
Wielding unknown
Any of
stringReference to RootInteraction
ProjectileSpawn unknown
Any of
stringReference to RootInteraction
ProjectileHit unknown
Any of
stringReference to RootInteraction
ProjectileMiss unknown
Any of
stringReference to RootInteraction
ProjectileBounce unknown
Any of
stringReference to RootInteraction
Held unknown
Any of
stringReference to RootInteraction
HeldOffhand unknown
Any of
stringReference to RootInteraction
Equipped unknown
Any of
stringReference to RootInteraction
Dodge unknown
Any of
stringReference to RootInteraction
GameModeSwap unknown
Any of
stringReference to RootInteraction
Additional properties
Any of
stringReference to RootInteraction
All of
base