Examples of MorphInfo


Examples of morph.common.morph.MorphInfo

    }

    @SubscribeEvent
    public void onPlayerRespawn(PlayerEvent.PlayerRespawnEvent event)
    {
        MorphInfo info = Morph.proxy.tickHandlerServer.getPlayerMorphInfo(event.player);

        if(info != null)
        {
            event.player.setSize(info.nextState.entInstance.width, info.nextState.entInstance.height);
            event.player.setPosition(event.player.posX, event.player.posY, event.player.posZ);
View Full Code Here

Examples of morph.common.morph.MorphInfo

  }

  @Override
  public void tick()
  {
    MorphInfo info = null;
    if(getParent() instanceof EntityPlayer)
    {
      EntityPlayer player = (EntityPlayer)getParent();
      if(!player.worldObj.isRemote)
      {
View Full Code Here

Examples of morph.common.morph.MorphInfo

  }

  @Override
  public void tick()
  {
    MorphInfo info = null;
    if(getParent() instanceof EntityPlayer)
    {
      EntityPlayer player = (EntityPlayer)getParent();
      if(!player.worldObj.isRemote)
      {
View Full Code Here

Examples of morph.common.morph.MorphInfo

    boolean isChild = false;

    if(!getParent().worldObj.isRemote && getParent() instanceof EntityPlayer)
    {
      EntityPlayer player = (EntityPlayer)getParent();
      MorphInfo info = Morph.proxy.tickHandlerServer.getPlayerMorphInfo(player);
     
      if(player.capabilities.isCreativeMode)
      {
        isChild = true;
      }
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.