Package | Description |
---|---|
net.glowstone | |
net.glowstone.block | |
net.glowstone.chunk | |
net.glowstone.command | |
net.glowstone.entity | |
net.glowstone.io | |
net.glowstone.io.anvil | |
net.glowstone.io.data | |
net.glowstone.io.entity | |
net.glowstone.io.nbt | |
net.glowstone.io.structure | |
net.glowstone.scheduler |
This package contains the core of Glowstone's threading model.
|
Modifier and Type | Method and Description |
---|---|
GlowWorld |
GlowServer.createWorld(org.bukkit.WorldCreator creator) |
GlowWorld |
GlowServer.getWorld(String name) |
GlowWorld |
GlowServer.getWorld(UUID uid) |
Constructor and Description |
---|
Explosion(org.bukkit.entity.Entity source,
GlowWorld world,
double x,
double y,
double z,
float power,
boolean incendiary,
boolean breakBlocks)
Creates a new explosion.
|
Modifier and Type | Method and Description |
---|---|
GlowWorld |
GlowBlockState.getWorld() |
GlowWorld |
GlowBlock.getWorld() |
Modifier and Type | Method and Description |
---|---|
GlowWorld |
GlowChunk.getWorld()
The world of this chunk.
|
Constructor and Description |
---|
ChunkManager(GlowWorld world,
ChunkIoService service,
org.bukkit.generator.ChunkGenerator generator)
Creates a new chunk manager with the specified I/O service and world generator.
|
Modifier and Type | Method and Description |
---|---|
static GlowWorld |
CommandUtils.getWorld(org.bukkit.command.CommandSender sender)
Returns the world that the given command sender is referring to when not specifying one.
|
Modifier and Type | Field and Description |
---|---|
protected GlowWorld |
GlowEntity.world
The world this entity belongs to.
|
Modifier and Type | Method and Description |
---|---|
GlowWorld |
GlowEntity.getWorld()
The world this entity belongs to.
|
Modifier and Type | Method and Description |
---|---|
void |
WorldStorageProvider.setWorld(GlowWorld world)
Initializes the storage to correspond to the given world.
|
Modifier and Type | Method and Description |
---|---|
void |
AnvilWorldStorageProvider.setWorld(GlowWorld world) |
Constructor and Description |
---|
WorldFunctionIoService(GlowWorld world,
File dataDir) |
Modifier and Type | Method and Description |
---|---|
static GlowEntity |
EntityStorage.loadEntity(GlowWorld world,
CompoundTag compound)
Load a new entity in the given world from the given data tag.
|
Constructor and Description |
---|
NbtStructureDataService(GlowWorld world,
File structureDir)
Creates the instance for the given world's structures.
|
NbtWorldMetadataService(GlowWorld world,
File dir)
Creates the instance for the given world's metadata.
|
Modifier and Type | Method and Description |
---|---|
abstract T |
StructureStore.createNewStructure(GlowWorld world,
Random random,
int chunkX,
int chunkZ)
Create a new structure of this store's type in the given world.
|
GlowTemple |
TempleStore.createNewStructure(GlowWorld world,
Random random,
int chunkX,
int chunkZ) |
abstract T |
StructureStore.createStructure(GlowWorld world,
int chunkX,
int chunkZ)
Create a structure of this store's type in the given world.
|
GlowTemple |
TempleStore.createStructure(GlowWorld world,
int chunkX,
int chunkZ) |
static GlowStructure |
StructureStorage.loadStructure(GlowWorld world,
CompoundTag compound)
Load a structure in the given world from the given data tag.
|
Modifier and Type | Method and Description |
---|---|
GlowWorld |
WorldScheduler.addWorld(GlowWorld world)
Attempts to start scheduled ticks for a world.
|
GlowWorld |
WorldScheduler.getWorld(String name)
Returns the world with a given name.
|
GlowWorld |
WorldScheduler.getWorld(UUID uid)
Returns the world with a given UUID.
|
Modifier and Type | Method and Description |
---|---|
List<GlowWorld> |
WorldScheduler.getWorlds()
Returns an immutable list of the currently scheduled worlds.
|
Modifier and Type | Method and Description |
---|---|
GlowWorld |
WorldScheduler.addWorld(GlowWorld world)
Attempts to start scheduled ticks for a world.
|
boolean |
WorldScheduler.removeWorld(GlowWorld world)
Stops scheduled ticks for a world.
|
Copyright © 2021. All rights reserved.