An operator can place a fully configured pinata with /pinata spawn, which is the way to make one worth queueing up for.
Otherwise, with village-quests installed, a village that thinks well of you (45 reputation) will occasionally offer to put one up. Nothing is charged. Reputation there buys belonging rather than goods, and a village throwing a party for its children is belonging in its plainest form.
It goes up outside, and every child in the village walks over and stands around it until somebody breaks it or the light starts to go. They head home before dusk, because a child who leaves at dusk is a child walking home in the dark. A hand-placed pinata, or one spawned without contents=, carries a modest default of sweets (six cookies, four sweet berries, three glow berries and an emerald), because a pinata that breaks open onto an empty floor is a sad thing.
/pinata command:hits=, default 5, 1 to 1000)spread=, default 0.5, 0 to 10)contents=, last on the line): comma-separated item count entries (count 1 to 64, default 1), with | between sets; unknown items are skippedindestructible): the pinata doesn't break permanently; instead it resets after a configurable cooldown (cooldown=, in ticks, default 0, up to 72000), optionally advancing to the next content set each time (in order, or randomized with randomize)/pinata spawn [pos] <config>: places a fully configured pinata at the given position (or against the block you're looking at, within 5 blocks), e.g. hits=5 spread=2.0 indestructible cooldown=60 randomize contents=minecraft:diamond 5, minecraft:gold_ingot 3 | minecraft:emerald 10/pinata info <pos>: inspects an existing pinata's configuration and remaining stateThe pinata block anchors a real, decorative sheep entity (NoAI, silent, persistent, custom-named jeb_ with the name hidden). Every client, including completely vanilla ones, renders the rainbow wool cycle natively via the built-in jeb_ easter egg; no custom rendering code exists anywhere. Hits on the sheep are cancelled and routed to the pinata's hit logic, with the vanilla hurt flash as feedback. While an indestructible pinata is on cooldown, the sheep is shown sheared; the wool "regrows" when the cooldown ends.
Pinata runs server-side, and Pandorical is required: the server will not load this mod without it. The pinata block and item are registered through Pandorical's content sync, along with their assets.
Clients are the optional half, and only for the block itself. The rainbow sheep needs nothing: it is a real vanilla sheep named jeb_, so every client already renders the wool cycle natively.