Examples of playRecord()


Examples of powercrystals.minefactoryreloaded.tile.machine.TileEntityAutoJukebox.playRecord()

      TileEntity te = ((EntityPlayer)player).worldObj.getBlockTileEntity((Integer)packetReadout[0], (Integer)packetReadout[1], (Integer)packetReadout[2]);
      if(te instanceof TileEntityAutoJukebox)
      {
        TileEntityAutoJukebox j = ((TileEntityAutoJukebox)te);
        int button = (Integer)packetReadout[3];
        if(button == 1) j.playRecord();
        else if(button == 2) j.stopRecord();
        else if(button == 3) j.copyRecord();
      }
    }
    else if(packetType == Packets.AutoSpawnerButton) // client -> server: toggle autospawner
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.