Swimmable Component

From wiki
Jump to: navigation, search

Category:Component Modding are all optional properties that can be added to any file. Components are useful in extending the original files with even more information, such as the cost of the item or whether the block can be broken by a weapon.

On this page, we go over the Swimmable component, signified by the following;

"swimmable": {}

Swimmable components are used to specify that the tile is available for swimming. That is, it will allow the player to swim through this tile.


When and How to use

Swimmable components should be used whenever you want a Tile to be swimmable. Just add the following to the file, and then it'll be available for swimming.

"swimmable": {}

This component does not have any extra properties, so this is complete.

Config Options

This component has no extra properties. Just add the component when necessary and all will work.