Class ChunkRegion
- All Implemented Interfaces:
- BiomeAccess.Storage,- BlockRenderView,- BlockView,- CollisionView,- EntityView,- HeightLimitView,- LunarWorldView,- ModifiableTestableWorld,- ModifiableWorld,- RedstoneView,- RegistryWorldView,- ServerWorldAccess,- StructureWorldAccess,- TestableWorld,- WorldAccess,- WorldView
- Mappings:
- Namespace - Name - official - aim- intermediary - net/minecraft/class_3233- named - net/minecraft/world/ChunkRegion
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final BiomeAccessprivate final MultiTickScheduler<Block>private final Chunkprivate final DimensionTypeprivate final MultiTickScheduler<Fluid>private final WorldPropertiesprivate static final Loggerprivate final ChunkPosprivate final intThe number of neighboring chunks which can be accessed for block placement.private final Randomprivate final longprivate final ChunkStatusprivate final StructureAccessorprivate final AtomicLongprivate final ChunkPosprivate final intprivate final ServerWorldprivate static final IdentifierFields inherited from interface net.minecraft.world.RedstoneViewDIRECTIONS
- 
Constructor SummaryConstructorsConstructorDescriptionChunkRegion(ServerWorld world, List<Chunk> chunks, ChunkStatus status, int placementRadius) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) booleanbreakBlock(BlockPos pos, boolean drop, @Nullable Entity breakingEntity, int maxUpdateDepth) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.voidemitGameEvent(GameEvent event, Vec3d emitterPos, GameEvent.Emitter emitter) Emits a game event.intgetBlockEntity(BlockPos pos) Returns the block entity atpos, ornullif there is none.getBlockState(BlockPos pos) Returns the block state atpos.intReturns the bottom Y level, or height, inclusive, of this view.floatgetBrightness(Direction direction, boolean shaded) getChunk(int chunkX, int chunkZ) Returns the chunk with positionchunkXandchunkZ.getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) getClosestPlayer(double x, double y, double z, double maxDistance, Predicate<Entity> targetPredicate) getEntitiesByType(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate) getFluidState(BlockPos pos) Returns the fluid state atpos.getGeneratorStoredBiome(int biomeX, int biomeY, int biomeZ) intComputes a list of entities within some box, excluding the given entity, that satisfy the given predicate.intlonggetSeed()longintgetTopY(Heightmap.Type heightmap, int x, int z) Returns the Y coordinate of the topmost block at the coordinatesxandzusingheightmap.booleanisChunkLoaded(int chunkX, int chunkZ) booleanisClient()Checks if this world view is on the logical client.booleanReturnstrueif the given position is an accessible position for thesetBlockStatefunction.private voidbooleanneedsBlending(ChunkPos chunkPos, int checkRadius) voidplaySound(@Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) booleanremoveBlock(BlockPos pos, boolean move) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.booleansetBlockState(BlockPos pos, BlockState state, int flags, int maxUpdateDepth) Updates the block state at a position, calling appropriate callbacks.voidsetCurrentlyGeneratingStructureName(@Nullable Supplier<String> structureName) booleanspawnEntity(Entity entity) Spawns an entity.voidsyncWorldEvent(@Nullable PlayerEntity player, int eventId, BlockPos pos, int data) booleantestBlockState(BlockPos pos, Predicate<BlockState> state) booleantestFluidState(BlockPos pos, Predicate<FluidState> state) Deprecated.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.BlockRenderViewgetBaseLightLevel, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockViewgetDismountHeight, getDismountHeight, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionViewcanCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, findSupportingBlockPos, getBlockCollisions, getCollisions, getEntityCollisions, isSpaceEmpty, isSpaceEmpty, isSpaceEmptyMethods inherited from interface net.minecraft.world.EntityViewgetClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getNonSpectatingEntities, getOtherEntities, getPlayerByUuid, getPlayers, getTargets, isPlayerInRangeMethods inherited from interface net.minecraft.world.HeightLimitViewcountVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoordMethods inherited from interface net.minecraft.world.LunarWorldViewgetMoonPhase, getMoonSize, getSkyAngleMethods inherited from interface net.minecraft.world.ModifiableWorldbreakBlock, breakBlock, setBlockStateMethods inherited from interface net.minecraft.world.RedstoneViewgetEmittedRedstonePower, getEmittedRedstonePower, getReceivedRedstonePower, getReceivedStrongRedstonePower, getStrongRedstonePower, isEmittingRedstonePower, isReceivingRedstonePowerMethods inherited from interface net.minecraft.world.RegistryWorldViewdoesNotIntersectEntities, getBlockEntity, getEntityCollisions, getTopPositionMethods inherited from interface net.minecraft.world.ServerWorldAccessspawnEntityAndPassengersMethods inherited from interface net.minecraft.world.WorldAccessemitGameEvent, emitGameEvent, emitGameEvent, getDifficulty, getLunarTime, playSound, replaceWithStateForNeighborUpdate, scheduleBlockTick, scheduleBlockTick, scheduleFluidTick, scheduleFluidTick, syncWorldEvent, updateNeighborsMethods inherited from interface net.minecraft.world.WorldViewcontainsFluid, createCommandRegistryWrapper, getBiome, getBiomeForNoiseGen, getBrightness, getChunk, getChunk, getChunkAsView, getColor, getLightLevel, getLightLevel, getPhototaxisFavor, getStatesInBoxIfLoaded, isAir, isChunkLoaded, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - official - a- Laim;a:Lorg/slf4j/Logger;- intermediary - field_14092- Lnet/minecraft/class_3233;field_14092:Lorg/slf4j/Logger;- named - LOGGER- Lnet/minecraft/world/ChunkRegion;LOGGER:Lorg/slf4j/Logger;
 
