
Description
<div style="background: linear-gradient(70deg, #fbbf9d, #ffd6b3); border-radius: 8px; padding: 14px; margin: 16px 0; font-family: sans-serif; font-size: 14px; line-height: 1.5; text-align: center; color: #222;"> <p style="margin: 0 0 8px 0; font-weight: bold;">Enjoy my work? You can support me on <a style="color: #9a3412; text-decoration: none;" href="https://ko-fi.com/jayugg" target="_blank" rel="noopener">Ko-fi</a> or <a style="color: #5f0f40; text-decoration: none;" href="https://patreon.com/jayugg" target="_blank" rel="noopener">Patreon</a>. Thank you!</p> <p style="margin: 8px 0 0 0;"><a href="https://ko-fi.com/O5O414011W" target="_blank" rel="noopener"> <img style="height: 40px; width: auto; border: 0; vertical-align: middle;" src="https://storage.ko-fi.com/cdn/brandasset/v2/support_me_on_kofi_badge_dark.png" alt="Support me on Ko-fi" /> </a> <a href="https://www.patreon.com/bePatron?u=86769298" target="_blank" rel="noopener"> <img style="height: 40px; width: auto; border: 0; vertical-align: middle;" src="https://github.com/jayugg/.github/blob/main/profile/patreon-logo.png?raw=true" alt="Support me on Patreon" /> </a></p> </div> <h2><span style="color: #e74c3c;">This mod is a library and adds no content to the game</span></h2> <p>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.</p> <p>Please check the <a href="https://mods.vintagestory.at/show/mod/14708" target="_blank" rel="noopener">example mod</a> 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.</p> <h3>How to use</h3> <p>You have two options:</p> <ul> <li>Use this mod as a dependency by listing it in the modinfo and require players to download it (preferred)</li> <li>For a more compact installation, copy the dll of this mod into your mod zip folder (could be redundant or cause issues if the player or server has more mods installed that use this)</li> </ul> <p>Both methods are compatible with servers as the mod will be downloaded automatically if it's installed on a server.</p> <h3>Currently available classes</h3> <ul> <li>[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.</li> <li>[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. Break delay for each block can be set.</li> <li>[Block Behaviour] DropsWhenBrokenWith: Allows to set multiple custom drops based on the tool used to break the block (allows wildcards).</li> <li>[Block Behaviour] CustomDrinkSpeed: Allows to set custom drink speed for containers.</li> <li>[Item] ItemMetalBloom: Generic metal bloom item, to make items like irom blooms that need to be smithed on an anvil to refine</li> </ul> <h3>Additionally the current attributes exist</h3> <ul> <li> <p>"blisterSteelLike": ingot will behave like blister steel when placed on an anvil to be worked when this attribute is set to true.</p> </li> <li>"maxContainerCapacityLitres": attribute for blocks that use the fruitpress class, allows to configure the maximum capacity a container can have to be placed under it</li> </ul> <h3>Additional tweaks</h3> <ul> <li>Can define metal worldproperties (still need to be called block/metal) in any custom domain (this feature is vanilla in 1.20), can also json patch vanilla metal worldproperties, which is impossible in vanilla since they load before patches (not strictly needed because of the first)</li> </ul> <h3>Used in</h3> <div class="mods" style="box-sizing: border-box; color: #333; column-gap: 16px; display: grid; grid-template-columns: repeat(5, 320px); grid-auto-rows: auto; justify-content: start; line-height: 19.2px; margin: 0; padding: 0; text-rendering: optimizespeed; overflow-x: auto; white-space: nowrap;"> <div class="mod published" style="aspect-ratio: 1 / 1; background-color: #fff; border: 1px solid #fff; border-radius: 4px; box-shadow: #aaa 1px 1px 4px 0px; box-sizing: border-box; color: #333; margin: 0; padding: 0; overflow: hidden; position: relative; text-rendering: optimizespeed;"><a style="box-sizing: border-box; color: #333; text-decoration: none;" href="https://mods.vintagestory.at/bartender"> <img style="border-top-left-radius: 4px; border-top-right-radius: 4px; box-sizing: border-box; width: 318px; display: block;" src="https://moddbcdn.vintagestory.at/Bartender+480x320_3f5d085718401beca6b7cbafab65c8a2.jpg" alt="image" /> </a> <div class="moddesc" style="background-color: rgba(255, 255, 255, 0.8); box-sizing: border-box; color: #333; margin: 0; padding: 4px; position: absolute; bottom: 0; left: 0; width: 100%; min-height: 108px; display: flex; flex-direction: column; align-items: flex-start; text-rendering: optimizespeed; word-wrap: break-word; white-space: normal;"> <h4 style="margin: 0; padding: 0;">Bartender</h4> <p style="margin: 0; padding: 0;">Adds Bartender with his beach bar to your world</p> </div> </div> <div class="mod published" style="aspect-ratio: 1 / 1; background-color: #fff; border: 1px solid #fff; border-radius: 4px; box-shadow: #aaa 1px 1px 4px 0px; box-sizing: border-box; color: #333; margin: 0; padding: 0; overflow: hidden; position: relative; text-rendering: optimizespeed;"><a style="box-sizing: border-box; color: #333; text-decoration: none;" href="https://mods.vintagestory.at/fruitpresspatch"> <img style="border-top-left-radius: 4px; border-top-right-radius: 4px; box-sizing: border-box; width: 3
Ratings & reviews
Sign in to leave a rating or comment.

