@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
public class WrappedWorld
extends net.minecraft.world.World
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.world.chunk.AbstractChunkProvider |
provider |
protected net.minecraft.world.World |
world |
addend, blockEntitiesToUnload, blockEntityList, captureBlockSnapshots, capturedBlockSnapshots, END, isClientSide, levelData, LOGGER, NETHER, oRainLevel, oThunderLevel, OVERWORLD, pendingBlockEntities, rainLevel, random, randValue, RESOURCE_KEY_CODEC, restoringBlockSnapshots, thunderLevel, tickableBlockEntities, updatingBlockEntities| Constructor and Description |
|---|
WrappedWorld(net.minecraft.world.World world) |
WrappedWorld(net.minecraft.world.World world,
net.minecraft.world.chunk.AbstractChunkProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addFreshEntity(net.minecraft.entity.Entity entityIn) |
void |
blockEntityChanged(net.minecraft.util.math.BlockPos p_175646_1_,
net.minecraft.tileentity.TileEntity p_175646_2_) |
void |
destroyBlockProgress(int breakerId,
net.minecraft.util.math.BlockPos pos,
int progress) |
net.minecraft.tileentity.TileEntity |
getBlockEntity(net.minecraft.util.math.BlockPos pos) |
net.minecraft.block.BlockState |
getBlockState(net.minecraft.util.math.BlockPos pos) |
net.minecraft.world.ITickList<net.minecraft.block.Block> |
getBlockTicks() |
net.minecraft.world.chunk.AbstractChunkProvider |
getChunkSource() |
net.minecraft.entity.Entity |
getEntity(int id) |
int |
getFreeMapId() |
net.minecraft.world.World |
getLevel() |
net.minecraft.world.lighting.WorldLightManager |
getLightEngine() |
net.minecraft.world.ITickList<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() |
net.minecraft.scoreboard.Scoreboard |
getScoreboard() |
float |
getShade(net.minecraft.util.Direction p_230487_1_,
boolean p_230487_2_) |
net.minecraft.tags.ITagCollectionSupplier |
getTagManager() |
net.minecraft.world.biome.Biome |
getUncachedNoiseBiome(int p_225604_1_,
int p_225604_2_,
int p_225604_3_) |
boolean |
hasChunkAt(net.minecraft.util.math.BlockPos p_175667_1_) |
boolean |
isStateAtPosition(net.minecraft.util.math.BlockPos p_217375_1_,
java.util.function.Predicate<net.minecraft.block.BlockState> p_217375_2_) |
void |
levelEvent(net.minecraft.entity.player.PlayerEntity player,
int type,
net.minecraft.util.math.BlockPos pos,
int data) |
java.util.List<? extends net.minecraft.entity.player.PlayerEntity> |
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_) |
net.minecraft.util.registry.DynamicRegistries |
registryAccess() |
void |
sendBlockUpdated(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState oldState,
net.minecraft.block.BlockState newState,
int flags) |
boolean |
setBlock(net.minecraft.util.math.BlockPos pos,
net.minecraft.block.BlockState newState,
int flags) |
void |
setMapData(net.minecraft.world.storage.MapData mapDataIn) |
void |
updateNeighbourForOutputSignal(net.minecraft.util.math.BlockPos p_175666_1_,
net.minecraft.block.Block p_175666_2_) |
addAllPendingBlockEntities, addAlwaysVisibleParticle, addAlwaysVisibleParticle, addBlockEntity, addParticle, addParticle, blockEvent, broadcastEntityEvent, close, createFireworks, destroyBlock, dimension, dimensionType, disconnect, explode, explode, explode, fillReportDetails, gatherChunkSourceStats, getBestNeighborSignal, getBiomeManager, getBlockRandomPos, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getDirectSignalTo, getEntities, getEntities, getEntitiesOfClass, getFluidState, getGameRules, getGameTime, getHeight, getLevelData, getLoadedEntitiesOfClass, getMaxEntityRadius, getProfiler, getProfilerSupplier, getRainLevel, getRandom, getSeaLevel, getServer, getSignal, getSkyDarken, getSunAngle, getThunderLevel, getWorldBorder, globalLevelEvent, guardEntityTick, hasNeighborSignal, hasSignal, increaseMaxEntityRadius, isClientSide, isDay, isDebug, isHumidAt, isInSpawnableBounds, isInWorldBounds, isLoaded, isNight, isOutsideBuildHeight, isOutsideBuildHeight, isRaining, isRainingAt, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, markAndNotifyBlock, mayInteract, neighborChanged, noSave, onBlockStateChange, playLocalSound, playSound, prepareWeather, removeBlock, removeBlockEntity, sendPacketToServer, setBlock, setBlockAndUpdate, setBlockEntity, setBlocksDirty, setRainLevel, setSkyFlashTime, setSpawnSettings, setThunderLevel, tickBlockEntities, updateNeighborsAt, updateNeighborsAtExceptFromFacing, updateSkyBrightnessareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitblockUpdated, dayTime, getDifficulty, getHeight, hasChunk, levelEventgetBiomeName, getEntityCollisions, getHeightmapPos, isUnobstructedgetEntities, getEntitiesOfClass, getLoadedEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestLoadedEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayergetMoonBrightness, getMoonPhase, getTimeOfDaycanSeeSkyFromBelowWater, containsAnyLiquid, getBiome, getBlockStatesIfLoaded, getBlockTint, getBrightness, getChunk, getChunk, getDirectSignal, getMaxLocalRawBrightness, getNoiseBiome, hasChunksAt, hasChunksAt, isAreaLoaded, isEmptyBlock, isWaterAtcanSeeSky, getBrightness, getRawBrightnessgetBlockCollisions, getBlockCollisions, getCollisions, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollisionprotected net.minecraft.world.World world
protected net.minecraft.world.chunk.AbstractChunkProvider provider
public WrappedWorld(net.minecraft.world.World world,
net.minecraft.world.chunk.AbstractChunkProvider provider)
public WrappedWorld(net.minecraft.world.World world)
public net.minecraft.world.World getLevel()
public net.minecraft.world.lighting.WorldLightManager getLightEngine()
getLightEngine in interface net.minecraft.world.IBlockDisplayReadergetLightEngine in class net.minecraft.world.Worldpublic net.minecraft.block.BlockState getBlockState(@Nullable
net.minecraft.util.math.BlockPos pos)
getBlockState in interface net.minecraft.world.IBlockReadergetBlockState in class net.minecraft.world.Worldpublic boolean isStateAtPosition(@Nullable
net.minecraft.util.math.BlockPos p_217375_1_,
@Nullable
java.util.function.Predicate<net.minecraft.block.BlockState> p_217375_2_)
isStateAtPosition in interface net.minecraft.world.gen.IWorldGenerationBaseReaderisStateAtPosition in class net.minecraft.world.Worldpublic net.minecraft.tileentity.TileEntity getBlockEntity(@Nullable
net.minecraft.util.math.BlockPos pos)
getBlockEntity in interface net.minecraft.world.IBlockReadergetBlockEntity in class net.minecraft.world.Worldpublic boolean setBlock(@Nullable
net.minecraft.util.math.BlockPos pos,
@Nullable
net.minecraft.block.BlockState newState,
int flags)
setBlock in interface net.minecraft.world.IWorldWritersetBlock 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.Worldpublic net.minecraft.world.ITickList<net.minecraft.block.Block> getBlockTicks()
public net.minecraft.world.ITickList<net.minecraft.fluid.Fluid> getLiquidTicks()
public net.minecraft.world.chunk.AbstractChunkProvider getChunkSource()
public void levelEvent(@Nullable
net.minecraft.entity.player.PlayerEntity player,
int type,
net.minecraft.util.math.BlockPos pos,
int data)
public java.util.List<? extends net.minecraft.entity.player.PlayerEntity> players()
public void playSound(@Nullable
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.Worldpublic void playSound(@Nullable
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.Worldpublic net.minecraft.entity.Entity getEntity(int id)
getEntity in class net.minecraft.world.Worldpublic net.minecraft.world.storage.MapData getMapData(java.lang.String mapName)
getMapData in class net.minecraft.world.Worldpublic boolean addFreshEntity(@Nullable
net.minecraft.entity.Entity entityIn)
public void setMapData(net.minecraft.world.storage.MapData mapDataIn)
setMapData in class net.minecraft.world.Worldpublic int getFreeMapId()
getFreeMapId in class net.minecraft.world.Worldpublic void destroyBlockProgress(int breakerId,
net.minecraft.util.math.BlockPos pos,
int progress)
destroyBlockProgress in class net.minecraft.world.Worldpublic net.minecraft.scoreboard.Scoreboard getScoreboard()
getScoreboard in class net.minecraft.world.Worldpublic net.minecraft.item.crafting.RecipeManager getRecipeManager()
getRecipeManager in class net.minecraft.world.Worldpublic net.minecraft.tags.ITagCollectionSupplier getTagManager()
getTagManager in class net.minecraft.world.Worldpublic net.minecraft.world.biome.Biome getUncachedNoiseBiome(int p_225604_1_,
int p_225604_2_,
int p_225604_3_)
public net.minecraft.util.registry.DynamicRegistries registryAccess()
public float getShade(net.minecraft.util.Direction p_230487_1_,
boolean p_230487_2_)
public void blockEntityChanged(net.minecraft.util.math.BlockPos p_175646_1_,
net.minecraft.tileentity.TileEntity p_175646_2_)
blockEntityChanged in class net.minecraft.world.Worldpublic boolean hasChunkAt(net.minecraft.util.math.BlockPos p_175667_1_)
public void updateNeighbourForOutputSignal(net.minecraft.util.math.BlockPos p_175666_1_,
net.minecraft.block.Block p_175666_2_)
updateNeighbourForOutputSignal in class net.minecraft.world.World