Files
CraftTweaker/src/main/java/minetweaker/expand/ExpandBool.java
T
Glease 38c46d61d9 migrate to new buildscript
Class Registries are merged together into one. All subprojects are also merged into one. It's probably possible to split stuff into multiple source sets and not merging the registries, but I'm just too lazy for that.
2022-03-05 03:02:05 +08:00

25 lines
565 B
Java

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package minetweaker.expand;
import minetweaker.api.data.DataBool;
import minetweaker.api.data.IData;
import stanhebben.zenscript.annotations.ZenCaster;
import stanhebben.zenscript.annotations.ZenExpansion;
/**
*
* @author Stanneke
*/
@ZenExpansion("bool")
public class ExpandBool {
@ZenCaster
public static IData asData(boolean value) {
return new DataBool(value);
}
}