Class net.minecraft.world.CollisionView

This description should be content pulled from the first comments of a lua file.

Static Methods

CollisionView.create(bottomY, height) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CollisionView.raycast(start, end, context, blockHitFactory, missFactory) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

instance:canCollide(entity, box) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:canPlace(state, pos, context) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:countVerticalSections() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:doesNotIntersectEntities(except, shape) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:doesNotIntersectEntities(entity) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:findClosestCollision(entity, shape, target, x, y, z) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getBlockCollisions(entity, box) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getBlockEntity(pos, type) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getBlockEntity(pos) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getBlockState(pos) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getBottomSectionCoord() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getBottomY() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getChunkAsView(chunkX, chunkZ) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getCollisions(entity, box) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getDismountHeight(blockCollisionShape, belowBlockCollisionShapeGetter) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getDismountHeight(pos) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getEntityCollisions(entity, box) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getFluidState(pos) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getHeight() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getLuminance(pos) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getMaxLightLevel() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getSectionIndex(y) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getStatesInBox(box) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getTopSectionCoord() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getTopY() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getWorldBorder() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isOutOfHeightLimit(pos) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isOutOfHeightLimit(y) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isSpaceEmpty(entity) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isSpaceEmpty(entity, box) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isSpaceEmpty(box) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:raycast(context) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:raycast(context) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:raycastBlock(start, end, pos, shape, state) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:sectionCoordToIndex(coord) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:sectionIndexToCoord(index) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Static Methods

CollisionView.create(bottomY, height)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • bottomY int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • height int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, HeightLimitView This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CollisionView.raycast(start, end, context, blockHitFactory, missFactory)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • start userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • end userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • context userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • blockHitFactory userdata, BiFunction This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • missFactory userdata, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"

Instance Methods

instance:canCollide(entity, box)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • box userdata, Box This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:canPlace(state, pos, context)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • state userdata, BlockState This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • context userdata, ShapeContext This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:countVerticalSections()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:doesNotIntersectEntities(except, shape)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • except userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • shape userdata, VoxelShape This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:doesNotIntersectEntities(entity)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:findClosestCollision(entity, shape, target, x, y, z)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • shape userdata, VoxelShape This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • target userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • x number, double This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • y number, double This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • z number, double This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getBlockCollisions(entity, box)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • box userdata, Box This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Iterable This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getBlockEntity(pos, type)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • type userdata, BlockEntityType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getBlockEntity(pos)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, BlockEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getBlockState(pos)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, BlockState This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getBottomSectionCoord()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getBottomY()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getChunkAsView(chunkX, chunkZ)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • chunkX int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • chunkZ int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, BlockView This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getCollisions(entity, box)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • box userdata, Box This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Iterable This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getDismountHeight(blockCollisionShape, belowBlockCollisionShapeGetter)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • blockCollisionShape userdata, VoxelShape This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • belowBlockCollisionShapeGetter userdata, Supplier This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

number, double This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getDismountHeight(pos)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

number, double This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getEntityCollisions(entity, box)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • box userdata, Box This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getFluidState(pos)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, FluidState This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getHeight()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getLuminance(pos)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getMaxLightLevel()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getSectionIndex(y)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • y int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getStatesInBox(box)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • box userdata, Box This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, Stream This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getTopSectionCoord()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getTopY()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getWorldBorder()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, WorldBorder This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:isOutOfHeightLimit(pos)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:isOutOfHeightLimit(y)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • y int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:isSpaceEmpty(entity)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:isSpaceEmpty(entity, box)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • entity userdata, Entity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • box userdata, Box This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:isSpaceEmpty(box)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • box userdata, Box This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:raycast(context)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • context userdata, BlockStateRaycastContext This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, BlockHitResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:raycast(context)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • context userdata, RaycastContext This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, BlockHitResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:raycastBlock(start, end, pos, shape, state)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • start userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • end userdata, Vec3d This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • pos userdata, BlockPos This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • shape userdata, VoxelShape This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • state userdata, BlockState This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, BlockHitResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:sectionCoordToIndex(coord)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • coord int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:sectionIndexToCoord(index)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • index int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"