Json block behaviors CollectFromThis: Difference between revisions

From Vintage Story Wiki
(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}}

Revision as of 23:48, 25 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
Icon Sign.png

Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.

Modding
Modding Introduction Getting Started Theme Pack
Content Modding Content Mods Developing a Content Mod Basic Tutorials Intermediate Tutorials Advanced Tutorials Content Mod Concepts
Code Modding Code Mods Setting up your Development Environment
Property Overview ItemEntityBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity BehaviorsWorld properties
Workflows & Infrastructure Modding Efficiency TipsMod-engine compatibilityMod ExtensibilityVS Engine
Additional Resources Community Resources Modding API Updates Programming Languages List of server commandsList of client commandsClient startup parametersServer startup parameters
Example ModsAPI DocsGitHub Repository