- 
WORLDGEN_REGION_RANDOM_ID- Mappings:
- Namespace - Name - Mixin selector - official - t- Laim;t:Lacq;- intermediary - field_38683- Lnet/minecraft/class_3233;field_38683:Lnet/minecraft/class_2960;- named - WORLDGEN_REGION_RANDOM_ID- Lnet/minecraft/world/ChunkRegion;WORLDGEN_REGION_RANDOM_ID:Lnet/minecraft/util/Identifier;
 
- 
chunks- Mappings:
- Namespace - Name - Mixin selector - official - b- Laim;b:Ljava/util/List;- intermediary - field_14098- Lnet/minecraft/class_3233;field_14098:Ljava/util/List;- named - chunks- Lnet/minecraft/world/ChunkRegion;chunks:Ljava/util/List;
 
- 
centerPos- Mappings:
- Namespace - Name - Mixin selector - official - c- Laim;c:Lddx;- intermediary - field_28557- Lnet/minecraft/class_3233;field_28557:Lnet/minecraft/class_2791;- named - centerPos- Lnet/minecraft/world/ChunkRegion;centerPos:Lnet/minecraft/world/chunk/Chunk;
 
- 
widthprivate final int width- Mappings:
- Namespace - Name - Mixin selector - official - d- Laim;d:I- intermediary - field_14088- Lnet/minecraft/class_3233;field_14088:I- named - width- Lnet/minecraft/world/ChunkRegion;width:I
 
- 
world- Mappings:
- Namespace - Name - Mixin selector - official - e- Laim;e:Laif;- intermediary - field_14093- Lnet/minecraft/class_3233;field_14093:Lnet/minecraft/class_3218;- named - world- Lnet/minecraft/world/ChunkRegion;world:Lnet/minecraft/server/world/ServerWorld;
 
- 
seedprivate final long seed- Mappings:
- Namespace - Name - Mixin selector - official - f- Laim;f:J- intermediary - field_14087- Lnet/minecraft/class_3233;field_14087:J- named - seed- Lnet/minecraft/world/ChunkRegion;seed:J
 
- 
levelProperties- Mappings:
- Namespace - Name - Mixin selector - official - g- Laim;g:Ldyv;- intermediary - field_14097- Lnet/minecraft/class_3233;field_14097:Lnet/minecraft/class_5217;- named - levelProperties- Lnet/minecraft/world/ChunkRegion;levelProperties:Lnet/minecraft/world/WorldProperties;
 
- 
random- Mappings:
- Namespace - Name - Mixin selector - official - h- Laim;h:Lapf;- intermediary - field_14091- Lnet/minecraft/class_3233;field_14091:Lnet/minecraft/class_5819;- named - random- Lnet/minecraft/world/ChunkRegion;random:Lnet/minecraft/util/math/random/Random;
 
- 
dimension- Mappings:
- Namespace - Name - Mixin selector - official - i- Laim;i:Ldfk;- intermediary - field_14096- Lnet/minecraft/class_3233;field_14096:Lnet/minecraft/class_2874;- named - dimension- Lnet/minecraft/world/ChunkRegion;dimension:Lnet/minecraft/world/dimension/DimensionType;
 
