Fluids
Asset path: Server/Item/Block/Fluids/*.json
Parent
When set this asset will inherit properties from the named asset.
When inheriting from another Fluid most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.
Type information: String
Tags
Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.
For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.
Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.
Type information:
(Nullable) Map of the following:
| Key | Type |
|---|---|
any String | Array of String |
MaxFluidLevel
Type information: Integer defaults to: 8
Textures
Type information:
(Nullable) Array of the type:
BlockTypeTextures with the following properties:
| Key | Type | Description |
|---|---|---|
| All | (Nullable) StringReference to a common asset in the folders:
*.png | |
| Sides | (Nullable) StringReference to a common asset in the folders:
*.png | |
| UpDown | (Nullable) StringReference to a common asset in the folders:
*.png | |
| Up | (Nullable) String defaults to: BlockTextures/Unknown.pngReference to a common asset in the folders:
*.png | |
| Down | (Nullable) String defaults to: BlockTextures/Unknown.pngReference to a common asset in the folders:
*.png | |
| North | (Nullable) String defaults to: BlockTextures/Unknown.pngReference to a common asset in the folders:
*.png | |
| South | (Nullable) String defaults to: BlockTextures/Unknown.pngReference to a common asset in the folders:
*.png | |
| West | (Nullable) String defaults to: BlockTextures/Unknown.pngReference to a common asset in the folders:
*.png | |
| East | (Nullable) String defaults to: BlockTextures/Unknown.pngReference to a common asset in the folders:
*.png | |
| Weight | Integer defaults to: 1 |
Effect
Type information:
(Nullable) Array of the type: Any one of the following String:
| Name | Description |
|---|---|
"None" | |
"Wind" | |
"WindAttached" | |
"WindRandom" | |
"WindFractal" | |
"Ice" | |
"Water" | |
"Lava" | |
"Slime" | |
"Ripple" |
DrawType
Type information:
Any one of the following String (defaults to Liquid):
| Name | Description |
|---|---|
"None" | |
"Liquid" |
Opacity
Type information:
Any one of the following String (defaults to Solid):
| Name | Description |
|---|---|
"Solid" | |
"Semitransparent" | |
"Cutout" | |
"Transparent" |
RequiresAlphaBlending
Type information: Boolean defaults to: true
FluidFXId
Type information: (Nullable) String defaults to: Empty
Particles
The particles defined here will be spawned on top of fluids of this type placed in the world.
Type information:
(Nullable) Array of the type:
ModelParticle with the following properties:
| Key | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SystemId | String | |||||||||||||
| TargetEntityPart | Any one of the following String (defaults to Self):
EntityPart
| |||||||||||||
| TargetNodeName | (Nullable) String | |||||||||||||
| Color | (Nullable) A color in the form:
| |||||||||||||
| Scale | Number defaults to: 1.0 | |||||||||||||
| PositionOffset | (Nullable)
Vector3f
| |||||||||||||
| RotationOffset | (Nullable)
Direction
| |||||||||||||
| DetachedFromModel | Boolean defaults to: false | To indicate if the spawned particle should be attached to the model and follow it, or spawn in world space. | ||||||||||||
| ClearParticlesOnRemove | Boolean defaults to: false | When the owning entity is removed, clear this effect's already-emitted particles instantly instead of letting them finish their lifespan. |
Ticker
Type information:
(Nullable) Any of these:
Key: Type | Type | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
default case: Default | DefaultFluidTicker
| |||||||||||||||||||||
| Finite | FiniteFluidTicker
| |||||||||||||||||||||
| Fire | FireFluidTicker
|
Light
Type information:
(Nullable)
ColorLight with the following properties:
| Key | Type | Description |
|---|---|---|
| Color | (Nullable) A color the form:
| |
| Radius | Integer defaults to: 0 |
DamageToEntities
Type information: Integer defaults to: 0
BlockParticleSetId
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
Type information: (Nullable) String
Reference to a BlockParticleSet asset
ParticleColor
Type information:
(Nullable) A color in the form:
-
#RRGGBB -
rgb(rrr, ggg, bbb)
BlockSoundSetId
Sets the BlockSoundSet that will be used for this block for various events e.g. placement, breaking
Type information: (Nullable) String defaults to: EMPTY
Reference to a BlockSoundSet asset
Interactions
Type information:
(Nullable) Map of the following:
| Key | Type | Description |
|---|---|---|
| Primary | Either String or RootInteraction | |
| Secondary | Either String or RootInteraction | |
| Ability1 | Either String or RootInteraction | |
| Ability2 | Either String or RootInteraction | |
| Ability3 | Either String or RootInteraction | |
| Ability4 | Either String or RootInteraction | |
| Use | Either String or RootInteraction | |
| Pick | Either String or RootInteraction | |
| Pickup | Either String or RootInteraction | |
| CollisionEnter | Either String or RootInteraction | |
| CollisionLeave | Either String or RootInteraction | |
| Collision | Either String or RootInteraction | |
| EntityStatEffect | Either String or RootInteraction | |
| SwapTo | Either String or RootInteraction | |
| SwapFrom | Either String or RootInteraction | |
| Death | Either String or RootInteraction | |
| Wielding | Either String or RootInteraction | |
| ProjectileSpawn | Either String or RootInteraction | |
| ProjectileHit | Either String or RootInteraction | |
| ProjectileMiss | Either String or RootInteraction | |
| ProjectileBounce | Either String or RootInteraction | |
| Held | Either String or RootInteraction | |
| HeldOffhand | Either String or RootInteraction | |
| Equipped | Either String or RootInteraction | |
| Dodge | Either String or RootInteraction | |
| GameModeSwap | Either String or RootInteraction | |
| OnBreak | Either String or RootInteraction | |
| OnBreakImpact | Either String or RootInteraction |
Notes:
Types referenced by this type
Map
(Nullable) Map of the following:
| Key | Type | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
any String | FluidCollisionConfig
|
