Block.LiquidDescriptor
Index
Properties
optionalbucketsince: 2.2.1b103
Optional section, if added, this will create fully functional (including dispensers) bucket items.
Type declaration
optionalemptyId?: number
An item that can capture liquid (including when using a dispenser and obtaining it with your hand).
optionalemptySound?: string
optionalfillSound?: string
optionalid?: string
Optional, name ID for bucket item.
optionalisTech?: boolean
If
true, bucket cannot be obtained from creative inventory.optionalname?: string
Name of the filled with liquid bucket to be displayed.
texture: { meta?: number; name: string }
optionalmeta?: number
name: string
flowing
Object to describe dynamic liquid block texture, and name ID additionally.
Type declaration
optionalid?: string
Optional, name ID for dynamic liquid block.
texture: [string, number]
Unlike static liquid blocks, for dynamic ones, texture must look like
"texture.liquid.png"(with no index).
optionalinCreative
Whether to add liquid block to creative inventory.
optionalisRenewablesince: 2.2.1b103
True if the liquid will be renewable, as water.
optionalmodelTextures
name
Name of the block to be displayed.
still
Object to describe static liquid block texture, and name ID additionally.
Type declaration
optionalid?: string
Optional, name ID for static liquid block.
texture: [string, number]
For static liquid block, textures must be of standard block texture format.
optionaltickDelay
Delay between liquid spreading steps in ticks.
Object to specify needed params for custom liquid block.