- 
blockTickScheduler- Mappings:
- Namespace - Name - Mixin selector - official - j- Laim;j:Lefy;- intermediary - field_14099- Lnet/minecraft/class_3233;field_14099:Lnet/minecraft/class_3235;- named - blockTickScheduler- Lnet/minecraft/world/ChunkRegion;blockTickScheduler:Lnet/minecraft/world/tick/MultiTickScheduler;
 
- 
fluidTickScheduler- Mappings:
- Namespace - Name - Mixin selector - official - k- Laim;k:Lefy;- intermediary - field_14094- Lnet/minecraft/class_3233;field_14094:Lnet/minecraft/class_3235;- named - fluidTickScheduler- Lnet/minecraft/world/ChunkRegion;fluidTickScheduler:Lnet/minecraft/world/tick/MultiTickScheduler;
 
- 
biomeAccess- Mappings:
- Namespace - Name - Mixin selector - official - l- Laim;l:Lcnm;- intermediary - field_20668- Lnet/minecraft/class_3233;field_20668:Lnet/minecraft/class_4543;- named - biomeAccess- Lnet/minecraft/world/ChunkRegion;biomeAccess:Lnet/minecraft/world/biome/source/BiomeAccess;
 
- 
lowerCorner- Mappings:
- Namespace - Name - Mixin selector - official - m- Laim;m:Lclt;- intermediary - field_23788- Lnet/minecraft/class_3233;field_23788:Lnet/minecraft/class_1923;- named - lowerCorner- Lnet/minecraft/world/ChunkRegion;lowerCorner:Lnet/minecraft/util/math/ChunkPos;
 
- 
upperCorner- Mappings:
- Namespace - Name - Mixin selector - official - n- Laim;n:Lclt;- intermediary - field_23789- Lnet/minecraft/class_3233;field_23789:Lnet/minecraft/class_1923;- named - upperCorner- Lnet/minecraft/world/ChunkRegion;upperCorner:Lnet/minecraft/util/math/ChunkPos;
 
- 
structureAccessor- Mappings:
- Namespace - Name - Mixin selector - official - o- Laim;o:Lcne;- intermediary - field_26822- Lnet/minecraft/class_3233;field_26822:Lnet/minecraft/class_5138;- named - structureAccessor- Lnet/minecraft/world/ChunkRegion;structureAccessor:Lnet/minecraft/world/gen/StructureAccessor;
 
- 
status- Mappings:
- Namespace - Name - Mixin selector - official - p- Laim;p:Ldec;- intermediary - field_33754- Lnet/minecraft/class_3233;field_33754:Lnet/minecraft/class_2806;- named - status- Lnet/minecraft/world/ChunkRegion;status:Lnet/minecraft/world/chunk/ChunkStatus;
 
- 
placementRadiusprivate final int placementRadiusThe number of neighboring chunks which can be accessed for block placement.A value of 0means that only this chunk is accessible. A positive value means that the given amount of neighbors are accessible in each direction. A negative value means that this region shouldn't be used for block placement.- Mappings:
- Namespace - Name - Mixin selector - official - q- Laim;q:I- intermediary - field_33755- Lnet/minecraft/class_3233;field_33755:I- named - placementRadius- Lnet/minecraft/world/ChunkRegion;placementRadius:I
 
- 
currentlyGeneratingStructureName- Mappings:
- Namespace - Name - Mixin selector - official - r- Laim;r:Ljava/util/function/Supplier;- intermediary - field_33756- Lnet/minecraft/class_3233;field_33756:Ljava/util/function/Supplier;- named - currentlyGeneratingStructureName- Lnet/minecraft/world/ChunkRegion;currentlyGeneratingStructureName:Ljava/util/function/Supplier;
 
