跳转至

DataStoreActionBarContainer

文档版本:1.21.60.21

DataStoreActionBarContainer类。script_api.minecraft/server-editor-bindings.datastoreactionbarcontainer.description

方法

getItemPayload

script_api.minecraft/server-editor-bindings.datastoreactionbarcontainer.getitempayload.description

getItemPayload(id: string): string
getItemProperty

script_api.minecraft/server-editor-bindings.datastoreactionbarcontainer.getitemproperty.description

getItemProperty(id: string, property: string): boolean | float | string | undefined
hasItemPayload

script_api.minecraft/server-editor-bindings.datastoreactionbarcontainer.hasitempayload.description

hasItemPayload(id: string): boolean
hasItemProperty

script_api.minecraft/server-editor-bindings.datastoreactionbarcontainer.hasitemproperty.description

hasItemProperty(id: string, property: string): boolean
registerItem

script_api.minecraft/server-editor-bindings.datastoreactionbarcontainer.registeritem.description

registerItem(id: string, payload: string): void
unregisterItem

script_api.minecraft/server-editor-bindings.datastoreactionbarcontainer.unregisteritem.description

unregisterItem(id: string): void
updateRegisteredItem

script_api.minecraft/server-editor-bindings.datastoreactionbarcontainer.updateregistereditem.description

updateRegisteredItem(id: string, payload: string): void
updateRegisteredItemProperty

script_api.minecraft/server-editor-bindings.datastoreactionbarcontainer.updateregistereditemproperty.description

updateRegisteredItemProperty(id: string, payload: string, property: string): void