Class net.minecraft.block.Degradable

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

Static Fields

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

Instance Methods

instance:getDegradationChanceMultiplier() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getDegradationLevel() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getDegradationResult(state) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:tickDegradation(state, world, pos, random) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:tryDegrade(state, world, pos, random) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Instance Methods

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

Returns:

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

Returns:

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

Returns:

userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:tickDegradation(state, world, pos, random)
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"
  • world userdata, ServerWorld 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"
  • random userdata, Random This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
instance:tryDegrade(state, world, pos, random)
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"
  • world userdata, ServerWorld 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"
  • random userdata, Random This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"