- 
tickOrder- Mappings:
- Namespace - Name - Mixin selector - official - s- Laim;s:Ljava/util/concurrent/atomic/AtomicLong;- intermediary - field_35442- Lnet/minecraft/class_3233;field_35442:Ljava/util/concurrent/atomic/AtomicLong;- named - tickOrder- Lnet/minecraft/world/ChunkRegion;tickOrder:Ljava/util/concurrent/atomic/AtomicLong;
 
 
- 
- 
Constructor Details- 
ChunkRegion- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Laim;<init>(Laif;Ljava/util/List;Ldec;I)V- intermediary - <init>- Lnet/minecraft/class_3233;<init>(Lnet/minecraft/class_3218;Ljava/util/List;Lnet/minecraft/class_2806;I)V- named - <init>- Lnet/minecraft/world/ChunkRegion;<init>(Lnet/minecraft/server/world/ServerWorld;Ljava/util/List;Lnet/minecraft/world/chunk/ChunkStatus;I)V
 
 
- 
- 
Method Details- 
needsBlending- Mappings:
- Namespace - Name - Mixin selector - official - a- Laim;a(Lclt;I)Z- intermediary - method_42109- Lnet/minecraft/class_3233;method_42109(Lnet/minecraft/class_1923;I)Z- named - needsBlending- Lnet/minecraft/world/ChunkRegion;needsBlending(Lnet/minecraft/util/math/ChunkPos;I)Z
 
- 
getCenterPos- Mappings:
- Namespace - Name - Mixin selector - official - a- Laim;a()Lclt;- intermediary - method_33561- Lnet/minecraft/class_3233;method_33561()Lnet/minecraft/class_1923;- named - getCenterPos- Lnet/minecraft/world/ChunkRegion;getCenterPos()Lnet/minecraft/util/math/ChunkPos;
 
- 
setCurrentlyGeneratingStructureName- Specified by:
- setCurrentlyGeneratingStructureNamein interface- StructureWorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcng;a(Ljava/util/function/Supplier;)V- intermediary - method_36972- Lnet/minecraft/class_5281;method_36972(Ljava/util/function/Supplier;)V- named - setCurrentlyGeneratingStructureName- Lnet/minecraft/world/StructureWorldAccess;setCurrentlyGeneratingStructureName(Ljava/util/function/Supplier;)V
 
- 
getChunkReturns the chunk with positionchunkXandchunkZ.- Specified by:
- getChunkin interface- WorldView
- Returns:
- the chunk with position chunkXandchunkZ
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmp;a(II)Lddx;- intermediary - method_8392- Lnet/minecraft/class_4538;method_8392(II)Lnet/minecraft/class_2791;- named - getChunk- Lnet/minecraft/world/WorldView;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
 
- 
getChunk@Nullable public @Nullable Chunk getChunk(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) - Specified by:
- getChunkin interface- WorldView
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmp;a(IILdec;Z)Lddx;- intermediary - method_8402- Lnet/minecraft/class_4538;method_8402(IILnet/minecraft/class_2806;Z)Lnet/minecraft/class_2791;- named - getChunk- Lnet/minecraft/world/WorldView;getChunk(IILnet/minecraft/world/chunk/ChunkStatus;Z)Lnet/minecraft/world/chunk/Chunk;
 
- 
isChunkLoadedpublic boolean isChunkLoaded(int chunkX, int chunkZ) - Specified by:
- isChunkLoadedin interface- WorldAccess
- Specified by:
- isChunkLoadedin interface- WorldView
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lcmp;b(II)Z- intermediary - method_8393- Lnet/minecraft/class_4538;method_8393(II)Z- named - isChunkLoaded- Lnet/minecraft/world/WorldView;isChunkLoaded(II)Z
 
- 
getBlockStateReturns the block state atpos.- Specified by:
- getBlockStatein interface- BlockView
- Returns:
- the block state at pos
- Mappings:
- Namespace - Name - Mixin selector - official - a_- Lcls;a_(Lgu;)Ldcb;- intermediary - method_8320- Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;- named - getBlockState- Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
 
- 
getFluidStateReturns the fluid state atpos.- Specified by:
- getFluidStatein interface- BlockView
- Returns:
- the fluid state at pos
- Mappings:
- Namespace - Name - Mixin selector - official - b_- Lcls;b_(Lgu;)Ldxe;- intermediary - method_8316- Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;- named - getFluidState- Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
 
- 
getClosestPlayer@Nullable public @Nullable PlayerEntity getClosestPlayer(double x, double y, double z, double maxDistance, Predicate<Entity> targetPredicate) - Specified by:
- getClosestPlayerin interface- EntityView
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmd;a(DDDDLjava/util/function/Predicate;)Lbyo;- intermediary - method_8604- Lnet/minecraft/class_1924;method_8604(DDDDLjava/util/function/Predicate;)Lnet/minecraft/class_1657;- named - getClosestPlayer- Lnet/minecraft/world/EntityView;getClosestPlayer(DDDDLjava/util/function/Predicate;)Lnet/minecraft/entity/player/PlayerEntity;
 
