abhijeetog_og
๐Ÿ“Ž 1 file 2,540 chars
๐Ÿ“„
pasted-code-1775705025187.txt
txt 147 lines
โ–ถ
You are an experienced Minecraft Fabric mod developer.

Create a SIMPLE, CLEAN, and FULLY WORKING Fabric mod for Minecraft 1.21.4 using Java and Fabric API.

IMPORTANT:
- Keep the mod lightweight and stable
- DO NOT overcomplicate anything
- This should feel like Feather Client waypoint system
- Must compile without errors

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

MOD NAME: WaypointPlus

TYPE:
Client-side only mod

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

CORE IDEA:
A minimal waypoint system with clean UI, similar to Feather Client.

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

1. KEYBIND:
- Register a keybind (default: K)
- Pressing K opens waypoint menu

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

2. NO COMMANDS:
- No commands at all
- Everything must be INVENTORY GUI-based

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

3. PER-WORLD / PER-SERVER WAYPOINTS:

Waypoints must be stored separately:

- Singleplayer โ†’ per world
- Multiplayer โ†’ per server IP

Store files like:
config/waypointplus/.json

This is VERY IMPORTANT

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

4. WAYPOINT SYSTEM:

Each waypoint:
- name (String, required)
- x, y, z
- dimension
- color (preset)

Features:
- Add waypoint (auto uses player position)
- Delete waypoint
- Select waypoint
- Teleport (optional config)

Keep it simple like Feather Client

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

5. INVENTORY GUI (FEATHER STYLE - CLEAN & SIMPLE):

Main Screen:
- Simple list of waypoints
- Each entry shows:
  - Colored name
  - Distance
- Minimal design (no clutter)

Buttons:
- Add
- Delete
- Close

Add Screen:
- Text input (name)
- Color buttons
- Save / Cancel

IMPORTANT:
- UI must be minimal and smooth
- No heavy animations
- Clean spacing

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

6. COLOR SYSTEM:
Preset colors only:
- Red
- Blue
- Green
- Yellow
- White

Apply color to:
- waypoint name
- rendering text

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

7. RENDERING:
- Render simple floating text in world
- Show:
  - waypoint name
  - distance
- Only render in same dimension
- Keep it lightweight (no heavy beams)

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

8. DATA STORAGE:
- JSON format
- Auto save/load

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

9. CONFIG:
- allowTeleport true/false
- maxWaypoints

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

10. PROJECT FILES:

Provide FULL working Fabric project:
- All Java classes
- fabric.mod.json
- build.gradle
- gradle.properties

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

FINAL RULE:
Make it feel like Feather Client:
โœ” Simple
โœ” Clean
โœ” Fast
โœ” No bugs
โœ” No extra features
Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code