Java 类net.minecraft.network.packet.Packet61DoorChange 实例源码

项目:RuneCraftery    文件:NetClientHandler.java   
public void func_72462_a(Packet61DoorChange p_72462_1_) {
   if(p_72462_1_.func_82560_d()) {
      this.field_72563_h.field_71441_e.func_82739_e(p_72462_1_.field_73567_a, p_72462_1_.field_73566_c, p_72462_1_.field_73563_d, p_72462_1_.field_73564_e, p_72462_1_.field_73565_b);
   } else {
      this.field_72563_h.field_71441_e.func_72926_e(p_72462_1_.field_73567_a, p_72462_1_.field_73566_c, p_72462_1_.field_73563_d, p_72462_1_.field_73564_e, p_72462_1_.field_73565_b);
   }

}
项目:RuneCraftery    文件:NetClientHandler.java   
public void handleDoorChange(Packet61DoorChange par1Packet61DoorChange)
{
    if (par1Packet61DoorChange.getRelativeVolumeDisabled())
    {
        this.mc.theWorld.func_82739_e(par1Packet61DoorChange.sfxID, par1Packet61DoorChange.posX, par1Packet61DoorChange.posY, par1Packet61DoorChange.posZ, par1Packet61DoorChange.auxData);
    }
    else
    {
        this.mc.theWorld.playAuxSFX(par1Packet61DoorChange.sfxID, par1Packet61DoorChange.posX, par1Packet61DoorChange.posY, par1Packet61DoorChange.posZ, par1Packet61DoorChange.auxData);
    }
}
项目:BetterNutritionMod    文件:NetClientHandler.java   
public void handleDoorChange(Packet61DoorChange par1Packet61DoorChange)
{
    if (par1Packet61DoorChange.getRelativeVolumeDisabled())
    {
        this.mc.theWorld.func_82739_e(par1Packet61DoorChange.sfxID, par1Packet61DoorChange.posX, par1Packet61DoorChange.posY, par1Packet61DoorChange.posZ, par1Packet61DoorChange.auxData);
    }
    else
    {
        this.mc.theWorld.playAuxSFX(par1Packet61DoorChange.sfxID, par1Packet61DoorChange.posX, par1Packet61DoorChange.posY, par1Packet61DoorChange.posZ, par1Packet61DoorChange.auxData);
    }
}
项目:forge_world_downloader    文件:WDLNetClientHandler.java   
@Override
public void handleDoorChange(Packet61DoorChange par1Packet61DoorChange)
{
    nch.handleDoorChange(par1Packet61DoorChange);       
}
项目:RuneCraftery    文件:WorldManager.java   
public void func_72706_a(EntityPlayer p_72706_1_, int p_72706_2_, int p_72706_3_, int p_72706_4_, int p_72706_5_, int p_72706_6_) {
   this.field_72783_a.func_71203_ab().func_72397_a(p_72706_1_, (double)p_72706_3_, (double)p_72706_4_, (double)p_72706_5_, 64.0D, this.field_72782_b.field_73011_w.field_76574_g, new Packet61DoorChange(p_72706_2_, p_72706_3_, p_72706_4_, p_72706_5_, p_72706_6_, false));
}
项目:RuneCraftery    文件:WorldManager.java   
public void func_82746_a(int p_82746_1_, int p_82746_2_, int p_82746_3_, int p_82746_4_, int p_82746_5_) {
   this.field_72783_a.func_71203_ab().func_72384_a(new Packet61DoorChange(p_82746_1_, p_82746_2_, p_82746_3_, p_82746_4_, p_82746_5_, true));
}
项目:RuneCraftery    文件:NetHandler.java   
public void func_72462_a(Packet61DoorChange p_72462_1_) {
   this.func_72509_a(p_72462_1_);
}
项目:RuneCraftery    文件:WorldManager.java   
/**
 * Plays a pre-canned sound effect along with potentially auxiliary data-driven one-shot behaviour (particles, etc).
 */
public void playAuxSFX(EntityPlayer par1EntityPlayer, int par2, int par3, int par4, int par5, int par6)
{
    this.mcServer.getConfigurationManager().sendToAllNearExcept(par1EntityPlayer, (double)par3, (double)par4, (double)par5, 64.0D, this.theWorldServer.provider.dimensionId, new Packet61DoorChange(par2, par3, par4, par5, par6, false));
}
项目:RuneCraftery    文件:WorldManager.java   
public void broadcastSound(int par1, int par2, int par3, int par4, int par5)
{
    this.mcServer.getConfigurationManager().sendPacketToAllPlayers(new Packet61DoorChange(par1, par2, par3, par4, par5, true));
}
项目:BetterNutritionMod    文件:WorldManager.java   
/**
 * Plays a pre-canned sound effect along with potentially auxiliary data-driven one-shot behaviour (particles, etc).
 */
public void playAuxSFX(EntityPlayer par1EntityPlayer, int par2, int par3, int par4, int par5, int par6)
{
    this.mcServer.getConfigurationManager().sendToAllNearExcept(par1EntityPlayer, (double)par3, (double)par4, (double)par5, 64.0D, this.theWorldServer.provider.dimensionId, new Packet61DoorChange(par2, par3, par4, par5, par6, false));
}
项目:BetterNutritionMod    文件:WorldManager.java   
public void broadcastSound(int par1, int par2, int par3, int par4, int par5)
{
    this.mcServer.getConfigurationManager().sendPacketToAllPlayers(new Packet61DoorChange(par1, par2, par3, par4, par5, true));
}