Examples of MorphAcquiredEvent


Examples of morph.api.MorphAcquiredEvent

    living.writeToNBTOptional(nextTag);
   
    MorphState prevState = new MorphState(player.worldObj, player.getCommandSenderName(), username1, prevTag, false);
    MorphState nextState = new MorphState(player.worldObj, player.getCommandSenderName(), username2, nextTag, false);

        if(Morph.proxy.tickHandlerServer.hasMorphState(player, nextState) || !forced && MinecraftForge.EVENT_BUS.post(new MorphAcquiredEvent(player, nextState.entInstance)))
    {
      return false;
    }
   
    prevState = MorphHandler.addOrGetMorphState(Morph.proxy.tickHandlerServer.getPlayerMorphs(player.worldObj, player), prevState);
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.