Skip to content

Instantly share code, notes, and snippets.

View keksgauner's full-sized avatar
🔍
Looking for a '}' on line 42

keksgauner

🔍
Looking for a '}' on line 42
  • Hof
  • 23:04 (UTC +02:00)
View GitHub Profile
@keksgauner
keksgauner / CustomTotemRessurectEffect.java
Created December 21, 2023 03:26
Display totem effects with custom model data in Minecraft with ProtocolLib
import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.ProtocolLibrary;
import com.comphenix.protocol.ProtocolManager;
import com.comphenix.protocol.events.PacketContainer;
import org.bukkit.EntityEffect;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;