Resource icon

Premium Meteor Stick 1.0

Right-Click to cast a falling meteor

Damage: 30
Radius: 3 blocks
Range: 15 blocks from sight (this is made to not spawn meteors beyond walls.)

For the version that summons meteor from above the player
YAML:
name: '&cMeteor Stick'
lore:
- '&7Right-Click to summon a meteor'
- '&7that deals &c30 &7damage in a'
- '&a3 &7block radius.'
- '&7Range is &a15 &7blocks from your cursor.'
material: STICK
glow: true
disableStack: false
keepItemOnDeath: false
canBeUsedOnlyByTheOwner: false
storeItemInfo: false
unbreakable: false
usage: 0
usageLimit: -1
cancelEventIfNoPerm: false
cancelEventIfNotOwner: false
disabledWorlds: []
recognitions: []
config_5: true
config_update: true
dropOptions:
  glowDrop: false
  glowDropColor: WHITE
  displayNameDrop: false
hiders:
  hideEnchantments: false
  hideUnbreakable: false
  hideAttributes: false
  hidePotionEffects: false
  hideUsage: false
  hideDye: false
enchantments: {}
giveFirstJoin:
  giveFirstJoin: false
  giveFirstJoinAmount: 1
  giveFirstJoinSlot: 0
restrictions: {}
variables:
  var0:
    variableName: x
    type: STRING
    default: ''
activators:
  activator0:
    name: '&eActivator'
    option: PLAYER_RIGHT_CLICK
    typeTarget: NO_TYPE_TARGET
    usageModification: 0
    cancelEvent: false
    noActivatorRunIfTheEventIsCancelled: false
    silenceOutput: false
    autoUpdateItem: false
    updateName: true
    updateLore: true
    updateDurability: false
    updateAttributes: false
    updateEnchants: false
    updateCustomModelData: false
    cooldownOptions:
      cooldown: 0
      isCooldownInTicks: false
      cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
      displayCooldownMessage: true
      cancelEventIfInCooldown: false
    globalCooldownOptions:
      cooldown: 0
      isCooldownInTicks: false
      cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
      displayCooldownMessage: true
      cancelEventIfInCooldown: false
    otherEICooldowns: {}
    requiredItems: {}
    requiredExecutableItems: {}
    detailedSlots:
    - -1
    commands: []
    playerConditions: {}
    worldConditions: {}
    itemConditions: {}
    customConditions: {}
    placeholdersConditions: {}
    variablesModification:
      varUpdt0:
        variableName: x
        type: SET
        modification: '%rand:1|1000000%'
  activator1:
    name: '&eActivator'
    option: PLAYER_RIGHT_CLICK
    typeTarget: NO_TYPE_TARGET
    usageModification: 0
    cancelEvent: false
    noActivatorRunIfTheEventIsCancelled: false
    silenceOutput: false
    autoUpdateItem: false
    updateName: true
    updateLore: true
    updateDurability: false
    updateAttributes: false
    updateEnchants: false
    updateCustomModelData: false
    cooldownOptions:
      cooldown: 0
      isCooldownInTicks: false
      cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
      displayCooldownMessage: true
      cancelEventIfInCooldown: false
    globalCooldownOptions:
      cooldown: 0
      isCooldownInTicks: false
      cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
      displayCooldownMessage: true
      cancelEventIfInCooldown: false
    otherEICooldowns: {}
    requiredItems: {}
    requiredExecutableItems: {}
    detailedSlots:
    - -1
    commands:
    - LOCATED_LAUNCH ARROW 0 0 10 0
    playerConditions: {}
    worldConditions: {}
    itemConditions: {}
    customConditions: {}
    placeholdersConditions: {}
    variablesModification: {}
  activator2:
    name: '&eActivator'
    option: PLAYER_CUSTOM_LAUNCH
    usageModification: 0
    cancelEvent: false
    noActivatorRunIfTheEventIsCancelled: false
    silenceOutput: false
    autoUpdateItem: false
    updateName: true
    updateLore: true
    updateDurability: false
    updateAttributes: false
    updateEnchants: false
    updateCustomModelData: false
    cooldownOptions:
      cooldown: 0
      isCooldownInTicks: false
      cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
      displayCooldownMessage: true
      cancelEventIfInCooldown: false
    globalCooldownOptions:
      cooldown: 0
      isCooldownInTicks: false
      cooldownMsg: '&cYou are in cooldown ! &7(&e%time_H%&6H &e%time_M%&6M &e%time_S%&6S&7)'
      displayCooldownMessage: true
      cancelEventIfInCooldown: false
    otherEICooldowns: {}
    requiredItems: {}
    requiredExecutableItems: {}
    detailedSlots:
    - -1
    entityCommands:
    - execute at %projectile_uuid% run data merge entity %projectile_uuid% {NoGravity:1b,pickup:0b,player:0b}
    - DELAYTICK 1
    - execute at %projectile_uuid% as %projectile_uuid% run tp %projectile_uuid% %x%
      %y%+1.6 %z%
    - execute at %player% run summon armor_stand ~ ~ ~ {NoGravity:1b,Silent:1b,Invulnerable:1b,Marker:1b,Invisible:1b,Tags:["%projectile_uuid%"]}
    - execute as @e[tag=%projectile_uuid%] at %player% run tp @e[tag=%projectile_uuid%]
      ~ ~ ~ ~ ~
    - DELAYTICK 1
    - 'LOOP START: 30'
    - execute at @e[tag=%projectile_uuid%] if block ^ ^1 ^0.5 air run execute at @e[tag=%projectile_uuid%]
      as @e[tag=%projectile_uuid%] run tp @e[tag=%projectile_uuid%] ^ ^ ^0.5
    - LOOP END
    - execute at @e[tag=%projectile_uuid%] as %projectile_uuid% run tp %projectile_uuid%
      ~ ~ ~
    - execute at %player% as @e[tag=%projectile_uuid%] run tp @e[tag=%projectile_uuid%]
      ~ ~10 ~
    - 'LOOP START: 10'
    - execute at @e[tag=%projectile_uuid%] facing entity %entity_uuid% feet run tp
      @e[tag=%projectile_uuid%] ^ ^ ^2
    - execute at @e[tag=%projectile_uuid%] run particle explosion ~ ~ ~
    - DELAYTICK 2
    - LOOP END
    - execute at %projectile_uuid% run particle explosion_emitter ~ ~ ~ 0 0 0 0 1
    - AROUND 3 DAMAGE 30
    - MOB_AROUND 3 DAMAGE 30
    - execute at %projectile_uuid% run playsound entity.generic.explode ambient @a[distance=..15]
    - DELAYTICK 1
    - minecraft:kill %projectile_uuid%
    - minecraft:kill @e[tag=%projectile_uuid%]
    playerConditions: {}
    worldConditions: {}
    itemConditions: {}
    customConditions: {}
    placeholdersConditions: {}
    detailedEntities: []
    entityConditions: {}
    variablesModification: {}
attributes: {}
config_5_98: true
Top