Difference between revisions of "Catchable Component"

From wiki
Jump to: navigation, search
(Initial commit.)
 
m (Fix heading)
Line 22: Line 22:
  
  
= Config Options  
+
= Config Options =
 
There are no additional Configuration Options for this component.
 
There are no additional Configuration Options for this component.
  
 
If you want the specific tile broken to spawn when it is broken however, check out [[Spawn On Break Component]].
 
If you want the specific tile broken to spawn when it is broken however, check out [[Spawn On Break Component]].

Revision as of 23:19, 18 July 2017

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 Catchable component, signified by the following;

"catchable": { }

Catchable components are the compliment to Net Items. They are used on Tiles specifically, and are used to specify that Net Items can break this tile.


When and How to use

Catchable components should be used on any tile that you would want broken by an net. This is mostly just bugs and other small creatures.

To create this component you would use the following;

"catchable": { }

There are no additional properties to the Catchable binding itself. If you want to spawn the tile for the player you will need to use Spawn On Break Component to specify that.

If you only want the same tile to spawn, then you will need to use the Spawn On Break Component in order to specify.


Config Options

There are no additional Configuration Options for this component.

If you want the specific tile broken to spawn when it is broken however, check out Spawn On Break Component.