Home›Java›Mods›[Addon] TurtleIf
[Addon] TurtleIf
TurtleIf
​
[​IMG]
Add conditional statements to turtleScripts.

How to use it:
if <comparation> <command>;

How works the comparations:
<object> <operand> <object>

Avaiable operands:
== Is the same
!= Is different
< Is smaller than...
> Is bigger than...
<= Is smaller or equal than...
>=Is bigger or equal than...

Example code to test it:
Code (Text):
if %block down type% == GRASS print I have a grass block below.;
if 1 < 2 print The 1 is smaller than 2.;
if %block down type% == AIR print I don't have a block below.;

[​IMG]

[​IMG]

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

[Addon] TurtleIf is a free Minecraft Java mod. Downloaded 613 times (via Spigot). Download it and open it directly in the game.

Explore more