Files
CraftTweaker/MineTweaker3-API/src/main/java/minetweaker/expand/ExpandString.java
T
Stan Hebben 2de467d7d8 - Refactored code into different packages
- Fixed some non-static expansion methods
- Fixed scripts not reloading properly
- Implemented mod support build system
- Fixed recipe removal breaking on recipes without predefined output
- Fixed NPE on parsing a bracket expression that doesn't exist - now prints an appropriate error
2014-06-21 18:51:11 +02:00

25 lines
572 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.DataString;
import minetweaker.api.data.IData;
import stanhebben.zenscript.annotations.ZenCaster;
import stanhebben.zenscript.annotations.ZenExpansion;
/**
*
* @author Stanneke
*/
@ZenExpansion("string")
public class ExpandString {
@ZenCaster
public static IData asData(String value) {
return new DataString(value);
}
}