pig spawn banner
pig spawn icon

pig spawn

make a mod that spawns a mob at player location with a 50% chance if the player broke a block. Also play a ping sound when that is done

00Free
hytaleServer2026.02.19mod

Pig Spawn - Release Notes

Overview

Pig Spawn adds a fun surprise mechanic to your Hytale server. Every time a player breaks a block, there's a 50% chance a pig will appear at their location. A cheerful ping sound plays whenever a pig spawns, letting you know when luck is on your side.

Features

  • Random Pig Spawns: Breaking any block gives you a coin-flip chance of spawning a pig right where you stand
  • Sound Notification: A clear ping sound plays whenever a pig appears, so you never miss a spawn
  • Server-Side Operation: Works automatically for all players on the server with no client-side installation needed

How to Use

  1. Join the server with the mod installed
  2. Break any block in the world
  3. Listen for the ping sound — if you hear it, a pig has spawned nearby!
  4. Each block break is an independent 50% chance, so results vary every time

Known Limitations

  • Only pigs can spawn; other mob types are not supported
  • The spawn chance is fixed at 50% and cannot be adjusted in-game
  • Sound only plays to the player who broke the block, not to nearby players
  • Works only on server environments; single-player worlds are not supported