WikiWiki
Home
  • Getting Started
  • Wiki
  • Creating Your Own Items
Home
  • Getting Started
  • Wiki
  • Creating Your Own Items
  • Game Settings & Configuration

Game Settings & Configuration

This page explains how to adjust in-game rules and configuration files for the Clay Soldiers Mod. Game rules can be changed on the fly using the /gamerule command, while config settings are modified via external files located in your world or config folders.

Game Rules

These options can be set using Minecraft's /gamerule command. They control core Clay Soldier behaviors during gameplay.

KeyValuesDefaultDescription
soldierDropThemSelf[0 - 100]50Chance (in %) for a Clay Soldier to drop itself when killed
soldierDropInventorytrue/falsetrueIf enabled, Clay Soldiers drop their inventory on death

Configuration Settings

These are stored in config files and affect technical or gameplay mechanics. File location differs by mod loader:

KeyValuesDefaultDescription
claySoldierMenuModifytrue/falsefalseAllows editing a Clay Soldier's inventory via the menu. May result in item loss.
hamsterWheelCapacity> 03000Total energy storage capacity of the Hamster Wheel Block
hamsterWheelSpeed> 01Energy generated per tick by the Hamster Wheel Block
NeoForge
└─ config
   └─ csr-server.toml
Fabric
└─ config
   └─ csr.properties

Blueprint DataPack

A built-in datapack, can be enabled to allow soldiers to construct structures using Blueprints.

Single Player

Enable the datapack during world creation via:

More → Datapacks → Clay Soldier: Blueprints

Warning

This datapack cannot be enabled or disabled after world creation.

Server

Use the following IDs to activate the blueprint datapack on servers in the server properties:

initial-enabled-packs=<id>

Datapack IDs

NeoForge
mod/csr:data/csr/datapacks/blueprint_pack
Fabric
csr:blueprint_pack

Warning

This only works on initial world creation.

Last Updated:
Contributors: XcraX1