Json block behaviors CollectFromThis

From Vintage Story Wiki
Jump to navigation Jump to search

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 (Code, JSON) | Blocks | Item-Block interactions | Block Behaviors | Block Entities | Particles | World Access
Worldgen Terrain | Ores | Trees | WorldGen API
Rendering Shaders and Renderers
Property Overview Item | Block | Block Behaviors | Block Classes | Block Entities | Block Entity Behaviors