modding-hytale

📁 pauloviccs/viccs_antigravity_skillscreator 📅 Today
0
总安装量
1
周安装量
安装命令
npx skills add https://github.com/pauloviccs/viccs_antigravity_skillscreator --skill modding-hytale

Agent 安装分布

amp 1
cline 1
openclaw 1
trae 1
opencode 1
cursor 1

Skill 文档

Modding Hytale

When to use this skill

  • When the user asks to create a Hytale mod, plugin, or server script.
  • When the user mentions “Hytale”, “Prefabs”, “ECS”, “Server”, “Blockbench”, “World Gen V2”, “HyUI”, or “HTML UI”.
  • When creating custom entities, blocks, or modifying world generation logic.

Workflow

  1. Determine the Domain:

  2. Environment Check & Setup:

    • Java 25 (OpenJDK/Adoptium) + Maven 3.9.12+.
    • Install HytaleServer.jar to local Maven cache.
  3. Execute Logic:

    • Follow the specific patterns in the linked resource files.
    • Use “Server-First” thinking: assume the client is just a screen, all logic is on the server.

Instructions

1. Environment Setup (Critical)

  • Java: JDK 25 (Adoptium recommended).
  • Maven: 3.9.12+.
  • HytaleServer.jar: Must be manually installed.

PowerShell Install Command:

mvn install:install-file -Dfile="PATH_TO_JAR/HytaleServer.jar" -DgroupId="com.hypixel.hytale" -DartifactId="HytaleServer-parent" -Dversion="1.0-SNAPSHOT" -Dpackaging="jar"

Note: Wrap arguments in quotes if PowerShell throws parsing errors.

2. Quick References

Server & ECS

  • Entity: com.hypixel.hytale.server.core.entity.Entity
  • World: com.hypixel.hytale.server.core.universe.world.World
  • Player: com.hypixel.hytale.server.core.entity.entities.Player
  • Command Context: com.hypixel.hytale.server.core.commands.info.CommandContext

Common Pitfalls

  • Spawning Entities: Do NOT use new Entity(). Use PrefabSpawnerModule or EntityModule.
  • Async Events: Do NOT modify the world in IAsyncEvent.
  • UI Latency: UI interactions make a round-trip to the server. Design accordingly.

Resources