Class SpellProperties
java.lang.Object
com.binaris.wizardry.api.content.spell.properties.SpellProperties
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SpellProperties.Builderbuilder()static SpellPropertiesempty()static SpellPropertiesfromJson(com.google.gson.JsonObject jsonObject) static SpellPropertiesfromNbt(net.minecraft.nbt.CompoundTag tag) <T> Tget(SpellProperty<T> property) intintintgetCost()List<SpellProperty<?>>getTier()getType()booleanisBaseProperty(@NotNull SpellProperty<?> prop) booleanisEnabledInContext(SpellContext context) static voidcom.google.gson.JsonObjecttoJson()net.minecraft.nbt.CompoundTagtoNbt()
-
Method Details
-
empty
-
builder
-
fromNbt
-
fromJson
-
onPlayerJoin
-
get
-
getProperties
-
getCooldown
public int getCooldown() -
getCost
public int getCost() -
getChargeup
public int getChargeup() -
getType
-
getTier
-
getElement
-
getAction
-
isEnabledInContext
-
toJson
public com.google.gson.JsonObject toJson() -
toNbt
public net.minecraft.nbt.CompoundTag toNbt() -
isBaseProperty
-