Interface CollisionView

All Superinterfaces:
BlockView, HeightLimitView
All Known Subinterfaces:
LunarWorldView, RegistryWorldView, ServerWorldAccess, StructureWorldAccess, WorldAccess, WorldView
All Known Implementing Classes:
ChunkCache, ChunkRegion, ClientWorld, ServerWorld, World

public interface CollisionView extends BlockView
Mappings:
Namespace Name
official byl
intermediary net/minecraft/class_1941
named net/minecraft/world/CollisionView
  • Method Details

    • getWorldBorder

      WorldBorder getWorldBorder()
      Mappings:
      Namespace Name Mixin selector
      official p_ Lbyl;p_()Lcoq;
      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;
    • getChunkAsView

      @Nullable @Nullable BlockView getChunkAsView(int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      official c Lbyl;c(II)Lbyh;
      intermediary method_22338 Lnet/minecraft/class_1941;method_22338(II)Lnet/minecraft/class_1922;
      named getChunkAsView Lnet/minecraft/world/CollisionView;getChunkAsView(II)Lnet/minecraft/world/BlockView;
    • intersectsEntities

      default boolean intersectsEntities(@Nullable @Nullable Entity except, VoxelShape shape)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyl;a(Lavr;Ldor;)Z
      intermediary method_8611 Lnet/minecraft/class_1941;method_8611(Lnet/minecraft/class_1297;Lnet/minecraft/class_265;)Z
      named intersectsEntities Lnet/minecraft/world/CollisionView;intersectsEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/shape/VoxelShape;)Z
    • canPlace

      default boolean canPlace(BlockState state, BlockPos pos, ShapeContext context)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyl;a(Lcmz;Lgh;Ldod;)Z
      intermediary method_8628 Lnet/minecraft/class_1941;method_8628(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Z
      named canPlace Lnet/minecraft/world/CollisionView;canPlace(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Z
    • intersectsEntities

      default boolean intersectsEntities(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official f Lbyl;f(Lavr;)Z
      intermediary method_8606 Lnet/minecraft/class_1941;method_8606(Lnet/minecraft/class_1297;)Z
      named intersectsEntities Lnet/minecraft/world/CollisionView;intersectsEntities(Lnet/minecraft/entity/Entity;)Z
    • isSpaceEmpty

      default boolean isSpaceEmpty(Box box)
      Mappings:
      Namespace Name Mixin selector
      official b Lbyl;b(Ldnt;)Z
      intermediary method_18026 Lnet/minecraft/class_1941;method_18026(Lnet/minecraft/class_238;)Z
      named isSpaceEmpty Lnet/minecraft/world/CollisionView;isSpaceEmpty(Lnet/minecraft/util/math/Box;)Z
    • isSpaceEmpty

      default boolean isSpaceEmpty(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official g Lbyl;g(Lavr;)Z
      intermediary method_17892 Lnet/minecraft/class_1941;method_17892(Lnet/minecraft/class_1297;)Z
      named isSpaceEmpty Lnet/minecraft/world/CollisionView;isSpaceEmpty(Lnet/minecraft/entity/Entity;)Z
    • isSpaceEmpty

      default boolean isSpaceEmpty(@Nullable @Nullable Entity entity, Box box)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyl;a(Lavr;Ldnt;)Z
      intermediary method_8587 Lnet/minecraft/class_1941;method_8587(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Z
      named isSpaceEmpty Lnet/minecraft/world/CollisionView;isSpaceEmpty(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Z
    • getEntityCollisions

      List<VoxelShape> getEntityCollisions(@Nullable @Nullable Entity entity, Box box)
      Mappings:
      Namespace Name Mixin selector
      official b Lbyl;b(Lavr;Ldnt;)Ljava/util/List;
      intermediary method_20743 Lnet/minecraft/class_1941;method_20743(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Ljava/util/List;
      named getEntityCollisions Lnet/minecraft/world/CollisionView;getEntityCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Ljava/util/List;
    • getCollisions

      default Iterable<VoxelShape> getCollisions(@Nullable @Nullable Entity entity, Box box)
      Mappings:
      Namespace Name Mixin selector
      official c Lbyl;c(Lavr;Ldnt;)Ljava/lang/Iterable;
      intermediary method_8600 Lnet/minecraft/class_1941;method_8600(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Ljava/lang/Iterable;
      named getCollisions Lnet/minecraft/world/CollisionView;getCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Ljava/lang/Iterable;
    • getBlockCollisions

      default Iterable<VoxelShape> getBlockCollisions(@Nullable @Nullable Entity entity, Box box)
      Mappings:
      Namespace Name Mixin selector
      official d Lbyl;d(Lavr;Ldnt;)Ljava/lang/Iterable;
      intermediary method_20812 Lnet/minecraft/class_1941;method_20812(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Ljava/lang/Iterable;
      named getBlockCollisions Lnet/minecraft/world/CollisionView;getBlockCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Ljava/lang/Iterable;
    • method_39455

      @Nullable private @Nullable VoxelShape method_39455(Entity entity, Box box)
      Mappings:
      Namespace Name Mixin selector
      official f Lbyl;f(Lavr;Ldnt;)Ldor;
      intermediary method_39455 Lnet/minecraft/class_1941;method_39455(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Lnet/minecraft/class_265;
      named method_39455 Lnet/minecraft/world/CollisionView;method_39455(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Lnet/minecraft/util/shape/VoxelShape;
    • method_39454

      default boolean method_39454(@Nullable @Nullable Entity entity, Box box)
      Mappings:
      Namespace Name Mixin selector
      official e Lbyl;e(Lavr;Ldnt;)Z
      intermediary method_39454 Lnet/minecraft/class_1941;method_39454(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Z
      named method_39454 Lnet/minecraft/world/CollisionView;method_39454(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Z
    • findClosestCollision

      default Optional<Vec3d> findClosestCollision(@Nullable @Nullable Entity entity, VoxelShape shape, Vec3d target, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyl;a(Lavr;Ldor;Ldny;DDD)Ljava/util/Optional;
      intermediary method_33594 Lnet/minecraft/class_1941;method_33594(Lnet/minecraft/class_1297;Lnet/minecraft/class_265;Lnet/minecraft/class_243;DDD)Ljava/util/Optional;
      named findClosestCollision Lnet/minecraft/world/CollisionView;findClosestCollision(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Vec3d;DDD)Ljava/util/Optional;