Interface ClientWorld
- All Superinterfaces:
ArchetypeVolumeCreator, Audience, BiomeVolume, BiomeVolume.Modifiable<ClientWorld>, BiomeVolume.Streamable<ClientWorld>, BlockEntityVolume, BlockEntityVolume.Modifiable<ClientWorld>, BlockEntityVolume.Streamable<ClientWorld>, BlockVolume, BlockVolume.Modifiable<ClientWorld>, BlockVolume.Streamable<ClientWorld>, ChunkVolume, ContextSource, EntityVolume, EntityVolume.Modifiable<ClientWorld>, EntityVolume.Streamable<ClientWorld>, EnvironmentalVolume, ForwardingAudience, ForwardingViewer, GenerationVolume, GenerationVolume.Mutable, HeightAwareVolume, LocationBaseDataHolder, LocationBaseDataHolder.Mutable, LocationCreator<ClientWorld, ClientLocation>, MutableGameVolume, MutableVolume, PhysicsAwareMutableBlockVolume<ClientWorld>, Pointered, PrimitiveGameVolume, RandomProvider, Region<ClientWorld>, RegistryHolder, UpdatableVolume, Viewer, Volume, WeatherUniverse, World<ClientWorld, ClientLocation>, WorldLike<ClientWorld>
Represents a
Client view of a remote or local world.-
Nested Class Summary
Nested classes/interfaces inherited from interface BiomeVolume
BiomeVolume.Immutable, BiomeVolume.Modifiable<M>, BiomeVolume.Mutable, BiomeVolume.Streamable<B>, BiomeVolume.Unmodifiable<U>Nested classes/interfaces inherited from interface BlockEntityVolume
BlockEntityVolume.Modifiable<M>, BlockEntityVolume.Mutable, BlockEntityVolume.Streamable<T>, BlockEntityVolume.Unmodifiable<U>Nested classes/interfaces inherited from interface BlockVolume
BlockVolume.Immutable, BlockVolume.Modifiable<M>, BlockVolume.Mutable, BlockVolume.Streamable<B>, BlockVolume.Unmodifiable<U>Nested classes/interfaces inherited from interface EntityVolume
EntityVolume.EntityVolumeFactory, EntityVolume.Immutable, EntityVolume.Modifiable<M>, EntityVolume.Mutable, EntityVolume.Streamable<E>, EntityVolume.Unmodifiable<U>Nested classes/interfaces inherited from interface ForwardingAudience
ForwardingAudience.SingleNested classes/interfaces inherited from interface ForwardingViewer
ForwardingViewer.FactoryNested classes/interfaces inherited from interface GenerationVolume
GenerationVolume.MutableNested classes/interfaces inherited from interface LocationBaseDataHolder
LocationBaseDataHolder.MutableNested classes/interfaces inherited from interface RandomProvider
RandomProvider.SourceNested classes/interfaces inherited from interface WeatherUniverse
WeatherUniverse.Mutable -
Method Summary
Modifier and TypeMethodDescriptionengine()Gets theEnginethat simulates this world.Collection<? extends ClientPlayer> players()Gets an unmodifiable collection ofplayerscurrently in this world.Gets theproperties.Methods inherited from interface ArchetypeVolumeCreator
createArchetypeVolumeMethods inherited from interface Audience
deleteMessage, openBook, removeResourcePacks, removeResourcePacks, removeResourcePacks, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, showTitle, stopSoundMethods inherited from interface BiomeVolume
biome, biomeMethods inherited from interface BiomeVolume.Modifiable
setBiome, setBiomeMethods inherited from interface BiomeVolume.Streamable
biomeStreamMethods inherited from interface BlockEntityVolume
blockEntities, blockEntities, blockEntity, blockEntityMethods inherited from interface BlockEntityVolume.Modifiable
addBlockEntity, addBlockEntity, removeBlockEntity, removeBlockEntityMethods inherited from interface BlockEntityVolume.Streamable
blockEntityStreamMethods inherited from interface BlockVolume
block, block, blockPalette, fluid, fluid, highestPositionAt, highestYAt, highestYAtMethods inherited from interface BlockVolume.Streamable
blockStateStreamMethods inherited from interface ChunkVolume
chunkLayout, hasChunk, hasChunk, hasChunkAtBlock, hasChunkAtBlock, isChunkLoaded, isChunkLoaded, isChunkLoadedAtBlock, isChunkLoadedAtBlockMethods inherited from interface ContextSource
contextMethods inherited from interface EntityVolume
entities, entities, entities, entities, entities, entity, nearbyEntities, nearestPlayerMethods inherited from interface EntityVolume.Modifiable
createEntity, createEntity, createEntity, createEntity, createEntity, createEntity, createEntityNaturally, createEntityNaturally, createEntityNaturally, createEntityNaturally, filterEntities, filterEntities, filterEntities, filterEntities, filterEntities, spawnEntities, spawnEntityMethods inherited from interface EntityVolume.Streamable
entityStreamMethods inherited from interface EnvironmentalVolume
isSkylightMax, light, light, light, light, light, lightMethods inherited from interface ForwardingAudience
clearResourcePacks, clearTitle, closeDialog, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, playSound, playSound, playSound, pointers, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendResourcePacks, sendTitlePart, showBossBar, showDialog, stopSoundMethods inherited from interface GenerationVolume
hasBlockState, hasBlockState, hasBlockState, maximumHeightMethods inherited from interface HeightAwareVolume
height, heightMethods inherited from interface LocationBaseDataHolder
get, get, get, get, getDouble, getDouble, getDouble, getDouble, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getValue, getValue, getValue, getValue, getValues, getValues, keys, keys, orElse, orElse, orElse, orElse, orElse, orElse, orElse, orElse, orNull, orNull, orNull, orNull, require, require, require, require, supports, supports, supports, supports, supports, supportsMethods inherited from interface LocationBaseDataHolder.Mutable
copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, offer, offer, offer, offer, offer, offer, remove, remove, remove, remove, setRawData, setRawData, transform, transform, transform, transform, undo, undo, validateRawData, validateRawDataMethods inherited from interface LocationCreator
location, location, location, locationMethods inherited from interface MutableGameVolume
destroyBlock, spawnEntityMethods inherited from interface PhysicsAwareMutableBlockVolume
setBlock, setBlock, setBlock, setBlockMethods inherited from interface Pointered
get, getOrDefault, getOrDefaultFromMethods inherited from interface PrimitiveGameVolume
emittedLight, emittedLight, height, maximumLightMethods inherited from interface RandomProvider
randomMethods inherited from interface Region
border, canSeeSky, canSeeSky, containsAnyLiquids, hasLiquid, hasLiquid, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isBlockLoaded, isBlockLoaded, isBlockLoaded, isBlockLoaded, isCollisionBoxesEmpty, isInBorder, seaLevel, setBorder, skylightSubtracted, worldTypeMethods inherited from interface RegistryHolder
findRegistry, registry, streamRegistries, streamRegistriesMethods inherited from interface UpdatableVolume
scheduledBlockUpdates, scheduledFluidUpdatesMethods inherited from interface Viewer
playMusicDisc, playMusicDisc, playSound, playTotemOfUndyingEffect, resetBlockChange, resetBlockChange, resetBlockProgress, resetBlockProgress, sendBlockChange, sendBlockChange, sendBlockProgress, sendBlockProgress, sendWorldType, spawnParticles, spawnParticles, stopMusicDisc, stopMusicDiscMethods inherited from interface Volume
available, contains, contains, isAreaAvailable, max, min, sizeMethods inherited from interface WeatherUniverse
weatherMethods inherited from interface World
audiences, causeStackManager, chunk, chunk, chunkAtBlock, chunkAtBlock, closestPlayer, closestPlayer, closestPlayer, closestPlayer, closestPlayer, closestPlayer, isLoaded, loadChunk, loadChunk, loadedChunks, onWorldThread, scheduler, worldMethods inherited from interface WorldLike
difficulty, removeBlock, removeBlock, seed, setBlock, setBlock
-
Method Details
-
engine
-
properties
ClientWorldProperties properties()Description copied from interface:WorldGets theproperties.- Specified by:
propertiesin interfaceWorld<ClientWorld, ClientLocation>- Returns:
- The properties
-
players
Collection<? extends ClientPlayer> players()Description copied from interface:WorldGets an unmodifiable collection ofplayerscurrently in this world.- Specified by:
playersin interfaceEntityVolume- Specified by:
playersin interfaceWorld<ClientWorld, ClientLocation>- Returns:
- The players
-