Package org.terasology.world.chunks.blockdata

Examples of org.terasology.world.chunks.blockdata.TeraDenseArray16Bit


            short value = (short) data.getValues(pos);
            for (int i = 0; i < length; ++i) {
                decodedData[index++] = value;
            }
        }
        return new TeraDenseArray16Bit(ChunkConstants.SIZE_X, ChunkConstants.SIZE_Y, ChunkConstants.SIZE_Z, decodedData);
    }
View Full Code Here


    public ChunkImpl(int x, int y, int z) {
        this(new Vector3i(x, y, z));
    }

    public ChunkImpl(Vector3i chunkPos) {
        this(chunkPos, new TeraDenseArray16Bit(ChunkConstants.SIZE_X, ChunkConstants.SIZE_Y, ChunkConstants.SIZE_Z),
            new TeraDenseArray8Bit(ChunkConstants.SIZE_X, ChunkConstants.SIZE_Y, ChunkConstants.SIZE_Z),
            new TeraDenseArray8Bit(ChunkConstants.SIZE_X, ChunkConstants.SIZE_Y, ChunkConstants.SIZE_Z));
    }
View Full Code Here

TOP

Related Classes of org.terasology.world.chunks.blockdata.TeraDenseArray16Bit

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.