-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
208 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
package-lock.json | ||
lib/modals/cam.mcscript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Minecraft Script Core Modals | ||
`- parameter -` | ||
` [optional] ` | ||
` <allowed types>` | ||
` this | or that` | ||
### console | ||
> `log( - text <string | number> - , [entity] )` | ||
### ToDo | ||
Logges into a console for the Minecraft Chat | ||
## Minecraft Cam Modals | ||
These are integrated Modals from my Camera Datapack for Mapmaking. | ||
Install it [here](https://github.com/Stevertus/McCam). | ||
### cam.pos1 | ||
> `cam.pos1( [location <string>] , [rotation <string> ] )` | ||
Sets the first position to a optional point. | ||
### cam.pos2 | ||
> `cam.pos2( [location <string>] , [rotation <string> ] )` | ||
Sets the second position to a optional point. | ||
### cam.start | ||
> `cam.start( [entity] )` | ||
Starts the camera process. | ||
### cam.stop | ||
> `cam.stop( [entity] )` | ||
Stops the camera process. | ||
### cam.time | ||
> `cam.time( length <number> , [entity] )` | ||
Sets the cam duration to a custom value (for an optional entity). | ||
### cam.noParticles | ||
> `cam.noParticles( [entity] )` | ||
Disables the particles for the given entity. | ||
|
||
### cam.noText | ||
> `cam.noText( [entity] )` | ||
Disables the messages for the given entity. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
####### | ||
# Compiled from /examples/functions/do-while-Loops.mcscript | ||
# to examples/functions/mcscript/dowhile3.mcfunction | ||
# | ||
# Generated by Minecraft Script for 1.13 | ||
###### | ||
tellraw @a [{"text":"console => ","color":"aqua"},{"text":"commands","color":"white"}] | ||
execute if entity @s[tag=!mcscriptStop] if entity @s[tag=loop] run function examples:mcscript/dowhile3 | ||
tag @s[tag=mcscriptStop] remove mcscriptStop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
####### | ||
# Compiled from /examples/functions/forEach.mcscript | ||
# to examples/functions/mcscript/foreach1.mcfunction | ||
# | ||
# Generated by Minecraft Script for 1.13 | ||
###### | ||
say hey | ||
scoreboard players add i i 1 | ||
execute if entity @s[tag=!mcscriptStop] if score i i matches ..9 run function examples:mcscript/foreach1 | ||
tag @s[tag=mcscriptStop] remove mcscriptStop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
####### | ||
# Compiled from /examples/functions/forEach.mcscript | ||
# to examples/functions/mcscript/foreach5.mcfunction | ||
# | ||
# Generated by Minecraft Script for 1.13 | ||
###### | ||
say hey | ||
scoreboard players add i i 1 | ||
execute if entity @s[tag=!mcscriptStop] if score i i matches ..9 run function examples:mcscript/foreach5 | ||
tag @s[tag=mcscriptStop] remove mcscriptStop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
####### | ||
# Compiled from /examples/functions/forEach.mcscript | ||
# to examples/functions/mcscript/foreach6.mcfunction | ||
# | ||
# Generated by Minecraft Script for 1.13 | ||
###### | ||
scoreboard players operation result result *= i i | ||
scoreboard players add j j 1 | ||
execute if entity @s[tag=!mcscriptStop] if score j j matches ..10 run function examples:mcscript/foreach6 | ||
tag @s[tag=mcscriptStop] remove mcscriptStop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
####### | ||
# Compiled from /examples/functions/raycasting.mcscript | ||
# to examples/functions/mcscript/raycast2.mcfunction | ||
# | ||
# Generated by Minecraft Script for 1.13 | ||
###### | ||
particle flame ~ ~ ~ | ||
scoreboard players add raycast2 mcscript_raycast 1 | ||
execute positioned ^ ^ ^1 unless block ~ ~ ~ air run tag @s add mcscriptStop | ||
execute positioned ^ ^ ^1 if entity @s[tag=!mcscriptStop] if block ~ ~ ~ air if score raycast2 mcscript_raycast matches ..10 run function examples:mcscript/raycast2 | ||
execute if score raycast2 mcscript_raycast matches ..10 if entity @s[tag=mcscriptStop] positioned ^ ^ ^1 run setblock ~ ~ ~ stone | ||
tag @s[tag=mcscriptStop] remove mcscriptStop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
####### | ||
# Compiled from /examples/functions/while-Loops.mcscript | ||
# to examples/functions/mcscript/while4.mcfunction | ||
# | ||
# Generated by Minecraft Script for 1.13 | ||
###### | ||
tellraw @a [{"text":"console => ","color":"aqua"},{"text":"commands","color":"white"}] | ||
execute if entity @s[tag=!mcscriptStop] if entity @s[tag=loop] run function examples:mcscript/while4 | ||
tag @s[tag=mcscriptStop] remove mcscriptStop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
####### | ||
# Compiled from /examples/functions/while-Loops.mcscript | ||
# to examples/functions/mcscript/while6.mcfunction | ||
# | ||
# Generated by Minecraft Script for 1.13 | ||
###### | ||
tellraw @a [{"text":"console => ","color":"aqua"},{"text":"commands","color":"white"}] | ||
execute if entity @s[tag=!mcscriptStop] if entity @s[tag=loop] run function examples:mcscript/while6 | ||
tag @s[tag=mcscriptStop] remove mcscriptStop |
Oops, something went wrong.