Package net.minecraft.world
Interface RegistryWorldView
- All Superinterfaces:
BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityView,HeightLimitView,ModifiableTestableWorld,ModifiableWorld,RedstoneView,TestableWorld,WorldView
- All Known Subinterfaces:
ServerWorldAccess,StructureWorldAccess,WorldAccess
- All Known Implementing Classes:
ChunkRegion,ClientWorld,ServerWorld,World
A world view or
World's superinterface that exposes access to
a registry manager.- See Also:
- Mappings:
Namespace Name official clwintermediary net/minecraft/class_5423named net/minecraft/world/RegistryWorldView
-
Field Summary
Fields inherited from interface net.minecraft.world.RedstoneView
DIRECTIONS -
Method Summary
Modifier and TypeMethodDescriptiondefault booleandoesNotIntersectEntities(@Nullable Entity except, VoxelShape shape) Returnstrueifshapedoes not intersect with non-spectator entities exceptexcept.default <T extends BlockEntity>
Optional<T>getBlockEntity(BlockPos pos, BlockEntityType<T> type) default List<VoxelShape>getEntityCollisions(@Nullable Entity entity, Box box) default BlockPosgetTopPosition(Heightmap.Type heightmap, BlockPos pos) Returns the position of the topmost block in the column containingposusingheightmapheightmap.Methods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionView
canCollide, canPlace, doesNotIntersectEntities, findClosestCollision, findSupportingBlockPos, getBlockCollisions, getCollisions, getWorldBorder, isSpaceEmpty, isSpaceEmpty, isSpaceEmptyMethods inherited from interface net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRangeMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoordMethods inherited from interface net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockState, spawnEntityMethods inherited from interface net.minecraft.world.RedstoneView
getEmittedRedstonePower, getEmittedRedstonePower, getReceivedRedstonePower, getReceivedStrongRedstonePower, getStrongRedstonePower, isEmittingRedstonePower, isReceivingRedstonePowerMethods inherited from interface net.minecraft.world.TestableWorld
testBlockState, testFluidStateMethods inherited from interface net.minecraft.world.WorldView
containsFluid, createCommandRegistryWrapper, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getEnabledFeatures, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getPhototaxisFavor, getRegistryManager, getSeaLevel, getStatesInBoxIfLoaded, getTopY, isAir, isChunkLoaded, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
Method Details
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceBlockView- Specified by:
getBlockEntityin interfaceTestableWorld- Mappings:
Namespace Name Mixin selector official aLclq;a(Lgu;Lczm;)Ljava/util/Optional;intermediary method_35230Lnet/minecraft/class_1922;method_35230(Lnet/minecraft/class_2338;Lnet/minecraft/class_2591;)Ljava/util/Optional;named getBlockEntityLnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntityType;)Ljava/util/Optional;
-
getEntityCollisions
- Specified by:
getEntityCollisionsin interfaceCollisionView- Specified by:
getEntityCollisionsin interfaceEntityView- Mappings:
Namespace Name Mixin selector official bLcmb;b(Lbfh;Ledv;)Ljava/util/List;intermediary method_20743Lnet/minecraft/class_1924;method_20743(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Ljava/util/List;named getEntityCollisionsLnet/minecraft/world/EntityView;getEntityCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Ljava/util/List;
-
doesNotIntersectEntities
Returnstrueifshapedoes not intersect with non-spectator entities exceptexcept.- Specified by:
doesNotIntersectEntitiesin interfaceCollisionView- Specified by:
doesNotIntersectEntitiesin interfaceEntityView- Returns:
trueifshapedoes not intersect with non-spectator entities exceptexcept- Mappings:
Namespace Name Mixin selector official aLcmb;a(Lbfh;Leet;)Zintermediary method_8611Lnet/minecraft/class_1924;method_8611(Lnet/minecraft/class_1297;Lnet/minecraft/class_265;)Znamed doesNotIntersectEntitiesLnet/minecraft/world/EntityView;doesNotIntersectEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/shape/VoxelShape;)Z
-
getTopPosition
Returns the position of the topmost block in the column containingposusingheightmapheightmap.- Specified by:
getTopPositionin interfaceTestableWorld- Specified by:
getTopPositionin interfaceWorldView- Returns:
- the position of the topmost block in the column
containing
posusingheightmapheightmap - Mappings:
Namespace Name Mixin selector official aLcmn;a(Ldhh$a;Lgu;)Lgu;intermediary method_8598Lnet/minecraft/class_4538;method_8598(Lnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;named getTopPositionLnet/minecraft/world/WorldView;getTopPosition(Lnet/minecraft/world/Heightmap$Type;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
-