Package | Description |
---|---|
net.tridentsdk.base |
This package contains basic elements in Minecraft, such as blocks, orientation, directions, instruments, and sounds
|
net.tridentsdk.server.world |
Implements classes in the package
net.tridentsdk.world .* package |
net.tridentsdk.world |
World access: Chunks, dimensions, and loading, and world generation
|
Modifier and Type | Method and Description |
---|---|
Chunk |
Position.chunk()
Chunk of the current position
|
Modifier and Type | Class and Description |
---|---|
class |
TridentChunk |
class |
TridentChunkSnapshot |
Modifier and Type | Method and Description |
---|---|
Chunk |
TridentWorld.chunkAt(int x,
int z,
boolean generateIfNotFound) |
Chunk |
TridentWorld.generateChunk(int x,
int z) |
Chunk |
TridentWorldLoader.loadChunk(int x,
int z) |
Modifier and Type | Method and Description |
---|---|
Collection<Chunk> |
TridentWorld.chunks() |
Modifier and Type | Method and Description |
---|---|
protected void |
TridentWorld.addChunkAt(ChunkLocation location,
Chunk chunk) |
void |
TridentChunkSnapshot.apply(Chunk chunk) |
void |
TridentWorldLoader.saveChunk(Chunk chunk) |
Modifier and Type | Interface and Description |
---|---|
interface |
ChunkSnapshot
Represents the state of a chunk at a certain point in time
|
Modifier and Type | Method and Description |
---|---|
Chunk |
World.chunkAt(ChunkLocation loc,
boolean generateIfNotFound)
Gets the chunk on the given position, and generates the chunk if it does not exist.
|
Chunk |
World.chunkAt(int x,
int z,
boolean generateIfNotFound)
Gets the chunk on the given x and z , and generates the chunk if it does not exist
|
Chunk |
World.generateChunk(ChunkLocation position)
Generates the chunk on the given position
|
Chunk |
World.generateChunk(int x,
int z)
Generates the chunk on the given position
|
Chunk |
WorldLoader.loadChunk(ChunkLocation position)
Loads the chunk into the world
|
Chunk |
WorldLoader.loadChunk(int x,
int z)
Loads the chunk into the world
|
Modifier and Type | Method and Description |
---|---|
Collection<Chunk> |
World.chunks()
Obtains the loaded chunks in the world
|
Modifier and Type | Method and Description |
---|---|
void |
ChunkSnapshot.apply(Chunk chunk)
Loads the data of the snapshot into the specified chunk
|
void |
WorldLoader.saveChunk(Chunk chunk)
Writes the changes in the chunk to the world file
|
Copyright © 2016. All rights reserved.