Search the docs

Find a guide, global, type or member

TypeContentcontent.luau

Pool

A pool of vanilla block states lent to custom blocks as client-side looks. The donor sets the hitbox and collision the client sees. An experience may use at most 256 donor states. note_block: full cubes. lower_tripwire, higher_tripwire: flat and half-block outlines, no collision. mushroom: full cubes. The *_leaves pools: leaves, biome-tinted or baked colour, dry or waterlogged. sugar_cane, cactus: their own shapes. farmland: the 15/16-tall tilled outline. sapling: a 12/16-tall cross, no collision. weeping_vines, twisting_vines, cave_vines, kelp: full-height plants, no collision. glow_lichen, resin_clump: face planes, no collision. solid: mushroom and note_block together.

type Pool = "note_block" | "lower_tripwire" | "higher_tripwire" | "mushroom" | "tintable_leaves"
	| "non_tintable_leaves" | "waterlogged_tintable_leaves" | "waterlogged_non_tintable_leaves"
	| "sugar_cane" | "cactus" | "farmland" | "sapling" | "weeping_vines" | "twisting_vines"
	| "cave_vines" | "kelp" | "glow_lichen" | "resin_clump" | "solid"