Modifier and Type | Method and Description |
---|---|
boolean |
PlacedBlockTrigger.Instance.test(IBlockState state,
BlockPos pos,
WorldServer world,
ItemStack item) |
boolean |
LocationPredicate.test(WorldServer world,
double x,
double y,
double z) |
boolean |
PositionTrigger.Instance.test(WorldServer world,
double x,
double y,
double z) |
boolean |
LocationPredicate.test(WorldServer world,
float x,
float y,
float z) |
boolean |
NetherTravelTrigger.Instance.test(WorldServer world,
Vec3d enteredNetherPosition,
double x,
double y,
double z) |
void |
PlacedBlockTrigger.Listeners.trigger(IBlockState state,
BlockPos pos,
WorldServer world,
ItemStack item) |
void |
PositionTrigger.Listeners.trigger(WorldServer world,
double x,
double y,
double z) |
void |
NetherTravelTrigger.Listeners.trigger(WorldServer world,
Vec3d enteredNetherPosition,
double x,
double y,
double z) |
Modifier and Type | Method and Description |
---|---|
boolean |
Block.addLandingEffects(IBlockState state,
WorldServer worldObj,
BlockPos blockPosition,
IBlockState iblockstate,
EntityLivingBase entity,
int numberOfParticles)
Allows a block to override the standard EntityLivingBase.updateFallState
particles, this is a server side method that spawns particles with
WorldServer.spawnParticle
|
Modifier and Type | Field and Description |
---|---|
private WorldServer |
EntityTracker.world |
Constructor and Description |
---|
EntityTracker(WorldServer theWorldIn) |
Modifier and Type | Method and Description |
---|---|
WorldServer |
EntityPlayerMP.getServerWorld() |
Constructor and Description |
---|
EntityPlayerMP(MinecraftServer server,
WorldServer worldIn,
com.mojang.authlib.GameProfile profile,
PlayerInteractionManager interactionManagerIn) |
Modifier and Type | Method and Description |
---|---|
Entity |
CPacketSpectate.getEntity(WorldServer worldIn) |
Modifier and Type | Field and Description |
---|---|
WorldServer[] |
MinecraftServer.worlds |
Modifier and Type | Method and Description |
---|---|
WorldServer |
MinecraftServer.getWorld(int dimension) |
Modifier and Type | Method and Description |
---|---|
int |
MinecraftServer.getSpawnRadius(WorldServer worldIn) |
Modifier and Type | Field and Description |
---|---|
private WorldServer |
PlayerChunkMap.world |
Modifier and Type | Method and Description |
---|---|
WorldServer |
PlayerChunkMap.getWorldServer() |
Modifier and Type | Method and Description |
---|---|
void |
PlayerList.preparePlayer(EntityPlayerMP playerIn,
WorldServer worldIn) |
void |
PlayerList.setPlayerManager(WorldServer[] worldServers) |
void |
PlayerInteractionManager.setWorld(WorldServer serverWorld) |
void |
PlayerList.transferEntityToWorld(Entity entityIn,
int lastDimension,
WorldServer oldWorldIn,
WorldServer toWorldIn) |
void |
PlayerList.transferEntityToWorld(Entity entityIn,
int lastDimension,
WorldServer oldWorldIn,
WorldServer toWorldIn,
ITeleporter teleporter) |
void |
PlayerList.transferEntityToWorld(Entity entityIn,
int lastDimension,
WorldServer oldWorldIn,
WorldServer toWorldIn,
Teleporter teleporter) |
void |
PlayerList.updateTimeAndWeatherForPlayer(EntityPlayerMP playerIn,
WorldServer worldIn) |
Constructor and Description |
---|
PlayerChunkMap(WorldServer serverWorld) |
Modifier and Type | Class and Description |
---|---|
class |
WorldServerDemo |
class |
WorldServerMulti |
Modifier and Type | Field and Description |
---|---|
private WorldServer |
WorldServerMulti.delegate |
protected WorldServer |
Teleporter.world |
private WorldServer |
ServerWorldEventHandler.world |
Modifier and Type | Method and Description |
---|---|
int |
WorldEntitySpawner.findChunksForSpawning(WorldServer worldServerIn,
boolean spawnHostileMobs,
boolean spawnPeacefulMobs,
boolean spawnOnSetTickRate) |
int |
WorldType.getSpawnFuzz(WorldServer world,
MinecraftServer server)
Gets the spawn fuzz for players who join the world.
|
Constructor and Description |
---|
ServerWorldEventHandler(MinecraftServer mcServerIn,
WorldServer worldServerIn) |
Teleporter(WorldServer worldIn) |
WorldServerMulti(MinecraftServer server,
ISaveHandler saveHandlerIn,
int dimensionId,
WorldServer delegate,
Profiler profilerIn) |
Modifier and Type | Field and Description |
---|---|
private WorldServer |
DragonFightManager.world |
Modifier and Type | Method and Description |
---|---|
abstract void |
DragonSpawnManager.process(WorldServer worldIn,
DragonFightManager manager,
java.util.List<EntityEnderCrystal> crystals,
int ticks,
BlockPos pos) |
Constructor and Description |
---|
DragonFightManager(WorldServer worldIn,
NBTTagCompound compound) |
Modifier and Type | Field and Description |
---|---|
WorldServer |
ChunkProviderServer.world |
Constructor and Description |
---|
ChunkProviderServer(WorldServer worldObjIn,
IChunkLoader chunkLoaderIn,
IChunkGenerator chunkGeneratorIn) |
Modifier and Type | Field and Description |
---|---|
private WorldServer |
LootContext.world |
private WorldServer |
LootContext.Builder.world |
Modifier and Type | Method and Description |
---|---|
WorldServer |
LootContext.getWorld() |
Constructor and Description |
---|
Builder(WorldServer worldIn) |
LootContext(float luckIn,
WorldServer worldIn,
LootTableManager lootTableManagerIn,
Entity lootedEntityIn,
EntityPlayer playerIn,
DamageSource damageSourceIn) |
Modifier and Type | Field and Description |
---|---|
private WorldServer |
WorldSpecificSaveHandler.world |
Modifier and Type | Field and Description |
---|---|
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<WorldServer> |
DimensionManager.worlds |
Modifier and Type | Method and Description |
---|---|
static WorldServer |
DimensionManager.getWorld(int id) |
static WorldServer |
DimensionManager.getWorld(int id,
boolean resetUnloadDelay) |
static WorldServer[] |
DimensionManager.getWorlds() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
DimensionManager.canUnloadWorld(WorldServer world) |
static void |
DimensionManager.setWorld(int id,
WorldServer world,
MinecraftServer server) |
Constructor and Description |
---|
WorldSpecificSaveHandler(WorldServer world,
ISaveHandler parent) |
Modifier and Type | Method and Description |
---|---|
static FakePlayer |
FakePlayerFactory.get(WorldServer world,
com.mojang.authlib.GameProfile username)
Get a fake player with a given username,
Mods should either hold weak references to the return value, or listen for a
WorldEvent.Unload and kill all references to prevent worlds staying in memory.
|
static FakePlayer |
FakePlayerFactory.getMinecraft(WorldServer world) |
static void |
FakePlayerFactory.unloadWorld(WorldServer world) |
Constructor and Description |
---|
FakePlayer(WorldServer world,
com.mojang.authlib.GameProfile name) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Biome.SpawnListEntry> |
ForgeEventFactory.getPotentialSpawns(WorldServer world,
EnumCreatureType type,
BlockPos pos,
java.util.List<Biome.SpawnListEntry> oldList) |