Skip to content

Class: DecoratedPots ​

Defined in: packages/minerender/src/assets/DecoratedPots.ts:12

Resolves Minecraft 1.21.11 pot decorations to the four side textures.

Constructors ​

Constructor ​

ts
new DecoratedPots(): DecoratedPots;

Returns ​

DecoratedPots

Methods ​

getSideTextures() ​

ts
static getSideTextures(value, root?): Record<DecoratedPotSide, AssetKey>;

Defined in: packages/minerender/src/assets/DecoratedPots.ts:15

Reads up to four item IDs in back, left, right, front order; missing and unmapped items use plain sides.

Parameters ​

ParameterType
valueunknown
root?string

Returns ​

Record<DecoratedPotSide, AssetKey>