public class FakeClientWorld
extends net.minecraft.client.world.ClientWorld
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.client.world.ClientWorld.ClientWorldInfo |
clientWorldInfo |
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 |
|---|
FakeClientWorld() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyBlockProgress(int breakerId,
net.minecraft.util.math.BlockPos pos,
int progress) |
<T> net.minecraftforge.common.util.LazyOptional<T> |
getCapability(net.minecraftforge.common.capabilities.Capability<T> capability,
net.minecraft.util.Direction facing) |
net.minecraft.client.multiplayer.ClientChunkProvider |
getChunkSource() |
net.minecraft.entity.Entity |
getEntity(int p_73045_1_) |
int |
getFreeMapId() |
net.minecraft.world.storage.MapData |
getMapData(java.lang.String mapName) |
net.minecraft.item.crafting.RecipeManager |
getRecipeManager() |
net.minecraft.scoreboard.Scoreboard |
getScoreboard() |
net.minecraft.tags.ITagCollectionSupplier |
getTagManager() |
boolean |
hasChunk(int p_217354_1_,
int p_217354_2_) |
void |
levelEvent(net.minecraft.entity.player.PlayerEntity player,
int type,
net.minecraft.util.math.BlockPos pos,
int data) |
void |
playSound(net.minecraft.entity.player.PlayerEntity p_184133_1_,
net.minecraft.util.math.BlockPos p_184133_2_,
net.minecraft.util.SoundEvent p_184133_3_,
net.minecraft.util.SoundCategory p_184133_4_,
float p_184133_5_,
float p_184133_6_) |
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 |
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 mapData) |
addAlwaysVisibleParticle, addAlwaysVisibleParticle, addParticle, addParticle, addPlayer, animateTick, calculateBlockTint, clearTintCaches, createFireworks, disconnect, doAnimateTick, effects, entitiesForRendering, fillReportDetails, getBlockTicks, getBlockTint, getCloudColor, getEntityCount, getLevelData, getLiquidTicks, getShade, getSharedSpawnAngle, getSharedSpawnPos, getSkyColor, getSkyDarken, getSkyFlashTime, getStarBrightness, getUncachedNoiseBiome, globalLevelEvent, onChunkLoaded, players, playLocalSound, playLocalSound, playSound, putNonPlayerEntity, reAddEntitiesToChunk, registryAccess, removeAllPendingEntityRemovals, removeEntity, sendPacketToServer, setBlocksDirty, setDayTime, setDefaultSpawnPos, setGameTime, setKnownState, setScoreboard, setSectionDirtyWithNeighbors, setSkyFlashTime, tick, tickEntities, tickNonPassenger, tickPassenger, toString, unloadaddAllPendingBlockEntities, addBlockEntity, blockEntityChanged, blockEvent, broadcastEntityEvent, close, destroyBlock, dimension, dimensionType, explode, explode, explode, gatherChunkSourceStats, getBestNeighborSignal, getBiomeManager, getBlockEntity, getBlockRandomPos, getBlockState, getChunk, getChunk, getChunkAt, getChunkForCollisions, getCurrentDifficultyAt, getDayTime, getDirectSignalTo, getEntities, getEntities, getEntitiesOfClass, getFluidState, 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, isLoaded, isNight, isOutsideBuildHeight, isOutsideBuildHeight, isRaining, isRainingAt, isStateAtPosition, isThundering, loadedAndEntityCanStandOn, loadedAndEntityCanStandOnFace, markAndNotifyBlock, mayInteract, neighborChanged, noSave, onBlockStateChange, prepareWeather, removeBlock, removeBlockEntity, setBlock, setBlock, setBlockAndUpdate, setBlockEntity, setRainLevel, setSpawnSettings, setThunderLevel, tickBlockEntities, updateNeighborsAt, updateNeighborsAtExceptFromFacing, updateNeighbourForOutputSignal, updateSkyBrightnessareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitblockUpdated, dayTime, getDifficulty, getHeight, levelEventgetBiomeName, getEntityCollisions, getHeightmapPos, isUnobstructedgetEntities, getEntitiesOfClass, getLoadedEntitiesOfClass, getNearbyEntities, getNearbyPlayers, getNearestEntity, getNearestEntity, getNearestLoadedEntity, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getNearestPlayer, getPlayerByUUID, hasNearbyAlivePlayeraddFreshEntity, destroyBlock, destroyBlockgetMoonBrightness, getMoonPhase, getTimeOfDaycanSeeSkyFromBelowWater, containsAnyLiquid, getBiome, getBlockStatesIfLoaded, getBrightness, getChunk, getChunk, getDirectSignal, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getNoiseBiome, hasChunkAt, hasChunksAt, hasChunksAt, isAreaLoaded, isEmptyBlock, isWaterAtcanSeeSky, getBrightness, getRawBrightnessgetBlockCollisions, getBlockCollisions, getCollisions, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollisionpublic static final net.minecraft.client.world.ClientWorld.ClientWorldInfo clientWorldInfo
@Nullable
public <T> net.minecraftforge.common.util.LazyOptional<T> getCapability(net.minecraftforge.common.capabilities.Capability<T> capability,
@Nullable
net.minecraft.util.Direction facing)
getCapability in interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapability in class net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.World>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.client.world.ClientWorldpublic 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.client.world.ClientWorldpublic void playSound(@Nullable
net.minecraft.entity.player.PlayerEntity p_184133_1_,
net.minecraft.util.math.BlockPos p_184133_2_,
net.minecraft.util.SoundEvent p_184133_3_,
net.minecraft.util.SoundCategory p_184133_4_,
float p_184133_5_,
float p_184133_6_)
playSound in interface net.minecraft.world.IWorldplaySound in class net.minecraft.world.World@Nullable public net.minecraft.entity.Entity getEntity(int p_73045_1_)
getEntity in class net.minecraft.client.world.ClientWorldpublic net.minecraft.client.multiplayer.ClientChunkProvider getChunkSource()
getChunkSource in interface net.minecraft.world.IWorldgetChunkSource in class net.minecraft.client.world.ClientWorld@Nullable public net.minecraft.world.storage.MapData getMapData(java.lang.String mapName)
getMapData in class net.minecraft.client.world.ClientWorldpublic void setMapData(net.minecraft.world.storage.MapData mapData)
setMapData in class net.minecraft.client.world.ClientWorldpublic int getFreeMapId()
getFreeMapId in class net.minecraft.client.world.ClientWorldpublic void destroyBlockProgress(int breakerId,
net.minecraft.util.math.BlockPos pos,
int progress)
destroyBlockProgress in class net.minecraft.client.world.ClientWorldpublic net.minecraft.scoreboard.Scoreboard getScoreboard()
getScoreboard in class net.minecraft.client.world.ClientWorldpublic net.minecraft.item.crafting.RecipeManager getRecipeManager()
getRecipeManager in class net.minecraft.client.world.ClientWorldpublic net.minecraft.tags.ITagCollectionSupplier getTagManager()
getTagManager in class net.minecraft.client.world.ClientWorldpublic boolean hasChunk(int p_217354_1_,
int p_217354_2_)
hasChunk in interface net.minecraft.world.IWorldhasChunk in interface net.minecraft.world.IWorldReaderhasChunk in class net.minecraft.client.world.ClientWorldpublic void levelEvent(@Nullable
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.client.world.ClientWorld