hytopia 0.1.34 → 0.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/docs/server.audio.md +2 -2
- package/docs/server.audio.position.md +1 -1
- package/docs/server.audio.setposition.md +2 -2
- package/docs/server.audioeventpayload.setposition.md +1 -1
- package/docs/server.audioeventpayload.setposition.position.md +1 -1
- package/docs/server.audiooptions.md +1 -1
- package/docs/server.audiooptions.position.md +1 -1
- package/docs/server.block.globalcoordinate.md +1 -1
- package/docs/server.block.md +1 -1
- package/docs/server.blocktype.md +1 -1
- package/docs/server.blocktyperegistry.md +2 -2
- package/docs/server.blocktyperegistry.registerblocktype.md +2 -18
- package/docs/server.chunk.blockindextolocalcoordinate.md +2 -2
- package/docs/server.chunk.getblock.md +55 -0
- package/docs/server.chunk.globalcoordinatetolocalcoordinate.md +3 -3
- package/docs/server.chunk.globalcoordinatetoorigincoordinate.md +3 -3
- package/docs/server.chunk.hasblock.md +55 -0
- package/docs/server.chunk.isvalidorigincoordinate.md +2 -2
- package/docs/server.chunk.md +29 -1
- package/docs/server.chunk.origincoordinate.md +1 -1
- package/docs/server.chunk.setblock.md +2 -2
- package/docs/server.chunk.spawn.md +2 -2
- package/docs/server.chunkeventpayload.setblock.globalcoordinate.md +1 -1
- package/docs/server.chunkeventpayload.setblock.localcoordinate.md +1 -1
- package/docs/server.chunkeventpayload.setblock.md +2 -2
- package/docs/server.chunklattice.getblock.md +55 -0
- package/docs/server.chunklattice.getchunk.md +2 -2
- package/docs/server.chunklattice.hasblock.md +55 -0
- package/docs/server.chunklattice.haschunk.md +2 -2
- package/docs/server.chunklattice.md +29 -1
- package/docs/server.chunklattice.setblock.md +4 -4
- package/docs/server.collider.getrelativerotation.md +2 -2
- package/docs/server.collider.getrelativetranslation.md +2 -2
- package/docs/server.collider.setrelativerotation.md +2 -2
- package/docs/server.collider.setrelativetranslation.md +2 -2
- package/docs/server.collideroptions.halfextents.md +1 -1
- package/docs/server.collideroptions.md +3 -3
- package/docs/server.collideroptions.relativerotation.md +1 -1
- package/docs/server.collideroptions.relativetranslation.md +1 -1
- package/docs/server.entity.blockhalfextents.md +1 -1
- package/docs/server.entity.md +36 -1
- package/docs/server.entity.settintcolor.md +53 -0
- package/docs/server.entity.spawn.md +2 -2
- package/docs/server.entity.tintcolor.md +13 -0
- package/docs/server.entityeventpayload.md +9 -0
- package/docs/server.entityeventpayload.settintcolor.entity.md +11 -0
- package/docs/server.entityeventpayload.settintcolor.md +70 -0
- package/docs/server.entityeventpayload.settintcolor.tintcolor.md +11 -0
- package/docs/server.entityeventpayload.updaterotation.md +1 -1
- package/docs/server.entityeventpayload.updaterotation.rotation.md +1 -1
- package/docs/server.entityeventpayload.updatetranslation.md +1 -1
- package/docs/server.entityeventpayload.updatetranslation.translation.md +1 -1
- package/docs/server.entityeventtype.md +15 -1
- package/docs/server.entityoptions.blockhalfextents.md +1 -1
- package/docs/server.entityoptions.md +20 -1
- package/docs/server.entityoptions.tintcolor.md +13 -0
- package/docs/server.facecallback.md +2 -2
- package/docs/server.facecompletecallback.md +2 -2
- package/docs/server.gameserver.md +1 -1
- package/docs/server.hytopia.audio.md +2 -2
- package/docs/server.hytopia.audio.position.md +1 -1
- package/docs/server.hytopia.audio.setposition.md +2 -2
- package/docs/server.hytopia.audioeventpayload.setposition.md +1 -1
- package/docs/server.hytopia.audioeventpayload.setposition.position.md +1 -1
- package/docs/server.hytopia.audiooptions.md +1 -1
- package/docs/server.hytopia.audiooptions.position.md +1 -1
- package/docs/server.hytopia.block.globalcoordinate.md +1 -1
- package/docs/server.hytopia.block.md +1 -1
- package/docs/server.hytopia.blocktype.md +1 -1
- package/docs/server.hytopia.blocktyperegistry.md +2 -2
- package/docs/server.hytopia.blocktyperegistry.registerblocktype.md +2 -18
- package/docs/server.hytopia.chunk.blockindextolocalcoordinate.md +2 -2
- package/docs/server.hytopia.chunk.getblock.md +55 -0
- package/docs/server.hytopia.chunk.globalcoordinatetolocalcoordinate.md +3 -3
- package/docs/server.hytopia.chunk.globalcoordinatetoorigincoordinate.md +3 -3
- package/docs/server.hytopia.chunk.hasblock.md +55 -0
- package/docs/server.hytopia.chunk.isvalidorigincoordinate.md +2 -2
- package/docs/server.hytopia.chunk.md +29 -1
- package/docs/server.hytopia.chunk.origincoordinate.md +1 -1
- package/docs/server.hytopia.chunk.setblock.md +2 -2
- package/docs/server.hytopia.chunk.spawn.md +2 -2
- package/docs/server.hytopia.chunkeventpayload.setblock.globalcoordinate.md +1 -1
- package/docs/server.hytopia.chunkeventpayload.setblock.localcoordinate.md +1 -1
- package/docs/server.hytopia.chunkeventpayload.setblock.md +2 -2
- package/docs/server.hytopia.chunklattice.getblock.md +55 -0
- package/docs/server.hytopia.chunklattice.getchunk.md +2 -2
- package/docs/server.hytopia.chunklattice.hasblock.md +55 -0
- package/docs/server.hytopia.chunklattice.haschunk.md +2 -2
- package/docs/server.hytopia.chunklattice.md +29 -1
- package/docs/server.hytopia.chunklattice.setblock.md +4 -4
- package/docs/server.hytopia.collider.getrelativerotation.md +2 -2
- package/docs/server.hytopia.collider.getrelativetranslation.md +2 -2
- package/docs/server.hytopia.collider.setrelativerotation.md +2 -2
- package/docs/server.hytopia.collider.setrelativetranslation.md +2 -2
- package/docs/server.hytopia.collideroptions.halfextents.md +1 -1
- package/docs/server.hytopia.collideroptions.md +3 -3
- package/docs/server.hytopia.collideroptions.relativerotation.md +1 -1
- package/docs/server.hytopia.collideroptions.relativetranslation.md +1 -1
- package/docs/server.hytopia.entity.blockhalfextents.md +1 -1
- package/docs/server.hytopia.entity.md +36 -1
- package/docs/server.hytopia.entity.settintcolor.md +53 -0
- package/docs/server.hytopia.entity.spawn.md +2 -2
- package/docs/server.hytopia.entity.tintcolor.md +13 -0
- package/docs/server.hytopia.entityeventpayload.md +9 -0
- package/docs/server.hytopia.entityeventpayload.settintcolor.entity.md +11 -0
- package/docs/server.hytopia.entityeventpayload.settintcolor.md +70 -0
- package/docs/server.hytopia.entityeventpayload.settintcolor.tintcolor.md +11 -0
- package/docs/server.hytopia.entityeventpayload.updaterotation.md +1 -1
- package/docs/server.hytopia.entityeventpayload.updaterotation.rotation.md +1 -1
- package/docs/server.hytopia.entityeventpayload.updatetranslation.md +1 -1
- package/docs/server.hytopia.entityeventpayload.updatetranslation.translation.md +1 -1
- package/docs/server.hytopia.entityeventtype.md +15 -1
- package/docs/server.hytopia.entityoptions.blockhalfextents.md +1 -1
- package/docs/server.hytopia.entityoptions.md +20 -1
- package/docs/server.hytopia.entityoptions.tintcolor.md +13 -0
- package/docs/server.hytopia.facecallback.md +2 -2
- package/docs/server.hytopia.facecompletecallback.md +2 -2
- package/docs/server.hytopia.gameserver.md +1 -1
- package/docs/server.hytopia.md +32 -10
- package/docs/server.hytopia.movecallback.md +2 -2
- package/docs/server.hytopia.movecompletecallback.md +2 -2
- package/docs/server.hytopia.playercamera.attachedtoposition.md +1 -1
- package/docs/server.hytopia.playercamera.lookatposition.md +2 -2
- package/docs/server.hytopia.playercamera.md +3 -3
- package/docs/server.hytopia.playercamera.offset.md +1 -1
- package/docs/server.hytopia.playercamera.setattachedtoposition.md +2 -2
- package/docs/server.hytopia.playercamera.setoffset.md +2 -2
- package/docs/server.hytopia.playercamera.settrackedposition.md +2 -2
- package/docs/server.hytopia.playercamera.trackedposition.md +1 -1
- package/docs/server.hytopia.playercameraeventpayload.lookatposition.md +1 -1
- package/docs/server.hytopia.playercameraeventpayload.lookatposition.position.md +1 -1
- package/docs/server.hytopia.playercameraeventpayload.setattachedtoposition.md +1 -1
- package/docs/server.hytopia.playercameraeventpayload.setattachedtoposition.position.md +1 -1
- package/docs/server.hytopia.playercameraeventpayload.setoffset.md +1 -1
- package/docs/server.hytopia.playercameraeventpayload.setoffset.offset.md +1 -1
- package/docs/server.hytopia.playercameraeventpayload.settrackedposition.md +1 -1
- package/docs/server.hytopia.playercameraeventpayload.settrackedposition.position.md +1 -1
- package/docs/server.hytopia.quaternion._constructor_.md +89 -0
- package/docs/server.hytopia.quaternion.clone.md +19 -0
- package/docs/server.hytopia.quaternion.conjugate.md +19 -0
- package/docs/server.hytopia.quaternion.copy.md +53 -0
- package/docs/server.hytopia.quaternion.dot.md +53 -0
- package/docs/server.hytopia.quaternion.equals.md +53 -0
- package/docs/server.hytopia.quaternion.exactequals.md +53 -0
- package/docs/server.hytopia.quaternion.exponential.md +19 -0
- package/docs/server.hytopia.quaternion.fromeuler.md +85 -0
- package/docs/server.hytopia.quaternion.fromquaternionlike.md +53 -0
- package/docs/server.hytopia.quaternion.getangle.md +53 -0
- package/docs/server.hytopia.quaternion.invert.md +19 -0
- package/docs/server.hytopia.quaternion.lerp.md +69 -0
- package/docs/server.hytopia.quaternion.magnitude.md +13 -0
- package/docs/server.hytopia.quaternion.md +501 -0
- package/docs/server.hytopia.quaternion.multiply.md +53 -0
- package/docs/server.hytopia.quaternion.normalize.md +19 -0
- package/docs/server.hytopia.quaternion.rotatex.md +55 -0
- package/docs/server.hytopia.quaternion.rotatey.md +55 -0
- package/docs/server.hytopia.quaternion.rotatez.md +55 -0
- package/docs/server.hytopia.quaternion.scale.md +55 -0
- package/docs/server.hytopia.quaternion.slerp.md +71 -0
- package/docs/server.hytopia.quaternion.squaredmagnitude.md +13 -0
- package/docs/server.hytopia.quaternion.tostring.md +19 -0
- package/docs/server.hytopia.quaternion.w.md +15 -0
- package/docs/server.hytopia.quaternion.x.md +15 -0
- package/docs/server.hytopia.quaternion.y.md +15 -0
- package/docs/server.hytopia.quaternion.z.md +15 -0
- package/docs/{server.hytopia.rotation.md → server.hytopia.quaternionlike.md} +8 -8
- package/docs/server.hytopia.quaternionlike.w.md +11 -0
- package/docs/server.hytopia.quaternionlike.x.md +11 -0
- package/docs/server.hytopia.quaternionlike.y.md +11 -0
- package/docs/server.hytopia.quaternionlike.z.md +11 -0
- package/docs/{server.hytopia.rotation.w.md → server.hytopia.rgbcolor.b.md} +3 -3
- package/docs/server.hytopia.rgbcolor.g.md +11 -0
- package/docs/server.hytopia.rgbcolor.md +89 -0
- package/docs/server.hytopia.rgbcolor.r.md +11 -0
- package/docs/server.hytopia.rigidbody.addforce.md +2 -2
- package/docs/server.hytopia.rigidbody.addtorque.md +2 -2
- package/docs/server.hytopia.rigidbody.applyimpulse.md +2 -2
- package/docs/server.hytopia.rigidbody.applyimpulseatpoint.md +3 -3
- package/docs/server.hytopia.rigidbody.applytorqueimpulse.md +2 -2
- package/docs/server.hytopia.rigidbody.getangularvelocity.md +2 -2
- package/docs/server.hytopia.rigidbody.getdirectionfromrotation.md +2 -2
- package/docs/server.hytopia.rigidbody.geteffectiveinversemass.md +2 -2
- package/docs/server.hytopia.rigidbody.getinverseprincipalangularinertiasqrt.md +2 -2
- package/docs/server.hytopia.rigidbody.getlinearvelocity.md +2 -2
- package/docs/server.hytopia.rigidbody.getlocalcenterofmass.md +2 -2
- package/docs/server.hytopia.rigidbody.getnextkinematicrotation.md +2 -2
- package/docs/server.hytopia.rigidbody.getnextkinematictranslation.md +2 -2
- package/docs/server.hytopia.rigidbody.getprincipalangularinertia.md +2 -2
- package/docs/server.hytopia.rigidbody.getprincipalangularinertialocalframe.md +2 -2
- package/docs/server.hytopia.rigidbody.getrotation.md +2 -2
- package/docs/server.hytopia.rigidbody.gettranslation.md +2 -2
- package/docs/server.hytopia.rigidbody.getworldcenterofmass.md +2 -2
- package/docs/server.hytopia.rigidbody.setangularvelocity.md +2 -2
- package/docs/server.hytopia.rigidbody.setlinearvelocity.md +2 -2
- package/docs/server.hytopia.rigidbody.setnextkinematicrotation.md +2 -2
- package/docs/server.hytopia.rigidbody.setnextkinematictranslation.md +2 -2
- package/docs/server.hytopia.rigidbody.setrotation.md +2 -2
- package/docs/server.hytopia.rigidbody.settranslation.md +2 -2
- package/docs/server.hytopia.rigidbodyadditionalmassproperties.md +4 -4
- package/docs/server.hytopia.rigidbodyoptions.angularvelocity.md +1 -1
- package/docs/server.hytopia.rigidbodyoptions.linearvelocity.md +1 -1
- package/docs/server.hytopia.rigidbodyoptions.md +4 -4
- package/docs/server.hytopia.rigidbodyoptions.rotation.md +1 -1
- package/docs/server.hytopia.rigidbodyoptions.translation.md +1 -1
- package/docs/server.hytopia.simplecharactercontroller.face.md +2 -2
- package/docs/server.hytopia.simplecharactercontroller.move.md +2 -2
- package/docs/server.hytopia.simulation.md +14 -0
- package/docs/server.hytopia.simulation.setgravity.md +53 -0
- package/docs/server.hytopia.vector3._constructor_.md +75 -0
- package/docs/server.hytopia.vector3.add.md +55 -0
- package/docs/server.hytopia.vector3.ceil.md +19 -0
- package/docs/server.hytopia.vector3.clone.md +19 -0
- package/docs/server.hytopia.vector3.copy.md +55 -0
- package/docs/server.hytopia.vector3.cross.md +55 -0
- package/docs/server.hytopia.vector3.distance.md +55 -0
- package/docs/server.hytopia.vector3.divide.md +55 -0
- package/docs/server.hytopia.vector3.equals.md +55 -0
- package/docs/server.hytopia.vector3.exactequals.md +55 -0
- package/docs/server.hytopia.vector3.floor.md +19 -0
- package/docs/server.hytopia.vector3.fromvector3like.md +55 -0
- package/docs/server.hytopia.vector3.invert.md +19 -0
- package/docs/server.hytopia.vector3.lerp.md +71 -0
- package/docs/server.hytopia.vector3.magnitude.md +13 -0
- package/docs/server.hytopia.vector3.max.md +55 -0
- package/docs/server.hytopia.vector3.md +464 -3
- package/docs/server.hytopia.vector3.min.md +55 -0
- package/docs/server.hytopia.vector3.multiply.md +55 -0
- package/docs/server.hytopia.vector3.negate.md +19 -0
- package/docs/server.hytopia.vector3.normalize.md +19 -0
- package/docs/server.hytopia.vector3.rotatex.md +71 -0
- package/docs/server.hytopia.vector3.rotatey.md +71 -0
- package/docs/server.hytopia.vector3.rotatez.md +71 -0
- package/docs/server.hytopia.vector3.round.md +19 -0
- package/docs/server.hytopia.vector3.scale.md +55 -0
- package/docs/server.hytopia.vector3.squaredmagnitude.md +13 -0
- package/docs/server.hytopia.vector3.subtract.md +55 -0
- package/docs/server.hytopia.vector3.tostring.md +19 -0
- package/docs/server.hytopia.vector3.x.md +5 -1
- package/docs/server.hytopia.vector3.y.md +5 -1
- package/docs/server.hytopia.vector3.z.md +5 -1
- package/docs/server.hytopia.vector3like.md +89 -0
- package/docs/{server.hytopia.rotation.x.md → server.hytopia.vector3like.x.md} +2 -2
- package/docs/{server.hytopia.rotation.y.md → server.hytopia.vector3like.y.md} +2 -2
- package/docs/{server.hytopia.rotation.z.md → server.hytopia.vector3like.z.md} +2 -2
- package/docs/server.hytopia.worldmap.blocktypes.md +1 -5
- package/docs/server.hytopia.worldmap.md +1 -1
- package/docs/server.hytopia.worldoptions.gravity.md +1 -1
- package/docs/server.hytopia.worldoptions.md +1 -1
- package/docs/server.md +32 -10
- package/docs/server.movecallback.md +2 -2
- package/docs/server.movecompletecallback.md +2 -2
- package/docs/server.playercamera.attachedtoposition.md +1 -1
- package/docs/server.playercamera.lookatposition.md +2 -2
- package/docs/server.playercamera.md +3 -3
- package/docs/server.playercamera.offset.md +1 -1
- package/docs/server.playercamera.setattachedtoposition.md +2 -2
- package/docs/server.playercamera.setoffset.md +2 -2
- package/docs/server.playercamera.settrackedposition.md +2 -2
- package/docs/server.playercamera.trackedposition.md +1 -1
- package/docs/server.playercameraeventpayload.lookatposition.md +1 -1
- package/docs/server.playercameraeventpayload.lookatposition.position.md +1 -1
- package/docs/server.playercameraeventpayload.setattachedtoposition.md +1 -1
- package/docs/server.playercameraeventpayload.setattachedtoposition.position.md +1 -1
- package/docs/server.playercameraeventpayload.setoffset.md +1 -1
- package/docs/server.playercameraeventpayload.setoffset.offset.md +1 -1
- package/docs/server.playercameraeventpayload.settrackedposition.md +1 -1
- package/docs/server.playercameraeventpayload.settrackedposition.position.md +1 -1
- package/docs/server.quaternion._constructor_.md +89 -0
- package/docs/server.quaternion.clone.md +19 -0
- package/docs/server.quaternion.conjugate.md +19 -0
- package/docs/server.quaternion.copy.md +53 -0
- package/docs/server.quaternion.dot.md +53 -0
- package/docs/server.quaternion.equals.md +53 -0
- package/docs/server.quaternion.exactequals.md +53 -0
- package/docs/server.quaternion.exponential.md +19 -0
- package/docs/server.quaternion.fromeuler.md +85 -0
- package/docs/server.quaternion.fromquaternionlike.md +53 -0
- package/docs/server.quaternion.getangle.md +53 -0
- package/docs/server.quaternion.invert.md +19 -0
- package/docs/server.quaternion.lerp.md +69 -0
- package/docs/server.quaternion.magnitude.md +13 -0
- package/docs/server.quaternion.md +501 -0
- package/docs/server.quaternion.multiply.md +53 -0
- package/docs/server.quaternion.normalize.md +19 -0
- package/docs/server.quaternion.rotatex.md +55 -0
- package/docs/server.quaternion.rotatey.md +55 -0
- package/docs/server.quaternion.rotatez.md +55 -0
- package/docs/server.quaternion.scale.md +55 -0
- package/docs/server.quaternion.slerp.md +71 -0
- package/docs/server.quaternion.squaredmagnitude.md +13 -0
- package/docs/server.quaternion.tostring.md +19 -0
- package/docs/server.quaternion.w.md +15 -0
- package/docs/server.quaternion.x.md +15 -0
- package/docs/server.quaternion.y.md +15 -0
- package/docs/server.quaternion.z.md +15 -0
- package/docs/{server.rotation.md → server.quaternionlike.md} +8 -8
- package/docs/server.quaternionlike.w.md +11 -0
- package/docs/server.quaternionlike.x.md +11 -0
- package/docs/server.quaternionlike.y.md +11 -0
- package/docs/server.quaternionlike.z.md +11 -0
- package/docs/server.rgbcolor.b.md +11 -0
- package/docs/server.rgbcolor.g.md +11 -0
- package/docs/server.rgbcolor.md +89 -0
- package/docs/server.rgbcolor.r.md +11 -0
- package/docs/server.rigidbody.addforce.md +2 -2
- package/docs/server.rigidbody.addtorque.md +2 -2
- package/docs/server.rigidbody.applyimpulse.md +2 -2
- package/docs/server.rigidbody.applyimpulseatpoint.md +3 -3
- package/docs/server.rigidbody.applytorqueimpulse.md +2 -2
- package/docs/server.rigidbody.getangularvelocity.md +2 -2
- package/docs/server.rigidbody.getdirectionfromrotation.md +2 -2
- package/docs/server.rigidbody.geteffectiveinversemass.md +2 -2
- package/docs/server.rigidbody.getinverseprincipalangularinertiasqrt.md +2 -2
- package/docs/server.rigidbody.getlinearvelocity.md +2 -2
- package/docs/server.rigidbody.getlocalcenterofmass.md +2 -2
- package/docs/server.rigidbody.getnextkinematicrotation.md +2 -2
- package/docs/server.rigidbody.getnextkinematictranslation.md +2 -2
- package/docs/server.rigidbody.getprincipalangularinertia.md +2 -2
- package/docs/server.rigidbody.getprincipalangularinertialocalframe.md +2 -2
- package/docs/server.rigidbody.getrotation.md +2 -2
- package/docs/server.rigidbody.gettranslation.md +2 -2
- package/docs/server.rigidbody.getworldcenterofmass.md +2 -2
- package/docs/server.rigidbody.setangularvelocity.md +2 -2
- package/docs/server.rigidbody.setlinearvelocity.md +2 -2
- package/docs/server.rigidbody.setnextkinematicrotation.md +2 -2
- package/docs/server.rigidbody.setnextkinematictranslation.md +2 -2
- package/docs/server.rigidbody.setrotation.md +2 -2
- package/docs/server.rigidbody.settranslation.md +2 -2
- package/docs/server.rigidbodyadditionalmassproperties.md +4 -4
- package/docs/server.rigidbodyoptions.angularvelocity.md +1 -1
- package/docs/server.rigidbodyoptions.linearvelocity.md +1 -1
- package/docs/server.rigidbodyoptions.md +4 -4
- package/docs/server.rigidbodyoptions.rotation.md +1 -1
- package/docs/server.rigidbodyoptions.translation.md +1 -1
- package/docs/server.simplecharactercontroller.face.md +2 -2
- package/docs/server.simplecharactercontroller.move.md +2 -2
- package/docs/server.simulation.md +14 -0
- package/docs/server.simulation.setgravity.md +53 -0
- package/docs/server.vector3._constructor_.md +75 -0
- package/docs/server.vector3.add.md +55 -0
- package/docs/server.vector3.ceil.md +19 -0
- package/docs/server.vector3.clone.md +19 -0
- package/docs/server.vector3.copy.md +55 -0
- package/docs/server.vector3.cross.md +55 -0
- package/docs/server.vector3.distance.md +55 -0
- package/docs/server.vector3.divide.md +55 -0
- package/docs/server.vector3.equals.md +55 -0
- package/docs/server.vector3.exactequals.md +55 -0
- package/docs/server.vector3.floor.md +19 -0
- package/docs/server.vector3.fromvector3like.md +55 -0
- package/docs/server.vector3.invert.md +19 -0
- package/docs/server.vector3.lerp.md +71 -0
- package/docs/server.vector3.magnitude.md +13 -0
- package/docs/server.vector3.max.md +55 -0
- package/docs/server.vector3.md +464 -3
- package/docs/server.vector3.min.md +55 -0
- package/docs/server.vector3.multiply.md +55 -0
- package/docs/server.vector3.negate.md +19 -0
- package/docs/server.vector3.normalize.md +19 -0
- package/docs/server.vector3.rotatex.md +71 -0
- package/docs/server.vector3.rotatey.md +71 -0
- package/docs/server.vector3.rotatez.md +71 -0
- package/docs/server.vector3.round.md +19 -0
- package/docs/server.vector3.scale.md +55 -0
- package/docs/server.vector3.squaredmagnitude.md +13 -0
- package/docs/server.vector3.subtract.md +55 -0
- package/docs/server.vector3.tostring.md +19 -0
- package/docs/server.vector3.x.md +5 -1
- package/docs/server.vector3.y.md +5 -1
- package/docs/server.vector3.z.md +5 -1
- package/docs/server.vector3like.md +89 -0
- package/docs/server.vector3like.x.md +11 -0
- package/docs/server.vector3like.y.md +11 -0
- package/docs/server.vector3like.z.md +11 -0
- package/docs/server.worldmap.blocktypes.md +1 -5
- package/docs/server.worldmap.md +1 -1
- package/docs/server.worldoptions.gravity.md +1 -1
- package/docs/server.worldoptions.md +1 -1
- package/package.json +2 -2
- package/readme/assets/banner-2.jpeg +0 -0
- package/server.api.json +14474 -8062
- package/server.d.ts +520 -134
- package/server.js +89 -89
- package/docs/server.hytopia.webserver.md +0 -20
- package/docs/server.rotation.w.md +0 -11
- package/docs/server.rotation.x.md +0 -11
- package/docs/server.rotation.y.md +0 -11
- package/docs/server.rotation.z.md +0 -11
- package/docs/server.webserver.md +0 -20
@@ -81,6 +81,20 @@ Description
|
|
81
81
|
Get all chunks in the lattice.
|
82
82
|
|
83
83
|
|
84
|
+
</td></tr>
|
85
|
+
<tr><td>
|
86
|
+
|
87
|
+
[getBlock(globalCoordinate)](./server.chunklattice.getblock.md)
|
88
|
+
|
89
|
+
|
90
|
+
</td><td>
|
91
|
+
|
92
|
+
|
93
|
+
</td><td>
|
94
|
+
|
95
|
+
Get the block type id at a specific global coordinate.
|
96
|
+
|
97
|
+
|
84
98
|
</td></tr>
|
85
99
|
<tr><td>
|
86
100
|
|
@@ -95,6 +109,20 @@ Get all chunks in the lattice.
|
|
95
109
|
Get a chunk by its origin coordinate.
|
96
110
|
|
97
111
|
|
112
|
+
</td></tr>
|
113
|
+
<tr><td>
|
114
|
+
|
115
|
+
[hasBlock(globalCoordinate)](./server.chunklattice.hasblock.md)
|
116
|
+
|
117
|
+
|
118
|
+
</td><td>
|
119
|
+
|
120
|
+
|
121
|
+
</td><td>
|
122
|
+
|
123
|
+
Check if a block exists at a specific global coordinate.
|
124
|
+
|
125
|
+
|
98
126
|
</td></tr>
|
99
127
|
<tr><td>
|
100
128
|
|
@@ -120,7 +148,7 @@ Check if a chunk exists by its origin coordinate.
|
|
120
148
|
|
121
149
|
</td><td>
|
122
150
|
|
123
|
-
Set the block at a global coordinate by block type id, automatically creating a chunk if it doesn't exist.
|
151
|
+
Set the block at a global coordinate by block type id, automatically creating a chunk if it doesn't exist. Use block type id 0 for air.
|
124
152
|
|
125
153
|
|
126
154
|
</td></tr>
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
## ChunkLattice.setBlock() method
|
6
6
|
|
7
|
-
Set the block at a global coordinate by block type id, automatically creating a chunk if it doesn't exist.
|
7
|
+
Set the block at a global coordinate by block type id, automatically creating a chunk if it doesn't exist. Use block type id 0 for air.
|
8
8
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
setBlock(globalCoordinate:
|
12
|
+
setBlock(globalCoordinate: Vector3Like, blockTypeId: number): void;
|
13
13
|
```
|
14
14
|
|
15
15
|
## Parameters
|
@@ -37,7 +37,7 @@ globalCoordinate
|
|
37
37
|
|
38
38
|
</td><td>
|
39
39
|
|
40
|
-
[
|
40
|
+
[Vector3Like](./server.vector3like.md)
|
41
41
|
|
42
42
|
|
43
43
|
</td><td>
|
@@ -58,7 +58,7 @@ number
|
|
58
58
|
|
59
59
|
</td><td>
|
60
60
|
|
61
|
-
The block type id to set.
|
61
|
+
The block type id to set. Use 0 to remove the block and replace with air.
|
62
62
|
|
63
63
|
|
64
64
|
</td></tr>
|
@@ -9,11 +9,11 @@ Gets the relative rotation of the collider.
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
getRelativeRotation():
|
12
|
+
getRelativeRotation(): QuaternionLike;
|
13
13
|
```
|
14
14
|
**Returns:**
|
15
15
|
|
16
|
-
[
|
16
|
+
[QuaternionLike](./server.quaternionlike.md)
|
17
17
|
|
18
18
|
The relative rotation of the collider.
|
19
19
|
|
@@ -9,11 +9,11 @@ Gets the relative translation of the collider to its parent rigid body.
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
getRelativeTranslation():
|
12
|
+
getRelativeTranslation(): Vector3Like;
|
13
13
|
```
|
14
14
|
**Returns:**
|
15
15
|
|
16
|
-
[
|
16
|
+
[Vector3Like](./server.vector3like.md)
|
17
17
|
|
18
18
|
The relative translation of the collider.
|
19
19
|
|
@@ -9,7 +9,7 @@ Sets the relative rotation of the collider.
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
setRelativeRotation(rotation:
|
12
|
+
setRelativeRotation(rotation: QuaternionLike): void;
|
13
13
|
```
|
14
14
|
|
15
15
|
## Parameters
|
@@ -37,7 +37,7 @@ rotation
|
|
37
37
|
|
38
38
|
</td><td>
|
39
39
|
|
40
|
-
[
|
40
|
+
[QuaternionLike](./server.quaternionlike.md)
|
41
41
|
|
42
42
|
|
43
43
|
</td><td>
|
@@ -9,7 +9,7 @@ Sets the relative translation of the collider to its parent rigid body.
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
setRelativeTranslation(translation:
|
12
|
+
setRelativeTranslation(translation: Vector3Like): void;
|
13
13
|
```
|
14
14
|
|
15
15
|
## Parameters
|
@@ -37,7 +37,7 @@ translation
|
|
37
37
|
|
38
38
|
</td><td>
|
39
39
|
|
40
|
-
[
|
40
|
+
[Vector3Like](./server.vector3like.md)
|
41
41
|
|
42
42
|
|
43
43
|
</td><td>
|
@@ -140,7 +140,7 @@ _(Optional)_ The friction of the collider.
|
|
140
140
|
|
141
141
|
</td><td>
|
142
142
|
|
143
|
-
[
|
143
|
+
[Vector3Like](./server.vector3like.md)
|
144
144
|
|
145
145
|
|
146
146
|
</td><td>
|
@@ -273,7 +273,7 @@ _(Optional)_ The radius of the collider if the shape is a ball, capsule, cone, c
|
|
273
273
|
|
274
274
|
</td><td>
|
275
275
|
|
276
|
-
[
|
276
|
+
[QuaternionLike](./server.quaternionlike.md)
|
277
277
|
|
278
278
|
|
279
279
|
</td><td>
|
@@ -292,7 +292,7 @@ _(Optional)_ The relative rotation of the collider. Relative to parent rigid bod
|
|
292
292
|
|
293
293
|
</td><td>
|
294
294
|
|
295
|
-
[
|
295
|
+
[Vector3Like](./server.vector3like.md)
|
296
296
|
|
297
297
|
|
298
298
|
</td><td>
|
package/docs/server.entity.md
CHANGED
@@ -114,7 +114,7 @@ Description
|
|
114
114
|
|
115
115
|
</td><td>
|
116
116
|
|
117
|
-
[
|
117
|
+
[Vector3Like](./server.vector3like.md) \| undefined
|
118
118
|
|
119
119
|
|
120
120
|
</td><td>
|
@@ -463,6 +463,27 @@ string \| undefined
|
|
463
463
|
An arbitrary identifier tag of the entity. Useful for your own logic.
|
464
464
|
|
465
465
|
|
466
|
+
</td></tr>
|
467
|
+
<tr><td>
|
468
|
+
|
469
|
+
[tintColor](./server.entity.tintcolor.md)
|
470
|
+
|
471
|
+
|
472
|
+
</td><td>
|
473
|
+
|
474
|
+
`readonly`
|
475
|
+
|
476
|
+
|
477
|
+
</td><td>
|
478
|
+
|
479
|
+
[RgbColor](./server.rgbcolor.md) \| undefined
|
480
|
+
|
481
|
+
|
482
|
+
</td><td>
|
483
|
+
|
484
|
+
The tint color of the entity.
|
485
|
+
|
486
|
+
|
466
487
|
</td></tr>
|
467
488
|
<tr><td>
|
468
489
|
|
@@ -532,6 +553,20 @@ Despawns the entity from the world.
|
|
532
553
|
Sets the character controller for the entity.
|
533
554
|
|
534
555
|
|
556
|
+
</td></tr>
|
557
|
+
<tr><td>
|
558
|
+
|
559
|
+
[setTintColor(tintColor)](./server.entity.settintcolor.md)
|
560
|
+
|
561
|
+
|
562
|
+
</td><td>
|
563
|
+
|
564
|
+
|
565
|
+
</td><td>
|
566
|
+
|
567
|
+
Sets the tint color of the entity.
|
568
|
+
|
569
|
+
|
535
570
|
</td></tr>
|
536
571
|
<tr><td>
|
537
572
|
|
@@ -0,0 +1,53 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Entity](./server.entity.md) > [setTintColor](./server.entity.settintcolor.md)
|
4
|
+
|
5
|
+
## Entity.setTintColor() method
|
6
|
+
|
7
|
+
Sets the tint color of the entity.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
setTintColor(tintColor: RgbColor | undefined): void;
|
13
|
+
```
|
14
|
+
|
15
|
+
## Parameters
|
16
|
+
|
17
|
+
<table><thead><tr><th>
|
18
|
+
|
19
|
+
Parameter
|
20
|
+
|
21
|
+
|
22
|
+
</th><th>
|
23
|
+
|
24
|
+
Type
|
25
|
+
|
26
|
+
|
27
|
+
</th><th>
|
28
|
+
|
29
|
+
Description
|
30
|
+
|
31
|
+
|
32
|
+
</th></tr></thead>
|
33
|
+
<tbody><tr><td>
|
34
|
+
|
35
|
+
tintColor
|
36
|
+
|
37
|
+
|
38
|
+
</td><td>
|
39
|
+
|
40
|
+
[RgbColor](./server.rgbcolor.md) \| undefined
|
41
|
+
|
42
|
+
|
43
|
+
</td><td>
|
44
|
+
|
45
|
+
The tint color of the entity.
|
46
|
+
|
47
|
+
|
48
|
+
</td></tr>
|
49
|
+
</tbody></table>
|
50
|
+
**Returns:**
|
51
|
+
|
52
|
+
void
|
53
|
+
|
@@ -9,7 +9,7 @@ Spawns the entity in the world.
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
spawn(world: World, coordinate:
|
12
|
+
spawn(world: World, coordinate: Vector3Like): void;
|
13
13
|
```
|
14
14
|
|
15
15
|
## Parameters
|
@@ -53,7 +53,7 @@ coordinate
|
|
53
53
|
|
54
54
|
</td><td>
|
55
55
|
|
56
|
-
[
|
56
|
+
[Vector3Like](./server.vector3like.md)
|
57
57
|
|
58
58
|
|
59
59
|
</td><td>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [Entity](./server.entity.md) > [tintColor](./server.entity.tintcolor.md)
|
4
|
+
|
5
|
+
## Entity.tintColor property
|
6
|
+
|
7
|
+
The tint color of the entity.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
get tintColor(): RgbColor | undefined;
|
13
|
+
```
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [EntityEventPayload](./server.entityeventpayload.md) > [SetTintColor](./server.entityeventpayload.settintcolor.md) > [entity](./server.entityeventpayload.settintcolor.entity.md)
|
4
|
+
|
5
|
+
## EntityEventPayload.SetTintColor.entity property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
entity: Entity;
|
11
|
+
```
|
@@ -0,0 +1,70 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [EntityEventPayload](./server.entityeventpayload.md) > [SetTintColor](./server.entityeventpayload.settintcolor.md)
|
4
|
+
|
5
|
+
## EntityEventPayload.SetTintColor interface
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
interface SetTintColor
|
11
|
+
```
|
12
|
+
|
13
|
+
## Properties
|
14
|
+
|
15
|
+
<table><thead><tr><th>
|
16
|
+
|
17
|
+
Property
|
18
|
+
|
19
|
+
|
20
|
+
</th><th>
|
21
|
+
|
22
|
+
Modifiers
|
23
|
+
|
24
|
+
|
25
|
+
</th><th>
|
26
|
+
|
27
|
+
Type
|
28
|
+
|
29
|
+
|
30
|
+
</th><th>
|
31
|
+
|
32
|
+
Description
|
33
|
+
|
34
|
+
|
35
|
+
</th></tr></thead>
|
36
|
+
<tbody><tr><td>
|
37
|
+
|
38
|
+
[entity](./server.entityeventpayload.settintcolor.entity.md)
|
39
|
+
|
40
|
+
|
41
|
+
</td><td>
|
42
|
+
|
43
|
+
|
44
|
+
</td><td>
|
45
|
+
|
46
|
+
[Entity](./server.entity.md)
|
47
|
+
|
48
|
+
|
49
|
+
</td><td>
|
50
|
+
|
51
|
+
|
52
|
+
</td></tr>
|
53
|
+
<tr><td>
|
54
|
+
|
55
|
+
[tintColor](./server.entityeventpayload.settintcolor.tintcolor.md)
|
56
|
+
|
57
|
+
|
58
|
+
</td><td>
|
59
|
+
|
60
|
+
|
61
|
+
</td><td>
|
62
|
+
|
63
|
+
[RgbColor](./server.rgbcolor.md) \| undefined
|
64
|
+
|
65
|
+
|
66
|
+
</td><td>
|
67
|
+
|
68
|
+
|
69
|
+
</td></tr>
|
70
|
+
</tbody></table>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [EntityEventPayload](./server.entityeventpayload.md) > [SetTintColor](./server.entityeventpayload.settintcolor.md) > [tintColor](./server.entityeventpayload.settintcolor.tintcolor.md)
|
4
|
+
|
5
|
+
## EntityEventPayload.SetTintColor.tintColor property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
tintColor: RgbColor | undefined;
|
11
|
+
```
|
@@ -43,6 +43,20 @@ DESPAWN
|
|
43
43
|
</td><td>
|
44
44
|
|
45
45
|
|
46
|
+
</td></tr>
|
47
|
+
<tr><td>
|
48
|
+
|
49
|
+
SET\_TINT\_COLOR
|
50
|
+
|
51
|
+
|
52
|
+
</td><td>
|
53
|
+
|
54
|
+
`"ENTITY.SET_TINT_COLOR"`
|
55
|
+
|
56
|
+
|
57
|
+
</td><td>
|
58
|
+
|
59
|
+
|
46
60
|
</td></tr>
|
47
61
|
<tr><td>
|
48
62
|
|
@@ -65,7 +79,7 @@ START\_MODEL\_LOOPED\_ANIMATIONS
|
|
65
79
|
|
66
80
|
</td><td>
|
67
81
|
|
68
|
-
`"ENTITY.
|
82
|
+
`"ENTITY.START_MODEL_LOOPED_ANIMATIONS"`
|
69
83
|
|
70
84
|
|
71
85
|
</td><td>
|
@@ -45,7 +45,7 @@ Description
|
|
45
45
|
|
46
46
|
</td><td>
|
47
47
|
|
48
|
-
[
|
48
|
+
[Vector3Like](./server.vector3like.md)
|
49
49
|
|
50
50
|
|
51
51
|
</td><td>
|
@@ -205,5 +205,24 @@ string
|
|
205
205
|
_(Optional)_ An arbitrary identifier tag of the entity. Useful for your own logic.
|
206
206
|
|
207
207
|
|
208
|
+
</td></tr>
|
209
|
+
<tr><td>
|
210
|
+
|
211
|
+
[tintColor?](./server.entityoptions.tintcolor.md)
|
212
|
+
|
213
|
+
|
214
|
+
</td><td>
|
215
|
+
|
216
|
+
|
217
|
+
</td><td>
|
218
|
+
|
219
|
+
[RgbColor](./server.rgbcolor.md)
|
220
|
+
|
221
|
+
|
222
|
+
</td><td>
|
223
|
+
|
224
|
+
_(Optional)_ The tint color of the entity as a hex code.
|
225
|
+
|
226
|
+
|
208
227
|
</td></tr>
|
209
228
|
</tbody></table>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [server](./server.md) > [EntityOptions](./server.entityoptions.md) > [tintColor](./server.entityoptions.tintcolor.md)
|
4
|
+
|
5
|
+
## EntityOptions.tintColor property
|
6
|
+
|
7
|
+
The tint color of the entity as a hex code.
|
8
|
+
|
9
|
+
**Signature:**
|
10
|
+
|
11
|
+
```typescript
|
12
|
+
tintColor?: RgbColor;
|
13
|
+
```
|
@@ -9,7 +9,7 @@ A callback function called when the entity associated with the SimpleCharacterCo
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
export type FaceCallback = (currentRotation:
|
12
|
+
export type FaceCallback = (currentRotation: QuaternionLike, targetRotation: QuaternionLike) => void;
|
13
13
|
```
|
14
|
-
**References:** [
|
14
|
+
**References:** [QuaternionLike](./server.quaternionlike.md)
|
15
15
|
|
@@ -9,7 +9,7 @@ A callback function called when the entity associated with the SimpleCharacterCo
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
export type FaceCompleteCallback = (endRotation:
|
12
|
+
export type FaceCompleteCallback = (endRotation: QuaternionLike) => void;
|
13
13
|
```
|
14
|
-
**References:** [
|
14
|
+
**References:** [QuaternionLike](./server.quaternionlike.md)
|
15
15
|
|
@@ -22,7 +22,7 @@ Audio instances are created directly as instances. They support a variety of con
|
|
22
22
|
|
23
23
|
```typescript
|
24
24
|
(new Audio({
|
25
|
-
uri: 'assets/music/song.mp3
|
25
|
+
uri: 'music/song.mp3', // relative to the server's assets directory in the project root, resolves to assets/music/song.mp3
|
26
26
|
loop: true,
|
27
27
|
volume: 0.5,
|
28
28
|
})).play(world);
|
@@ -328,7 +328,7 @@ The playback rate of the audio if explicitly set.
|
|
328
328
|
|
329
329
|
</td><td>
|
330
330
|
|
331
|
-
[
|
331
|
+
[Vector3Like](./server.vector3like.md) \| undefined
|
332
332
|
|
333
333
|
|
334
334
|
</td><td>
|
@@ -9,7 +9,7 @@ Sets the position of the audio. Will detach from entity if attached.
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
setPosition(position:
|
12
|
+
setPosition(position: Vector3Like): void;
|
13
13
|
```
|
14
14
|
|
15
15
|
## Parameters
|
@@ -37,7 +37,7 @@ position
|
|
37
37
|
|
38
38
|
</td><td>
|
39
39
|
|
40
|
-
[
|
40
|
+
[Vector3Like](./server.vector3like.md)
|
41
41
|
|
42
42
|
|
43
43
|
</td><td>
|