Class ConjureItemSpell
java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.abstr.ConjureItemSpell
- Direct Known Subclasses:
ConjureArmor,ConjurePickaxe,ConjureSword,Flamecatcher,FlamingAxe,FrostAxe
-
Field Summary
FieldsFields inherited from class com.binaris.wizardry.api.content.spell.Spell
pitch, pitchVariation, volume -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected net.minecraft.world.item.ItemStackaddItemExtras(PlayerCastContext ctx, net.minecraft.world.item.ItemStack stack) booleancast(PlayerCastContext ctx) protected booleanprotected intstatic booleanisSummonableItem(net.minecraft.world.item.Item item) static booleanisSummonableItem(net.minecraft.world.item.ItemStack stack) static booleanisSummoned(net.minecraft.world.item.ItemStack stack) protected @NotNull SpellPropertiesstatic voidregisterSupportedItem(net.minecraft.world.item.Item item) protected voidMethods inherited from class com.binaris.wizardry.api.content.spell.Spell
assignProperties, canCastByEntity, canCastByLocation, cast, cast, endCast, equals, getAction, getChargeUp, getCooldown, getCost, getDesc, getDescriptionFormatted, getDescriptionId, getElement, getIcon, getLocation, getLoopSounds, getOrCreateDescriptionId, getOrCreateLocation, getPitch, getPitchVariation, getProperties, getTier, getType, getVolume, isEnabled, isInstantCast, onCharge, playSound, playSound, playSound, playSoundLoop, playSoundLoop, property, requiresPacket, soundValues, toString
-
Field Details
-
SUPPORTED_ITEMS
-
-
Constructor Details
-
ConjureItemSpell
public ConjureItemSpell(net.minecraft.world.item.Item item)
-
-
Method Details
-
cast
-
conjureItem
-
isSummoned
public static boolean isSummoned(net.minecraft.world.item.ItemStack stack) -
isSummonableItem
public static boolean isSummonableItem(net.minecraft.world.item.Item item) -
isSummonableItem
public static boolean isSummonableItem(net.minecraft.world.item.ItemStack stack) -
registerSupportedItem
public static void registerSupportedItem(net.minecraft.world.item.Item item) -
spawnParticles
-
addItemExtras
protected net.minecraft.world.item.ItemStack addItemExtras(PlayerCastContext ctx, net.minecraft.world.item.ItemStack stack) -
getPotencyLevel
-
properties
- Specified by:
propertiesin classSpell
-