ClientAttachableArmorBoots - DauntlessStudio/Bedrock-Developments GitHub Wiki

Class: ClientAttachableArmorBoots

Hierarchy

  • ClientAttachableArmor

    ClientAttachableArmorBoots

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new ClientAttachableArmorBoots(filepath, template): ClientAttachableArmorBoots

Parameters

Name Type
filepath string
template IClientAttachable

Returns

ClientAttachableArmorBoots

Inherited from

ClientAttachableArmor.constructor

Defined in

ts/app/types/client/attachable.ts:30

Properties

filePath

filePath: string

Inherited from

ClientAttachableArmor.filePath

Defined in

ts/app/types/minecraft.ts:23


format_version

format_version: `${number}.${number}.${number}`

Inherited from

ClientAttachableArmor.format_version

Defined in

ts/app/types/client/attachable.ts:21


minecraft:attachable

minecraft:attachable: Object

Type declaration

Name Type
description IClientAttachableDescription

Inherited from

ClientAttachableArmor.minecraft:attachable

Defined in

ts/app/types/client/attachable.ts:22


armorType

Static Protected Readonly armorType: string = "boots"

Overrides

ClientAttachableArmor.armorType

Defined in

ts/app/types/client/attachable.ts:194

Accessors

DirectoryPath

get DirectoryPath(): string

Returns

string

Inherited from

ClientAttachableArmor.DirectoryPath

Defined in

ts/app/types/client/attachable.ts:133

Methods

addAnimateScript

addAnimateScript(...animations): void

Parameters

Name Type
...animations (string | { [key: string]: string; })[]

Returns

void

Inherited from

ClientAttachableArmor.addAnimateScript

Defined in

ts/app/types/client/attachable.ts:119


addAnimation

addAnimation(...animations): void

Parameters

Name Type
...animations { name: string ; reference: string }[]

Returns

void

Inherited from

ClientAttachableArmor.addAnimation

Defined in

ts/app/types/client/attachable.ts:112


addGeometry

addGeometry(...geometry): void

Parameters

Name Type
...geometry { name: string ; reference: `geometry.${string}` }[]

Returns

void

Inherited from

ClientAttachableArmor.addGeometry

Defined in

ts/app/types/client/attachable.ts:95


addInitializeVariable

addInitializeVariable(...variables): void

Parameters

Name Type
...variables string[]

Returns

void

Inherited from

ClientAttachableArmor.addInitializeVariable

Defined in

ts/app/types/client/attachable.ts:66


addMaterials

addMaterials(...materials): void

Parameters

Name Type
...materials { name: string ; reference: string }[]

Returns

void

Inherited from

ClientAttachableArmor.addMaterials

Defined in

ts/app/types/client/attachable.ts:88


addOwnerFilter

addOwnerFilter(shortname, owner): void

Parameters

Name Type
shortname string
owner `${string}:${string}`

Returns

void

Inherited from

ClientAttachableArmor.addOwnerFilter

Defined in

ts/app/types/client/attachable.ts:172


addPreAnimationVariable

addPreAnimationVariable(...variables): void

Parameters

Name Type
...variables string[]

Returns

void

Inherited from

ClientAttachableArmor.addPreAnimationVariable

Defined in

ts/app/types/client/attachable.ts:77


addRenderController

addRenderController(...render_controllers): void

Parameters

Name Type
...render_controllers MolangOption[]

Returns

void

Inherited from

ClientAttachableArmor.addRenderController

Defined in

ts/app/types/client/attachable.ts:102


replacer

replacer(key, value): any

Parameters

Name Type
key string
value any

Returns

any

Inherited from

ClientAttachableArmor.replacer

Defined in

ts/app/types/minecraft.ts:72


serialize

serialize(): string

Returns

string

A string representation of this object.

Remarks

Serializes this object to a string.

Inherited from

ClientAttachableArmor.serialize

Defined in

ts/app/types/minecraft.ts:63


toFile

toFile(handleExisting?): File

Parameters

Name Type Description
handleExisting? "overwrite" | "overwrite_silent" How to handle existing files. Undefined will not overwrite, 'overwite' replaces the file with this object, 'overwrite_silent' does the same with no terminal log.

Returns

File

A File object with this MinecraftDataType's filepath, and this object serialized as the file contents.

Remarks

Creates a File object from this MinecraftDataType.

Inherited from

ClientAttachableArmor.toFile

Defined in

ts/app/types/minecraft.ts:98


createFilePath

createFilePath(nameData): string

Parameters

Name Type Description
nameData NameData The namedata to use when creating the filepath.

Returns

string

The filepath as a string.

Remarks

Creates a filepath for this object type from a NameData.

Inherited from

ClientAttachableArmor.createFilePath

Defined in

ts/app/types/minecraft.ts:46


createFromTemplate

createFromTemplate(nameData): ClientAttachable

Parameters

Name Type
nameData NameData

Returns

ClientAttachable

Inherited from

ClientAttachableArmor.createFromTemplate

Defined in

ts/app/types/client/attachable.ts:137


deserialize

deserialize<T>(create, filepath, json): T

Type parameters

Name
T

Parameters

Name Type Description
create (filePath: string, template: any) => T The child of MinecraftDataType to create.
filepath string The filepath the MinecraftDataType can be written to with toFile.
json string The source string this should be deserialized from.

Returns

T

An instance of the MinecraftDataType child provided.

Remarks

Creates an instace of a MinecraftDataType child from a source string, used in fromFile.

Inherited from

ClientAttachableArmor.deserialize

Defined in

ts/app/types/minecraft.ts:83


fromFile

fromFile<T>(create, file): T

Type parameters

Name
T

Parameters

Name Type Description
create (filePath: string, template: any) => T The child of MinecraftDataType to create.
file File The File object used to deserialize into this object.

Returns

T

An instance of the MinecraftDataType child provided.

Remarks

Crates an instance of a MinecraftDataTypeChild from a File.

Inherited from

ClientAttachableArmor.fromFile

Defined in

ts/app/types/minecraft.ts:108


fromPathOrTemplate

fromPathOrTemplate<T>(create, path): T

Type parameters

Name
T

Parameters

Name Type Description
create (filePath: string, template: any) => T The child of MinecraftDataType to create.
path string The filepath to create the object from.

Returns

T

The deserialized file as a child of MinecraftDataType, or this object's createFromTemplate default if the file doesn't exist.

Remarks

Creates a MinecraftDataType object from a filepath, or a template if that filepath doesn't exist.

Inherited from

ClientAttachableArmor.fromPathOrTemplate

Defined in

ts/app/types/minecraft.ts:118

⚠️ **GitHub.com Fallback** ⚠️