接口 RegistryWorldView
-
- 所有超级接口:
BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,EntityView,HeightLimitView,ModifiableTestableWorld,ModifiableWorld,TestableWorld,WorldView
- 所有已知子接口:
ServerWorldAccess,StructureWorldAccess,WorldAccess
- 所有已知实现类:
ChunkRegion,ClientWorld,ServerWorld,World
public interface RegistryWorldView extends EntityView, WorldView, ModifiableTestableWorld
A world view orWorld's superinterface that exposes access to a registry manager.- 另请参阅:
getRegistryManager()- Mappings:
Namespace Name official bvcintermediary net/minecraft/class_5423named net/minecraft/world/RegistryWorldView
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default Optional<RegistryKey<Biome>>getBiomeKey(BlockPos pos)default <T extends BlockEntity>
Optional<T>getBlockEntity(BlockPos pos, BlockEntityType<T> type)default Stream<VoxelShape>getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)DynamicRegistryManagergetRegistryManager()default BlockPosgetTopPosition(Heightmap.Type heightmap, BlockPos pos)default booleanintersectsEntities(@Nullable Entity entity, VoxelShape shape)-
从接口继承的方法 net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen
-
从接口继承的方法 net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisible
-
从接口继承的方法 net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
-
从接口继承的方法 net.minecraft.world.CollisionView
canPlace, getBlockCollisions, getBlockCollisions, getCollisions, getWorldBorder, intersectsEntities, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, method_33594
-
从接口继承的方法 net.minecraft.world.EntityView
getClosestEntity, getClosestEntity, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesByClass, getEntitiesByType, getNonSpectatingEntities, getOtherEntities, getOtherEntities, getPlayerByUuid, getPlayers, getPlayers, getTargets, isPlayerInRange
-
从接口继承的方法 net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
从接口继承的方法 net.minecraft.world.ModifiableWorld
breakBlock, breakBlock, breakBlock, removeBlock, setBlockState, setBlockState, spawnEntity
-
从接口继承的方法 net.minecraft.world.TestableWorld
testBlockState, testFluidState
-
从接口继承的方法 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
-
-
-
-
方法详细资料
-
getBlockEntity
default <T extends BlockEntity> Optional<T> getBlockEntity(BlockPos pos, BlockEntityType<T> type)
- 指定者:
getBlockEntity在接口中BlockView- 指定者:
getBlockEntity在接口中TestableWorld- Mappings:
Namespace Name Mixin selector official aLbuv;a(Lgb;Lchr;)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
default Stream<VoxelShape> getEntityCollisions(@Nullable @Nullable Entity entity, Box box, Predicate<Entity> predicate)
- 指定者:
getEntityCollisions在接口中CollisionView- 指定者:
getEntityCollisions在接口中EntityView- Mappings:
Namespace Name Mixin selector official cLbvi;c(Lasl;Ldlv;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;intermediary method_20743Lnet/minecraft/class_1924;method_20743(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;named getEntityCollisionsLnet/minecraft/world/EntityView;getEntityCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
-
intersectsEntities
default boolean intersectsEntities(@Nullable @Nullable Entity entity, VoxelShape shape)
- 指定者:
intersectsEntities在接口中CollisionView- 指定者:
intersectsEntities在接口中EntityView- Mappings:
Namespace Name Mixin selector official aLbvi;a(Lasl;Ldmt;)Zintermediary method_8611Lnet/minecraft/class_1924;method_8611(Lnet/minecraft/class_1297;Lnet/minecraft/class_265;)Znamed intersectsEntitiesLnet/minecraft/world/EntityView;intersectsEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/shape/VoxelShape;)Z
-
getTopPosition
default BlockPos getTopPosition(Heightmap.Type heightmap, BlockPos pos)
- 指定者:
getTopPosition在接口中TestableWorld- 指定者:
getTopPosition在接口中WorldView- Mappings:
Namespace Name Mixin selector official aLbvu;a(Lcor$a;Lgb;)Lgb;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;
-
getRegistryManager
DynamicRegistryManager getRegistryManager()
- Mappings:
Namespace Name Mixin selector official tLbvc;t()Lgs;intermediary method_30349Lnet/minecraft/class_5423;method_30349()Lnet/minecraft/class_5455;named getRegistryManagerLnet/minecraft/world/RegistryWorldView;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
-
getBiomeKey
default Optional<RegistryKey<Biome>> getBiomeKey(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official hLbvc;h(Lgb;)Ljava/util/Optional;intermediary method_31081Lnet/minecraft/class_5423;method_31081(Lnet/minecraft/class_2338;)Ljava/util/Optional;named getBiomeKeyLnet/minecraft/world/RegistryWorldView;getBiomeKey(Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
-
-