Difference between revisions of "Json block behaviors CollectFromThis"

From Vintage Story Wiki
Jump to navigation Jump to search
(Added new entry.)
 
(Fix consistency issue. Added reference.)
 
Line 1: Line 1:
 
== Purpose ==
 
== Purpose ==
This behavior only handles collections from specific containers- checking for the first drop of a given inventory or if the block is empty.  Introduced in 1.11.
+
This behavior only handles collections from specific containers- checking for the first drop of a given inventory or if the block is empty. This is similar to [[Json_block_behaviors_Harvestable|Harvestable]] Introduced in 1.11. Used for:
Example:
 
 
* Henbox
 
* Henbox
  
 
{{Navbox/modding|Vintage Story}}
 
{{Navbox/modding|Vintage Story}}

Latest revision as of 00:48, 26 October 2019

Purpose

This behavior only handles collections from specific containers- checking for the first drop of a given inventory or if the block is empty. This is similar to Harvestable Introduced in 1.11. Used for:

  • Henbox


Vintage Story: Modding
Basics Mod Types | Asset System | Textures | Items | Recipes | Blocks | Model Creator | Release
Advanced Setup(Windows,Linux) | Items | Blocks | Item-Block interractions | Block Behavior | Block Entity | Particles | World Access
Worldgen Terrain | Ores | Trees | Worldgen API
Rendering Shaders and Renderers
Property Overview Item | Block | Block Behaviors