Files
CraftTweaker/src/main/java/minetweaker/expand/ExpandShort.java
T

25 lines
579 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.DataShort;
import minetweaker.api.data.IData;
import stanhebben.zenscript.annotations.ZenCaster;
import stanhebben.zenscript.annotations.ZenExpansion;
/**
*
* @author Stanneke
*/
@ZenExpansion("short")
public class ExpandShort {
@ZenCaster
public static IData asNBT(short value) {
return new DataShort(value);
}
}