@ParametersAreNonnullByDefault
public class WrappedClientWorld
extends net.minecraft.client.world.ClientWorld
| Modifier and Type | Field and Description |
|---|---|
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| Modifier and Type | Method and Description |
|---|---|
void |
addAlwaysVisibleParticle(net.minecraft.particles.IParticleData p_217404_1_,
boolean p_217404_2_,
double p_217404_3_,
double p_217404_5_,
double p_217404_7_,
double p_217404_9_,
double p_217404_11_,
double p_217404_13_) |
void |
addAlwaysVisibleParticle(net.minecraft.particles.IParticleData p_195589_1_,
double p_195589_2_,
double p_195589_4_,
double p_195589_6_,
double p_195589_8_,
double p_195589_10_,
double p_195589_12_) |
void |
addParticle(net.minecraft.particles.IParticleData p_195590_1_,
boolean p_195590_2_,
double p_195590_3_,
double p_195590_5_,
double p_195590_7_,
double p_195590_9_,
double p_195590_11_,
double p_195590_13_) |
void |
addParticle(net.minecraft.particles.IParticleData p_195594_1_,
double p_195594_2_,
double p_195594_4_,
double p_195594_6_,
double p_195594_8_,
double p_195594_10_,
double p_195594_12_) |
java.util.stream.Stream<net.minecraft.util.math.shapes.VoxelShape> |
getBlockCollisions(net.minecraft.entity.Entity entity,
net.minecraft.util.math.AxisAlignedBB axisAlignedBB) |
java.util.stream.Stream<net.minecraft.util.math.shapes.VoxelShape> |
getBlockCollisions(net.minecraft.entity.Entity entity,
net.minecraft.util.math.AxisAlignedBB axisAlignedBB,
java.util.function.BiPredicate<net.minecraft.block.BlockState,net.minecraft.util.math.BlockPos> blockStateBlockPosBiPredicate) |
net.minecraft.tileentity.TileEntity |
getBlockEntity(net.minecraft.util.math.BlockPos p_175625_1_) |
net.minecraft.block.BlockState |
getBlockState(net.minecraft.util.math.BlockPos pos) |
int |
getBlockTint(net.minecraft.util.math.BlockPos p_225525_1_,
net.minecraft.world.level.ColorResolver p_225525_2_) |
int |
getBrightness(net.minecraft.world.LightType type,
net.minecraft.util.math.BlockPos pos) |
net.minecraft.fluid.FluidState |
getFluidState(net.minecraft.util.math.BlockPos pos) |
int |
getLightEmission(net.minecraft.util.math.BlockPos pos) |
<T extends net.minecraft.entity.LivingEntity> |
getNearestEntity(java.util.List<? extends T> p_217361_1_,
net.minecraft.entity.EntityPredicate p_217361_2_,
net.minecraft.entity.LivingEntity p_217361_3_,
double p_217361_4_,
double p_217361_6_,
double p_217361_8_) |
net.minecraft.world.World |
getWrappedWorld() |
boolean |
hasChunkAt(net.minecraft.util.math.BlockPos pos) |
boolean |
isLoaded(net.minecraft.util.math.BlockPos pos) |
static WrappedClientWorld |
of(net.minecraft.world.World world) |
void |
playLocalSound(double p_184134_1_,
double p_184134_3_,
double p_184134_5_,
net.minecraft.util.SoundEvent p_184134_7_,
net.minecraft.util.SoundCategory p_184134_8_,
float p_184134_9_,
float p_184134_10_,
boolean p_184134_11_) |
void |
playSound(net.minecraft.entity.player.PlayerEntity p_184148_1_,
double p_184148_2_,
double p_184148_4_,
double p_184148_6_,
net.minecraft.util.SoundEvent p_184148_8_,
net.minecraft.util.SoundCategory p_184148_9_,
float p_184148_10_,
float p_184148_11_) |
addPlayer, animateTick, calculateBlockTint, clearTintCaches, createFireworks, destroyBlockProgress, disconnect, doAnimateTick, effects, entitiesForRendering, fillReportDetails, getBlockTicks, getChunkSource, getCloudColor, getEntity, getEntityCount, getFreeMapId, getLevelData, getLiquidTicks, getMapData, getRecipeManager, getScoreboard, getShade, getSharedSpawnAngle, getSharedSpawnPos, getSkyColor, getSkyDarken, getSkyFlashTime, getStarBrightness, getTagManager, getUncachedNoiseBiome, globalLevelEvent, hasChunk, levelEvent, onChunkLoaded, players, playLocalSound, playSound, putNonPlayerEntity, reAddEntitiesToChunk, registryAccess, removeAllPendingEntityRemovals, removeEntity, sendBlockUpdated, sendPacketToServer, setBlocksDirty, setDayTime, setDefaultSpawnPos, setGameTime, setKnownState, setMapData, setScoreboard, setSectionDirtyWithNeighbors, setSkyFlashTime, tick, tickEntities, tickNonPassenger, tickPassenger, toString, unloadaddAllPendingBlockEntities, addBlockEntity, blockEntityChanged, blockEvent, broadcastEntityEvent, close, destroyBlock, dimension, dimensionType, explode, explode, explode, gatherChunkSourceStats, getBestNeighborSignal, getBiomeManager, getBlockRandomPos, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getDirectSignalTo, getEntities, getEntities, getEntitiesOfClass, getGameRules, getGameTime, getHeight, getLightEngine, getLoadedEntitiesOfClass, getMaxEntityRadius, getProfiler, getProfilerSupplier, getRainLevel, getRandom, getSeaLevel, getServer, getSignal, getSkyDarken, getSunAngle, getThunderLevel, getWorldBorder, guardEntityTick, hasNeighborSignal, hasSignal, increaseMaxEntityRadius, isClientSide, isDay, isDebug, isHumidAt, isInSpawnableBounds, isInWorldBounds, isNight, isOutsideBuildHeight, isOutsideBuildHeight, isRaining, isRainingAt, isStateAtPosition, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, markAndNotifyBlock, mayInteract, neighborChanged, noSave, onBlockStateChange, playSound, prepareWeather, removeBlock, removeBlockEntity, setBlock, setBlock, setBlockAndUpdate, setBlockEntity, setRainLevel, setSpawnSettings, setThunderLevel, tickBlockEntities, updateNeighborsAt, updateNeighborsAtExceptFromFacing, updateNeighbourForOutputSignal, updateSkyBrightnessareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitblockUpdated, dayTime, getDifficulty, getHeight, levelEventgetBiomeName, getEntityCollisions, getHeightmapPos, isUnobstructedgetEntities, getEntitiesOfClass, getLoadedEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestLoadedEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayeraddFreshEntity, destroyBlock, destroyBlockgetMoonBrightness, getMoonPhase, getTimeOfDaycanSeeSkyFromBelowWater, containsAnyLiquid, getBiome, getBlockStatesIfLoaded, getBrightness, getChunk, getChunk, getDirectSignal, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getNoiseBiome, hasChunksAt, hasChunksAt, isAreaLoaded, isEmptyBlock, isWaterAtcanSeeSky, getRawBrightnessgetCollisions, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollisionpublic static WrappedClientWorld of(net.minecraft.world.World world)
public boolean hasChunkAt(net.minecraft.util.math.BlockPos pos)
public boolean isLoaded(net.minecraft.util.math.BlockPos pos)
isLoaded in class net.minecraft.world.Worldpublic java.util.stream.Stream<net.minecraft.util.math.shapes.VoxelShape> getBlockCollisions(@Nullable
net.minecraft.entity.Entity entity,
net.minecraft.util.math.AxisAlignedBB axisAlignedBB)
public java.util.stream.Stream<net.minecraft.util.math.shapes.VoxelShape> getBlockCollisions(@Nullable
net.minecraft.entity.Entity entity,
net.minecraft.util.math.AxisAlignedBB axisAlignedBB,
java.util.function.BiPredicate<net.minecraft.block.BlockState,net.minecraft.util.math.BlockPos> blockStateBlockPosBiPredicate)
public net.minecraft.block.BlockState getBlockState(net.minecraft.util.math.BlockPos pos)
getBlockState in interface net.minecraft.world.IBlockReadergetBlockState in class net.minecraft.world.Worldpublic int getBrightness(net.minecraft.world.LightType type,
net.minecraft.util.math.BlockPos pos)
public int getLightEmission(net.minecraft.util.math.BlockPos pos)
public net.minecraft.fluid.FluidState getFluidState(net.minecraft.util.math.BlockPos pos)
getFluidState in interface net.minecraft.world.IBlockReadergetFluidState in class net.minecraft.world.World@Nullable
public <T extends net.minecraft.entity.LivingEntity> T getNearestEntity(java.util.List<? extends T> p_217361_1_,
net.minecraft.entity.EntityPredicate p_217361_2_,
@Nullable
net.minecraft.entity.LivingEntity p_217361_3_,
double p_217361_4_,
double p_217361_6_,
double p_217361_8_)
public int getBlockTint(net.minecraft.util.math.BlockPos p_225525_1_,
net.minecraft.world.level.ColorResolver p_225525_2_)
getBlockTint in interface net.minecraft.world.IBlockDisplayReadergetBlockTint in interface net.minecraft.world.IWorldReadergetBlockTint in class net.minecraft.client.world.ClientWorldpublic void addParticle(net.minecraft.particles.IParticleData p_195594_1_,
double p_195594_2_,
double p_195594_4_,
double p_195594_6_,
double p_195594_8_,
double p_195594_10_,
double p_195594_12_)
addParticle in interface net.minecraft.world.IWorldaddParticle in class net.minecraft.client.world.ClientWorldpublic void addParticle(net.minecraft.particles.IParticleData p_195590_1_,
boolean p_195590_2_,
double p_195590_3_,
double p_195590_5_,
double p_195590_7_,
double p_195590_9_,
double p_195590_11_,
double p_195590_13_)
addParticle in class net.minecraft.client.world.ClientWorldpublic void addAlwaysVisibleParticle(net.minecraft.particles.IParticleData p_195589_1_,
double p_195589_2_,
double p_195589_4_,
double p_195589_6_,
double p_195589_8_,
double p_195589_10_,
double p_195589_12_)
addAlwaysVisibleParticle in class net.minecraft.client.world.ClientWorldpublic void addAlwaysVisibleParticle(net.minecraft.particles.IParticleData p_217404_1_,
boolean p_217404_2_,
double p_217404_3_,
double p_217404_5_,
double p_217404_7_,
double p_217404_9_,
double p_217404_11_,
double p_217404_13_)
addAlwaysVisibleParticle in class net.minecraft.client.world.ClientWorldpublic void playLocalSound(double p_184134_1_,
double p_184134_3_,
double p_184134_5_,
net.minecraft.util.SoundEvent p_184134_7_,
net.minecraft.util.SoundCategory p_184134_8_,
float p_184134_9_,
float p_184134_10_,
boolean p_184134_11_)
playLocalSound in class net.minecraft.client.world.ClientWorldpublic void playSound(@Nullable
net.minecraft.entity.player.PlayerEntity p_184148_1_,
double p_184148_2_,
double p_184148_4_,
double p_184148_6_,
net.minecraft.util.SoundEvent p_184148_8_,
net.minecraft.util.SoundCategory p_184148_9_,
float p_184148_10_,
float p_184148_11_)
playSound in class net.minecraft.client.world.ClientWorld@Nullable public net.minecraft.tileentity.TileEntity getBlockEntity(net.minecraft.util.math.BlockPos p_175625_1_)
getBlockEntity in interface net.minecraft.world.IBlockReadergetBlockEntity in class net.minecraft.world.Worldpublic net.minecraft.world.World getWrappedWorld()