mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-19 11:49:05 +00:00
- 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
This commit is contained in:
1 parent
1789aa74b5
commit
2de467d7d8
93 files changed
+321
-262
No files matched your search
@@ -6,8 +6,8 @@
|
||||
|
||||
package minetweaker.expand;
|
||||
|
||||
import minetweaker.minecraft.data.DataString;
|
||||
import minetweaker.minecraft.data.IData;
|
||||
import minetweaker.api.data.DataString;
|
||||
import minetweaker.api.data.IData;
|
||||
import stanhebben.zenscript.annotations.ZenCaster;
|
||||
import stanhebben.zenscript.annotations.ZenExpansion;
|
||||
|
||||
@@ -18,7 +18,7 @@ import stanhebben.zenscript.annotations.ZenExpansion;
|
||||
@ZenExpansion("string")
|
||||
public class ExpandString {
|
||||
@ZenCaster
|
||||
public IData asData(String value) {
|
||||
public static IData asData(String value) {
|
||||
return new DataString(value);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user