Package net.minecraft.server

Examples of net.minecraft.server.ChunkSection


    }
    Object[] sections = ChunkRef.getSections(CommonNMS.getNative(chunk));
    final int secIndex = y >> 4;
    Object section = sections[secIndex];
    if (section == null) {
      section = sections[secIndex] = new ChunkSection(y >> 4 << 4, !CommonNMS.getNative(chunk.getWorld()).worldProvider.g);
    }
    ChunkSectionRef.setTypeId(section, x, y, z, typeId);
    ChunkSectionRef.setData(section, x, y, z, data);
  }
View Full Code Here

TOP

Related Classes of net.minecraft.server.ChunkSection

Copyright © 2018 www.massapicom. 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.