HomeJavaDatapacksType Control
Type Control

Type Control

Get more control over your data in minecraft!

Note about how types are named in this

str A standard string char A standard string, with length 1 func A standard string, represents a function object A map like / JSON object array An array ANY Can be anything null nothing bool either an int of value 1 or 0, or true or false (depends on context)

Functions

Strings

Loop

Loops through each character in a string Returns null
Parameters

Split

Splits a string into a list by a specified character
Returns array | outputs to a storage
Parameters

Concatenate

concatenates 2 strings Returns str | outputs to a storage
Parameters

Compare

Compares 2 strings Returns bool | direct return
Parameters

Arrays

Loop

Loops through each element in an array Returns null
Parameters

Concatenate

Concatenates an array into a string Returns str | outputs to a storage
Parameters

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more