Type Alias RecipeMaterial

RecipeMaterial: {
    arrow: { breakChance: number; mass: number };
    bow: { drawSpeed: number; speed: number };
    buildParts?: boolean;
    color: { name: typeof COLORS[number]; tool: number };
    damage: number;
    durability: number;
    id: number;
    level: number;
    modifier: number;
    modifiers: number;
    name: string;
    nativeEnchantments?: string[];
    nativeModifiers?: Ingredient[];
    reinforced?: number;
    resource: string;
    speed: number;
    stonebound?: number;
    tooltip: string;
    value: number;
}

Type declaration

  • arrow: { breakChance: number; mass: number }
  • bow: { drawSpeed: number; speed: number }
  • OptionalbuildParts?: boolean
  • color: { name: typeof COLORS[number]; tool: number }
    • name: typeof COLORS[number]

      Display name colour

    • tool: number

      Tool part colour

  • damage: number

    Attack damage in heart

  • durability: number
  • id: number

    TiC material ID

  • level: number

    Mining level

  • modifier: number
  • modifiers: number

    Amount of modifiers accepted

  • name: string

    Display name

  • OptionalnativeEnchantments?: string[]
  • OptionalnativeModifiers?: Ingredient[]
  • Optionalreinforced?: number
  • resource: string
  • speed: number

    Mining speed

  • Optionalstonebound?: number
  • tooltip: string
  • value: number