- 
getAmbientDarknesspublic int getAmbientDarkness()- Specified by:
- getAmbientDarknessin interface- WorldView
- Mappings:
- Namespace - Name - Mixin selector - official - v_- Lcmp;v_()I- intermediary - method_8594- Lnet/minecraft/class_4538;method_8594()I- named - getAmbientDarkness- Lnet/minecraft/world/WorldView;getAmbientDarkness()I
 
- 
getBiomeAccess- Specified by:
- getBiomeAccessin interface- WorldView
- Mappings:
- Namespace - Name - Mixin selector - official - z_- Lcmp;z_()Lcnm;- intermediary - method_22385- Lnet/minecraft/class_4538;method_22385()Lnet/minecraft/class_4543;- named - getBiomeAccess- Lnet/minecraft/world/WorldView;getBiomeAccess()Lnet/minecraft/world/biome/source/BiomeAccess;
 
- 
getGeneratorStoredBiome- Specified by:
- getGeneratorStoredBiomein interface- WorldView
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmp;a(III)Lhe;- intermediary - method_22387- Lnet/minecraft/class_4538;method_22387(III)Lnet/minecraft/class_6880;- named - getGeneratorStoredBiome- Lnet/minecraft/world/WorldView;getGeneratorStoredBiome(III)Lnet/minecraft/registry/entry/RegistryEntry;
 
- 
getBrightness- Specified by:
- getBrightnessin interface- BlockRenderView
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lclp;a(Lha;Z)F- intermediary - method_24852- Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)F- named - getBrightness- Lnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
 
- 
getLightingProvider- Specified by:
- getLightingProviderin interface- BlockRenderView
- Mappings:
- Namespace - Name - Mixin selector - official - s_- Lclp;s_()Ldwt;- intermediary - method_22336- Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;- named - getLightingProvider- Lnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
 
- 
breakBlockpublic boolean breakBlock(BlockPos pos, boolean drop, @Nullable @Nullable Entity breakingEntity, int maxUpdateDepth) Removes the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist. Additionally, this emits the world event and the game event.- Specified by:
- breakBlockin interface- ModifiableWorld
- Returns:
- whether the block was removed successfully
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmu;a(Lgu;ZLbfj;I)Z- intermediary - method_30093- Lnet/minecraft/class_1945;method_30093(Lnet/minecraft/class_2338;ZLnet/minecraft/class_1297;I)Z- named - breakBlock- Lnet/minecraft/world/ModifiableWorld;breakBlock(Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/entity/Entity;I)Z
 
- 
getBlockEntityReturns the block entity atpos, ornullif there is none.- Specified by:
- getBlockEntityin interface- BlockView
- Returns:
- the block entity at pos, ornullif there is none
- Mappings:
- Namespace - Name - Mixin selector - official - c_- Lcls;c_(Lgu;)Lczn;- intermediary - method_8321- Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;- named - getBlockEntity- Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
 
- 
isValidForSetBlockReturnstrueif the given position is an accessible position for thesetBlockStatefunction.- Specified by:
- isValidForSetBlockin interface- StructureWorldAccess
- Returns:
- trueif the given position is an accessible position for the- setBlockStatefunction
- Mappings:
- Namespace - Name - Mixin selector - official - f_- Lcng;f_(Lgu;)Z- intermediary - method_37368- Lnet/minecraft/class_5281;method_37368(Lnet/minecraft/class_2338;)Z- named - isValidForSetBlock- Lnet/minecraft/world/StructureWorldAccess;isValidForSetBlock(Lnet/minecraft/util/math/BlockPos;)Z
 
- 
setBlockStateUpdates 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 ModifiableWorld.setBlockState(BlockPos, BlockState, int)for a list of accepted flags.- Specified by:
- setBlockStatein interface- ModifiableWorld
- Parameters:
- pos- the target position
- state- the block state to set
- flags- the bitwise flag combination, as described above
- maxUpdateDepth- the limit for the cascading block updates
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmu;a(Lgu;Ldcb;II)Z- intermediary - method_30092- Lnet/minecraft/class_1945;method_30092(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)Z- named - setBlockState- Lnet/minecraft/world/ModifiableWorld;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)Z
 
- 
markBlockForPostProcessing- Mappings:
- Namespace - Name - Mixin selector - official - f- Laim;f(Lgu;)V- intermediary - method_14338- Lnet/minecraft/class_3233;method_14338(Lnet/minecraft/class_2338;)V- named - markBlockForPostProcessing- Lnet/minecraft/world/ChunkRegion;markBlockForPostProcessing(Lnet/minecraft/util/math/BlockPos;)V
 
