Files
CraftTweaker/buildSrc/src/main/java/stanhebben/zenscript/annotations/Optional.java
T
Stan Hebben 489347558f - Continued writing on the IC2 integration code
- Implemented advanced recipes on <*> values
- Removed unused ZenScript classes
- Continued work on any values
- Moved documentation generation to buildSrc
- Started work on a jar merging task
- Added toString implementation to ingredients
- Added stack count to ICraftingInventory
- Fixed imports
- Added logCommand to the logger to log command output
- Implemented memory script provider to load scripts received from the server
- Added exception handling for script execution
- First attempt at creating a transformer to generate a list of ZenClass and ZenExpansion classes
- Added console commands (reload, names, liquids, inventory, hand, oredict)
- Added general logic
- Fixed item ingredients for wildcard sizes
- Implemented selective recipe removal
- Fixed null recipe results
- Started implementation of player-specific recipes
- Removed redundant IC2 mod copy
- Other minor fixes
2014-06-20 14:13:55 +02:00

20 lines
571 B
Java

package stanhebben.zenscript.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Denotes that this parameter is optional. Inside the script, this parameter
* may be omitted, in which case it is automatically filled with the default
* value of that parameter type (false, null or 0). Invalid for @NonNull type.
*
* @author Stanneke
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface Optional {
}