1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-12 11:10:29 +00:00

Fix checkstyle

This commit is contained in:
Jonathan Coates 2021-04-03 12:55:20 +01:00
parent 51d3b091da
commit e8f5531a8c

View File

@ -500,8 +500,8 @@ public class TurtleAPI implements ILuaAPI
* Get the maximum amount of fuel this turtle currently holds. * Get the maximum amount of fuel this turtle currently holds.
* *
* @return The fuel level, or "unlimited". * @return The fuel level, or "unlimited".
* @cc.treturn[1] number The current amount of fuel a turtle this turtle has. * @cc.treturn [1] number The current amount of fuel a turtle this turtle has.
* @cc.treturn[2] "unlimited" If turtles do not consume fuel when moving. * @cc.treturn [2] "unlimited" If turtles do not consume fuel when moving.
* @see #getFuelLimit() * @see #getFuelLimit()
* @see #refuel(Optional) * @see #refuel(Optional)
*/ */
@ -524,9 +524,9 @@ public class TurtleAPI implements ILuaAPI
* @param countA The maximum number of items to consume. One can pass `0` to check if an item is combustable or not. * @param countA The maximum number of items to consume. One can pass `0` to check if an item is combustable or not.
* @return If this turtle could be refuelled. * @return If this turtle could be refuelled.
* @throws LuaException If the refuel count is out of range. * @throws LuaException If the refuel count is out of range.
* @cc.treturn[1] true If the turtle was refuelled. * @cc.treturn [1] true If the turtle was refuelled.
* @cc.treturn[2] false If the turtle was not refuelled. * @cc.treturn [2] false If the turtle was not refuelled.
* @cc.treturn[2] string The reason the turtle was not refuelled ( * @cc.treturn [2] string The reason the turtle was not refuelled (
* @cc.usage Refuel a turtle from the currently selected slot. * @cc.usage Refuel a turtle from the currently selected slot.
* <pre>{@code * <pre>{@code
* local level = turtle.getFuelLevel() * local level = turtle.getFuelLevel()
@ -605,8 +605,8 @@ public class TurtleAPI implements ILuaAPI
* By default, normal turtles have a limit of 20,000 and advanced turtles of 100,000. * By default, normal turtles have a limit of 20,000 and advanced turtles of 100,000.
* *
* @return The limit, or "unlimited". * @return The limit, or "unlimited".
* @cc.treturn[1] number The maximum amount of fuel a turtle can hold. * @cc.treturn [1] number The maximum amount of fuel a turtle can hold.
* @cc.treturn[2] "unlimited" If turtles do not consume fuel when moving. * @cc.treturn [2] "unlimited" If turtles do not consume fuel when moving.
* @see #getFuelLevel() * @see #getFuelLevel()
* @see #refuel(Optional) * @see #refuel(Optional)
*/ */
@ -624,9 +624,9 @@ public class TurtleAPI implements ILuaAPI
* upgrade is removed, but no new one is equipped. * upgrade is removed, but no new one is equipped.
* *
* @return Whether an item was equiped or not. * @return Whether an item was equiped or not.
* @cc.treturn[1] true If the item was equipped. * @cc.treturn [1] true If the item was equipped.
* @cc.treturn[2] false If we could not equip the item. * @cc.treturn [2] false If we could not equip the item.
* @cc.treturn[2] string The reason equipping this item failed. * @cc.treturn [2] string The reason equipping this item failed.
* @see #equipRight() * @see #equipRight()
*/ */
@LuaFunction @LuaFunction
@ -643,9 +643,9 @@ public class TurtleAPI implements ILuaAPI
* upgrade is removed, but no new one is equipped. * upgrade is removed, but no new one is equipped.
* *
* @return Whether an item was equiped or not. * @return Whether an item was equiped or not.
* @cc.treturn[1] true If the item was equipped. * @cc.treturn [1] true If the item was equipped.
* @cc.treturn[2] false If we could not equip the item. * @cc.treturn [2] false If we could not equip the item.
* @cc.treturn[2] string The reason equipping this item failed. * @cc.treturn [2] string The reason equipping this item failed.
* @see #equipRight() * @see #equipRight()
*/ */
@LuaFunction @LuaFunction