Package net.minecraft.world
Interface RegistryWorldView
- All Superinterfaces:
BiomeAccess.Storage
,BlockRenderView
,BlockView
,CollisionView
,EntityView
,HeightLimitView
,ModifiableTestableWorld
,ModifiableWorld
,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:
getRegistryManager()
- Mappings:
Namespace Name official bwa
intermediary net/minecraft/class_5423
named net/minecraft/world/RegistryWorldView
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<RegistryKey<Biome>>
getBiomeKey(BlockPos pos)
default <T extends BlockEntity>
Optional<T>getBlockEntity(BlockPos pos, BlockEntityType<T> type)
default Stream<VoxelShape>
default BlockPos
getTopPosition(Heightmap.Type heightmap, BlockPos pos)
default boolean
intersectsEntities(@Nullable Entity entity, VoxelShape shape)
Methods inherited from interface net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen
Methods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisible
Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.CollisionView
canPlace, getBlockCollisions, getBlockCollisions, getCollisions, getWorldBorder, intersectsEntities, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, method_33594
Methods inherited from interface net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRange
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
Methods inherited from interface net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockState, spawnEntity
Methods inherited from interface net.minecraft.world.TestableWorld
testBlockState, testFluidState
Methods inherited from interface net.minecraft.world.WorldView
containsFluid, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getSeaLevel, getStatesInBoxIfLoaded, getStrongRedstonePower, getTopY, isAir, isChunkLoaded, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
Method Details
-
getBlockEntity
- Specified by:
getBlockEntity
in interfaceBlockView
- Specified by:
getBlockEntity
in interfaceTestableWorld
- Mappings:
Namespace Name Mixin selector official a
Lbvt;a(Lgg;Lcir;)Ljava/util/Optional;
intermediary method_35230
Lnet/minecraft/class_1922;method_35230(Lnet/minecraft/class_2338;Lnet/minecraft/class_2591;)Ljava/util/Optional;
named getBlockEntity
Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntityType;)Ljava/util/Optional;
-
getEntityCollisions
default Stream<VoxelShape> getEntityCollisions(@Nullable @Nullable Entity entity, Box box, Predicate<Entity> predicate)- Specified by:
getEntityCollisions
in interfaceCollisionView
- Specified by:
getEntityCollisions
in interfaceEntityView
- Mappings:
Namespace Name Mixin selector official c
Lbwg;c(Latf;Ldmv;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
intermediary method_20743
Lnet/minecraft/class_1924;method_20743(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
named getEntityCollisions
Lnet/minecraft/world/EntityView;getEntityCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
-
intersectsEntities
- Specified by:
intersectsEntities
in interfaceCollisionView
- Specified by:
intersectsEntities
in interfaceEntityView
- Mappings:
Namespace Name Mixin selector official a
Lbwg;a(Latf;Ldnt;)Z
intermediary method_8611
Lnet/minecraft/class_1924;method_8611(Lnet/minecraft/class_1297;Lnet/minecraft/class_265;)Z
named intersectsEntities
Lnet/minecraft/world/EntityView;intersectsEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/shape/VoxelShape;)Z
-
getTopPosition
- Specified by:
getTopPosition
in interfaceTestableWorld
- Specified by:
getTopPosition
in interfaceWorldView
- Mappings:
Namespace Name Mixin selector official a
Lbws;a(Lcps$a;Lgg;)Lgg;
intermediary method_8598
Lnet/minecraft/class_4538;method_8598(Lnet/minecraft/class_2902$class_2903;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
named getTopPosition
Lnet/minecraft/world/WorldView;getTopPosition(Lnet/minecraft/world/Heightmap$Type;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
-
getRegistryManager
DynamicRegistryManager getRegistryManager()- Mappings:
Namespace Name Mixin selector official t
Lbwa;t()Lgx;
intermediary method_30349
Lnet/minecraft/class_5423;method_30349()Lnet/minecraft/class_5455;
named getRegistryManager
Lnet/minecraft/world/RegistryWorldView;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
-
getBiomeKey
- Mappings:
Namespace Name Mixin selector official j
Lbwa;j(Lgg;)Ljava/util/Optional;
intermediary method_31081
Lnet/minecraft/class_5423;method_31081(Lnet/minecraft/class_2338;)Ljava/util/Optional;
named getBiomeKey
Lnet/minecraft/world/RegistryWorldView;getBiomeKey(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
-