Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
Overview

Frog Blocks is a Fabric mod designed for Minecraft 1.20.1 with the aim to expand to support
additional game versions. It adds 16 blocks to the game registry, each of which can be configured
by the user through either Mod Menu or the configuration
file (config/frogblocks/frogblocks_config.json). Each block can be independently configured
to have a custom name, custom texture, sound effects, crafting recipe, and mining properties
(tool requirements and drops). The default textures for these blocks blend with the textures
of the 16 vanilla concrete blocks and have and friendly Minecraft frog face in the center.
On their own they can be used as building and decoration blocks with no customizations. By
default, the blocks are not craftable; crafting must be enabled by the user in the config file
or through Mod Menu. The default crafting recipe is shapeless: 1 concrete block + 1 slime ball.
Custom crafting can be enabled where the user can choose from shapeless crafting, shaped crafting,
or smelting (smelting times for furnaces, blast furnaces, and smokers can be independently
configures or disabled).
Frog blocks also serves the purpose of being place holders for customizations by resource packs and datapacks – leave the blocks unconfigured in the frogblocks_config.json config file and use resource packs and datapacks to customize each block's properties, recipes, etc.
Mod Menu interface for in-game block connfiguration:

Custom Configurations
Blocks are registered in the "frogblocks" namespace with IDs of the pattern "block_##" where "##" represents an incremental two digit ID number. ID's are based on alphabetical color order (e.g., black is first in the alphabetical order of the 16 standard Minecraft colored block colors, so frogblocks:block_01 is named "Black Frog Block"; yellow is last in the alphabetical order, so frogblocks:block_16 is named "Yellow Frog Block").
Supported custom texture files must be .png format and 16x16 pixels (as of the current version
of the mod, textures for blocks with rotation states or models other than the standard 16x16x16
cube shape are not supported). If the user selects a custom texture for a Frog Block, they
must supply that texture in the config folder with a name following the pattern "block_##.png"
where "##" represents the two digit ID number (e.g., the custom texture file for frogblocks:block_01
should be located at config/frogblocks/textures/block_01.png).
Supported custom sound files are .ogg format, and up to 4 custom .ogg files can be used per
sound type (place, break, step), 12 sounds total. Custom sound files must be placed in the
config/frogblocks/sounds/block_##/ directory where "##" represents the two digit ID number.
Sound files should be named for the sounds type (place, break, step) followed by the index
of 1-4 and the ".ogg" file extension. E.g., the first custom place sound for frogblocks:block_01
should be located at config/frogblocks/sounds/block_01/place1.ogg.
Server configuration
The server's config/frogblocks/frogblocks_config.json controls the settings used while players
are connected to a remote server. On remote server logins, Frog Blocks sends the settings to
the client and enables custom texture & sound files, which temporarily applies them as resource
overrides and removes them when the player disconnects. The client does not initiate a resource
reload on disconnect; it restores the local resource override files for the next normal resource
reload. Integrated singleplayer worlds continue to use the local config and assets.
Every player still needs the Frog Blocks mod installed on their client so the block and item registries exist. Custom sound IDs selected in "Vanilla" option must also refer to sounds available to that client (e.g., from a client resource pack or installed mod). A block's vanilla sound ID must not point back to that same Frog Blocks sound event.
Generated client resource overrides are stored in config/frogblocks/resourcepack and loaded
internally; they are not exposed as a selectable resource pack.
Troubleshooting
Join the FroggyCraft Discord to report bugs: https://discord.gg/WBQRfBgQEY


