Package net.minecraft.server

Examples of net.minecraft.server.WorldServer.z()


    WorldServer world = CommonNMS.getNative(chunk.getWorld());
    Block typeBlock = CommonNMS.getBlock(type);
    if (result) {
      result = ChunkRef.setBlock(Conversion.toChunkHandle.convert(chunk), x, y, z, typeBlock, data);
            world.methodProfiler.a("checkLight");
            world.z(x, y, z);
            world.methodProfiler.b();
    }
    if (result) {
      world.applyPhysics(x, y, z, typeBlock);
    }
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.