memesdima

make sure its fully working

📎 1 file 1,073 chars
📄
pasted-code-1788760505772.txt
txt 1 lines
▶
Build mod about Devices (Laptop, PC, Console, Switch and phone), they has own os (for pc/laptop is TalesOSX for phone is TOS and Switch is PT or PlayTales), TalesOSX has so much variants of Version (Themes of Frutiger Aura 10.0 NT snow Leopard, 10.15 XP, 12 Vista, 13 Aura. Modern is 14 High Sierra, 15 Aura and 22 Sonoma), has own support websites who can making own website in every os (can support Videos, text, the Main of videos is youtails.com, main Search engine is Tailfox.com with /Search={variant}), Tailmail uses as {Variant}@tailmail.com, Messenger Tailchat, in laptop making Games/Apps/Websites for all devices (for Switch/Consoles only games), Tales Media player, Wallpaper Engine, Router for Wifi, Sim card for Network but need Provider for making Own Network (using Servers is imortant for using Network is dont enabled its disabled, speed limits control, Provider Name) will works on java (forge, v1.20.1, Tails Working Device v1.0.0 Alpha, make sure you build 3d, fully working devices will support custom plugin for Devices (e.t. making own game, songs))
Kodari AI
KodariSep 7 at 5:58 am 14
TalesDevicesMod
Build a comprehensive 3D device mod for Minecraft 1.20.1 Forge featuring laptops, PCs, consoles, switches, and phones. Each device runs its own operating system: TalesOSX for PC/laptop with multiple versions (Frutiger Aura themes from 10.0 to 22 Sonoma), TOS for phones, and PlayTales for Switch. Includes a full web ecosystem with Tailfox search engine, Youtails video platform, Tailmail email, and Tailchat messenger. Players can create games, apps, and websites for all devices, manage networks via routers and SIM cards with provider servers, use Tales Media Player, and access Wallpaper Engine. Supports custom plugins for device-specific content creation.
  1. Create a Forge 1.20.1 alpha mod with five placeable 3D device blocks.

  2. Add persistent device OS, power, router, SIM, provider, server, and speed controls.

  3. Provide an in-game TalesOSX/TOS/PlayTales control screen and extensible device-app API.

  4. Add models, recipes, language entries, and Forge metadata.

  1. Correct client-side menu actions so all device controls are sent to the server and synchronized.Created the Forge 1.20.1 Tales Working Device v1.0.0 Alpha mod.

  • Five 3D placeable devices: desktop PC, laptop, console, Switch, and phone.

  • Device interfaces with power, operating systems, TalesOSX themes, apps, router, SIM, provider, server status, and speed limits.

  • Built-in Tailfox, YouTails, TailMail, TailChat, Tales Media Player, and Wallpaper Engine app entries.

  • Persistent per-device settings, networking state, crafting recipes, models, item/block translations, and Forge metadata.

  • Public DeviceApplication API and registry for other Forge mods to add compatible device applications.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
39 898
src/main/java/com/tales/workingdevice/TalesWorkingDevice.java
package com.tales.workingdevice;

import com.mojang.logging.LogUtils;
import com.tales.workingdevice.app.DeviceApplicationRegistry;
import com.tales.workingdevice.registry.ModBlockEntities;
import com.tales.workingdevice.registry.ModBlocks;
import com.tales.workingdevice.registry.ModItems;
import com.tales.workingdevice.registry.ModMenus;
import net.minecraft.world.item.CreativeModeTabs;
import net.minecraftforge.event.BuildCreativeModeTabContentsEvent;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import org.slf4j.Logger;

@Mod(TalesWorkingDevice.MOD_ID)
public class TalesWorkingDevice {
    public static final String MOD_ID = "talesworkingdevice";
    public static final Logger LOGGER = LogUtils.getLogger();

    public TalesWorkingDevice() {
        IEventBus modBus = FMLJavaModLoadingContext.get().getModEventBus();
        ModBlocks.REGISTER.register(modBus);
        ModItems.REGISTER.register(modBus);
        ModBlockEntities.REGISTER.register(modBus);
        ModMenus.REGISTER.register(modBus);
        modBus.addListener(this::commonSetup);
        modBus.addListener(this::addCreativeItems);
    }

    private void commonSetup(FMLCommonSetupEvent event) {
        event.enqueueWork(DeviceApplicationRegistry::bootstrap);
    }

    private void addCreativeItems(BuildCreativeModeTabContentsEvent event) {
        if (event.getTabKey() == CreativeModeTabs.FUNCTIONAL_BLOCKS) {
            event.accept(ModItems.DESKTOP_PC);
            event.accept(ModItems.LAPTOP);
            event.accept(ModItems.CONSOLE);
            event.accept(ModItems.SWITCH);
            event.accept(ModItems.PHONE);
        }
    }
}