Examples of sendChatToPlayer()


Examples of net.minecraft.entity.player.EntityPlayer.sendChatToPlayer()

    {
      _notificationDisplayed = true;
      if(_updateThread.newVersionAvailable())
      {
        EntityPlayer player = (EntityPlayer) tickData[0];
        player.sendChatToPlayer("[" + _mod.getModName() + "] A new version is available: " + _updateThread.newVersion().modVersion().toString());
        player.sendChatToPlayer( _updateThread.newVersion().description());
      }
    }
  }
View Full Code Here

Examples of net.minecraft.entity.player.EntityPlayer.sendChatToPlayer()

      _notificationDisplayed = true;
      if(_updateThread.newVersionAvailable())
      {
        EntityPlayer player = (EntityPlayer) tickData[0];
        player.sendChatToPlayer("[" + _mod.getModName() + "] A new version is available: " + _updateThread.newVersion().modVersion().toString());
        player.sendChatToPlayer( _updateThread.newVersion().description());
      }
    }
  }

  @Override
View Full Code Here

Examples of net.minecraft.entity.player.EntityPlayerMP.sendChatToPlayer()

    try {
      for (Object aPlayerEntityList : MinecraftServer.getServer().getConfigurationManager().playerEntityList) {
        EntityPlayerMP var7 = (EntityPlayerMP) aPlayerEntityList;

        if (MinecraftServer.getServer().getConfigurationManager().isPlayerOpped(var7.username)) {
          var7.sendChatToPlayer(new ChatMessageComponent().addText(message));
        }
      }
    } finally {
      serverConfigurationManager.playerUpdateLock.unlock();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.