Skip to content

Instantly share code, notes, and snippets.

@d3lt3x
d3lt3x / PlayerMoveListener.java
Created April 20, 2023 19:59
Creates RBG glow below a player in minecraft using the Paper API.
package me.delta.mc.wand.listeners;
import org.bukkit.Bukkit;
import org.bukkit.Color;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.entity.BlockDisplay;
import org.bukkit.entity.Display;
import org.bukkit.entity.Player;
@d3lt3x
d3lt3x / BlockSelection.java
Last active April 20, 2023 20:20
Marks a selected area in minecraft using the Paper API
package me.delta.mc.wand.main;
import org.bukkit.Color;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.entity.BlockDisplay;
import org.bukkit.entity.Display;
import org.bukkit.util.BlockVector;