CompoundBlockVolume
¶
文档版本:1.21.60.21
CompoundBlockVolume
类。script_api.minecraft/server.compoundblockvolume.description
属性¶
capacity
capacity
:uint64
- script_api.minecraft/server.compoundblockvolume.capacity.description
items
items
:CompoundBlockVolumeItem[]
- script_api.minecraft/server.compoundblockvolume.items.description
itemsAbsolute
itemsAbsolute
:CompoundBlockVolumeItem[]
- script_api.minecraft/server.compoundblockvolume.itemsabsolute.description
volumeCount
volumeCount
:uint64
- script_api.minecraft/server.compoundblockvolume.volumecount.description
方法¶
clear
script_api.minecraft/server.compoundblockvolume.clear.description
- 返回值:
void
- script_api.minecraft/server.compoundblockvolume.clear.return
constructor
script_api.minecraft/server.compoundblockvolume.constructor.description
origin
?:Vector3
=null
- script_api.minecraft/server.compoundblockvolume.constructor.origin.description
getBlockLocationIterator
script_api.minecraft/server.compoundblockvolume.getblocklocationiterator.description
getBoundingBox
script_api.minecraft/server.compoundblockvolume.getboundingbox.description
getMax
script_api.minecraft/server.compoundblockvolume.getmax.description
- 返回值:
Vector3
- script_api.minecraft/server.compoundblockvolume.getmax.return
getMin
script_api.minecraft/server.compoundblockvolume.getmin.description
- 返回值:
Vector3
- script_api.minecraft/server.compoundblockvolume.getmin.return
getOrigin
script_api.minecraft/server.compoundblockvolume.getorigin.description
- 返回值:
Vector3
- script_api.minecraft/server.compoundblockvolume.getorigin.return
isEmpty
script_api.minecraft/server.compoundblockvolume.isempty.description
- 返回值:
boolean
- script_api.minecraft/server.compoundblockvolume.isempty.return
isInside
script_api.minecraft/server.compoundblockvolume.isinside.description
worldLocation
:Vector3
- script_api.minecraft/server.compoundblockvolume.isinside.worldlocation.description
- 返回值:
boolean
- script_api.minecraft/server.compoundblockvolume.isinside.return
peekLastVolume
script_api.minecraft/server.compoundblockvolume.peeklastvolume.description
peekLastVolume(forceRelativity?: CompoundBlockVolumePositionRelativity): CompoundBlockVolumeItem | undefined
forceRelativity
?:CompoundBlockVolumePositionRelativity
=null
- script_api.minecraft/server.compoundblockvolume.peeklastvolume.forcerelativity.description
- 返回值:
CompoundBlockVolumeItem
|undefined
- script_api.minecraft/server.compoundblockvolume.peeklastvolume.return
popVolume
script_api.minecraft/server.compoundblockvolume.popvolume.description
- 返回值:
boolean
- script_api.minecraft/server.compoundblockvolume.popvolume.return
pushVolume
script_api.minecraft/server.compoundblockvolume.pushvolume.description
item
:CompoundBlockVolumeItem
- script_api.minecraft/server.compoundblockvolume.pushvolume.item.description
- 返回值:
void
- script_api.minecraft/server.compoundblockvolume.pushvolume.return
replaceOrAddLastVolume
script_api.minecraft/server.compoundblockvolume.replaceoraddlastvolume.description
item
:CompoundBlockVolumeItem
- script_api.minecraft/server.compoundblockvolume.replaceoraddlastvolume.item.description
- 返回值:
boolean
- script_api.minecraft/server.compoundblockvolume.replaceoraddlastvolume.return
setOrigin
script_api.minecraft/server.compoundblockvolume.setorigin.description
position
:Vector3
- script_api.minecraft/server.compoundblockvolume.setorigin.position.description
preserveExistingVolumes
?:boolean
=null
- script_api.minecraft/server.compoundblockvolume.setorigin.preserveexistingvolumes.description
- 返回值:
void
- script_api.minecraft/server.compoundblockvolume.setorigin.return
translateOrigin
script_api.minecraft/server.compoundblockvolume.translateorigin.description
preserveExistingVolumes
?:boolean
=null
- script_api.minecraft/server.compoundblockvolume.translateorigin.preserveexistingvolumes.description
- 返回值:
void
- script_api.minecraft/server.compoundblockvolume.translateorigin.return