Class net.minecraft.block.ShapeContext

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

Static Methods

ShapeContext.absent() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
ShapeContext.of(entity) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

instance:canWalkOnFluid(state, fluidState) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isAbove(shape, pos, defaultValue) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isDescending() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:isHolding(item) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Static Methods

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

Returns:

userdata, ShapeContext This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
ShapeContext.of(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:

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

Instance Methods

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

Parameters:

  • state userdata, FluidState This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • fluidState userdata, FluidState 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:isAbove(shape, pos, defaultValue)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • shape userdata, VoxelShape 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"
  • defaultValue boolean 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:isDescending()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

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

Parameters:

  • item userdata, Item 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"