BrushShapeManager
¶
文档版本:1.21.60.21
BrushShapeManager
类。script_api.minecraft/server-editor-bindings.brushshapemanager.description
属性¶
activeBrushShape
activeBrushShape
:BrushShape
|undefined
- script_api.minecraft/server-editor-bindings.brushshapemanager.activebrushshape.description
activeBrushVolume
activeBrushVolume
:CompoundBlockVolume
|undefined
- script_api.minecraft/server-editor-bindings.brushshapemanager.activebrushvolume.description
brushShapeList
brushShapeList
:BrushShape[]
- script_api.minecraft/server-editor-bindings.brushshapemanager.brushshapelist.description
方法¶
activateBrushTool
script_api.minecraft/server-editor-bindings.brushshapemanager.activatebrushtool.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.activatebrushtool.return
beginPainting
script_api.minecraft/server-editor-bindings.brushshapemanager.beginpainting.description
onComplete
:(PaintCompletionState) => void
- script_api.minecraft/server-editor-bindings.brushshapemanager.beginpainting.oncomplete.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.beginpainting.return
deactivateBrushTool
script_api.minecraft/server-editor-bindings.brushshapemanager.deactivatebrushtool.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.deactivatebrushtool.return
endPainting
script_api.minecraft/server-editor-bindings.brushshapemanager.endpainting.description
cancelled
:boolean
- script_api.minecraft/server-editor-bindings.brushshapemanager.endpainting.cancelled.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.endpainting.return
getBrushShapeOffset
script_api.minecraft/server-editor-bindings.brushshapemanager.getbrushshapeoffset.description
getSettingsUIElements
script_api.minecraft/server-editor-bindings.brushshapemanager.getsettingsuielements.description
brushName
:string
- script_api.minecraft/server-editor-bindings.brushshapemanager.getsettingsuielements.brushname.description
registerBrushShape
script_api.minecraft/server-editor-bindings.brushshapemanager.registerbrushshape.description
registerBrushShape(name: string, icon: string, rebuild: () => CompoundBlockVolume, getSettingsUIElements: () => SettingsUIElement[]): void
name
:string
- script_api.minecraft/server-editor-bindings.brushshapemanager.registerbrushshape.name.description
icon
:string
- script_api.minecraft/server-editor-bindings.brushshapemanager.registerbrushshape.icon.description
rebuild
:() => CompoundBlockVolume
- script_api.minecraft/server-editor-bindings.brushshapemanager.registerbrushshape.rebuild.description
getSettingsUIElements
:() => SettingsUIElement[]
- script_api.minecraft/server-editor-bindings.brushshapemanager.registerbrushshape.getsettingsuielements.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.registerbrushshape.return
setBrushMask
script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushmask.description
mask
:BlockMaskList
- script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushmask.mask.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushmask.return
setBrushShape
script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushshape.description
shape
:Vector3[]
|CompoundBlockVolume
- script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushshape.shape.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushshape.return
setBrushShapeOffset
script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushshapeoffset.description
offset
:Vector3
- script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushshapeoffset.offset.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushshapeoffset.return
setBrushShapeVisible
script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushshapevisible.description
visible
:boolean
- script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushshapevisible.visible.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.setbrushshapevisible.return
setFlattenHeight
script_api.minecraft/server-editor-bindings.brushshapemanager.setflattenheight.description
flattenHeight
:int32
- script_api.minecraft/server-editor-bindings.brushshapemanager.setflattenheight.flattenheight.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.setflattenheight.return
setFlattenRadius
script_api.minecraft/server-editor-bindings.brushshapemanager.setflattenradius.description
flattenRadius
:int32
- script_api.minecraft/server-editor-bindings.brushshapemanager.setflattenradius.flattenradius.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.setflattenradius.return
setTerrainStrength
script_api.minecraft/server-editor-bindings.brushshapemanager.setterrainstrength.description
terrainStrength
:int32
- script_api.minecraft/server-editor-bindings.brushshapemanager.setterrainstrength.terrainstrength.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.setterrainstrength.return
singlePaint
script_api.minecraft/server-editor-bindings.brushshapemanager.singlepaint.description
onComplete
:(PaintCompletionState) => void
- script_api.minecraft/server-editor-bindings.brushshapemanager.singlepaint.oncomplete.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.singlepaint.return
switchBrushPaintMode
script_api.minecraft/server-editor-bindings.brushshapemanager.switchbrushpaintmode.description
paintMode
:PaintMode
- script_api.minecraft/server-editor-bindings.brushshapemanager.switchbrushpaintmode.paintmode.description
- 返回值:
void
- script_api.minecraft/server-editor-bindings.brushshapemanager.switchbrushpaintmode.return
switchBrushShape
script_api.minecraft/server-editor-bindings.brushshapemanager.switchbrushshape.description
name
:string
- script_api.minecraft/server-editor-bindings.brushshapemanager.switchbrushshape.name.description
uiSettingValueChanged
script_api.minecraft/server-editor-bindings.brushshapemanager.uisettingvaluechanged.description
elementName
:string
- script_api.minecraft/server-editor-bindings.brushshapemanager.uisettingvaluechanged.elementname.description
newValue
:boolean
|float
|string
|Vector3
- script_api.minecraft/server-editor-bindings.brushshapemanager.uisettingvaluechanged.newvalue.description
- 返回值:
boolean
- script_api.minecraft/server-editor-bindings.brushshapemanager.uisettingvaluechanged.return