Skip to content

Buff Carpet Spell

MomoPewpew edited this page Jul 28, 2023 · 7 revisions

Source Code

spell-class: ".buff.CarpetSpell"

Targeting:

This spell can be cast by/on all living entities.

Description:

Summon a carpet at the entity's feet. It will follow the entity as it moves. If it jumps, it will move up. If the entity is a player, they can sneak to make it move downwards.

Buff spell Uses increment whenever the carpet moves.

Configuration:

Option Description Default Value
platform-block What material the platform is made of. glass
size 2

Example:

carpet:
    spell-class: ".buff.CarpetSpell"
    size: 2
    platform-block: glass
    duration: 10
Clone this wiki locally