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

public interface RegistryWorldView
extends EntityView, WorldView, ModifiableTestableWorld
A world view or World's superinterface that exposes access to a registry manager.
See Also:
getRegistryManager()
Mappings:
Namespace Name
official btg
intermediary net/minecraft/class_5423
named net/minecraft/world/RegistryWorldView
  • Method Details

    • getEntityCollisions

      default Stream<VoxelShape> getEntityCollisions​(@Nullable Entity entity, Box box, Predicate<Entity> predicate)
      Specified by:
      getEntityCollisions in interface CollisionView
      Specified by:
      getEntityCollisions in interface EntityView
      Mappings:
      Namespace Name Mixin selector
      official c Lbtm;c(Laqv;Ldip;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

      default boolean intersectsEntities​(@Nullable Entity entity, VoxelShape shape)
      Specified by:
      intersectsEntities in interface CollisionView
      Specified by:
      intersectsEntities in interface EntityView
      Mappings:
      Namespace Name Mixin selector
      official a Lbtm;a(Laqv;Ldjn;)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

      default BlockPos getTopPosition​(Heightmap.Type heightmap, BlockPos pos)
      Specified by:
      getTopPosition in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official a Lbty;a(Lcmm$a;Lfx;)Lfx;
      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 Lbtg;t()Lgo;
      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

      default Optional<RegistryKey<Biome>> getBiomeKey​(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official h Lbtg;h(Lfx;)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;