forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Other Data Types
JasperLorelai edited this page Jul 26, 2023
·
4 revisions
Block data is a pair of Material and its possible block states. The material part is case insensitive, meaning it could be lowercase. Format:
material[state_1=value_1, state_2=value_2, ...]
# without state
block: "stone"
# with state
block: "quartz_stairs[waterlogged=true]"
- A list of strings representing attribute modifications.
- Format:
<attribute> <value> [operation]
. - Attributes can be any case and are as listed here.
- Operations can also be any case, are as listed here, and are by default
add_number
. - When defined on Magic Items, you can also add a
[slot]
after[operation]
, which by default applies the attribute modifier to all slot types.
attributes:
- generic_movement_speed 1 add_number
- Costs represent a string list of reagents of the spell.
- Follows format:
<type> <data>
-
type
can be:health
,mana
,hunger
,experience
,levels
,variable
,durability
, ormoney
(if Vault plugin is present). -
data
for all types should be the quantity required (double value, 1 by default), except forvariable
where it should be the variable name before quantity. (e.g.variable varName 10
) - You can also require items as costs. Format for that is
<item> <quantity>
, whereitem
should follow Cast Items format, and quantity is 1 by default.
One of:
arrow
dragonfireball
egg
enderpearl
fireball
fishhook
largefireball
lingeringpotion
llamaspit
shulkerbullet
smallfireball
snowball
spectralarrow
splashpotion
thrownexpbottle
thrownpotion
tippedarrow
trident
witherskull
!!!This is not the official MagicSpells wiki!!!
This wiki was cloned from the official one to document the changes to the plugin that were made specifically for Dwarves vs Zombies 2023 and Lords of Minecraft 2