- 
spawnEntitySpawns an entity.- Specified by:
- spawnEntityin interface- ModifiableWorld
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lcmu;b(Lbfj;)Z- intermediary - method_8649- Lnet/minecraft/class_1945;method_8649(Lnet/minecraft/class_1297;)Z- named - spawnEntity- Lnet/minecraft/world/ModifiableWorld;spawnEntity(Lnet/minecraft/entity/Entity;)Z
 
- 
removeBlockRemoves the block and replaces it with the fluid occupying the block (such as water inside kelp), or air if it does not exist.- Specified by:
- removeBlockin interface- ModifiableWorld
- Parameters:
- move- whether the block was removed as part of piston moving blocks
- Returns:
- whether the block was removed successfully
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmu;a(Lgu;Z)Z- intermediary - method_8650- Lnet/minecraft/class_1945;method_8650(Lnet/minecraft/class_2338;Z)Z- named - removeBlock- Lnet/minecraft/world/ModifiableWorld;removeBlock(Lnet/minecraft/util/math/BlockPos;Z)Z
 
- 
getWorldBorder- Specified by:
- getWorldBorderin interface- CollisionView
- Mappings:
- Namespace - Name - Mixin selector - official - w_- Lclw;w_()Ldds;- intermediary - method_8621- Lnet/minecraft/class_1941;method_8621()Lnet/minecraft/class_2784;- named - getWorldBorder- Lnet/minecraft/world/CollisionView;getWorldBorder()Lnet/minecraft/world/border/WorldBorder;
 
- 
isClientpublic boolean isClient()Checks if this world view is on the logical client.If the value returned is false, it is expected that this world is present on a logical server. 
- 
toServerWorldDeprecated.- Specified by:
- toServerWorldin interface- ServerWorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - C- Lcnb;C()Laif;- intermediary - method_8410- Lnet/minecraft/class_5425;method_8410()Lnet/minecraft/class_3218;- named - toServerWorld- Lnet/minecraft/world/ServerWorldAccess;toServerWorld()Lnet/minecraft/server/world/ServerWorld;
 
- 
getRegistryManager- Specified by:
- getRegistryManagerin interface- WorldView
- Mappings:
- Namespace - Name - Mixin selector - official - B_- Lcmp;B_()Lhs;- intermediary - method_30349- Lnet/minecraft/class_4538;method_30349()Lnet/minecraft/class_5455;- named - getRegistryManager- Lnet/minecraft/world/WorldView;getRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager;
 
- 
getEnabledFeatures- Specified by:
- getEnabledFeaturesin interface- WorldView
- Mappings:
- Namespace - Name - Mixin selector - official - G- Lcmp;G()Lcaw;- intermediary - method_45162- Lnet/minecraft/class_4538;method_45162()Lnet/minecraft/class_7699;- named - getEnabledFeatures- Lnet/minecraft/world/WorldView;getEnabledFeatures()Lnet/minecraft/resource/featuretoggle/FeatureSet;
 
- 
getLevelProperties- Specified by:
- getLevelPropertiesin interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - u_- Lcmn;u_()Ldyv;- intermediary - method_8401- Lnet/minecraft/class_1936;method_8401()Lnet/minecraft/class_5217;- named - getLevelProperties- Lnet/minecraft/world/WorldAccess;getLevelProperties()Lnet/minecraft/world/WorldProperties;
 
