Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jayugg/extracode
Adds extra classes and behaviors for content modders
https://github.com/jayugg/extracode
Last synced: 7 days ago
JSON representation
Adds extra classes and behaviors for content modders
- Host: GitHub
- URL: https://github.com/jayugg/extracode
- Owner: jayugg
- Created: 2024-09-24T17:21:09.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2024-10-24T01:07:19.000Z (24 days ago)
- Last Synced: 2024-10-24T16:11:42.190Z (24 days ago)
- Language: C#
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This mod's purpose is to make content modder's lives easier by providing a set of very moddable classes and behaviours, with focus on flexibility.
Please do offer suggestions on what your needs are, especially things that could make it easier to implement hardcoded vanilla stuff.
Please check the [example mod](https://mods.vintagestory.at/show/mod/14708) for usage. I won't write documentation for now, so an example mod is a great solution because it is what I use for testing, allowing me to use it both to test and as an example for users.Currently available classes:
- [Block Behaviour] `BreakSpawner`: Spawn entities when broken, allows to configure multiple entity codes, set their relative chances, or a required tool for the effect to be in place (allows wildcards selectors). Check example mod for usage.
- [Block Behaviour] `InfestedBlock`: Inherits from `BreakSpawner`, resembles minecraft's infested rock by breaking the block when a connected infested block is broken. Allows wildcards selectors for what nearby infested blocks will trigger the effect.
- [Block Behaviour] DropsWhenBrokenWith: Allows to set multiple custom drops based on the tool used to break the block (allows wildcards).
- [Block Behaviour] CustomDrinkSpeed: Allows to set custom drink speed for containers.