Examples of func_150812_a()


Examples of net.minecraft.world.chunk.Chunk.func_150812_a()

              worldObj.setBlockToAir(xCoord, yCoord + 1, zCoord);

              //IMovableHandler default code
              Chunk c = worldObj.getChunkFromBlockCoords(targetX, targetZ);

              c.func_150812_a(targetX & 0xF, yCoord + 1, targetZ & 0xF, passenger);

              if (c.isChunkLoaded) {
                worldObj.addTileEntity(passenger);
                worldObj.markBlockForUpdate(targetX, yCoord + 1, targetZ);
              }
View Full Code Here

Examples of net.minecraft.world.chunk.Chunk.func_150812_a()

    te.xCoord = x;
    te.yCoord = y;
    te.zCoord = z;

    Chunk c = w.getChunkFromBlockCoords( x, z );
    c.func_150812_a( x & 0xF, y, z & 0xF, te );
    // c.setChunkBlockTileEntity( x & 0xF, y, z & 0xF, te );

    if ( c.isChunkLoaded )
    {
      w.addTileEntity( te );
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.