your current location:首页 > news>cc: vs mincraft

cc: vs mincraft

2024-12-15 01:10:08|Myriagame |source:minecraft skins

CC: vs

CC: VS is a simple ComputerCraft x VS2 affiliated module

It adds two new APIs to the computer on the boat, one of which is specifically used to command the computer.

Shipapi

Practical APIs can read many information and modify ship names of the ships.Reading information includes coordinates, angles, speed, ship identifiers, ship names, and so on.

The related part of shipapi is a practical function (Avoid some players from encountering GitHub to access, carry it)

getworldspacePosition ()

This function can obtain the central coordinates of SHIP in the world. The data obtained are tables containing the coordinate value of X, Y, and Z.

getshipyardposition () ()

This Function can obtain SHIP's real position (mysterious sub -space) coordinates in the world. The data obtained are tables containing the coordinate value of X, Y, and Z.

getscale ()

This function can get the size of the ship.The obtained data are tables containing the length value of x, y, and z.

getquaternion ()

This function can get the four yuan during the SHIP movement, and the data obtained is still a table.

getroll ()

This function can obtain the ship angle of the ship and get the data as Number.

getpitch ()

This function can obtain a SHIP pitch angle and get the data as Number.

getyaw ()

This function can obtain the ship angle of Ship and get the data as Number.

getvelOcity ()

This function can get the speed of the ship and get the data to table.

getmass ()

This function can get the quality of the ship and get the data as Number.

Getid ()

This Function can get the ID of the ship and get the data as Number.

isstatic ()

This function can determine whether the Ship is static, the dynamic output is "no", and the static output is "yes".

getName ()

This function can get the name of the ship and get the data as string.

setname (name)

This function can set the name of the ship.

Extendedshipapi

Command computer -specific API.You can exert force and set weight on the ship.

EXTENDEDSHIPAPI related part

ApplyinvariantForce (XForce, YForce, Zforce)

This function will give ship a force.

ApplyinvariantForceatpos (XForce, YForce, Zforce, XPOS, YPOS, ZPOS)

This function will give a strong force in a specific position.

ApplyinvariantTorque (XTORQUE, YTORQUE, ZTORQUE)

This function is given to the ship with constant torque.

ApplyrotDependentForce (xforce, yforce, zforce)

This function will be given to ship.

ApplyrotDependentForceatpos (Xforce, YForce, Zforce, XPOS, YPOS, ZPOS)

This function will apply rotating correlation to a specific position.

ApplyrotDependentTorque (XTORQUE, YTORQUE, ZTORQUE)

This function will apply to the spin -related torque.

SetStatic (True & False)

This function will be forced to be static.

setscale (number)

This function compulsory changes the size of the SHIP.

Teleport (table)

This Function will transmit ship to the three -dimensional coordinates represented by Table (need to be opened in the configuration file!).

Minecraft images

The goal of MC Encyclopedia (MCMOD.CN) is to provide players with a better environment for MOD learning and research, and accept and cultivate more hardcore players.Provide Minecraft (Minecraft) MOD (module) item data introduction, tutorial strategy and MOD download, and is committed to improving the player's game experience.About the encyclopedia Encyclopedia help development log Donate Encyclopedia to follow the encyclopedia B station = "Fa Fa-Anagle-Right"> Opinions feedback Email © CopyRight Mc Encyclopedia 2013-2024 mcmod.cn |

Minecraft images

Minecraft images

In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.