Animal Pen

Who doesn't love making entities simple to collect?

File Details

Animal Pen v0.2.1 NeoForge

  • R
  • Dec 22, 2025
  • 193.11 KB
  • 351
  • 1.21.1
  • NeoForge

File Name

animalpen-0.2.1.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:animalpen-1409534:7366557"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

[0.2.1] - Polish & Improvements

Added

  • GUI Screen Interface

    • Detailed Animal Pen screen accessible via Sneak + Right-click (empty hand)
    • 3D rotating entity preview with proper scaling and lighting
    • Real-time health display with color-coded health bar
    • Breeding progress indicator with visual progress bar
    • Breeding cooldown timer (minutes:seconds format)
    • Passive resource inventory display with item icons
    • ClientProxy for handling client-side screen operations
  • Enhanced Sound System

    • Ambient animal sounds play periodically from occupied pens
    • Distinct feedback sounds for all tool interactions:
      • Milking sounds for cows/goats
      • Egg collection sounds for chickens
      • Honey/honeycomb collection sounds for bees
      • Shearing sounds for sheep
      • Brushing sounds for armadillos
      • Mushroom stew sounds for mooshrooms
    • Expanded AnimalSoundUtils with ambient sound mappings
    • Volume and pitch variation for more natural audio feedback
  • Breeding Visual Progress

    • Heart particles spawn during 3-second breeding process
    • Happy villager particles at regular intervals while breeding
    • Celebration particles when breeding completes successfully
    • Visual progress tracking in both world and GUI

Changed

  • Breeding system now only requires feeding 2-4 animals instead of all animals
  • Each breeding pair needs 2 food items (one per animal in the pair)
  • Breeding progress shown with continuous particle effects
  • Improved feedback messaging when insufficient animals/food for breeding
  • Block interaction logic refactored for GUI access
  • Entity rendering scale increased for better visibility in GUI

Fixed

  • Critical: Entity render memory leaks that caused performance degradation over time
    • Render entities now properly cached and reused
    • Cached entities cleared when entity type changes
    • Improved cleanup in AnimalPenRenderer
  • Critical: Resource depletion exploit when spam-clicking with tools
    • Added proper cooldown enforcement before resource checks
    • Prevents item duplication and resource loss
  • Breeding timers now properly reset when breeding is not active
  • Particle timers synchronized with breeding progress
  • Debug logging removed from production code