Java 类net.minecraft.network.play.server.SPacketServerDifficulty 实例源码

项目:Zombe-Modpack    文件:NetHandlerPlayClient.java   
public void handleServerDifficulty(SPacketServerDifficulty packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    this.gameController.world.getWorldInfo().setDifficulty(packetIn.getDifficulty());
    this.gameController.world.getWorldInfo().setDifficultyLocked(packetIn.isDifficultyLocked());
}
项目:Backmemed    文件:NetHandlerPlayClient.java   
public void handleServerDifficulty(SPacketServerDifficulty packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    this.gameController.world.getWorldInfo().setDifficulty(packetIn.getDifficulty());
    this.gameController.world.getWorldInfo().setDifficultyLocked(packetIn.isDifficultyLocked());
}
项目:CustomWorldGen    文件:NetHandlerPlayClient.java   
public void handleServerDifficulty(SPacketServerDifficulty packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    this.gameController.theWorld.getWorldInfo().setDifficulty(packetIn.getDifficulty());
    this.gameController.theWorld.getWorldInfo().setDifficultyLocked(packetIn.isDifficultyLocked());
}
项目:ExpandedRailsMod    文件:NetHandlerPlayClient.java   
public void handleServerDifficulty(SPacketServerDifficulty packetIn)
{
    PacketThreadUtil.checkThreadAndEnqueue(packetIn, this, this.gameController);
    this.gameController.theWorld.getWorldInfo().setDifficulty(packetIn.getDifficulty());
    this.gameController.theWorld.getWorldInfo().setDifficultyLocked(packetIn.isDifficultyLocked());
}
项目:Backmemed    文件:INetHandlerPlayClient.java   
void handleServerDifficulty(SPacketServerDifficulty packetIn);
项目:CustomWorldGen    文件:INetHandlerPlayClient.java   
void handleServerDifficulty(SPacketServerDifficulty packetIn);