Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FileOptions<D>

Type parameters

Hierarchy

Index

Properties

Optional description

description?: LiteralFuncType

描述信息

filename

filename: string

文件名

Optional namespace

namespace?: string

命名空间,默认minecraft

Optional tag

tag?: LiteralUnion<"load" | "tick", string>

tag文件,仅用于.mcfunction,例如:tick load等

Optional type

type?: FileType | "recipes"

文件类型,默认function

Methods

render

  • render(context: File<any>): void | D

Generated using TypeDoc