Перейти к основному содержанию

BlockEngine

Index

Type Aliases

ArmorMaterial

ArmorMaterial: { durabilityFactor: number; enchantability?: number; repairMaterial?: number }

Type declaration

  • durabilityFactor: number
  • optionalenchantability?: number
  • optionalrepairMaterial?: number

ArmorParams

ArmorParams: { defence: number; knockbackResistance?: number; material?: string | ArmorMaterial; texture: string; type: ArmorType }

Type declaration

  • defence: number
  • optionalknockbackResistance?: number
  • optionalmaterial?: string | ArmorMaterial
  • texture: string
  • type: ArmorType

FoodParams

FoodParams: { canAlwaysEat?: boolean; effects?: { amplifier: number; chance: number; duration: number; name: string }[]; food?: number; isMeat?: boolean; saturation?: poor | low | normal | good | max | supernatural; useDuration?: number; usingConvertsTo?: string }

Type declaration

  • optionalcanAlwaysEat?: boolean
  • optionaleffects?: { amplifier: number; chance: number; duration: number; name: string }[]
  • optionalfood?: number
  • optionalisMeat?: boolean
  • optionalsaturation?: poor | low | normal | good | max | supernatural
  • optionaluseDuration?: number
  • optionalusingConvertsTo?: string
Page Options