MCPcopy Create free account
hub / github.com/akeranen/the-one / getCondition

Method getCondition

core/Settings.java:738–740  ·  view source on GitHub ↗

Returns an ArithmeticCondition setting. See ArithmeticCondition @param name Name of the setting to get @return ArithmeticCondition from the setting @throws SettingsError if the value wasn't a valid arithmetic expression

(String name)

Source from the content-addressed store, hash-verified

736 * @throws SettingsError if the value wasn't a valid arithmetic expression
737 */
738 public ArithmeticCondition getCondition(String name) {
739 return new ArithmeticCondition(getSetting(name));
740 }
741
742 /**
743 * Creates (and dynamically loads the class of) an object that

Callers 2

addConditionsMethod · 0.80

Calls 1

getSettingMethod · 0.95

Tested by

no test coverage detected