Java 类net.minecraft.network.play.client.CPacketPlayerAbilities 实例源码

项目:Zombe-Modpack    文件:NetHandlerPlayServer.java   
/**
 * Processes a player starting/stopping flying
 */
public void processPlayerAbilities(CPacketPlayerAbilities packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.playerEntity.getServerWorld());
    this.playerEntity.capabilities.isFlying = packetIn.isFlying() && this.playerEntity.capabilities.allowFlying;
}
项目:Zombe-Modpack    文件:EntityPlayerSP.java   
/**
 * Sends the player's abilities to the server (if there is one).
 */
public void sendPlayerAbilities()
{
    this.connection.sendPacket(new CPacketPlayerAbilities(this.capabilities));
}
项目:Backmemed    文件:NetHandlerPlayServer.java   
/**
 * Processes a player starting/stopping flying
 */
public void processPlayerAbilities(CPacketPlayerAbilities packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.playerEntity.getServerWorld());
    this.playerEntity.capabilities.isFlying = packetIn.isFlying() && this.playerEntity.capabilities.allowFlying;
}
项目:Backmemed    文件:EntityPlayerSP.java   
/**
 * Sends the player's abilities to the server (if there is one).
 */
public void sendPlayerAbilities()
{
    this.connection.sendPacket(new CPacketPlayerAbilities(this.capabilities));
}
项目:CustomWorldGen    文件:NetHandlerPlayServer.java   
/**
 * Processes a player starting/stopping flying
 */
public void processPlayerAbilities(CPacketPlayerAbilities packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.playerEntity.getServerWorld());
    this.playerEntity.capabilities.isFlying = packetIn.isFlying() && this.playerEntity.capabilities.allowFlying;
}
项目:CustomWorldGen    文件:EntityPlayerSP.java   
/**
 * Sends the player's abilities to the server (if there is one).
 */
public void sendPlayerAbilities()
{
    this.connection.sendPacket(new CPacketPlayerAbilities(this.capabilities));
}
项目:CrystalMod    文件:FakeNetHandlerPlayServer.java   
@Override
public void processPlayerAbilities(CPacketPlayerAbilities p_147348_1_) {
}
项目:ExpandedRailsMod    文件:NetHandlerPlayServer.java   
/**
 * Processes a player starting/stopping flying
 */
public void processPlayerAbilities(CPacketPlayerAbilities packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.playerEntity.getServerWorld());
    this.playerEntity.capabilities.isFlying = packetIn.isFlying() && this.playerEntity.capabilities.allowFlying;
}
项目:ExpandedRailsMod    文件:EntityPlayerSP.java   
/**
 * Sends the player's abilities to the server (if there is one).
 */
public void sendPlayerAbilities()
{
    this.connection.sendPacket(new CPacketPlayerAbilities(this.capabilities));
}
项目:EnderIO    文件:FakeNetHandlerPlayServer.java   
@Override
public void processPlayerAbilities(@Nonnull CPacketPlayerAbilities p_147348_1_) {
}
项目:DankNull    文件:NetServerHandlerFake.java   
@Override
public void processPlayerAbilities(CPacketPlayerAbilities packetIn) {

}
项目:Backmemed    文件:INetHandlerPlayServer.java   
/**
 * Processes a player starting/stopping flying
 */
void processPlayerAbilities(CPacketPlayerAbilities packetIn);
项目:CustomWorldGen    文件:INetHandlerPlayServer.java   
/**
 * Processes a player starting/stopping flying
 */
void processPlayerAbilities(CPacketPlayerAbilities packetIn);