StrippableBlocks API
Modby WhiteTowerGames
API that allows you to registers strippable blocks that do not have an axis property, bypassing Fabric API's requirements.
Description
StrippableBlocksAPI
The StrippableBlocksAPI is a simple, easy-to-use API that allows mod developers to add strippable wood blocks that do not have the axis property, such as custom log variants or new block types. Designed as an extension to Minecraft's existing StrippableBlockRegistry, this API allows for enhanced flexibility and mod compatibility when adding support for strippable blocks.
Key Features:
- Custom Strippable Logs: Add logs that can be stripped, even if they don't have the
axisproperty (like custom wood blocks or new block types). - Simple Integration: The API is designed to integrate smoothly into existing mod setups, with easy-to-use methods for registering and fetching strippable blocks.
- Minimal Dependencies: This API is lightweight and only depends on Fabric API, making it easy to incorporate into any Fabric-based mod project.
- Flexible Usage: Works alongside Minecraft's StrippableBlockRegistry while enabling modders to register custom strippable logs with a simplified interface.
How It Works:
- Register your custom log blocks as strippable with just a few lines of code using
StrippableCustomRegistry.register(). - Get the stripped result of any registered block using
StrippableCustomRegistry.getStrippedResult().
The StrippableBlocksAPI is ideal for modders who want to offer their players more customization options with minimal setup and effort.
For documentation and a short usage tutorial, feel free to refer to the wiki.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Wandering Cowards
Wandering Traders teleport away when hurt.
Slots Machine
This mod adds a Slots Machine to Minecraft where you can gamble your emeralds or a configured item to make a profit or h...
Armor Hider
Hide or adjust the transparency of armor, glint, and offhand items - with full multiplayer sync.
JourneyMap Server
Server Plugin to assist and administer features in the JourneyMap Client Mod
Mob Variants
Adds stronger variants for hostile mobs
Technomancy
Science and magic, what can go wrong?