Class SpellProperty<T>
java.lang.Object
com.binaris.wizardry.api.content.spell.properties.SpellProperty<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SpellProperty<Boolean>static SpellProperty<Boolean>booleanProperty(String id, boolean value) static SpellProperty<Byte>byteProperty(String id) static SpellProperty<Byte>byteProperty(String id, byte value) static SpellProperty<Map<String,Boolean>> contextMapProperty(String id, Map<String, Boolean> value) copyOf()protected static <T> SpellProperty<T>createProperty(String identifier, T defaultValue, com.mojang.serialization.Codec<T> codec) static SpellProperty<Double>doubleProperty(String id) static SpellProperty<Double>doubleProperty(String id, double value) booleanstatic SpellProperty<Float>floatProperty(String id) static SpellProperty<Float>floatProperty(String id, float value) static @Nullable SpellProperty<?>get()static SpellProperty<Integer>intProperty(String id) static SpellProperty<Integer>intProperty(String id, int value) static SpellProperty<Long>longProperty(String id) static SpellProperty<Long>longProperty(String id, long value) voidstatic SpellProperty<Short>shortProperty(String id) static SpellProperty<Short>shortProperty(String id, short value) static SpellProperty<String>stringProperty(String id) static SpellProperty<String>stringProperty(String id, String value)
-
Field Details
-
identifier
-
value
-
defaultValue
-
codec
-
-
Method Details
-
byteProperty
-
shortProperty
-
intProperty
-
longProperty
-
floatProperty
-
doubleProperty
-
booleanProperty
-
stringProperty
-
byteProperty
-
shortProperty
-
intProperty
-
longProperty
-
floatProperty
-
doubleProperty
-
booleanProperty
-
stringProperty
-
contextMapProperty
-
createProperty
protected static <T> SpellProperty<T> createProperty(String identifier, T defaultValue, com.mojang.serialization.Codec<T> codec) -
fromID
-
get
-
getIdentifier
-
set
-
equals
-
getDefaultValue
-
copyOf
-