Interface CollisionView

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

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

    • getWorldBorder

      WorldBorder getWorldBorder()
      Mappings:
      Namespace Name Mixin selector
      official e Lbte;e()Lcjj;
      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 BlockView getChunkAsView​(int chunkX, int chunkZ)
      Mappings:
      Namespace Name Mixin selector
      official c Lbte;c(II)Lbsz;
      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 Entity except, VoxelShape shape)
      Mappings:
      Namespace Name Mixin selector
      official a Lbte;a(Laqv;Ldjn;)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 Lbte;a(Lcht;Lfx;Ldiz;)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 Lbte;f(Laqv;)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 Lbte;b(Ldip;)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 Lbte;g(Laqv;)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​(Entity entity, Box box)
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbte;a_(Laqv;Ldip;)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
    • isSpaceEmpty

      default boolean isSpaceEmpty​(@Nullable Entity entity, Box box, Predicate<Entity> predicate)
      Mappings:
      Namespace Name Mixin selector
      official b Lbte;b(Laqv;Ldip;Ljava/util/function/Predicate;)Z
      intermediary method_8590 Lnet/minecraft/class_1941;method_8590(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Z
      named isSpaceEmpty Lnet/minecraft/world/CollisionView;isSpaceEmpty(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Z
    • getEntityCollisions

      Stream<VoxelShape> getEntityCollisions​(@Nullable Entity entity, Box box, Predicate<Entity> predicate)
      Mappings:
      Namespace Name Mixin selector
      official c Lbte;c(Laqv;Ldip;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
      intermediary method_20743 Lnet/minecraft/class_1941;method_20743(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
      named getEntityCollisions Lnet/minecraft/world/CollisionView;getEntityCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
    • getCollisions

      default Stream<VoxelShape> getCollisions​(@Nullable Entity entity, Box box, Predicate<Entity> predicate)
      Mappings:
      Namespace Name Mixin selector
      official d Lbte;d(Laqv;Ldip;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
      intermediary method_8600 Lnet/minecraft/class_1941;method_8600(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
      named getCollisions Lnet/minecraft/world/CollisionView;getCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
    • getBlockCollisions

      default Stream<VoxelShape> getBlockCollisions​(@Nullable Entity entity, Box box)
      Mappings:
      Namespace Name Mixin selector
      official b Lbte;b(Laqv;Ldip;)Ljava/util/stream/Stream;
      intermediary method_20812 Lnet/minecraft/class_1941;method_20812(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;)Ljava/util/stream/Stream;
      named getBlockCollisions Lnet/minecraft/world/CollisionView;getBlockCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;)Ljava/util/stream/Stream;
    • isBlockSpaceEmpty

      @Environment(CLIENT) default boolean isBlockSpaceEmpty​(@Nullable Entity entity, Box box, BiPredicate<BlockState,​BlockPos> biPredicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lbte;a(Laqv;Ldip;Ljava/util/function/BiPredicate;)Z
      intermediary method_30635 Lnet/minecraft/class_1941;method_30635(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/BiPredicate;)Z
      named isBlockSpaceEmpty Lnet/minecraft/world/CollisionView;isBlockSpaceEmpty(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/BiPredicate;)Z
    • getBlockCollisions

      default Stream<VoxelShape> getBlockCollisions​(@Nullable Entity entity, Box box, BiPredicate<BlockState,​BlockPos> biPredicate)
      Mappings:
      Namespace Name Mixin selector
      official b Lbte;b(Laqv;Ldip;Ljava/util/function/BiPredicate;)Ljava/util/stream/Stream;
      intermediary method_30030 Lnet/minecraft/class_1941;method_30030(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/BiPredicate;)Ljava/util/stream/Stream;
      named getBlockCollisions Lnet/minecraft/world/CollisionView;getBlockCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/BiPredicate;)Ljava/util/stream/Stream;
    • method_33594

      default Optional<Vec3d> method_33594​(@Nullable Entity entity, VoxelShape voxelShape, Vec3d vec3d, double double2, double double3, double double4)
      Mappings:
      Namespace Name Mixin selector
      official a Lbte;a(Laqv;Ldjn;Ldiu;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 method_33594 Lnet/minecraft/world/CollisionView;method_33594(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/shape/VoxelShape;Lnet/minecraft/util/math/Vec3d;DDD)Ljava/util/Optional;