Егор Емельянов

a mod, that adds characters, functions, blocks, props and more from the roblox game "toytale roleplay" you can use this wiki as to know what to add and how it should look: https://tattletail-roblox-rp.fandom.com/wiki/Toytale_Roleplay_Wiki also please add a custom main menu, set the modded menu as the default menu, add a toybox chest thingy that has different flashlights inside of it like a regular one, blood lantern, GMD flashlight, etc. add eggs randomly spawning everywhere with which you can buy different lantern skins and other stuff like custom pet npc spawn eggs (spawn eggs that summon a version of the custom npc but with them being on your side)

[Viewing 5 images]

5 images attached
Kodari AI
KodariNov 7 at 11:33 am 26
  1. Check the linked wiki for usable character and item details.

  2. Build the NeoForge 26.2 mod foundation and survival content: toybox, flashlights, collectible eggs, shop, and friendly pet summons.

  3. Add a custom default main menu and the required assets, recipes, loot, and names.

Added the NeoForge 26.2 Toytale-themed mod foundation: a custom default menu, a Toybox that gives one random flashlight, collectible egg patches, three usable flashlight variants, and a companion egg.

Survival: Egg patches spawn near players; right-click one to collect a Gilded Egg. Craft a Flashlight with an iron ingot, redstone, and a stick. Trade Gilded Eggs through crafting recipes for the Blood Lantern (Flashlight + 3 eggs), GMD Flashlight (Flashlight + 4 eggs + glowstone dust), and Companion Egg (egg + bone + emerald + 5 Gilded Eggs). Craft a Toybox from planks, a chest, and a gold nugget; place it and right-click to claim one flashlight, consuming the box. Flashlights grant Night Vision when used.

The Companion Egg currently summons a tamed wolf, not a custom-model Toytale character. I couldn’t access the linked wiki—it returned HTTP 403—so the specific characters and details from it aren’t represented yet.

Егор Емельянов

there's an error sayin item id not set and something like that

Kodari AI
KodariNov 7 at 11:38 am 1

Fixed the registry-ID error. Items were created through generic register suppliers, which didn’t assign IDs to their properties; they now use registerItem, and the blocks use registerBlock so their properties receive IDs too. Compile the project again to verify the fix.

Егор Емельянов

where's the custom npcs like binky and watcher and everybody else

Kodari AI
KodariNov 7 at 11:43 am 1

They aren’t in the mod yet—the Companion Egg currently spawns a regular tamed wolf. I didn’t add Binky, Watcher, or the other custom characters. The wiki link was inaccessible from here, so I’d need character screenshots or descriptions to make them look right.

Егор Емельянов

here's the pictures again, even though i already sent them.

Kodari AI
KodariNov 7 at 11:48 am 21
  1. Replace the wolf placeholder with five distinct companion NPCs based on your references.

  2. Add their models, textures, animations, spawn eggs, and survival acquisition; keep Watcher hostile rather than a companion if its behavior calls for it.

[Generation stopped]

Егор Емельянов

those models are trash they dont look alike at all

Kodari AI
KodariNov 7 at 11:50 am 13

You’re right—the first models didn’t capture the references. I’ve redesigned Binky, Ara, Watcher, and Cynthia around their distinctive shapes, colors, and outfits. Binky’s animation is restored; I ran out of animation credits before restoring the other three, so those revised models are currently static.

These changes are model assets only—the characters still need their NPC registration and spawn behavior implemented. I also couldn’t reliably revise Fenrir without a reference I could identify.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
49 576
src/main/java/com/kodari/toytale/ToytaleMod.java
package com.kodari.toytale;

import com.kodari.toytale.block.EggPatchBlock;
import com.kodari.toytale.block.ToyboxBlock;
import com.kodari.toytale.item.CompanionEggItem;
import com.kodari.toytale.item.FlashlightItem;
import net.minecraft.core.registries.Registries;
import net.minecraft.network.chat.Component;
import net.minecraft.world.item.BlockItem;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.common.Mod;
import net.neoforged.neoforge.registries.DeferredBlock;
import net.neoforged.neoforge.registries.DeferredHolder;
import net.neoforged.neoforge.registries.DeferredItem;
import net.neoforged.neoforge.registries.DeferredRegister;

@Mod(ToytaleMod.MOD_ID)
public final class ToytaleMod {
    public static final String MOD_ID = "toytale";

    private static final DeferredRegister.Blocks BLOCKS = DeferredRegister.createBlocks(MOD_ID);
    private static final DeferredRegister.Items ITEMS = DeferredRegister.createItems(MOD_ID);
    private static final DeferredRegister<CreativeModeTab> CREATIVE_TABS = DeferredRegister.create(Registries.CREATIVE_MODE_TAB, MOD_ID);

    public static final DeferredItem<FlashlightItem> FLASHLIGHT = ITEMS.registerItem("flashlight", properties -> new FlashlightItem(20 * 30, properties));
    public static final DeferredItem<FlashlightItem> BLOOD_LANTERN = ITEMS.registerItem("blood_lantern", properties -> new FlashlightItem(20 * 45, properties));
    public static final DeferredItem<FlashlightItem> GMD_FLASHLIGHT = ITEMS.registerItem("gmd_flashlight", properties -> new FlashlightItem(20 * 60, properties));
    public static final DeferredItem<CompanionEggItem> COMPANION_EGG = ITEMS.registerItem("companion_egg", CompanionEggItem::new);
    public static final DeferredItem<Item> GILDED_EGG = ITEMS.registerItem("gilded_egg", Item::new);

    public static final DeferredBlock<ToyboxBlock> TOYBOX = BLOCKS.registerBlock("toybox", ToyboxBlock::new, properties -> properties.strength(2.0F, 3.0F));
    public static final DeferredBlock<EggPatchBlock> EGG_PATCH = BLOCKS.registerBlock("egg_patch", EggPatchBlock::new, properties -> properties.strength(0.4F, 0.4F));
    public static final DeferredItem<BlockItem> TOYBOX_ITEM = ITEMS.registerSimpleBlockItem("toybox", TOYBOX);
    public static final DeferredItem<BlockItem> EGG_PATCH_ITEM = ITEMS.registerSimpleBlockItem("egg_patch", EGG_PATCH);

    private static final DeferredHolder<CreativeModeTab, CreativeModeTab> CREATIVE_TAB = CREATIVE_TABS.register("main", () -> CreativeModeTab.builder()
            .title(Component.literal("Toytale Roleplay"))
            .icon(() -> new ItemStack(FLASHLIGHT.get()))
            .displayItems((parameters, output) -> {
                output.accept(FLASHLIGHT.get());
                output.accept(BLOOD_LANTERN.get());
                output.accept(GMD_FLASHLIGHT.get());
                output.accept(COMPANION_EGG.get());
                output.accept(GILDED_EGG.get());
                output.accept(TOYBOX_ITEM.get());
                output.accept(EGG_PATCH_ITEM.get());
            })
            .build());

    public ToytaleMod(IEventBus modEventBus) {
        BLOCKS.register(modEventBus);
        ITEMS.register(modEventBus);
        CREATIVE_TABS.register(modEventBus);
    }
}