Хомяк Abobus

Develop a Minecraft mod that allows players to replace the texture of any block with another specified block through a simple configuration file. Implement a unique feature where honey blocks function as "zimogor spawners," visually resembling standard mob spawners, and spawn zimogors that automatically despawn after 10 seconds. Ensure that all visual changes are only observable to the mod's user, maintaining an Develop a Minecraft mod that allows players to replace the texture of any block with another specified block through a simple configuration file. Implement a unique feature where honey blocks function as "zimogor spawners," visually resembling standard mob spawners, and spawn zimogors that automatically despawn after 10 seconds. Ensure that all visual changes are only observable to the mod's user, maintaining an immersive experience for others in the game.

Kodari AI
KodariNov 1 at 7:58 pm 10
ZimogorSpawnerMod
A Minecraft Fabric mod enabling players to replace any block's texture with another via a simple configuration file. Honey blocks act as "zimogor spawners," visually appearing as standard mob spawners to the mod user, spawning zimogor entities that automatically despawn after 10 seconds. All visual changes are client-side only, preserving the immersive experience for other players.
  1. Add a client-only config that maps block IDs to replacement appearances.

  2. Make honey blocks render as spawners and locally spawn short-lived zimogors.

  3. Add the mod metadata, client mixins, and default resources.

Implemented the Fabric 1.21.11 client mod:

  • Nearby honey blocks look like spawner cages and produce a local Zimogor every 4 seconds; each disappears after 10 seconds. These visual entities are client-only, so other players and the server don’t see them.

  • Block appearance swaps use config/zimogor-blocks.properties, with mappings like minecraft:stone=minecraft:gold_block. The file is created on first use; restart the game after editing it.

  • Honey blocks are obtainable in survival by crafting with honey bottles. No new items are added.

The attached image wasn’t available to the art tool, so the Zimogor art was made from the text description rather than matched to the image. Reattach it if you want a closer visual match.

Хомяк Abobus

Create a texture pack or resource pack that replaces the following blocks with others that can only be obtained using the command /give @p minecraft:jigsaw and also /give @p minecraft:structure_block. It’s also very important to add a spawner texture to this mod. Or better yet, make it built‑in so that in the mod, slime acts as a spawner. The honey block should be a puzzle block that can only be obtained using the command. And instead of the coal block, there should be a constructor block (structural block). That is all

Kodari AI
KodariNov 1 at 8:08 pm 2
  1. Configure the client-only block appearances: slime → spawner, honey → jigsaw, coal → structure block.

  2. Ensure the spawner visual uses a mod-bundled texture and remains client-side.

Built the changes into the Fabric mod rather than as a standalone resource pack:

  • Slime blocks render with the mod’s spawner-style texture and locally spawn a Zimogor every 4 seconds; each despawns after 10 seconds.

  • Honey blocks render as jigsaw blocks, and coal blocks render as structure blocks.

  • Defaults are in config/zimogor-blocks.properties; add or edit mappings there to customize appearances.

These are client-side visual changes: the actual blocks keep their normal behavior and obtainability, and other players won’t see the changes unless they also use the mod.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
17 21,800
src/main/java/com/kodari/zimogor/ZimogorMod.java
package com.kodari.zimogor;

import com.kodari.zimogor.entity.ZimogorEntity;
import net.fabricmc.api.ModInitializer;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.SpawnGroup;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.registry.RegistryKey;
import net.minecraft.registry.RegistryKeys;
import net.minecraft.util.Identifier;

public final class ZimogorMod implements ModInitializer {
    public static final String MOD_ID = "zimogor";
    private static final RegistryKey<EntityType<?>> ZIMOGOR_KEY = RegistryKey.of(
            RegistryKeys.ENTITY_TYPE,
            Identifier.of(MOD_ID, "zimogor")
    );
    public static final EntityType<ZimogorEntity> ZIMOGOR = EntityType.Builder
            .create(ZimogorEntity::new, SpawnGroup.MISC)
            .dimensions(0.85f, 0.85f)
            .build(ZIMOGOR_KEY);

    @Override
    public void onInitialize() {
        Registry.register(Registries.ENTITY_TYPE, ZIMOGOR_KEY, ZIMOGOR);
    }
}