Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
Links
Details
Licensed GPL-3.0-only
Published 4 months ago
Updated 3 months ago
"CC: Ballistix Updated" is now compatible with the newer version of Ballistix. Please use CC: Ballistix Updated instead.
CC Ballistix Reborn
This mod is a fork of CC: Ballistix Updated it was made to fill the short gap between updates for CC: Ballistix Updated.
Functions:
-
launch()
- Attempts to launch the missile.
- Returns
true
if the launch command was successfully sent, otherwisefalse
. - This function will also queue a
ccballistixreborn_launch
event, providing the X, Y, and Z coordinates of the target.
-
getRange()
- Returns the maximum range of the connected missile launcher as an integer.
- Returns
0
if no launcher is found or the range cannot be determined.
-
getPosition()
- Returns a table containing the current target coordinates of the missile launcher with keys
x
,y
, andz
. - Returns an empty table if no launcher is found or no target is set.
- Returns a table containing the current target coordinates of the missile launcher with keys
-
setPosition(x, y, z)
- Sets the target position of the control panel to the given X, Y, and Z coordinates.
- This function will also queue a
ccballistixreborn_update_position
event, providing the new X, Y, and Z coordinates.
-
getFrequency()
- Returns the frequency of the connected missile launcher as an integer.
- Returns
0
if no launcher is found.