Search in sources :

Example 1 with PacketPlayOutAbilities

use of net.minecraft.server.v1_13_R2.PacketPlayOutAbilities in project MechanicsMain by WeaponMechanics.

the class Scope_1_10_R1 method updateAbilities.

@Override
public void updateAbilities(Player player) {
    EntityPlayer entityPlayer = ((CraftPlayer) player).getHandle();
    entityPlayer.playerConnection.sendPacket(new PacketPlayOutAbilities(entityPlayer.abilities));
}
Also used : EntityPlayer(net.minecraft.server.v1_10_R1.EntityPlayer) CraftPlayer(org.bukkit.craftbukkit.v1_10_R1.entity.CraftPlayer) PacketPlayOutAbilities(net.minecraft.server.v1_10_R1.PacketPlayOutAbilities)

Example 2 with PacketPlayOutAbilities

use of net.minecraft.server.v1_13_R2.PacketPlayOutAbilities in project MechanicsMain by WeaponMechanics.

the class Scope_1_11_R1 method updateAbilities.

@Override
public void updateAbilities(Player player) {
    EntityPlayer entityPlayer = ((CraftPlayer) player).getHandle();
    entityPlayer.playerConnection.sendPacket(new PacketPlayOutAbilities(entityPlayer.abilities));
}
Also used : EntityPlayer(net.minecraft.server.v1_11_R1.EntityPlayer) CraftPlayer(org.bukkit.craftbukkit.v1_11_R1.entity.CraftPlayer) PacketPlayOutAbilities(net.minecraft.server.v1_11_R1.PacketPlayOutAbilities)

Example 3 with PacketPlayOutAbilities

use of net.minecraft.server.v1_13_R2.PacketPlayOutAbilities in project MechanicsMain by WeaponMechanics.

the class Scope_1_12_R1 method updateAbilities.

@Override
public void updateAbilities(Player player) {
    EntityPlayer entityPlayer = ((CraftPlayer) player).getHandle();
    entityPlayer.playerConnection.sendPacket(new PacketPlayOutAbilities(entityPlayer.abilities));
}
Also used : EntityPlayer(net.minecraft.server.v1_12_R1.EntityPlayer) CraftPlayer(org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer) PacketPlayOutAbilities(net.minecraft.server.v1_12_R1.PacketPlayOutAbilities)

Example 4 with PacketPlayOutAbilities

use of net.minecraft.server.v1_13_R2.PacketPlayOutAbilities in project MechanicsMain by WeaponMechanics.

the class Scope_1_16_R3 method updateAbilities.

@Override
public void updateAbilities(Player player) {
    EntityPlayer entityPlayer = ((CraftPlayer) player).getHandle();
    entityPlayer.playerConnection.sendPacket(new PacketPlayOutAbilities(entityPlayer.abilities));
}
Also used : EntityPlayer(net.minecraft.server.v1_16_R3.EntityPlayer) CraftPlayer(org.bukkit.craftbukkit.v1_16_R3.entity.CraftPlayer) PacketPlayOutAbilities(net.minecraft.server.v1_16_R3.PacketPlayOutAbilities)

Example 5 with PacketPlayOutAbilities

use of net.minecraft.server.v1_13_R2.PacketPlayOutAbilities in project MechanicsMain by WeaponMechanics.

the class Scope_1_13_R2 method updateAbilities.

@Override
public void updateAbilities(Player player) {
    EntityPlayer entityPlayer = ((CraftPlayer) player).getHandle();
    entityPlayer.playerConnection.sendPacket(new PacketPlayOutAbilities(entityPlayer.abilities));
}
Also used : EntityPlayer(net.minecraft.server.v1_13_R2.EntityPlayer) CraftPlayer(org.bukkit.craftbukkit.v1_13_R2.entity.CraftPlayer) PacketPlayOutAbilities(net.minecraft.server.v1_13_R2.PacketPlayOutAbilities)

Aggregations

EntityPlayer (net.minecraft.server.v1_10_R1.EntityPlayer)1 PacketPlayOutAbilities (net.minecraft.server.v1_10_R1.PacketPlayOutAbilities)1 EntityPlayer (net.minecraft.server.v1_11_R1.EntityPlayer)1 PacketPlayOutAbilities (net.minecraft.server.v1_11_R1.PacketPlayOutAbilities)1 EntityPlayer (net.minecraft.server.v1_12_R1.EntityPlayer)1 PacketPlayOutAbilities (net.minecraft.server.v1_12_R1.PacketPlayOutAbilities)1 EntityPlayer (net.minecraft.server.v1_13_R2.EntityPlayer)1 PacketPlayOutAbilities (net.minecraft.server.v1_13_R2.PacketPlayOutAbilities)1 EntityPlayer (net.minecraft.server.v1_14_R1.EntityPlayer)1 PacketPlayOutAbilities (net.minecraft.server.v1_14_R1.PacketPlayOutAbilities)1 EntityPlayer (net.minecraft.server.v1_15_R1.EntityPlayer)1 PacketPlayOutAbilities (net.minecraft.server.v1_15_R1.PacketPlayOutAbilities)1 EntityPlayer (net.minecraft.server.v1_16_R3.EntityPlayer)1 PacketPlayOutAbilities (net.minecraft.server.v1_16_R3.PacketPlayOutAbilities)1 EntityPlayer (net.minecraft.server.v1_9_R2.EntityPlayer)1 PacketPlayOutAbilities (net.minecraft.server.v1_9_R2.PacketPlayOutAbilities)1 CraftPlayer (org.bukkit.craftbukkit.v1_10_R1.entity.CraftPlayer)1 CraftPlayer (org.bukkit.craftbukkit.v1_11_R1.entity.CraftPlayer)1 CraftPlayer (org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer)1 CraftPlayer (org.bukkit.craftbukkit.v1_13_R2.entity.CraftPlayer)1