use of net.minecraft.server.v1_9_R2.PacketPlayOutGameStateChange in project Denizen-For-Bukkit by DenizenScript.
the class PlayerHelper_v1_11_R1 method showEndCredits.
@Override
public void showEndCredits(Player player) {
((CraftPlayer) player).getHandle().viewingCredits = true;
((CraftPlayer) player).getHandle().playerConnection.sendPacket(new PacketPlayOutGameStateChange(4, 0.0F));
}
use of net.minecraft.server.v1_9_R2.PacketPlayOutGameStateChange in project Denizen-For-Bukkit by DenizenScript.
the class PlayerHelper_v1_10_R1 method showEndCredits.
@Override
public void showEndCredits(Player player) {
((CraftPlayer) player).getHandle().viewingCredits = true;
((CraftPlayer) player).getHandle().playerConnection.sendPacket(new PacketPlayOutGameStateChange(4, 0.0F));
}
use of net.minecraft.server.v1_9_R2.PacketPlayOutGameStateChange in project Denizen-For-Bukkit by DenizenScript.
the class PlayerHelper_v1_8_R3 method showEndCredits.
@Override
public void showEndCredits(Player player) {
((CraftPlayer) player).getHandle().viewingCredits = true;
((CraftPlayer) player).getHandle().playerConnection.sendPacket(new PacketPlayOutGameStateChange(4, 0.0F));
}
use of net.minecraft.server.v1_9_R2.PacketPlayOutGameStateChange in project Denizen-For-Bukkit by DenizenScript.
the class PlayerHelper_v1_9_R2 method showEndCredits.
@Override
public void showEndCredits(Player player) {
((CraftPlayer) player).getHandle().viewingCredits = true;
((CraftPlayer) player).getHandle().playerConnection.sendPacket(new PacketPlayOutGameStateChange(4, 0.0F));
}
Aggregations