Skip to content

Instantly share code, notes, and snippets.

Avatar

Timothy Pannebaker TJPlaysNow

View GitHub Profile
@aadnk
aadnk / EntityHider.java
Last active May 4, 2022
Hide or show entities
View EntityHider.java
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;