Test
¶
文档版本:1.21.60.21
Test
类。script_api.minecraft/server-gametest.test.description
方法¶
assert
script_api.minecraft/server-gametest.test.assert.description
condition
:boolean
- script_api.minecraft/server-gametest.test.assert.condition.description
message
:string
- script_api.minecraft/server-gametest.test.assert.message.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assert.return
assertBlockPresent
script_api.minecraft/server-gametest.test.assertblockpresent.description
blockType
:BlockType
|string
- script_api.minecraft/server-gametest.test.assertblockpresent.blocktype.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertblockpresent.blocklocation.description
isPresent
:boolean
=True
- script_api.minecraft/server-gametest.test.assertblockpresent.ispresent.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertblockpresent.return
assertBlockState
script_api.minecraft/server-gametest.test.assertblockstate.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertblockstate.blocklocation.description
callback
:(Block) => boolean
- script_api.minecraft/server-gametest.test.assertblockstate.callback.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertblockstate.return
assertCanReachLocation
script_api.minecraft/server-gametest.test.assertcanreachlocation.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertcanreachlocation.blocklocation.description
canReach
:boolean
=True
- script_api.minecraft/server-gametest.test.assertcanreachlocation.canreach.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertcanreachlocation.return
assertContainerContains
script_api.minecraft/server-gametest.test.assertcontainercontains.description
itemStack
:ItemStack
- script_api.minecraft/server-gametest.test.assertcontainercontains.itemstack.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertcontainercontains.blocklocation.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertcontainercontains.return
assertContainerEmpty
script_api.minecraft/server-gametest.test.assertcontainerempty.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertcontainerempty.blocklocation.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertcontainerempty.return
assertEntityHasArmor
script_api.minecraft/server-gametest.test.assertentityhasarmor.description
assertEntityHasArmor(entityTypeIdentifier: string, armorSlot: int32, armorName: string, armorData: int32, blockLocation: Vector3, hasArmor: boolean): void
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.assertentityhasarmor.entitytypeidentifier.description
armorSlot
:int32
- script_api.minecraft/server-gametest.test.assertentityhasarmor.armorslot.description
armorName
:string
- script_api.minecraft/server-gametest.test.assertentityhasarmor.armorname.description
armorData
:int32
- script_api.minecraft/server-gametest.test.assertentityhasarmor.armordata.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertentityhasarmor.blocklocation.description
hasArmor
:boolean
=True
- script_api.minecraft/server-gametest.test.assertentityhasarmor.hasarmor.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertentityhasarmor.return
assertEntityHasComponent
script_api.minecraft/server-gametest.test.assertentityhascomponent.description
assertEntityHasComponent(entityTypeIdentifier: string, componentIdentifier: string, blockLocation: Vector3, hasComponent: boolean): void
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.assertentityhascomponent.entitytypeidentifier.description
componentIdentifier
:string
- script_api.minecraft/server-gametest.test.assertentityhascomponent.componentidentifier.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertentityhascomponent.blocklocation.description
hasComponent
:boolean
=True
- script_api.minecraft/server-gametest.test.assertentityhascomponent.hascomponent.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertentityhascomponent.return
assertEntityInstancePresent
script_api.minecraft/server-gametest.test.assertentityinstancepresent.description
entity
:Entity
- script_api.minecraft/server-gametest.test.assertentityinstancepresent.entity.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertentityinstancepresent.blocklocation.description
isPresent
:boolean
=True
- script_api.minecraft/server-gametest.test.assertentityinstancepresent.ispresent.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertentityinstancepresent.return
assertEntityInstancePresentInArea
script_api.minecraft/server-gametest.test.assertentityinstancepresentinarea.description
entity
:Entity
- script_api.minecraft/server-gametest.test.assertentityinstancepresentinarea.entity.description
isPresent
:boolean
=True
- script_api.minecraft/server-gametest.test.assertentityinstancepresentinarea.ispresent.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertentityinstancepresentinarea.return
assertEntityPresent
script_api.minecraft/server-gametest.test.assertentitypresent.description
assertEntityPresent(entityTypeIdentifier: string, blockLocation: Vector3, searchDistance: float, isPresent: boolean): void
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.assertentitypresent.entitytypeidentifier.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertentitypresent.blocklocation.description
searchDistance
:float
=0.0
- script_api.minecraft/server-gametest.test.assertentitypresent.searchdistance.description
isPresent
:boolean
=True
- script_api.minecraft/server-gametest.test.assertentitypresent.ispresent.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertentitypresent.return
assertEntityPresentInArea
script_api.minecraft/server-gametest.test.assertentitypresentinarea.description
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.assertentitypresentinarea.entitytypeidentifier.description
isPresent
:boolean
=True
- script_api.minecraft/server-gametest.test.assertentitypresentinarea.ispresent.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertentitypresentinarea.return
assertEntityState
script_api.minecraft/server-gametest.test.assertentitystate.description
assertEntityState(blockLocation: Vector3, entityTypeIdentifier: string, callback: (arg: Entity) => boolean): void
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertentitystate.blocklocation.description
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.assertentitystate.entitytypeidentifier.description
callback
:(Entity) => boolean
- script_api.minecraft/server-gametest.test.assertentitystate.callback.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertentitystate.return
assertEntityTouching
script_api.minecraft/server-gametest.test.assertentitytouching.description
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.assertentitytouching.entitytypeidentifier.description
location
:Vector3
- script_api.minecraft/server-gametest.test.assertentitytouching.location.description
isTouching
:boolean
=True
- script_api.minecraft/server-gametest.test.assertentitytouching.istouching.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertentitytouching.return
assertIsWaterlogged
script_api.minecraft/server-gametest.test.assertiswaterlogged.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertiswaterlogged.blocklocation.description
isWaterlogged
:boolean
=True
- script_api.minecraft/server-gametest.test.assertiswaterlogged.iswaterlogged.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertiswaterlogged.return
assertItemEntityCountIs
script_api.minecraft/server-gametest.test.assertitementitycountis.description
assertItemEntityCountIs(itemType: ItemType | string, blockLocation: Vector3, searchDistance: float, count: int32): void
itemType
:ItemType
|string
- script_api.minecraft/server-gametest.test.assertitementitycountis.itemtype.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertitementitycountis.blocklocation.description
searchDistance
:float
- script_api.minecraft/server-gametest.test.assertitementitycountis.searchdistance.description
count
:int32
- script_api.minecraft/server-gametest.test.assertitementitycountis.count.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertitementitycountis.return
assertItemEntityPresent
script_api.minecraft/server-gametest.test.assertitementitypresent.description
assertItemEntityPresent(itemType: ItemType | string, blockLocation: Vector3, searchDistance: float, isPresent: boolean): void
itemType
:ItemType
|string
- script_api.minecraft/server-gametest.test.assertitementitypresent.itemtype.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertitementitypresent.blocklocation.description
searchDistance
:float
=0.0
- script_api.minecraft/server-gametest.test.assertitementitypresent.searchdistance.description
isPresent
:boolean
=True
- script_api.minecraft/server-gametest.test.assertitementitypresent.ispresent.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertitementitypresent.return
assertRedstonePower
script_api.minecraft/server-gametest.test.assertredstonepower.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.assertredstonepower.blocklocation.description
power
:int32
- script_api.minecraft/server-gametest.test.assertredstonepower.power.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.assertredstonepower.return
destroyBlock
script_api.minecraft/server-gametest.test.destroyblock.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.destroyblock.blocklocation.description
dropResources
:boolean
=False
- script_api.minecraft/server-gametest.test.destroyblock.dropresources.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.destroyblock.return
fail
script_api.minecraft/server-gametest.test.fail.description
errorMessage
:string
- script_api.minecraft/server-gametest.test.fail.errormessage.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.fail.return
failIf
script_api.minecraft/server-gametest.test.failif.description
callback
:() => void
- script_api.minecraft/server-gametest.test.failif.callback.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.failif.return
getBlock
script_api.minecraft/server-gametest.test.getblock.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.getblock.blocklocation.description
- 返回值:
Block
- script_api.minecraft/server-gametest.test.getblock.return
getDimension
script_api.minecraft/server-gametest.test.getdimension.description
- 返回值:
Dimension
- script_api.minecraft/server-gametest.test.getdimension.return
getFenceConnectivity
script_api.minecraft/server-gametest.test.getfenceconnectivity.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.getfenceconnectivity.blocklocation.description
getSculkSpreader
script_api.minecraft/server-gametest.test.getsculkspreader.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.getsculkspreader.blocklocation.description
- 返回值:
SculkSpreader
|undefined
- script_api.minecraft/server-gametest.test.getsculkspreader.return
getTestDirection
script_api.minecraft/server-gametest.test.gettestdirection.description
- 返回值:
Direction
- script_api.minecraft/server-gametest.test.gettestdirection.return
idle
script_api.minecraft/server-gametest.test.idle.description
tickDelay
:int32
- script_api.minecraft/server-gametest.test.idle.tickdelay.description
- 返回值:
Promise<void>
- script_api.minecraft/server-gametest.test.idle.return
killAllEntities
script_api.minecraft/server-gametest.test.killallentities.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.killallentities.return
onPlayerJump
script_api.minecraft/server-gametest.test.onplayerjump.description
jumpAmount
:int32
- script_api.minecraft/server-gametest.test.onplayerjump.jumpamount.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.onplayerjump.return
pressButton
script_api.minecraft/server-gametest.test.pressbutton.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.pressbutton.blocklocation.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.pressbutton.return
print
script_api.minecraft/server-gametest.test.print.description
text
:string
- script_api.minecraft/server-gametest.test.print.text.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.print.return
pullLever
script_api.minecraft/server-gametest.test.pulllever.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.pulllever.blocklocation.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.pulllever.return
pulseRedstone
script_api.minecraft/server-gametest.test.pulseredstone.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.pulseredstone.blocklocation.description
duration
:int32
- script_api.minecraft/server-gametest.test.pulseredstone.duration.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.pulseredstone.return
relativeBlockLocation
script_api.minecraft/server-gametest.test.relativeblocklocation.description
worldBlockLocation
:Vector3
- script_api.minecraft/server-gametest.test.relativeblocklocation.worldblocklocation.description
relativeLocation
script_api.minecraft/server-gametest.test.relativelocation.description
worldLocation
:Vector3
- script_api.minecraft/server-gametest.test.relativelocation.worldlocation.description
- 返回值:
Vector3
- script_api.minecraft/server-gametest.test.relativelocation.return
removeSimulatedPlayer
script_api.minecraft/server-gametest.test.removesimulatedplayer.description
simulatedPlayer
:SimulatedPlayer
- script_api.minecraft/server-gametest.test.removesimulatedplayer.simulatedplayer.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.removesimulatedplayer.return
rotateDirection
script_api.minecraft/server-gametest.test.rotatedirection.description
direction
:Direction
- script_api.minecraft/server-gametest.test.rotatedirection.direction.description
- 返回值:
Direction
- script_api.minecraft/server-gametest.test.rotatedirection.return
rotateVector
script_api.minecraft/server-gametest.test.rotatevector.description
vector
:Vector3
- script_api.minecraft/server-gametest.test.rotatevector.vector.description
- 返回值:
Vector3
- script_api.minecraft/server-gametest.test.rotatevector.return
runAfterDelay
script_api.minecraft/server-gametest.test.runafterdelay.description
delayTicks
:int32
- script_api.minecraft/server-gametest.test.runafterdelay.delayticks.description
callback
:() => void
- script_api.minecraft/server-gametest.test.runafterdelay.callback.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.runafterdelay.return
runAtTickTime
script_api.minecraft/server-gametest.test.runatticktime.description
tick
:int32
- script_api.minecraft/server-gametest.test.runatticktime.tick.description
callback
:() => void
- script_api.minecraft/server-gametest.test.runatticktime.callback.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.runatticktime.return
setBlockPermutation
script_api.minecraft/server-gametest.test.setblockpermutation.description
blockData
:BlockPermutation
- script_api.minecraft/server-gametest.test.setblockpermutation.blockdata.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.setblockpermutation.blocklocation.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.setblockpermutation.return
setBlockType
script_api.minecraft/server-gametest.test.setblocktype.description
blockType
:BlockType
|string
- script_api.minecraft/server-gametest.test.setblocktype.blocktype.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.setblocktype.blocklocation.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.setblocktype.return
setFluidContainer
script_api.minecraft/server-gametest.test.setfluidcontainer.description
location
:Vector3
- script_api.minecraft/server-gametest.test.setfluidcontainer.location.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.setfluidcontainer.return
setTntFuse
script_api.minecraft/server-gametest.test.settntfuse.description
entity
:Entity
- script_api.minecraft/server-gametest.test.settntfuse.entity.description
fuseLength
:int32
- script_api.minecraft/server-gametest.test.settntfuse.fuselength.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.settntfuse.return
spawn
script_api.minecraft/server-gametest.test.spawn.description
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.spawn.entitytypeidentifier.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.spawn.blocklocation.description
- 返回值:
Entity
- script_api.minecraft/server-gametest.test.spawn.return
spawnAtLocation
script_api.minecraft/server-gametest.test.spawnatlocation.description
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.spawnatlocation.entitytypeidentifier.description
location
:Vector3
- script_api.minecraft/server-gametest.test.spawnatlocation.location.description
- 返回值:
Entity
- script_api.minecraft/server-gametest.test.spawnatlocation.return
spawnItem
script_api.minecraft/server-gametest.test.spawnitem.description
itemStack
:ItemStack
- script_api.minecraft/server-gametest.test.spawnitem.itemstack.description
location
:Vector3
- script_api.minecraft/server-gametest.test.spawnitem.location.description
- 返回值:
Entity
- script_api.minecraft/server-gametest.test.spawnitem.return
spawnSimulatedPlayer
script_api.minecraft/server-gametest.test.spawnsimulatedplayer.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.spawnsimulatedplayer.blocklocation.description
name
:string
=Simulated Player
- script_api.minecraft/server-gametest.test.spawnsimulatedplayer.name.description
gameMode
:GameMode
=0
- script_api.minecraft/server-gametest.test.spawnsimulatedplayer.gamemode.description
spawnWithoutBehaviors
script_api.minecraft/server-gametest.test.spawnwithoutbehaviors.description
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.spawnwithoutbehaviors.entitytypeidentifier.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.spawnwithoutbehaviors.blocklocation.description
spawnWithoutBehaviorsAtLocation
script_api.minecraft/server-gametest.test.spawnwithoutbehaviorsatlocation.description
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.spawnwithoutbehaviorsatlocation.entitytypeidentifier.description
spreadFromFaceTowardDirection
script_api.minecraft/server-gametest.test.spreadfromfacetowarddirection.description
spreadFromFaceTowardDirection(blockLocation: Vector3, fromFace: Direction, direction: Direction): void
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.spreadfromfacetowarddirection.blocklocation.description
fromFace
:Direction
- script_api.minecraft/server-gametest.test.spreadfromfacetowarddirection.fromface.description
direction
:Direction
- script_api.minecraft/server-gametest.test.spreadfromfacetowarddirection.direction.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.spreadfromfacetowarddirection.return
startSequence
script_api.minecraft/server-gametest.test.startsequence.description
succeed
script_api.minecraft/server-gametest.test.succeed.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.succeed.return
succeedIf
script_api.minecraft/server-gametest.test.succeedif.description
callback
:() => void
- script_api.minecraft/server-gametest.test.succeedif.callback.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.succeedif.return
succeedOnTick
script_api.minecraft/server-gametest.test.succeedontick.description
tick
:int32
- script_api.minecraft/server-gametest.test.succeedontick.tick.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.succeedontick.return
succeedOnTickWhen
script_api.minecraft/server-gametest.test.succeedontickwhen.description
tick
:int32
- script_api.minecraft/server-gametest.test.succeedontickwhen.tick.description
callback
:() => void
- script_api.minecraft/server-gametest.test.succeedontickwhen.callback.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.succeedontickwhen.return
succeedWhen
script_api.minecraft/server-gametest.test.succeedwhen.description
callback
:() => void
- script_api.minecraft/server-gametest.test.succeedwhen.callback.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.succeedwhen.return
succeedWhenBlockPresent
script_api.minecraft/server-gametest.test.succeedwhenblockpresent.description
succeedWhenBlockPresent(blockType: BlockType | string, blockLocation: Vector3, isPresent: boolean): void
blockType
:BlockType
|string
- script_api.minecraft/server-gametest.test.succeedwhenblockpresent.blocktype.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.succeedwhenblockpresent.blocklocation.description
isPresent
:boolean
=True
- script_api.minecraft/server-gametest.test.succeedwhenblockpresent.ispresent.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.succeedwhenblockpresent.return
succeedWhenEntityHasComponent
script_api.minecraft/server-gametest.test.succeedwhenentityhascomponent.description
succeedWhenEntityHasComponent(entityTypeIdentifier: string, componentIdentifier: string, blockLocation: Vector3, hasComponent: boolean): void
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.succeedwhenentityhascomponent.entitytypeidentifier.description
componentIdentifier
:string
- script_api.minecraft/server-gametest.test.succeedwhenentityhascomponent.componentidentifier.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.succeedwhenentityhascomponent.blocklocation.description
hasComponent
:boolean
- script_api.minecraft/server-gametest.test.succeedwhenentityhascomponent.hascomponent.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.succeedwhenentityhascomponent.return
succeedWhenEntityPresent
script_api.minecraft/server-gametest.test.succeedwhenentitypresent.description
succeedWhenEntityPresent(entityTypeIdentifier: string, blockLocation: Vector3, isPresent: boolean): void
entityTypeIdentifier
:string
- script_api.minecraft/server-gametest.test.succeedwhenentitypresent.entitytypeidentifier.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.succeedwhenentitypresent.blocklocation.description
isPresent
:boolean
=True
- script_api.minecraft/server-gametest.test.succeedwhenentitypresent.ispresent.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.succeedwhenentitypresent.return
triggerInternalBlockEvent
script_api.minecraft/server-gametest.test.triggerinternalblockevent.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.triggerinternalblockevent.blocklocation.description
event
:string
- script_api.minecraft/server-gametest.test.triggerinternalblockevent.event.description
eventParameters
:float[]
=[]
- script_api.minecraft/server-gametest.test.triggerinternalblockevent.eventparameters.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.triggerinternalblockevent.return
until
script_api.minecraft/server-gametest.test.until.description
callback
:() => void
- script_api.minecraft/server-gametest.test.until.callback.description
- 返回值:
Promise<void>
- script_api.minecraft/server-gametest.test.until.return
walkTo
script_api.minecraft/server-gametest.test.walkto.description
mob
:Entity
- script_api.minecraft/server-gametest.test.walkto.mob.description
blockLocation
:Vector3
- script_api.minecraft/server-gametest.test.walkto.blocklocation.description
speedModifier
:float
=1.0
- script_api.minecraft/server-gametest.test.walkto.speedmodifier.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.walkto.return
walkToLocation
script_api.minecraft/server-gametest.test.walktolocation.description
location
:Vector3
- script_api.minecraft/server-gametest.test.walktolocation.location.description
speedModifier
:float
=1.0
- script_api.minecraft/server-gametest.test.walktolocation.speedmodifier.description
- 返回值:
void
- script_api.minecraft/server-gametest.test.walktolocation.return
worldBlockLocation
script_api.minecraft/server-gametest.test.worldblocklocation.description
relativeBlockLocation
:Vector3
- script_api.minecraft/server-gametest.test.worldblocklocation.relativeblocklocation.description
- 返回值:
Vector3
- script_api.minecraft/server-gametest.test.worldblocklocation.return
worldLocation
script_api.minecraft/server-gametest.test.worldlocation.description
relativeLocation
:Vector3
- script_api.minecraft/server-gametest.test.worldlocation.relativelocation.description
- 返回值:
Vector3
- script_api.minecraft/server-gametest.test.worldlocation.return