Package net.minecraft.entity.player

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


        if (c != null)
        {
            EventWakePlayer event0 = new EventWakePlayer(player, c.posX, c.posY, c.posZ, false, true, true, true);
            MinecraftForge.EVENT_BUS.post(event0);
            player.wakeUpPlayer(false, true, true);
        }
    }

    @SubscribeEvent
    public void onZombieSummonAid(SummonAidEvent event)
View Full Code Here


                {
                    EntityPlayer var2 = (EntityPlayer) obj;

                    if (var2.isPlayerSleeping())
                    {
                        var2.wakeUpPlayer(false, false, true);
                    }
                }

                world.provider.resetRainAndThunder();
            }
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.