Skip to content

Commit d0b241d

Browse files
committed
0.1.3
1 parent e8aca3a commit d0b241d

21 files changed

+206
-51
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
22
package-lock.json
3+
lib/modals/cam.mcscript

Core Modals.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Minecraft Script Core Modals
2+
`- parameter -`
3+
` [optional] `
4+
` <allowed types>`
5+
` this | or that`
6+
### console
7+
> `log( - text <string | number> - , [entity] )`
8+
### ToDo
9+
Logges into a console for the Minecraft Chat
10+
## Minecraft Cam Modals
11+
These are integrated Modals from my Camera Datapack for Mapmaking.
12+
Install it [here](https://github.com/Stevertus/McCam).
13+
### cam.pos1
14+
> `cam.pos1( [location <string>] , [rotation <string> ] )`
15+
16+
Sets the first position to a optional point.
17+
### cam.pos2
18+
> `cam.pos2( [location <string>] , [rotation <string> ] )`
19+
20+
Sets the second position to a optional point.
21+
### cam.start
22+
> `cam.start( [entity] )`
23+
24+
Starts the camera process.
25+
### cam.stop
26+
> `cam.stop( [entity] )`
27+
28+
Stops the camera process.
29+
### cam.time
30+
> `cam.time( length <number> , [entity] )`
31+
32+
Sets the cam duration to a custom value (for an optional entity).
33+
### cam.noParticles
34+
> `cam.noParticles( [entity] )`
35+
36+
Disables the particles for the given entity.
37+
38+
### cam.noText
39+
> `cam.noText( [entity] )`
40+
41+
Disables the messages for the given entity.

README-DE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
![](https://i.imgur.com/YedWe7W.png)
33

44
# Minecraft Script Dokumentation
5-
> Update 0.1.2: [Alle Änderungen](https://github.com/Stevertus/mcscript/releases)
5+
> Update 0.1.3: [Alle Änderungen](https://github.com/Stevertus/mcscript/releases)
66
77
Minecraft Script ist eine Programmiersprache für Entwickler der mcfunctions, sowie für die Minecraft Map und Package Erschaffer. Die .mcscript Dateien werden dabei zu mcfunction compiled und generiert. Dies bietet dem Entwickler erweiterte Möglichkeiten, wie zum Beispiel Modals, Loops, Variablen, Konstanten und Command-Wrapping.
88

@@ -634,15 +634,15 @@ Auch sind optionale und vordefinierte Argumente verfügbar:
634634
<a id="systemModals"></a>
635635
### 3.16 System Modals
636636

637-
Es gibt schon einige vordefinierte Modals, die hilfreich sein könnten. Bitte schaue dir dafür die spezifischen Dokumentationen [hier](#) an.
637+
Es gibt schon einige vordefinierte Modals, die hilfreich sein könnten. Bitte schaue dir dafür die spezifischen Dokumentationen [hier](https://github.com/Stevertus/mcscript/blob/master/Core%20Modals.md) an.
638638

639639
Du hast Ideen, welche Modals unbedingt als Standart-Modal aufgegriffen werden müssen? Sende mir einfach die [Konfigurationsdatei](#24_Dev_mcscript_modals_54) zur Überprüfung.
640640
<a id="ide"></a>
641641
## IDEs und Syntax Highlighting
642642

643643

644644
* GitHubs Atom Editor: link here (credit: [MrYurihi](https://atom.io/users/MrYurihi))
645-
* Notepad++: [see code](https://github.com/Stevertus/mcscript/blob/master/Nodepad%2B%2B%20Highlighter.xml) | [download](http://www.mediafire.com/file/4534q4tual7zccm/Nodepad++%20Highlighter.xml)
645+
* Notepad++: [see code](https://github.com/Stevertus/mcscript/blob/master/Nodepad%2B%2B%20Highlighter.xml) | [download](http://download1496.mediafire.com/x2k7loq5imbg/4534q4tual7zccm/Nodepad+++Highlighter.xml)
646646

647647
Jetzt bleibt nichts mehr übrig als: **Happy Developing**
648648
--------------------------------------------------------

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Minecraft Script Documentation
44
==============================
5-
> Update 0.1.2: [All Changes](https://github.com/Stevertus/mcscript/releases)
5+
> Update 0.1.3: [All Changes](https://github.com/Stevertus/mcscript/releases)
66
77
Minecraft Script is a programming language for developers of mcfunctions, Minecraft maps and packages. The .mcscript files are therefore compiled and generated to the function format. This enables the developer extended possibilities, such as Modals, Loops, Varibles, Constants and Command-Wrapping.
88

@@ -619,7 +619,7 @@ There are optional and predefined arguments, too:
619619
<a id="systemModals"></a>
620620
### 3.11 System Modals
621621

622-
There are already some helpful predefined modals. Please read the specific documentation [here](#).
622+
There are already some helpful predefined modals. Please read the specific documentation [here](https://github.com/Stevertus/mcscript/blob/master/Core%20Modals.md).
623623

624624
You have ideas which modals should be a standart? Send me your [configuration file](#ownmodal) to check.
625625
<a id="ide"></a>
@@ -628,7 +628,7 @@ You have ideas which modals should be a standart? Send me your [configuration fi
628628
> Not available yet
629629
630630
* GitHubs Atom Editor: link here (credit: [MrYurihi](https://atom.io/users/MrYurihi))
631-
* Notepad++: [see code](https://github.com/Stevertus/mcscript/blob/master/Nodepad%2B%2B%20Highlighter.xml) | [download](http://www.mediafire.com/file/4534q4tual7zccm/Nodepad++%20Highlighter.xml)
631+
* Notepad++: [see code](https://github.com/Stevertus/mcscript/blob/master/Nodepad%2B%2B%20Highlighter.xml) | [download](http://download1496.mediafire.com/x2k7loq5imbg/4534q4tual7zccm/Nodepad+++Highlighter.xml)
632632

633633
Now there´s nothing left than: **Happy Developing**
634634
---------------------------------------------------

_changelog.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11

22
Minecraft Script Changes
33
==============================
4+
### v0.1.3
5+
* added: Minecraft Cam datapack modals
6+
* added: Core Modal documentation
7+
* changed: the load.mcscript will automaticly generate the mcscript/load file and execute it
8+
* changed: the corresponding file generator for load.mcscript
9+
* changed: . are now allowed in variable names
10+
* changed: the mcscript folder will be automaticly deleted! save important files!!
11+
* fixed: the forWeb.js file
412
### v0.1.2
513
* changed: fixed asat to "at @s"
614
* changed: raycasting is more accurate
@@ -9,6 +17,10 @@ Minecraft Script Changes
917
* added raycast entity option
1018
* added raycast target option
1119
* added Nodepad++ Highlighting
20+
## v0.1.1
21+
* fixed: forEach function was written uppercase, which is not allowed by Minecraft
22+
* fixed: raycast score didn´t reset and messed up
23+
* added: now cases can accept a direct value instead of "== [value]"
1224
## v0.1
1325
* added a changelog
1426
* added table of contents for documentation
@@ -25,7 +37,3 @@ Minecraft Script Changes
2537
* added a custom scripts folder for all files
2638
* added a switch functionality
2739
____
28-
**v0.1.1**
29-
* fixed: forEach function was written uppercase, which is not allowed by Minecraft
30-
* fixed: raycast score didn´t reset and messed up
31-
* added: now cases can accept a direct value instead of "== [value]"

documentation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<p><img src="https://i.imgur.com/YedWe7W.png" alt=""></p>
22
<h1 id="minecraft-script-dokumentation">Minecraft Script Dokumentation</h1>
33
<blockquote>
4-
<p>Update 0.1: <a href="https://github.com/Stevertus/mcscript/blob/master/_changelog.md">Alle Änderungen</a></p>
4+
<p>Update 0.1.3: <a href="https://github.com/Stevertus/mcscript/blob/master/_changelog.md">Alle Änderungen</a></p>
55
</blockquote>
66
<p>Minecraft Script ist eine Programmiersprache für Entwickler der mcfunctions, sowie für die Minecraft Map und Package Erschaffer. Die .mcscript Dateien werden dabei zu mcfunction compiled und generiert. Dies bietet dem Entwickler erweiterte Möglichkeiten, wie zum Beispiel Modals, Loops, Variablen, Konstanten und Command-Wrapping.</p>
77
<p>Wer das ausprobieren möchte oder Beispiele anschauen möchte, kann meinen playground <a href="http://www.stevertus.ga/tools/mcscript">stevertus.ga/tools/mcscript</a> besuchen und etwas herumspielen.</p>

documentation_en.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<h1><a id="Minecraft_Script_Documentation_2"></a>Minecraft Script Documentation</h1>
33
<blockquote>
4-
<p>Update 0.1: <a href="https://github.com/Stevertus/mcscript/releases">All Changes</a></p>
4+
<p>Update 0.1.3: <a href="https://github.com/Stevertus/mcscript/releases">All Changes</a></p>
55
</blockquote>
66
<p>Minecraft Script is a programming language for developers of mcfunctions, Minecraft maps and packages. The .mcscript files are therefore compiled and generated to the function format. This enables the developer extended possibilities, such as Modals, Loops, Varibles, Constants and Command-Wrapping.</p>
77
<p>Everyone who wants to try, can visit my playground <a href="http://www.stevertus.ga/tools/mcscript">stevertus.ga/tools/mcscript</a> and can play with its function.</p>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#######
2+
# Compiled from /examples/functions/do-while-Loops.mcscript
3+
# to examples/functions/mcscript/dowhile3.mcfunction
4+
#
5+
# Generated by Minecraft Script for 1.13
6+
######
7+
tellraw @a [{"text":"console => ","color":"aqua"},{"text":"commands","color":"white"}]
8+
execute if entity @s[tag=!mcscriptStop] if entity @s[tag=loop] run function examples:mcscript/dowhile3
9+
tag @s[tag=mcscriptStop] remove mcscriptStop
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#######
2+
# Compiled from /examples/functions/forEach.mcscript
3+
# to examples/functions/mcscript/foreach1.mcfunction
4+
#
5+
# Generated by Minecraft Script for 1.13
6+
######
7+
say hey
8+
scoreboard players add i i 1
9+
execute if entity @s[tag=!mcscriptStop] if score i i matches ..9 run function examples:mcscript/foreach1
10+
tag @s[tag=mcscriptStop] remove mcscriptStop
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#######
2+
# Compiled from /examples/functions/forEach.mcscript
3+
# to examples/functions/mcscript/foreach5.mcfunction
4+
#
5+
# Generated by Minecraft Script for 1.13
6+
######
7+
say hey
8+
scoreboard players add i i 1
9+
execute if entity @s[tag=!mcscriptStop] if score i i matches ..9 run function examples:mcscript/foreach5
10+
tag @s[tag=mcscriptStop] remove mcscriptStop

0 commit comments

Comments
 (0)