Back to mods
Battleship project artwork

CurseForge · Hytale mod

Battleship

Battleship hexcode glyph

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Battleship release should I use?

Updated last month
beta file Battleship-1.3.1.jar
Game version 0.5
Mod system Built-in Hytale mod system

Battleship-1.3.1.jar targets 0.5. Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer. No required dependencies listed for this file.

Where it goes

Where should Battleship be installed in Hytale?

Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer.

Separate client mod Not supported
World host / dedicated server Required
Mod system for this release Built-in Hytale mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

Put Hytale mods on the world host or dedicated server. Singleplayer runs a local server too; Hytale does not use separate client mods.

What else does Battleship-1.3.1.jar need?

Battleship-1.3.1.jar. Change the file and its required mods may change too.

No required dependencies listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional project dependencies. Check the creator notes before changing an existing world.

Before you install it

Add Battleship without breaking your instance.

Built for Battleship-1.3.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Battleship-1.3.1.jar. It targets 0.5; another release may target a different game build or dependency set.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Enable it on the world host

    Do not install it as a separate client mod. Enable it on the world host—the local server in singleplayer or the dedicated server in multiplayer.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Battleship-1.3.1.jar. It opens that exact file at the source.

About this project

What does Battleship add?

Battleship

video demonstration

Battleship is a mod that adds a Hexcode spell for dropping large prefab structures into the world. Its namesake spell summons a full battleship, but the underlying interaction is generic and can paste any prefab you point it at.

The project is primarily experimental and technical, built to explore Hexcode's glyph system, the interaction pipeline, and Hytale's prefab pasting APIs.


Implemented Features

🚢 Battleship Glyph

Hexcode spell glyph

The Battleship glyph is a Hexcode spell that drops a full battleship into the world wherever the spell lands.

Under the hood the glyph uses the Hexcode Interaction handler, which runs a custom HexSpawnPrefab interaction. That interaction resolves the prefab named in its config, works out where to place it, and pastes it into the world oriented to the direction the caster is facing.

Shape structure

  • Square as the base of the ship
  • Square as small atop the first
  • Square small next to the second
  • Line horizontal line extending as a gun from the small square

How to cast it

  1. Enter casting mode and draw the shape structure above to form the Battleship glyph.
  2. Give the glyph a target. The glyph has a target input slot, and the prefab spawns at whatever position that slot receives. The simplest setup is to place a Projectile glyph in front of the Battleship glyph and connect it through the Next slot, so the ship spawns wherever the projectile lands. Any glyph that produces a position works the same way.
  3. Cast the hex. When the target position comes through, the battleship is pasted at that location, rotated to your cardinal facing (north, south, east, or west depending on which way you are looking).

Config

The interaction is driven entirely from the glyph's config, so the same handler can spawn any prefab you point it at:

  • PrefabPath: the prefab to spawn. It accepts either the bare name (Battleship) or the full file name (Battleship.prefab.json). It is validated at load time, so a typo or a missing prefab is reported when the pack loads instead of silently failing on cast.
  • Force: when true the blocks are written directly and overwrite whatever is already there, which is what you want for a structure this large. When false it respects normal placement rules.
  • Offset: an optional block offset applied in the direction you are facing before the ship is placed, handy for nudging the anchor up or forward.

The volatility is intentionally cheap (a small instant cost and no drain) and it uses no mana, so during testing you can spawn it freely.

(GIF will come later)

Project description from CurseForge.

Pick your setup

Battleship releases for each Hytale build.

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Battleship releases and Hytale builds

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.