Java Code Examples for net.minecraftforge.common.config.Property#Type

The following examples show how to use net.minecraftforge.common.config.Property#Type . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SettingDouble.java    From WearableBackpacks with MIT License 4 votes vote down vote up
@Override
protected Property.Type getPropertyType() { return Property.Type.DOUBLE; }
 
Example 2
Source File: SettingInteger.java    From WearableBackpacks with MIT License 4 votes vote down vote up
@Override
protected Property.Type getPropertyType() { return Property.Type.INTEGER; }
 
Example 3
Source File: SettingSingleValue.java    From WearableBackpacks with MIT License 4 votes vote down vote up
/** Returns the Forge Property.Type used for this setting. Defaults to STRING. */
protected Property.Type getPropertyType() { return Property.Type.STRING; }
 
Example 4
Source File: SettingBoolean.java    From WearableBackpacks with MIT License 4 votes vote down vote up
@Override
protected Property.Type getPropertyType() { return Property.Type.BOOLEAN; }