Skip to content

Instantly share code, notes, and snippets.

View TJPlaysNow's full-sized avatar

Timothy Pannebaker TJPlaysNow

View GitHub Profile
@aadnk
aadnk / EntityHider.java
Last active October 23, 2024 18:12
Hide or show entities
package com.comphenix.example;
import static com.comphenix.protocol.PacketType.Play.Server.*;
import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
import java.util.Map;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;