- 
getLocalDifficulty- Specified by:
- getLocalDifficultyin interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - d_- Lcmn;d_(Lgu;)Lbdv;- intermediary - method_8404- Lnet/minecraft/class_1936;method_8404(Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;- named - getLocalDifficulty- Lnet/minecraft/world/WorldAccess;getLocalDifficulty(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/LocalDifficulty;
 
- 
getServer- Specified by:
- getServerin interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - n- Lcmn;n()Lnet/minecraft/server/MinecraftServer;- intermediary - method_8503- Lnet/minecraft/class_1936;method_8503()Lnet/minecraft/server/MinecraftServer;- named - getServer- Lnet/minecraft/world/WorldAccess;getServer()Lnet/minecraft/server/MinecraftServer;
 
- 
getChunkManager- Specified by:
- getChunkManagerin interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - J- Lcmn;J()Ldeb;- intermediary - method_8398- Lnet/minecraft/class_1936;method_8398()Lnet/minecraft/class_2802;- named - getChunkManager- Lnet/minecraft/world/WorldAccess;getChunkManager()Lnet/minecraft/world/chunk/ChunkManager;
 
- 
getSeedpublic long getSeed()- Specified by:
- getSeedin interface- StructureWorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - A- Lcng;A()J- intermediary - method_8412- Lnet/minecraft/class_5281;method_8412()J- named - getSeed- Lnet/minecraft/world/StructureWorldAccess;getSeed()J
 
- 
getBlockTickScheduler- Specified by:
- getBlockTickSchedulerin interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - L- Lcmn;L()Lefp;- intermediary - method_8397- Lnet/minecraft/class_1936;method_8397()Lnet/minecraft/class_6756;- named - getBlockTickScheduler- Lnet/minecraft/world/WorldAccess;getBlockTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
 
- 
getFluidTickScheduler- Specified by:
- getFluidTickSchedulerin interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - K- Lcmn;K()Lefp;- intermediary - method_8405- Lnet/minecraft/class_1936;method_8405()Lnet/minecraft/class_6756;- named - getFluidTickScheduler- Lnet/minecraft/world/WorldAccess;getFluidTickScheduler()Lnet/minecraft/world/tick/QueryableTickScheduler;
 
- 
getSeaLevelpublic int getSeaLevel()- Specified by:
- getSeaLevelin interface- WorldView
- Mappings:
- Namespace - Name - Mixin selector - official - t_- Lcmp;t_()I- intermediary - method_8615- Lnet/minecraft/class_4538;method_8615()I- named - getSeaLevel- Lnet/minecraft/world/WorldView;getSeaLevel()I
 
- 
getRandom- Specified by:
- getRandomin interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - y_- Lcmn;y_()Lapf;- intermediary - method_8409- Lnet/minecraft/class_1936;method_8409()Lnet/minecraft/class_5819;- named - getRandom- Lnet/minecraft/world/WorldAccess;getRandom()Lnet/minecraft/util/math/random/Random;
 
- 
getTopYReturns the Y coordinate of the topmost block at the coordinatesxandzusingheightmap.- Specified by:
- getTopYin interface- WorldView
- Returns:
- the Y coordinate of the topmost block at the coordinates
 xandzusingheightmap
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmp;a(Ldhk$a;II)I- intermediary - method_8624- Lnet/minecraft/class_4538;method_8624(Lnet/minecraft/class_2902$class_2903;II)I- named - getTopY- Lnet/minecraft/world/WorldView;getTopY(Lnet/minecraft/world/Heightmap$Type;II)I
 
- 
playSoundpublic void playSound(@Nullable @Nullable PlayerEntity except, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) - Specified by:
- playSoundin interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lbyo;Lgu;Lamg;Lami;FF)V- intermediary - method_8396- Lnet/minecraft/class_1936;method_8396(Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V- named - playSound- Lnet/minecraft/world/WorldAccess;playSound(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
 
- 
addParticlepublic void addParticle(ParticleEffect parameters, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Specified by:
- addParticlein interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lit;DDDDDD)V- intermediary - method_8406- Lnet/minecraft/class_1936;method_8406(Lnet/minecraft/class_2394;DDDDDD)V- named - addParticle- Lnet/minecraft/world/WorldAccess;addParticle(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V
 
- 
syncWorldEventpublic void syncWorldEvent(@Nullable @Nullable PlayerEntity player, int eventId, BlockPos pos, int data) - Specified by:
- syncWorldEventin interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Lbyo;ILgu;I)V- intermediary - method_8444- Lnet/minecraft/class_1936;method_8444(Lnet/minecraft/class_1657;ILnet/minecraft/class_2338;I)V- named - syncWorldEvent- Lnet/minecraft/world/WorldAccess;syncWorldEvent(Lnet/minecraft/entity/player/PlayerEntity;ILnet/minecraft/util/math/BlockPos;I)V
 
- 
emitGameEventEmits a game event.- Specified by:
- emitGameEventin interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmn;a(Ldgl;Leei;Ldgl$a;)V- intermediary - method_32888- Lnet/minecraft/class_1936;method_32888(Lnet/minecraft/class_5712;Lnet/minecraft/class_243;Lnet/minecraft/class_5712$class_7397;)V- named - emitGameEvent- Lnet/minecraft/world/WorldAccess;emitGameEvent(Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/world/event/GameEvent$Emitter;)V
 
- 
getDimension- Specified by:
- getDimensionin interface- WorldView
- Mappings:
- Namespace - Name - Mixin selector - official - x_- Lcmp;x_()Ldfk;- intermediary - method_8597- Lnet/minecraft/class_4538;method_8597()Lnet/minecraft/class_2874;- named - getDimension- Lnet/minecraft/world/WorldView;getDimension()Lnet/minecraft/world/dimension/DimensionType;
 
- 
testBlockState- Specified by:
- testBlockStatein interface- TestableWorld
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcms;a(Lgu;Ljava/util/function/Predicate;)Z- intermediary - method_16358- Lnet/minecraft/class_3746;method_16358(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z- named - testBlockState- Lnet/minecraft/world/TestableWorld;testBlockState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
 
- 
testFluidState- Specified by:
- testFluidStatein interface- TestableWorld
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lcms;b(Lgu;Ljava/util/function/Predicate;)Z- intermediary - method_35237- Lnet/minecraft/class_3746;method_35237(Lnet/minecraft/class_2338;Ljava/util/function/Predicate;)Z- named - testFluidState- Lnet/minecraft/world/TestableWorld;testFluidState(Lnet/minecraft/util/math/BlockPos;Ljava/util/function/Predicate;)Z
 
- 
getEntitiesByTypepublic <T extends Entity> List<T> getEntitiesByType(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate) - Specified by:
- getEntitiesByTypein interface- EntityView
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmd;a(Ldfz;Leed;Ljava/util/function/Predicate;)Ljava/util/List;- intermediary - method_18023- Lnet/minecraft/class_1924;method_18023(Lnet/minecraft/class_5575;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;- named - getEntitiesByType- Lnet/minecraft/world/EntityView;getEntitiesByType(Lnet/minecraft/util/TypeFilter;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/List;
 
- 
getOtherEntitiespublic List<Entity> getOtherEntities(@Nullable @Nullable Entity except, Box box, @Nullable @Nullable Predicate<? super Entity> predicate) Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.- Specified by:
- getOtherEntitiesin interface- EntityView
- Parameters:
- except- the entity the box logically surrounds; this entity is ignored if it is inside the box
- box- the box in which to search for entities
- predicate- a predicate which entities must satisfy in order to be included in the returned list
- Returns:
- a list of entities within a box, excluding the given entity, all satisfying the given predicate
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcmd;a(Lbfj;Leed;Ljava/util/function/Predicate;)Ljava/util/List;- intermediary - method_8333- Lnet/minecraft/class_1924;method_8333(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/List;- named - getOtherEntities- Lnet/minecraft/world/EntityView;getOtherEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/List;
 
- 
getPlayers- Specified by:
- getPlayersin interface- EntityView
- Mappings:
- Namespace - Name - Mixin selector - official - v- Lcmd;v()Ljava/util/List;- intermediary - method_18456- Lnet/minecraft/class_1924;method_18456()Ljava/util/List;- named - getPlayers- Lnet/minecraft/world/EntityView;getPlayers()Ljava/util/List;
 
- 
getBottomYpublic int getBottomY()Returns the bottom Y level, or height, inclusive, of this view.- Specified by:
- getBottomYin interface- HeightLimitView
- Specified by:
- getBottomYin interface- WorldView
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - C_- Lcmo;C_()I- intermediary - method_31607- Lnet/minecraft/class_5539;method_31607()I- named - getBottomY- Lnet/minecraft/world/HeightLimitView;getBottomY()I
 
- 
getHeightpublic int getHeight()Returns the difference in the minimum and maximum height.This is the number of blocks that can be modified in any vertical column within the view, or the vertical size, in blocks, of the view. - Specified by:
- getHeightin interface- HeightLimitView
- Specified by:
- getHeightin interface- WorldView
- Returns:
- the difference in the minimum and maximum height
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - D_- Lcmo;D_()I- intermediary - method_31605- Lnet/minecraft/class_5539;method_31605()I- named - getHeight- Lnet/minecraft/world/HeightLimitView;getHeight()I
 
- 
getTickOrderpublic long getTickOrder()- Specified by:
- getTickOrderin interface- WorldAccess
- Mappings:
- Namespace - Name - Mixin selector - official - A_- Lcmn;A_()J- intermediary - method_39224- Lnet/minecraft/class_1936;method_39224()J- named - getTickOrder- Lnet/minecraft/world/WorldAccess;getTickOrder()J
 
 
-