import type { JsonSoundEventRef } from 'sandstone/arguments/generated/_json/data/util.ts' import type { JsonSpawnPrioritySelectors } from 'sandstone/arguments/generated/_json/data/variants.ts' import type { JsonRegistry } from 'sandstone/arguments/generated/_json/registry.ts' import type { TextureType } from 'sandstone/arguments' import type { TextureClass } from 'sandstone' export type JsonPigModelType = ('normal' | 'cold') export type JsonPigSounds = { ambient_sound: JsonSoundEventRef, hurt_sound: JsonSoundEventRef, death_sound: JsonSoundEventRef, step_sound: JsonSoundEventRef, eat_sound: JsonSoundEventRef, } export type JsonPigVariant = ({ /** * Value: * * - Normal(`normal`) * - Cold(`cold`) */ model?: JsonPigModelType, /** * The pig texture to use for this variant. */ asset_id: (JsonRegistry['minecraft:texture'] | TextureClass), /** * The baby pig texture to use for this variant. */ baby_asset_id: (JsonRegistry['minecraft:texture'] | TextureClass), } & JsonSpawnPrioritySelectors)