@ParametersAreNonnullByDefault
@MethodsReturnNonnullByDefault
public class WrappedServerWorld
extends net.minecraft.world.server.ServerWorld
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.world.World |
world |
addend, blockEntitiesToUnload, blockEntityList, captureBlockSnapshots, capturedBlockSnapshots, END, isClientSide, levelData, NETHER, oRainLevel, oThunderLevel, OVERWORLD, pendingBlockEntities, rainLevel, random, randValue, RESOURCE_KEY_CODEC, restoringBlockSnapshots, thunderLevel, tickableBlockEntities, updatingBlockEntities| Constructor and Description |
|---|
WrappedServerWorld(net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addFreshEntity(net.minecraft.entity.Entity entityIn) |
void |
destroyBlockProgress(int breakerId,
net.minecraft.util.math.BlockPos pos,
int progress) |
net.minecraft.world.server.ServerTickList<net.minecraft.block.Block> |
getBlockTicks() |
net.minecraft.entity.Entity |
getEntity(int id) |
int |
getFreeMapId() |
net.minecraft.world.server.ServerTickList<net.minecraft.fluid.Fluid> |
getLiquidTicks() |
net.minecraft.world.storage.MapData |
getMapData(java.lang.String mapName) |
int |
getMaxLocalRawBrightness(net.minecraft.util.math.BlockPos pos) |
net.minecraft.item.crafting.RecipeManager |
getRecipeManager() |
float |
getSunAngle(float p_72826_1_) |
net.minecraft.tags.ITagCollectionSupplier |
getTagManager() |
net.minecraft.world.biome.Biome |
getUncachedNoiseBiome(int p_225604_1_,
int p_225604_2_,
int p_225604_3_) |
void |
levelEvent(net.minecraft.entity.player.PlayerEntity player,
int type,
net.minecraft.util.math.BlockPos pos,
int data) |
java.util.List<net.minecraft.entity.player.ServerPlayerEntity> |
players() |
void |
playSound(net.minecraft.entity.player.PlayerEntity player,
double x,
double y,
double z,
net.minecraft.util.SoundEvent soundIn,
net.minecraft.util.SoundCategory category,
float volume,
float pitch) |
void |
playSound(net.minecraft.entity.player.PlayerEntity p_217384_1_,
net.minecraft.entity.Entity p_217384_2_,
net.minecraft.util.SoundEvent p_217384_3_,
net.minecraft.util.SoundCategory p_217384_4_,
float p_217384_5_,
float p_217384_6_) |
void |
sendBlockUpdated(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
net.minecraft.block.BlockState newState,
int flags) |
void |
setMapData(net.minecraft.world.storage.MapData mapDataIn) |
addDuringCommandTeleport, addDuringPortalTeleport, addFromAnotherDimension, addNewPlayer, addRespawnedPlayer, addWithUUID, blockEvent, blockUpdated, broadcastEntityEvent, clearBlockEvents, despawn, dragonFight, explode, findLightingTargetAround, findNearestBiome, findNearestMapFeature, getAllEntities, getChunkSource, getDataStorage, getDragons, getEntities, getEntities, getEntity, getForcedChunks, getLevel, getPlayers, getPoiManager, getPortalForcer, getRaidAt, getRaids, getRandomPlayer, getScoreboard, getSeed, getServer, getShade, getSharedSpawnAngle, getSharedSpawnPos, getStructureManager, getWatchdogStats, globalLevelEvent, initCapabilities, isCloseToVillage, isFlat, isHandlingTick, isRaided, isVillage, isVillage, loadFromChunk, makeObsidianPlatform, mayInteract, noSave, onBlockStateChange, onEntityRemoved, onReputationEvent, registryAccess, removeEntity, removeEntityComplete, removePlayer, removePlayerImmediately, resetEmptyTime, save, saveDebugReport, sectionsToVillage, sendParticles, sendParticles, setChunkForced, setDayTime, setDefaultSpawnPos, setWeatherParameters, startsForFeature, structureFeatureManager, tick, tickChunk, tickCustomSpawners, tickNonPassenger, tickPassenger, tickTime, toString, tryAddFreshEntityWithPassengers, unload, updateChunkPos, updateSleepingPlayerListaddAllPendingBlockEntities, addAlwaysVisibleParticle, addAlwaysVisibleParticle, addBlockEntity, addParticle, addParticle, blockEntityChanged, close, createFireworks, destroyBlock, dimension, dimensionType, disconnect, explode, explode, fillReportDetails, gatherChunkSourceStats, getBestNeighborSignal, getBiomeManager, getBlockEntity, getBlockRandomPos, getBlockState, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getDirectSignalTo, getEntities, getEntities, getEntitiesOfClass, getFluidState, getGameRules, getGameTime, getHeight, getLevelData, getLightEngine, getLoadedEntitiesOfClass, getMaxEntityRadius, getProfiler, getProfilerSupplier, getRainLevel, getRandom, getSeaLevel, getSignal, getSkyDarken, getThunderLevel, getWorldBorder, guardEntityTick, hasNeighborSignal, hasSignal, increaseMaxEntityRadius, isClientSide, isDay, isDebug, isHumidAt, isInSpawnableBounds, isInWorldBounds, isLoaded, isNight, isOutsideBuildHeight, isOutsideBuildHeight, isRaining, isRainingAt, isStateAtPosition, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, markAndNotifyBlock, neighborChanged, playLocalSound, playSound, prepareWeather, removeBlock, removeBlockEntity, sendPacketToServer, setBlock, setBlock, setBlockAndUpdate, setBlockEntity, setBlocksDirty, setRainLevel, setSkyFlashTime, setSpawnSettings, setThunderLevel, tickBlockEntities, updateNeighborsAt, updateNeighborsAtExceptFromFacing, updateNeighbourForOutputSignal, updateSkyBrightnessareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddParticle, dayTime, getCurrentDifficultyAt, getDifficulty, getHeight, getLevelData, getRandom, hasChunk, levelEvent, playSoundgetBiomeName, getEntityCollisions, getHeightmapPos, isUnobstructedgetEntities, getEntities, getEntitiesOfClass, getEntitiesOfClass, getLoadedEntitiesOfClass, getLoadedEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestLoadedEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayerisStateAtPositiondestroyBlock, destroyBlock, destroyBlock, removeBlock, setBlock, setBlockgetMoonBrightness, getMoonPhase, getTimeOfDaycanSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getDirectSignal, getHeight, getMaxLocalRawBrightness, getNoiseBiome, getSeaLevel, getSkyDarken, hasChunkAt, hasChunksAt, hasChunksAt, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAtcanSeeSky, getBrightness, getLightEngine, getRawBrightnessgetBlockCollisions, getBlockCollisions, getCollisions, getWorldBorder, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollisionclip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxBuildHeight, getMaxLightLevel, traverseBlocksgetWorldServerpublic float getSunAngle(float p_72826_1_)
getSunAngle in class net.minecraft.world.Worldpublic int getMaxLocalRawBrightness(net.minecraft.util.math.BlockPos pos)
public void sendBlockUpdated(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
net.minecraft.block.BlockState newState,
int flags)
sendBlockUpdated in class net.minecraft.world.server.ServerWorldpublic net.minecraft.world.server.ServerTickList<net.minecraft.block.Block> getBlockTicks()
getBlockTicks in interface net.minecraft.world.IWorldgetBlockTicks in class net.minecraft.world.server.ServerWorldpublic net.minecraft.world.server.ServerTickList<net.minecraft.fluid.Fluid> getLiquidTicks()
getLiquidTicks in interface net.minecraft.world.IWorldgetLiquidTicks in class net.minecraft.world.server.ServerWorldpublic void levelEvent(net.minecraft.entity.player.PlayerEntity player,
int type,
net.minecraft.util.math.BlockPos pos,
int data)
levelEvent in interface net.minecraft.world.IWorldlevelEvent in class net.minecraft.world.server.ServerWorldpublic java.util.List<net.minecraft.entity.player.ServerPlayerEntity> players()
players in interface net.minecraft.world.IEntityReaderplayers in class net.minecraft.world.server.ServerWorldpublic void playSound(net.minecraft.entity.player.PlayerEntity player,
double x,
double y,
double z,
net.minecraft.util.SoundEvent soundIn,
net.minecraft.util.SoundCategory category,
float volume,
float pitch)
playSound in class net.minecraft.world.server.ServerWorldpublic void playSound(net.minecraft.entity.player.PlayerEntity p_217384_1_,
net.minecraft.entity.Entity p_217384_2_,
net.minecraft.util.SoundEvent p_217384_3_,
net.minecraft.util.SoundCategory p_217384_4_,
float p_217384_5_,
float p_217384_6_)
playSound in class net.minecraft.world.server.ServerWorldpublic net.minecraft.entity.Entity getEntity(int id)
getEntity in class net.minecraft.world.server.ServerWorldpublic net.minecraft.world.storage.MapData getMapData(java.lang.String mapName)
getMapData in class net.minecraft.world.server.ServerWorldpublic boolean addFreshEntity(net.minecraft.entity.Entity entityIn)
addFreshEntity in interface net.minecraft.world.IWorldWriteraddFreshEntity in class net.minecraft.world.server.ServerWorldpublic void setMapData(net.minecraft.world.storage.MapData mapDataIn)
setMapData in class net.minecraft.world.server.ServerWorldpublic int getFreeMapId()
getFreeMapId in class net.minecraft.world.server.ServerWorldpublic void destroyBlockProgress(int breakerId,
net.minecraft.util.math.BlockPos pos,
int progress)
destroyBlockProgress in class net.minecraft.world.server.ServerWorldpublic net.minecraft.item.crafting.RecipeManager getRecipeManager()
getRecipeManager in class net.minecraft.world.server.ServerWorldpublic net.minecraft.tags.ITagCollectionSupplier getTagManager()
getTagManager in class net.minecraft.world.server.ServerWorldpublic net.minecraft.world.biome.Biome getUncachedNoiseBiome(int p_225604_1_,
int p_225604_2_,
int p_225604_3_)
getUncachedNoiseBiome in interface net.minecraft.world.IWorldReadergetUncachedNoiseBiome in class net.minecraft.world.server.ServerWorld