Package net.minecraft.client.world
Class ClientWorld
java.lang.Object
net.minecraft.world.World
net.minecraft.client.world.ClientWorld
- All Implemented Interfaces:
AutoCloseable,DataCache.CacheContext<ClientWorld>,BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityQueriable<Entity>,EntityView,HeightLimitView,LunarWorldView,ModifiableTestableWorld,ModifiableWorld,RedstoneView,RegistryWorldView,TestableWorld,ScheduledTickView,WorldAccess,WorldView
@Environment(CLIENT)
public class ClientWorld
extends World
implements DataCache.CacheContext<ClientWorld>
- Mappings:
Namespace Name named net/minecraft/client/world/ClientWorldintermediary net/minecraft/class_638official glo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate final classstatic classNested classes/interfaces inherited from class net.minecraft.world.World
World.ExplosionSourceTypeNested classes/interfaces inherited from interface net.minecraft.world.BlockView
BlockView.CollisionVisitor -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientChunkManagerprivate final MinecraftClientprivate final ClientWorld.Propertiesprivate final Object2ObjectArrayMap<ColorResolver, BiomeColorCache> private final DimensionEffects(package private) final List<EnderDragonPart> (package private) final EntityListprivate final ClientEntityManager<Entity> private static final intprivate static final intprivate static final intprivate intprivate static final Loggerprivate final Map<MapIdComponent, MapState> private final ClientPlayNetworkHandlerprivate static final doubleA minor offset applied when spawning particles.private final PendingUpdateManager(package private) final List<AbstractClientPlayerEntity> private final intprivate booleanprivate intprivate final TickManagerprivate final WorldEventHandlerprivate final WorldRendererFields inherited from class net.minecraft.world.World
blockEntityTickers, CODEC, END, field_30967, field_30968, field_30969, HORIZONTAL_LIMIT, isClient, lastRainGradient, lastThunderGradient, lcgBlockSeed, lcgBlockSeedIncrement, MAX_UPDATE_DEPTH, MAX_Y, MIN_Y, neighborUpdater, NETHER, OVERWORLD, properties, rainGradient, random, thunderGradientFields inherited from interface net.minecraft.world.BlockView
field_54147Fields inherited from interface net.minecraft.world.RedstoneView
DIRECTIONS -
Constructor Summary
ConstructorsConstructorDescriptionClientWorld(ClientPlayNetworkHandler networkHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimensionType, int loadDistance, int simulationDistance, WorldRenderer worldRenderer, boolean debugWorld, long seed, int seaLevel) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBlockBreakParticles(BlockPos pos, BlockState state) addDetailsToCrashReport(CrashReport report) voidvoidaddFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, List<FireworkExplosionComponent> explosions) voidaddImportantParticleClient(ParticleEffect parameters, boolean force, double x, double y, double z, double velocityX, double velocityY, double velocityZ) Adds an important particle to the client's world renderer.voidaddImportantParticleClient(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) Adds an important particle to the client's world renderer.private voidaddParticle(double minX, double maxX, double minZ, double maxZ, double y, ParticleEffect parameters) private voidaddParticle(BlockPos pos, BlockState state, ParticleEffect parameters, boolean solidBelow) private voidaddParticle(BlockPos pos, ParticleEffect parameters, VoxelShape shape, double y) voidaddParticleClient(ParticleEffect parameters, boolean force, boolean canSpawnOnMinimal, double x, double y, double z, double velocityX, double velocityY, double velocityZ) Adds a particle to the client's world renderer.voidaddParticleClient(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) Adds a particle to the client's world renderer.asString()intcalculateColor(BlockPos pos, ColorResolver colorResolver) voidcreateExplosion(@Nullable Entity entity, @Nullable DamageSource damageSource, @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect smallParticle, ParticleEffect largeParticle, RegistryEntry<SoundEvent> soundEvent) Creates an explosion.voidvoiddoRandomBlockDisplayTicks(int centerX, int centerY, int centerZ) voidemitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.voidenqueueChunkUpdate(Runnable updater) intgetBlockColor(BlockPos pos) floatgetBrightness(Direction direction, boolean shaded) intgetCloudsColor(float tickProgress) intgetColor(BlockPos pos, ColorResolver colorResolver) getCrammedEntities(Entity entity, Box box) getEntityById(int id) Returns the entity using the entity ID, ornullif none was found.protected EntityLookup<Entity> getGeneratorStoredBiome(int biomeX, int biomeY, int biomeZ) intprotected Map<MapIdComponent, MapState> (package private) PendingUpdateManagerintintintfloatgetSkyBrightness(float tickProgress) intgetSkyColor(Vec3d cameraPos, float tickProgress) floatgetStarBrightness(float tickProgress) voidhandleBlockUpdate(BlockPos pos, BlockState state, int flags) voidhandlePlayerActionResponse(int sequence) booleanbooleanisChunkLoaded(int chunkX, int chunkZ) voidonChunkUnload(long sectionPos) private voidplaySound(double x, double y, double z, SoundEvent event, SoundCategory category, float volume, float pitch, boolean useDistance, long seed) voidplaySound(@Nullable Entity source, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) Plays a sound caused by a source.voidplaySoundClient(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) voidplaySoundClient(SoundEvent sound, SoundCategory category, float volume, float pitch) voidplaySoundFromEntity(@Nullable Entity source, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) Plays a sound caused by a source at the provided entity's position.voidplaySoundFromEntityClient(Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) voidprocessPendingUpdate(BlockPos pos, BlockState state, Vec3d playerPos) voidputClientsideMapState(MapIdComponent id, MapState state) protected voidputMapStates(Map<MapIdComponent, MapState> mapStates) voidrandomBlockDisplayTick(int centerX, int centerY, int centerZ, int radius, Random random, @Nullable Block block, BlockPos.Mutable pos) voidregisterForCleaning(DataCache<ClientWorld, ?> dataCache) voidvoidremoveEntity(int entityId, Entity.RemovalReason removalReason) voidresetChunkColor(ChunkPos chunkPos) voidvoidscheduleBlockRenders(int x, int y, int z) voidscheduleBlockRerenderIfNeeded(BlockPos pos, BlockState old, BlockState updated) voidscheduleChunkRenders(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) voidsendPacket(Packet<?> packet) voidsetBlockBreakingInfo(int entityId, BlockPos pos, int progress) booleansetBlockState(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.voidsetLightningTicksLeft(int lightningTicksLeft) voidsetSimulationDistance(int simulationDistance) voidsetSpawnPos(BlockPos pos, float angle) voidsetTime(long time, long timeOfDay, boolean shouldTickTimeOfDay) booleanshouldUpdatePostDeath(Entity entity) voidsyncGlobalEvent(int eventId, BlockPos pos, int data) voidsyncWorldEvent(@Nullable Entity source, int eventId, BlockPos pos, int data) voidtick(BooleanSupplier shouldKeepTicking) voidvoidtickEntity(Entity entity) private voidtickPassenger(Entity entity, Entity passenger) private voidtickTime()toString()voidunloadBlockEntities(WorldChunk chunk) voidupdateListeners(BlockPos pos, BlockState oldState, BlockState newState, int flags) Methods inherited from class net.minecraft.world.World
addBlockEntity, addBlockEntityTicker, addSyncedBlockEvent, breakBlock, calculateAmbientDarkness, canEntityModifyAt, close, collectEntitiesByType, collectEntitiesByType, createExplosion, createExplosion, createExplosion, createExplosion, getAmbientDarkness, getBiomeAccess, getBlockEntity, getBlockState, getChunk, getChunk, getChunkAsView, getDamageSources, getDimension, getDimensionEntry, getEntitiesByType, getEntity, getFluidState, getLightingProvider, getLocalDifficulty, getOtherEntities, getRainGradient, getRandom, getRandomPosInChunk, getRegistryKey, getRegistryManager, getServer, getSkyAngleRadians, getSpawnAngle, getSpawnPos, getThunderGradient, getTickOrder, getTime, getTimeOfDay, getTopY, getWorldBorder, getWorldChunk, hasRain, initWeatherGradients, isClient, isDay, isDebugWorld, isDirectionSolid, isInBuildLimit, isNight, isNightAndNatural, isPosLoaded, isRaining, isSavingDisabled, isThundering, isTopSolid, isValid, markDirty, onBlockStateChanged, playSound, playSound, playSound, playSound, playSound, playSoundAtBlockCenterClient, playSoundFromEntity, removeBlock, removeBlockEntity, replaceWithStateForNeighborUpdate, sendEntityDamage, sendEntityStatus, setBlockState, setBlockState, setMobSpawnOptions, setRainGradient, setThunderGradient, shouldTickBlockPos, shouldTickBlocksInChunk, testBlockState, testFluidState, tickBlockEntities, tickEntity, updateComparators, updateNeighbor, updateNeighbor, updateNeighborsAlways, updateNeighborsExceptMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockView
getDismountHeight, getDismountHeight, getLuminance, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionView
canCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, findSupportingBlockPos, getBlockCollisions, getBlockOrFluidCollisions, getCollisions, getCollisionsIncludingWorldBorder, getEntityCollisions, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmptyMethods inherited from interface net.minecraft.world.EntityView
getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getNonSpectatingEntities, getOtherEntities, getPlayerByUuid, isPlayerInRangeMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopYInclusive, isInHeightLimit, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoordMethods inherited from interface net.minecraft.world.LunarWorldView
getMoonPhase, getMoonSize, getSkyAngleMethods inherited from interface net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, spawnEntityMethods inherited from interface net.minecraft.world.RedstoneView
getEmittedRedstonePower, getEmittedRedstonePower, getReceivedRedstonePower, getReceivedStrongRedstonePower, getStrongRedstonePower, isEmittingRedstonePower, isReceivingRedstonePowerMethods inherited from interface net.minecraft.world.RegistryWorldView
doesNotIntersectEntities, getBlockEntity, getEntityCollisions, getTopPositionMethods inherited from interface net.minecraft.world.tick.ScheduledTickView
scheduleBlockTick, scheduleBlockTick, scheduleFluidTick, scheduleFluidTickMethods inherited from interface net.minecraft.world.WorldAccess
createOrderedTick, createOrderedTick, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, getDifficulty, getLunarTime, playSound, syncWorldEvent, updateNeighborsMethods inherited from interface net.minecraft.world.WorldView
containsFluid, createCommandRegistryWrapper, getBiome, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getHeight, getLightLevel, getLightLevel, getPhototaxisFavor, getStatesInBoxIfLoaded, getTopY, isAir, isChunkLoaded, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/world/ClientWorld;LOGGER:Lorg/slf4j/Logger;intermediary field_37952Lnet/minecraft/class_638;field_37952:Lorg/slf4j/Logger;official aLglo;a:Lorg/slf4j/Logger;
-
PARTICLE_Y_OFFSET
private static final double PARTICLE_Y_OFFSETA minor offset applied when spawning particles.- See Also:
- Mappings:
Namespace Name Mixin selector named PARTICLE_Y_OFFSETLnet/minecraft/client/world/ClientWorld;PARTICLE_Y_OFFSET:Dintermediary field_32641Lnet/minecraft/class_638;field_32641:Dofficial bLglo;b:D
-
field_34805
private static final int field_34805- See Also:
- Mappings:
Namespace Name Mixin selector named field_34805Lnet/minecraft/client/world/ClientWorld;field_34805:Iintermediary field_34805Lnet/minecraft/class_638;field_34805:Iofficial cLglo;c:I
-
field_34806
private static final int field_34806- See Also:
- Mappings:
Namespace Name Mixin selector named field_34806Lnet/minecraft/client/world/ClientWorld;field_34806:Iintermediary field_34806Lnet/minecraft/class_638;field_34806:Iofficial dLglo;d:I
-
field_32640
private static final int field_32640- See Also:
- Mappings:
Namespace Name Mixin selector named field_32640Lnet/minecraft/client/world/ClientWorld;field_32640:Iintermediary field_32640Lnet/minecraft/class_638;field_32640:Iofficial OLglo;O:I
-
BLOCK_MARKER_ITEMS
- Mappings:
Namespace Name Mixin selector named BLOCK_MARKER_ITEMSLnet/minecraft/client/world/ClientWorld;BLOCK_MARKER_ITEMS:Ljava/util/Set;intermediary field_35432Lnet/minecraft/class_638;field_35432:Ljava/util/Set;official XLglo;X:Ljava/util/Set;
-
entityList
- Mappings:
Namespace Name Mixin selector named entityListLnet/minecraft/client/world/ClientWorld;entityList:Lnet/minecraft/world/EntityList;intermediary field_27733Lnet/minecraft/class_638;field_27733:Lnet/minecraft/class_5574;official eLglo;e:Legb;
-
entityManager
- Mappings:
Namespace Name Mixin selector named entityManagerLnet/minecraft/client/world/ClientWorld;entityManager:Lnet/minecraft/world/entity/ClientEntityManager;intermediary field_27734Lnet/minecraft/class_638;field_27734:Lnet/minecraft/class_5582;official fLglo;f:Legh;
-
networkHandler
- Mappings:
Namespace Name Mixin selector named networkHandlerLnet/minecraft/client/world/ClientWorld;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;intermediary field_3727Lnet/minecraft/class_638;field_3727:Lnet/minecraft/class_634;official ELglo;E:Lglp;
-
worldRenderer
- Mappings:
Namespace Name Mixin selector named worldRendererLnet/minecraft/client/world/ClientWorld;worldRenderer:Lnet/minecraft/client/render/WorldRenderer;intermediary field_17780Lnet/minecraft/class_638;field_17780:Lnet/minecraft/class_761;official FLglo;F:Lgri;
-
worldEventHandler
- Mappings:
Namespace Name Mixin selector named worldEventHandlerLnet/minecraft/client/world/ClientWorld;worldEventHandler:Lnet/minecraft/client/world/WorldEventHandler;intermediary field_53028Lnet/minecraft/class_638;field_53028:Lnet/minecraft/class_9959;official GLglo;G:Lgrh;
-
clientWorldProperties
- Mappings:
Namespace Name Mixin selector named clientWorldPropertiesLnet/minecraft/client/world/ClientWorld;clientWorldProperties:Lnet/minecraft/client/world/ClientWorld$Properties;intermediary field_24430Lnet/minecraft/class_638;field_24430:Lnet/minecraft/class_638$class_5271;official HLglo;H:Lglo$a;
-
dimensionEffects
- Mappings:
Namespace Name Mixin selector named dimensionEffectsLnet/minecraft/client/world/ClientWorld;dimensionEffects:Lnet/minecraft/client/render/DimensionEffects;intermediary field_24606Lnet/minecraft/class_638;field_24606:Lnet/minecraft/class_5294;official ILglo;I:Lgqz;
-
tickManager
- Mappings:
Namespace Name Mixin selector named tickManagerLnet/minecraft/client/world/ClientWorld;tickManager:Lnet/minecraft/world/tick/TickManager;intermediary field_47129Lnet/minecraft/class_638;field_47129:Lnet/minecraft/class_8921;official JLglo;J:Lbvl;
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/world/ClientWorld;client:Lnet/minecraft/client/MinecraftClient;intermediary field_3729Lnet/minecraft/class_638;field_3729:Lnet/minecraft/class_310;official KLglo;K:Lfqq;
-
players
- Mappings:
Namespace Name Mixin selector named playersLnet/minecraft/client/world/ClientWorld;players:Ljava/util/List;intermediary field_18226Lnet/minecraft/class_638;field_18226:Ljava/util/List;official LLglo;L:Ljava/util/List;
-
enderDragonParts
- Mappings:
Namespace Name Mixin selector named enderDragonPartsLnet/minecraft/client/world/ClientWorld;enderDragonParts:Ljava/util/List;intermediary field_55125Lnet/minecraft/class_638;field_55125:Ljava/util/List;official MLglo;M:Ljava/util/List;
-
mapStates
- Mappings:
Namespace Name Mixin selector named mapStatesLnet/minecraft/client/world/ClientWorld;mapStates:Ljava/util/Map;intermediary field_17675Lnet/minecraft/class_638;field_17675:Ljava/util/Map;official NLglo;N:Ljava/util/Map;
-
lightningTicksLeft
private int lightningTicksLeft- Mappings:
Namespace Name Mixin selector named lightningTicksLeftLnet/minecraft/client/world/ClientWorld;lightningTicksLeft:Iintermediary field_21526Lnet/minecraft/class_638;field_21526:Iofficial PLglo;P:I
-
colorCache
- Mappings:
Namespace Name Mixin selector named colorCacheLnet/minecraft/client/world/ClientWorld;colorCache:Lit/unimi/dsi/fastutil/objects/Object2ObjectArrayMap;intermediary field_21527Lnet/minecraft/class_638;field_21527:Lit/unimi/dsi/fastutil/objects/Object2ObjectArrayMap;official QLglo;Q:Lit/unimi/dsi/fastutil/objects/Object2ObjectArrayMap;
-
chunkManager
- Mappings:
Namespace Name Mixin selector named chunkManagerLnet/minecraft/client/world/ClientWorld;chunkManager:Lnet/minecraft/client/world/ClientChunkManager;intermediary field_24605Lnet/minecraft/class_638;field_24605:Lnet/minecraft/class_631;official RLglo;R:Lglk;
-
chunkUpdaters
- Mappings:
Namespace Name Mixin selector named chunkUpdatersLnet/minecraft/client/world/ClientWorld;chunkUpdaters:Ljava/util/Deque;intermediary field_34804Lnet/minecraft/class_638;field_34804:Ljava/util/Deque;official SLglo;S:Ljava/util/Deque;
-
simulationDistance
private int simulationDistance- Mappings:
Namespace Name Mixin selector named simulationDistanceLnet/minecraft/client/world/ClientWorld;simulationDistance:Iintermediary field_35163Lnet/minecraft/class_638;field_35163:Iofficial TLglo;T:I
-
pendingUpdateManager
- Mappings:
Namespace Name Mixin selector named pendingUpdateManagerLnet/minecraft/client/world/ClientWorld;pendingUpdateManager:Lnet/minecraft/client/network/PendingUpdateManager;intermediary field_37951Lnet/minecraft/class_638;field_37951:Lnet/minecraft/class_7202;official ULglo;U:Lgnb;
-
seaLevel
private final int seaLevel- Mappings:
Namespace Name Mixin selector named seaLevelLnet/minecraft/client/world/ClientWorld;seaLevel:Iintermediary field_53029Lnet/minecraft/class_638;field_53029:Iofficial VLglo;V:I
-
shouldTickTimeOfDay
private boolean shouldTickTimeOfDay- Mappings:
Namespace Name Mixin selector named shouldTickTimeOfDayLnet/minecraft/client/world/ClientWorld;shouldTickTimeOfDay:Zintermediary field_54500Lnet/minecraft/class_638;field_54500:Zofficial WLglo;W:Z
-
-
Constructor Details
-
ClientWorld
public ClientWorld(ClientPlayNetworkHandler networkHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimensionType, int loadDistance, int simulationDistance, WorldRenderer worldRenderer, boolean debugWorld, long seed, int seaLevel) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/world/ClientWorld;<init>(Lnet/minecraft/client/network/ClientPlayNetworkHandler;Lnet/minecraft/client/world/ClientWorld$Properties;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/registry/entry/RegistryEntry;IILnet/minecraft/client/render/WorldRenderer;ZJI)Vintermediary <init>Lnet/minecraft/class_638;<init>(Lnet/minecraft/class_634;Lnet/minecraft/class_638$class_5271;Lnet/minecraft/class_5321;Lnet/minecraft/class_6880;IILnet/minecraft/class_761;ZJI)Vofficial <init>Lglo;<init>(Lglp;Lglo$a;Lalq;Ljg;IILgri;ZJI)V
-
-
Method Details
-
handlePlayerActionResponse
public void handlePlayerActionResponse(int sequence) - Mappings:
Namespace Name Mixin selector named handlePlayerActionResponseLnet/minecraft/client/world/ClientWorld;handlePlayerActionResponse(I)Vintermediary method_41927Lnet/minecraft/class_638;method_41927(I)Vofficial bLglo;b(I)V
-
handleBlockUpdate
- Mappings:
Namespace Name Mixin selector named handleBlockUpdateLnet/minecraft/client/world/ClientWorld;handleBlockUpdate(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Vintermediary method_41928Lnet/minecraft/class_638;method_41928(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;I)Vofficial bLglo;b(Liw;Lebq;I)V
-
processPendingUpdate
- Mappings:
Namespace Name Mixin selector named processPendingUpdateLnet/minecraft/client/world/ClientWorld;processPendingUpdate(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_41926Lnet/minecraft/class_638;method_41926(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_243;)Vofficial aLglo;a(Liw;Lebq;Lfgc;)V
-
getPendingUpdateManager
PendingUpdateManager getPendingUpdateManager()- Mappings:
Namespace Name Mixin selector named getPendingUpdateManagerLnet/minecraft/client/world/ClientWorld;getPendingUpdateManager()Lnet/minecraft/client/network/PendingUpdateManager;intermediary method_41925Lnet/minecraft/class_638;method_41925()Lnet/minecraft/class_7202;official aLglo;a()Lgnb;
-
setBlockState
Updates the block state at a position, calling appropriate callbacks.When called on the server, the new block state is stored and propagated to clients and listeners as dictated by the supplied flags. Note that calling this on the client will update the world locally, but may not see the change persisted across loads. It's recommended to check whether this world is client before interacting with the world in this way.
See
World.setBlockState(BlockPos, BlockState, int)for a list of accepted flags.- Specified by:
setBlockStatein interfaceModifiableWorld- Overrides:
setBlockStatein classWorld- Parameters:
pos- the target positionstate- the block state to setflags- the bitwise flag combination, as described abovemaxUpdateDepth- the limit for the cascading block updates- Mappings:
Namespace Name Mixin selector named setBlockStateLnet/minecraft/world/ModifiableWorld;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)Zintermediary method_30092Lnet/minecraft/class_1945;method_30092(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)Zofficial aLdkr;a(Liw;Lebq;II)Z
-
enqueueChunkUpdate
- Mappings:
Namespace Name Mixin selector named enqueueChunkUpdateLnet/minecraft/client/world/ClientWorld;enqueueChunkUpdate(Ljava/lang/Runnable;)Vintermediary method_38536Lnet/minecraft/class_638;method_38536(Ljava/lang/Runnable;)Vofficial aLglo;a(Ljava/lang/Runnable;)V
-
runQueuedChunkUpdates
public void runQueuedChunkUpdates()- Mappings:
Namespace Name Mixin selector named runQueuedChunkUpdatesLnet/minecraft/client/world/ClientWorld;runQueuedChunkUpdates()Vintermediary method_38534Lnet/minecraft/class_638;method_38534()Vofficial bLglo;b()V
-
getDimensionEffects
- Mappings:
Namespace Name Mixin selector named getDimensionEffectsLnet/minecraft/client/world/ClientWorld;getDimensionEffects()Lnet/minecraft/client/render/DimensionEffects;intermediary method_28103Lnet/minecraft/class_638;method_28103()Lnet/minecraft/class_5294;official cLglo;c()Lgqz;
-
tick
- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/client/world/ClientWorld;tick(Ljava/util/function/BooleanSupplier;)Vintermediary method_8441Lnet/minecraft/class_638;method_8441(Ljava/util/function/BooleanSupplier;)Vofficial aLglo;a(Ljava/util/function/BooleanSupplier;)V
-
tickTime
private void tickTime()- Mappings:
Namespace Name Mixin selector named tickTimeLnet/minecraft/client/world/ClientWorld;tickTime()Vintermediary method_29090Lnet/minecraft/class_638;method_29090()Vofficial nLglo;n()V
-
setTime
public void setTime(long time, long timeOfDay, boolean shouldTickTimeOfDay) - Mappings:
Namespace Name Mixin selector named setTimeLnet/minecraft/client/world/ClientWorld;setTime(JJZ)Vintermediary method_29089Lnet/minecraft/class_638;method_29089(JJZ)Vofficial aLglo;a(JJZ)V
-
getEntities
- Mappings:
Namespace Name Mixin selector named getEntitiesLnet/minecraft/client/world/ClientWorld;getEntities()Ljava/lang/Iterable;intermediary method_18112Lnet/minecraft/class_638;method_18112()Ljava/lang/Iterable;official dLglo;d()Ljava/lang/Iterable;
-
tickEntities
public void tickEntities()- Mappings:
Namespace Name Mixin selector named tickEntitiesLnet/minecraft/client/world/ClientWorld;tickEntities()Vintermediary method_18116Lnet/minecraft/class_638;method_18116()Vofficial eLglo;e()V
-
hasEntity
- Mappings:
Namespace Name Mixin selector named hasEntityLnet/minecraft/client/world/ClientWorld;hasEntity(Lnet/minecraft/entity/Entity;)Zintermediary method_62145Lnet/minecraft/class_638;method_62145(Lnet/minecraft/class_1297;)Zofficial aLglo;a(Lbxe;)Z
-
shouldUpdatePostDeath
- Overrides:
shouldUpdatePostDeathin classWorld- Mappings:
Namespace Name Mixin selector named shouldUpdatePostDeathLnet/minecraft/world/World;shouldUpdatePostDeath(Lnet/minecraft/entity/Entity;)Zintermediary method_38989Lnet/minecraft/class_1937;method_38989(Lnet/minecraft/class_1297;)Zofficial hLdkj;h(Lbxe;)Z
-
tickEntity
- Mappings:
Namespace Name Mixin selector named tickEntityLnet/minecraft/client/world/ClientWorld;tickEntity(Lnet/minecraft/entity/Entity;)Vintermediary method_18646Lnet/minecraft/class_638;method_18646(Lnet/minecraft/class_1297;)Vofficial cLglo;c(Lbxe;)V
-
tickPassenger
- Mappings:
Namespace Name Mixin selector named tickPassengerLnet/minecraft/client/world/ClientWorld;tickPassenger(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;)Vintermediary method_18647Lnet/minecraft/class_638;method_18647(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Vofficial aLglo;a(Lbxe;Lbxe;)V
-
unloadBlockEntities
- Mappings:
Namespace Name Mixin selector named unloadBlockEntitiesLnet/minecraft/client/world/ClientWorld;unloadBlockEntities(Lnet/minecraft/world/chunk/WorldChunk;)Vintermediary method_18110Lnet/minecraft/class_638;method_18110(Lnet/minecraft/class_2818;)Vofficial aLglo;a(Ledx;)V
-
resetChunkColor
- Mappings:
Namespace Name Mixin selector named resetChunkColorLnet/minecraft/client/world/ClientWorld;resetChunkColor(Lnet/minecraft/util/math/ChunkPos;)Vintermediary method_23782Lnet/minecraft/class_638;method_23782(Lnet/minecraft/class_1923;)Vofficial aLglo;a(Ldjo;)V
-
onChunkUnload
public void onChunkUnload(long sectionPos) - Mappings:
Namespace Name Mixin selector named onChunkUnloadLnet/minecraft/client/world/ClientWorld;onChunkUnload(J)Vintermediary method_62895Lnet/minecraft/class_638;method_62895(J)Vofficial bLglo;b(J)V
-
reloadColor
public void reloadColor()- Mappings:
Namespace Name Mixin selector named reloadColorLnet/minecraft/client/world/ClientWorld;reloadColor()Vintermediary method_23784Lnet/minecraft/class_638;method_23784()Vofficial fLglo;f()V
-
isChunkLoaded
public boolean isChunkLoaded(int chunkX, int chunkZ) - Specified by:
isChunkLoadedin interfaceWorldAccess- Specified by:
isChunkLoadedin interfaceWorldView- Mappings:
Namespace Name Mixin selector named isChunkLoadedLnet/minecraft/world/WorldView;isChunkLoaded(II)Zintermediary method_8393Lnet/minecraft/class_4538;method_8393(II)Zofficial bLdkm;b(II)Z
-
getRegularEntityCount
public int getRegularEntityCount()- Mappings:
Namespace Name Mixin selector named getRegularEntityCountLnet/minecraft/client/world/ClientWorld;getRegularEntityCount()Iintermediary method_18120Lnet/minecraft/class_638;method_18120()Iofficial gLglo;g()I
-
addEntity
- Mappings:
Namespace Name Mixin selector named addEntityLnet/minecraft/client/world/ClientWorld;addEntity(Lnet/minecraft/entity/Entity;)Vintermediary method_53875Lnet/minecraft/class_638;method_53875(Lnet/minecraft/class_1297;)Vofficial dLglo;d(Lbxe;)V
-
removeEntity
- Mappings:
Namespace Name Mixin selector named removeEntityLnet/minecraft/client/world/ClientWorld;removeEntity(ILnet/minecraft/entity/Entity$RemovalReason;)Vintermediary method_2945Lnet/minecraft/class_638;method_2945(ILnet/minecraft/class_1297$class_5529;)Vofficial aLglo;a(ILbxe$d;)V
-
getCrammedEntities
- Overrides:
getCrammedEntitiesin classWorld- Mappings:
Namespace Name Mixin selector named getCrammedEntitiesLnet/minecraft/world/World;getCrammedEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Ljava/util/List;intermediary method_66349Lnet/minecraft/class_1937;method_66349(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Ljava/util/List;official iLdkj;i(Lbxe;Lffx;)Ljava/util/List;
-
getEntityById
Returns the entity using the entity ID, ornullif none was found.Entity ID is ephemeral and changes after server restart. Use the UUID for persistent storage instead.
- Specified by:
getEntityByIdin classWorld- Returns:
- the entity using the entity ID, or
nullif none was found - See Also:
- Mappings:
Namespace Name Mixin selector named getEntityByIdLnet/minecraft/world/World;getEntityById(I)Lnet/minecraft/entity/Entity;intermediary method_8469Lnet/minecraft/class_1937;method_8469(I)Lnet/minecraft/class_1297;official aLdkj;a(I)Lbxe;
-
disconnect
public void disconnect()- Overrides:
disconnectin classWorld- Mappings:
Namespace Name Mixin selector named disconnectLnet/minecraft/world/World;disconnect()Vintermediary method_8525Lnet/minecraft/class_1937;method_8525()Vofficial adLdkj;ad()V
-
doRandomBlockDisplayTicks
public void doRandomBlockDisplayTicks(int centerX, int centerY, int centerZ) - Mappings:
Namespace Name Mixin selector named doRandomBlockDisplayTicksLnet/minecraft/client/world/ClientWorld;doRandomBlockDisplayTicks(III)Vintermediary method_2941Lnet/minecraft/class_638;method_2941(III)Vofficial bLglo;b(III)V
-
getBlockParticle
- Mappings:
Namespace Name Mixin selector named getBlockParticleLnet/minecraft/client/world/ClientWorld;getBlockParticle()Lnet/minecraft/block/Block;intermediary method_35752Lnet/minecraft/class_638;method_35752()Lnet/minecraft/class_2248;official oLglo;o()Ldno;
-
randomBlockDisplayTick
public void randomBlockDisplayTick(int centerX, int centerY, int centerZ, int radius, Random random, @Nullable @Nullable Block block, BlockPos.Mutable pos) - Mappings:
Namespace Name Mixin selector named randomBlockDisplayTickLnet/minecraft/client/world/ClientWorld;randomBlockDisplayTick(IIIILnet/minecraft/util/math/random/Random;Lnet/minecraft/block/Block;Lnet/minecraft/util/math/BlockPos$Mutable;)Vintermediary method_2943Lnet/minecraft/class_638;method_2943(IIIILnet/minecraft/class_5819;Lnet/minecraft/class_2248;Lnet/minecraft/class_2338$class_2339;)Vofficial aLglo;a(IIIILbai;Ldno;Liw$a;)V
-
addParticle
private void addParticle(BlockPos pos, BlockState state, ParticleEffect parameters, boolean solidBelow) - Mappings:
Namespace Name Mixin selector named addParticleLnet/minecraft/client/world/ClientWorld;addParticle(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/particle/ParticleEffect;Z)Vintermediary method_2938Lnet/minecraft/class_638;method_2938(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2394;Z)Vofficial aLglo;a(Liw;Lebq;Llx;Z)V
-
addParticle
- Mappings:
Namespace Name Mixin selector named addParticleLnet/minecraft/client/world/ClientWorld;addParticle(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/util/shape/VoxelShape;D)Vintermediary method_2948Lnet/minecraft/class_638;method_2948(Lnet/minecraft/class_2338;Lnet/minecraft/class_2394;Lnet/minecraft/class_265;D)Vofficial aLglo;a(Liw;Llx;Lfgw;D)V
-
addParticle
private void addParticle(double minX, double maxX, double minZ, double maxZ, double y, ParticleEffect parameters) - Mappings:
Namespace Name Mixin selector named addParticleLnet/minecraft/client/world/ClientWorld;addParticle(DDDDDLnet/minecraft/particle/ParticleEffect;)Vintermediary method_2932Lnet/minecraft/class_638;method_2932(DDDDDLnet/minecraft/class_2394;)Vofficial aLglo;a(DDDDDLlx;)V
-
addDetailsToCrashReport
- Overrides:
addDetailsToCrashReportin classWorld- Mappings:
Namespace Name Mixin selector named addDetailsToCrashReportLnet/minecraft/world/World;addDetailsToCrashReport(Lnet/minecraft/util/crash/CrashReport;)Lnet/minecraft/util/crash/CrashReportSection;intermediary method_8538Lnet/minecraft/class_1937;method_8538(Lnet/minecraft/class_128;)Lnet/minecraft/class_129;official aLdkj;a(Lp;)Lq;
-
playSound
public void playSound(@Nullable @Nullable Entity source, double x, double y, double z, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) Plays a sound caused by a source. On the client, the sound will only play if the source is the same as the client's player. On the server, sound packets will be sent to players around the source, excluding the source itself.- Specified by:
playSoundin classWorld- Parameters:
source- the player that caused this sound, ornull- Mappings:
Namespace Name Mixin selector named playSoundLnet/minecraft/world/World;playSound(Lnet/minecraft/entity/Entity;DDDLnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/sound/SoundCategory;FFJ)Vintermediary method_8465Lnet/minecraft/class_1937;method_8465(Lnet/minecraft/class_1297;DDDLnet/minecraft/class_6880;Lnet/minecraft/class_3419;FFJ)Vofficial aLdkj;a(Lbxe;DDDLjg;Lawz;FFJ)V
-
playSoundFromEntity
public void playSoundFromEntity(@Nullable @Nullable Entity source, Entity entity, RegistryEntry<SoundEvent> sound, SoundCategory category, float volume, float pitch, long seed) Plays a sound caused by a source at the provided entity's position. On the client, the sound will only play if the source is the same as the client's player. On the server, sound packets will be sent to players around the source, excluding the source itself.- Specified by:
playSoundFromEntityin classWorld- Parameters:
source- the player that caused this sound, ornull- Mappings:
Namespace Name Mixin selector named playSoundFromEntityLnet/minecraft/world/World;playSoundFromEntity(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/sound/SoundCategory;FFJ)Vintermediary method_8449Lnet/minecraft/class_1937;method_8449(Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;Lnet/minecraft/class_6880;Lnet/minecraft/class_3419;FFJ)Vofficial aLdkj;a(Lbxe;Lbxe;Ljg;Lawz;FFJ)V
-
playSoundFromEntityClient
public void playSoundFromEntityClient(Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) - Overrides:
playSoundFromEntityClientin classWorld- Mappings:
Namespace Name Mixin selector named playSoundFromEntityClientLnet/minecraft/world/World;playSoundFromEntityClient(Lnet/minecraft/entity/Entity;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)Vintermediary method_55116Lnet/minecraft/class_1937;method_55116(Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vofficial aLdkj;a(Lbxe;Lawx;Lawz;FF)V
-
playSoundClient
- Overrides:
playSoundClientin classWorld- Mappings:
Namespace Name Mixin selector named playSoundClientLnet/minecraft/world/World;playSoundClient(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)Vintermediary method_67392Lnet/minecraft/class_1937;method_67392(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vofficial aLdkj;a(Lawx;Lawz;FF)V
-
playSoundClient
public void playSoundClient(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) - Overrides:
playSoundClientin classWorld- Mappings:
Namespace Name Mixin selector named playSoundClientLnet/minecraft/world/World;playSoundClient(DDDLnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFZ)Vintermediary method_8486Lnet/minecraft/class_1937;method_8486(DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZ)Vofficial aLdkj;a(DDDLawx;Lawz;FFZ)V
-
playSound
private void playSound(double x, double y, double z, SoundEvent event, SoundCategory category, float volume, float pitch, boolean useDistance, long seed) - Mappings:
Namespace Name Mixin selector named playSoundLnet/minecraft/client/world/ClientWorld;playSound(DDDLnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FFZJ)Vintermediary method_43207Lnet/minecraft/class_638;method_43207(DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZJ)Vofficial aLglo;a(DDDLawx;Lawz;FFZJ)V
-
addFireworkParticle
public void addFireworkParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, List<FireworkExplosionComponent> explosions) - Overrides:
addFireworkParticlein classWorld- Mappings:
Namespace Name Mixin selector named addFireworkParticleLnet/minecraft/world/World;addFireworkParticle(DDDDDDLjava/util/List;)Vintermediary method_8547Lnet/minecraft/class_1937;method_8547(DDDDDDLjava/util/List;)Vofficial aLdkj;a(DDDDDDLjava/util/List;)V
-
sendPacket
- Overrides:
sendPacketin classWorld- Mappings:
Namespace Name Mixin selector named sendPacketLnet/minecraft/world/World;sendPacket(Lnet/minecraft/network/packet/Packet;)Vintermediary method_8522Lnet/minecraft/class_1937;method_8522(Lnet/minecraft/class_2596;)Vofficial aLdkj;a(Lzo;)V
-
getRecipeManager
- Specified by:
getRecipeManagerin classWorld- Mappings:
Namespace Name Mixin selector named getRecipeManagerLnet/minecraft/world/World;getRecipeManager()Lnet/minecraft/recipe/RecipeManager;intermediary method_8433Lnet/minecraft/class_1937;method_8433()Lnet/minecraft/class_10286;official QLdkj;Q()Ldfc;
-
getTickManager
- Specified by:
getTickManagerin classWorld- Mappings:
Namespace Name Mixin selector named getTickManagerLnet/minecraft/world/World;getTickManager()Lnet/minecraft/world/tick/TickManager;intermediary method_54719Lnet/minecraft/class_1937;method_54719()Lnet/minecraft/class_8921;official uLdkj;u()Lbvl;
-
getBlockTickScheduler
- Specified by:
getBlockTickSchedulerin interfaceScheduledTickView- Mappings:
Namespace Name Mixin selector named getBlockTickSchedulerLnet/minecraft/world/tick/ScheduledTickView;getBlockTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;intermediary method_8397Lnet/minecraft/class_10225;method_8397()Lnet/minecraft/class_6756;official ULdky;U()Lfhq;
-
getFluidTickScheduler
- Specified by:
getFluidTickSchedulerin interfaceScheduledTickView- Mappings:
Namespace Name Mixin selector named getFluidTickSchedulerLnet/minecraft/world/tick/ScheduledTickView;getFluidTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;intermediary method_8405Lnet/minecraft/class_10225;method_8405()Lnet/minecraft/class_6756;official TLdky;T()Lfhq;
-
getChunkManager
- Specified by:
getChunkManagerin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector named getChunkManagerLnet/minecraft/client/world/ClientWorld;getChunkManager()Lnet/minecraft/client/world/ClientChunkManager;intermediary method_2935Lnet/minecraft/class_638;method_2935()Lnet/minecraft/class_631;official hLglo;h()Lglk;
-
getMapState
- Specified by:
getMapStatein classWorld- Mappings:
Namespace Name Mixin selector named getMapStateLnet/minecraft/world/World;getMapState(Lnet/minecraft/component/type/MapIdComponent;)Lnet/minecraft/item/map/MapState;intermediary method_17891Lnet/minecraft/class_1937;method_17891(Lnet/minecraft/class_9209;)Lnet/minecraft/class_22;official aLdkj;a(Lezt;)Lezv;
-
putClientsideMapState
- Mappings:
Namespace Name Mixin selector named putClientsideMapStateLnet/minecraft/client/world/ClientWorld;putClientsideMapState(Lnet/minecraft/component/type/MapIdComponent;Lnet/minecraft/item/map/MapState;)Vintermediary method_47437Lnet/minecraft/class_638;method_47437(Lnet/minecraft/class_9209;Lnet/minecraft/class_22;)Vofficial aLglo;a(Lezt;Lezv;)V
-
getScoreboard
- Specified by:
getScoreboardin classWorld- Mappings:
Namespace Name Mixin selector named getScoreboardLnet/minecraft/world/World;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;intermediary method_8428Lnet/minecraft/class_1937;method_8428()Lnet/minecraft/class_269;official RLdkj;R()Lfhh;
-
updateListeners
- Specified by:
updateListenersin classWorld- Mappings:
Namespace Name Mixin selector named updateListenersLnet/minecraft/world/World;updateListeners(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;I)Vintermediary method_8413Lnet/minecraft/class_1937;method_8413(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;I)Vofficial aLdkj;a(Liw;Lebq;Lebq;I)V
-
scheduleBlockRerenderIfNeeded
- Overrides:
scheduleBlockRerenderIfNeededin classWorld- Mappings:
Namespace Name Mixin selector named scheduleBlockRerenderIfNeededLnet/minecraft/world/World;scheduleBlockRerenderIfNeeded(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;)Vintermediary method_16109Lnet/minecraft/class_1937;method_16109(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;)Vofficial bLdkj;b(Liw;Lebq;Lebq;)V
-
scheduleBlockRenders
public void scheduleBlockRenders(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named scheduleBlockRendersLnet/minecraft/client/world/ClientWorld;scheduleBlockRenders(III)Vintermediary method_18113Lnet/minecraft/class_638;method_18113(III)Vofficial cLglo;c(III)V
-
scheduleChunkRenders
public void scheduleChunkRenders(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) - Mappings:
Namespace Name Mixin selector named scheduleChunkRendersLnet/minecraft/client/world/ClientWorld;scheduleChunkRenders(IIIIII)Vintermediary method_62146Lnet/minecraft/class_638;method_62146(IIIIII)Vofficial bLglo;b(IIIIII)V
-
setBlockBreakingInfo
- Specified by:
setBlockBreakingInfoin classWorld- Mappings:
Namespace Name Mixin selector named setBlockBreakingInfoLnet/minecraft/world/World;setBlockBreakingInfo(ILnet/minecraft/util/math/BlockPos;I)Vintermediary method_8517Lnet/minecraft/class_1937;method_8517(ILnet/minecraft/class_2338;I)Vofficial aLdkj;a(ILiw;I)V
-
syncGlobalEvent
- Overrides:
syncGlobalEventin classWorld- Mappings:
Namespace Name Mixin selector named syncGlobalEventLnet/minecraft/world/World;syncGlobalEvent(ILnet/minecraft/util/math/BlockPos;I)Vintermediary method_8474Lnet/minecraft/class_1937;method_8474(ILnet/minecraft/class_2338;I)Vofficial bLdkj;b(ILiw;I)V
-
syncWorldEvent
- Specified by:
syncWorldEventin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector named syncWorldEventLnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/Entity;ILnet/minecraft/util/math/BlockPos;I)Vintermediary method_8444Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1297;ILnet/minecraft/class_2338;I)Vofficial aLdkk;a(Lbxe;ILiw;I)V
-
addParticleClient
public void addParticleClient(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) Adds a particle to the client's world renderer. Does nothing on the server.- Specified by:
addParticleClientin interfaceWorldAccess- Overrides:
addParticleClientin classWorld- See Also:
- Mappings:
Namespace Name Mixin selector named addParticleClientLnet/minecraft/world/WorldAccess;addParticleClient(Lnet/minecraft/particle/ParticleEffect;DDDDDD)Vintermediary method_8406Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)Vofficial aLdkk;a(Llx;DDDDDD)V
-
addParticleClient
public void addParticleClient(ParticleEffect parameters, boolean force, boolean canSpawnOnMinimal, double x, double y, double z, double velocityX, double velocityY, double velocityZ) Adds a particle to the client's world renderer. Does nothing on the server.- Overrides:
addParticleClientin classWorld- See Also:
- Mappings:
Namespace Name Mixin selector named addParticleClientLnet/minecraft/world/World;addParticleClient(Lnet/minecraft/particle/ParticleEffect;ZZDDDDDD)Vintermediary method_8466Lnet/minecraft/class_1937;method_8466(Lnet/minecraft/class_2394;ZZDDDDDD)Vofficial aLdkj;a(Llx;ZZDDDDDD)V
-
addImportantParticleClient
public void addImportantParticleClient(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) Adds an important particle to the client's world renderer. Important particles get added even if the Particles graphics option is set to Minimal Does nothing on the server.- Overrides:
addImportantParticleClientin classWorld- See Also:
- Mappings:
Namespace Name Mixin selector named addImportantParticleClientLnet/minecraft/world/World;addImportantParticleClient(Lnet/minecraft/particle/ParticleEffect;DDDDDD)Vintermediary method_8494Lnet/minecraft/class_1937;method_8494(Lnet/minecraft/class_2394;DDDDDD)Vofficial bLdkj;b(Llx;DDDDDD)V
-
addImportantParticleClient
public void addImportantParticleClient(ParticleEffect parameters, boolean force, double x, double y, double z, double velocityX, double velocityY, double velocityZ) Adds an important particle to the client's world renderer. Important particles get added even if the Particles graphics option is set to Minimal Does nothing on the server.- Overrides:
addImportantParticleClientin classWorld- See Also:
- Mappings:
Namespace Name Mixin selector named addImportantParticleClientLnet/minecraft/world/World;addImportantParticleClient(Lnet/minecraft/particle/ParticleEffect;ZDDDDDD)Vintermediary method_17452Lnet/minecraft/class_1937;method_17452(Lnet/minecraft/class_2394;ZDDDDDD)Vofficial aLdkj;a(Llx;ZDDDDDD)V
-
getPlayers
- Specified by:
getPlayersin interfaceEntityView- Mappings:
Namespace Name Mixin selector named getPlayersLnet/minecraft/world/EntityView;getPlayers()Ljava/util/List;intermediary method_18456Lnet/minecraft/class_1924;method_18456()Ljava/util/List;official zLdkb;z()Ljava/util/List;
-
getEnderDragonParts
- Specified by:
getEnderDragonPartsin classWorld- Mappings:
Namespace Name Mixin selector named getEnderDragonPartsLnet/minecraft/client/world/ClientWorld;getEnderDragonParts()Ljava/util/List;intermediary method_65192Lnet/minecraft/class_638;method_65192()Ljava/util/List;official iLglo;i()Ljava/util/List;
-
getGeneratorStoredBiome
- Specified by:
getGeneratorStoredBiomein interfaceWorldView- Mappings:
Namespace Name Mixin selector named getGeneratorStoredBiomeLnet/minecraft/world/WorldView;getGeneratorStoredBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_22387Lnet/minecraft/class_4538;method_22387(III)Lnet/minecraft/class_6880;official aLdkm;a(III)Ljg;
-
getSkyBrightness
public float getSkyBrightness(float tickProgress) - Mappings:
Namespace Name Mixin selector named getSkyBrightnessLnet/minecraft/client/world/ClientWorld;getSkyBrightness(F)Fintermediary method_23783Lnet/minecraft/class_638;method_23783(F)Fofficial gLglo;g(F)F
-
getSkyColor
- Mappings:
Namespace Name Mixin selector named getSkyColorLnet/minecraft/client/world/ClientWorld;getSkyColor(Lnet/minecraft/util/math/Vec3d;F)Iintermediary method_23777Lnet/minecraft/class_638;method_23777(Lnet/minecraft/class_243;F)Iofficial aLglo;a(Lfgc;F)I
-
getCloudsColor
public int getCloudsColor(float tickProgress) - Mappings:
Namespace Name Mixin selector named getCloudsColorLnet/minecraft/client/world/ClientWorld;getCloudsColor(F)Iintermediary method_23785Lnet/minecraft/class_638;method_23785(F)Iofficial hLglo;h(F)I
-
getStarBrightness
public float getStarBrightness(float tickProgress) - Mappings:
Namespace Name Mixin selector named getStarBrightnessLnet/minecraft/client/world/ClientWorld;getStarBrightness(F)Fintermediary method_23787Lnet/minecraft/class_638;method_23787(F)Fofficial iLglo;i(F)F
-
getLightningTicksLeft
public int getLightningTicksLeft()- Mappings:
Namespace Name Mixin selector named getLightningTicksLeftLnet/minecraft/client/world/ClientWorld;getLightningTicksLeft()Iintermediary method_23789Lnet/minecraft/class_638;method_23789()Iofficial jLglo;j()I
-
setLightningTicksLeft
public void setLightningTicksLeft(int lightningTicksLeft) - Overrides:
setLightningTicksLeftin classWorld- Mappings:
Namespace Name Mixin selector named setLightningTicksLeftLnet/minecraft/world/World;setLightningTicksLeft(I)Vintermediary method_8509Lnet/minecraft/class_1937;method_8509(I)Vofficial cLdkj;c(I)V
-
getBrightness
- Specified by:
getBrightnessin interfaceBlockRenderView- Mappings:
Namespace Name Mixin selector named getBrightnessLnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)Fintermediary method_24852Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)Fofficial aLdjk;a(Ljc;Z)F
-
getColor
- Specified by:
getColorin interfaceBlockRenderView- Specified by:
getColorin interfaceWorldView- Mappings:
Namespace Name Mixin selector named getColorLnet/minecraft/world/BlockRenderView;getColor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/ColorResolver;)Iintermediary method_23752Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/class_6539;)Iofficial aLdjk;a(Liw;Ldjt;)I
-
calculateColor
- Mappings:
Namespace Name Mixin selector named calculateColorLnet/minecraft/client/world/ClientWorld;calculateColor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/ColorResolver;)Iintermediary method_23780Lnet/minecraft/class_638;method_23780(Lnet/minecraft/class_2338;Lnet/minecraft/class_6539;)Iofficial bLglo;b(Liw;Ldjt;)I
-
setSpawnPos
- Mappings:
Namespace Name Mixin selector named setSpawnPosLnet/minecraft/client/world/ClientWorld;setSpawnPos(Lnet/minecraft/util/math/BlockPos;F)Vintermediary method_27873Lnet/minecraft/class_638;method_27873(Lnet/minecraft/class_2338;F)Vofficial aLglo;a(Liw;F)V
-
toString
-
getLevelProperties
- Specified by:
getLevelPropertiesin interfaceWorldAccess- Overrides:
getLevelPropertiesin classWorld- Mappings:
Namespace Name Mixin selector named getLevelPropertiesLnet/minecraft/client/world/ClientWorld;getLevelProperties()Lnet/minecraft/client/world/ClientWorld$Properties;intermediary method_28104Lnet/minecraft/class_638;method_28104()Lnet/minecraft/class_638$class_5271;official kLglo;k()Lglo$a;
-
emitGameEvent
public void emitGameEvent(RegistryEntry<GameEvent> event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.- Specified by:
emitGameEventin interfaceWorldAccess- Mappings:
Namespace Name Mixin selector named emitGameEventLnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/world/event/GameEvent$Emitter;)Vintermediary method_32888Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_6880;Lnet/minecraft/class_243;Lnet/minecraft/class_5712$class_7397;)Vofficial aLdkk;a(Ljg;Lfgc;Legq$a;)V
-
getMapStates
- Mappings:
Namespace Name Mixin selector named getMapStatesLnet/minecraft/client/world/ClientWorld;getMapStates()Ljava/util/Map;intermediary method_35754Lnet/minecraft/class_638;method_35754()Ljava/util/Map;official lLglo;l()Ljava/util/Map;
-
putMapStates
- Mappings:
Namespace Name Mixin selector named putMapStatesLnet/minecraft/client/world/ClientWorld;putMapStates(Ljava/util/Map;)Vintermediary method_35753Lnet/minecraft/class_638;method_35753(Ljava/util/Map;)Vofficial aLglo;a(Ljava/util/Map;)V
-
getEntityLookup
- Specified by:
getEntityLookupin classWorld- Mappings:
Namespace Name Mixin selector named getEntityLookupLnet/minecraft/world/World;getEntityLookup()Lnet/minecraft/world/entity/EntityLookup;intermediary method_31592Lnet/minecraft/class_1937;method_31592()Lnet/minecraft/class_5577;official HLdkj;H()Lege;
-
asString
-
addBlockBreakParticles
- Overrides:
addBlockBreakParticlesin classWorld- Mappings:
Namespace Name Mixin selector named addBlockBreakParticlesLnet/minecraft/world/World;addBlockBreakParticles(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary method_31595Lnet/minecraft/class_1937;method_31595(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial aLdkj;a(Liw;Lebq;)V
-
setSimulationDistance
public void setSimulationDistance(int simulationDistance) - Mappings:
Namespace Name Mixin selector named setSimulationDistanceLnet/minecraft/client/world/ClientWorld;setSimulationDistance(I)Vintermediary method_39023Lnet/minecraft/class_638;method_39023(I)Vofficial iLglo;i(I)V
-
getSimulationDistance
public int getSimulationDistance()- Mappings:
Namespace Name Mixin selector named getSimulationDistanceLnet/minecraft/client/world/ClientWorld;getSimulationDistance()Iintermediary method_39024Lnet/minecraft/class_638;method_39024()Iofficial mLglo;m()I
-
getEnabledFeatures
- Specified by:
getEnabledFeaturesin interfaceWorldView- Mappings:
Namespace Name Mixin selector named getEnabledFeaturesLnet/minecraft/world/WorldView;getEnabledFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;intermediary method_45162Lnet/minecraft/class_4538;method_45162()Lnet/minecraft/class_7699;official KLdkm;K()Lcvs;
-
getBrewingRecipeRegistry
- Specified by:
getBrewingRecipeRegistryin classWorld- Mappings:
Namespace Name Mixin selector named getBrewingRecipeRegistryLnet/minecraft/world/World;getBrewingRecipeRegistry()Lnet/minecraft/recipe/BrewingRecipeRegistry;intermediary method_59547Lnet/minecraft/class_1937;method_59547()Lnet/minecraft/class_1845;official LLdkj;L()Ldcf;
-
getFuelRegistry
- Specified by:
getFuelRegistryin classWorld- Mappings:
Namespace Name Mixin selector named getFuelRegistryLnet/minecraft/world/World;getFuelRegistry()Lnet/minecraft/item/FuelRegistry;intermediary method_61269Lnet/minecraft/class_1937;method_61269()Lnet/minecraft/class_9895;official MLdkj;M()Ldzn;
-
createExplosion
public void createExplosion(@Nullable @Nullable Entity entity, @Nullable @Nullable DamageSource damageSource, @Nullable @Nullable ExplosionBehavior behavior, double x, double y, double z, float power, boolean createFire, World.ExplosionSourceType explosionSourceType, ParticleEffect smallParticle, ParticleEffect largeParticle, RegistryEntry<SoundEvent> soundEvent) Creates an explosion.- Specified by:
createExplosionin classWorld- Parameters:
entity- the entity that exploded (like TNT) ornullto indicate no entity explodeddamageSource- the custom damage source, ornullto use the default (DamageSources.explosion(Explosion))behavior- the explosion behavior, ornullto use the defaultcreateFire- whether the explosion should create fire- Mappings:
Namespace Name Mixin selector named createExplosionLnet/minecraft/world/World;createExplosion(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;Lnet/minecraft/world/explosion/ExplosionBehavior;DDDFZLnet/minecraft/world/World$ExplosionSourceType;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/particle/ParticleEffect;Lnet/minecraft/registry/entry/RegistryEntry;)Vintermediary method_8454Lnet/minecraft/class_1937;method_8454(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;Lnet/minecraft/class_5362;DDDFZLnet/minecraft/class_1937$class_7867;Lnet/minecraft/class_2394;Lnet/minecraft/class_2394;Lnet/minecraft/class_6880;)Vofficial aLdkj;a(Lbxe;Lbvt;Ldkd;DDDFZLdkj$a;Llx;Llx;Ljg;)V
-
getSeaLevel
public int getSeaLevel()- Specified by:
getSeaLevelin interfaceWorldView- Mappings:
Namespace Name Mixin selector named getSeaLevelLnet/minecraft/world/WorldView;getSeaLevel()Iintermediary method_8615Lnet/minecraft/class_4538;method_8615()Iofficial PLdkm;P()I
-
getBlockColor
- Overrides:
getBlockColorin classWorld- Mappings:
Namespace Name Mixin selector named getBlockColorLnet/minecraft/world/World;getBlockColor(Lnet/minecraft/util/math/BlockPos;)Iintermediary method_67233Lnet/minecraft/class_1937;method_67233(Lnet/minecraft/class_2338;)Iofficial sLdkj;s(Liw;)I
-
registerForCleaning
- Specified by:
registerForCleaningin interfaceDataCache.CacheContext<ClientWorld>- Mappings:
Namespace Name Mixin selector named registerForCleaningLnet/minecraft/client/world/DataCache$CacheContext;registerForCleaning(Lnet/minecraft/client/world/DataCache;)Vintermediary registerForCleaningLnet/minecraft/class_10719$class_10720;registerForCleaning(Lnet/minecraft/class_10719;)Vofficial registerForCleaningLglh$a;registerForCleaning(Lglh;)V
-