Class PacketInjector
java.lang.Object
rocks.gravili.notquests.paper.managers.packets.ownpacketstuff.modern.PacketInjector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlayer
(org.bukkit.entity.Player player) net.minecraft.network.Connection
getConnection
(net.minecraft.server.network.ServerGamePacketListenerImpl serverGamePacketListener) net.minecraft.server.level.ServerPlayer
getServerPlayer
(org.bukkit.entity.Player player) void
final boolean
void
removePlayer
(org.bukkit.entity.Player player) void
setPacketStuffEnabled
(boolean packetStuffEnabled) void
spawnBeaconBeam
(org.bukkit.entity.Player player, org.bukkit.Location location)
-
Constructor Details
-
PacketInjector
-
-
Method Details
-
isPacketStuffEnabled
public final boolean isPacketStuffEnabled() -
setPacketStuffEnabled
public void setPacketStuffEnabled(boolean packetStuffEnabled) -
initializeNMSStuff
public void initializeNMSStuff() -
addPlayer
public void addPlayer(org.bukkit.entity.Player player) -
removePlayer
public void removePlayer(org.bukkit.entity.Player player) -
getConnection
public net.minecraft.network.Connection getConnection(net.minecraft.server.network.ServerGamePacketListenerImpl serverGamePacketListener) -
getServerPlayer
public net.minecraft.server.level.ServerPlayer getServerPlayer(org.bukkit.entity.Player player) -
spawnBeaconBeam
public void spawnBeaconBeam(org.bukkit.entity.Player player, org.bukkit.Location location)
-