Description
This plugin is no longer being updated as the feature has been added to the game.
Thank you everyone for your support :)
Grass Spreader is a plugin that automatically spreads grass blocks to adjacent dirt blocks. Now configurable!
Automatic Grass Spreading
- Periodic Spreading: Grass blocks automatically spread to adjacent dirt blocks every 60 seconds
- Multi-Type Support: Supports all Hytale grass and dirt variants:
- Grass Types: Soil_Grass, Soil_Grass_Burnt, Soil_Grass_Cold, Soil_Grass_Deep, Soil_Grass_Full, Soil_Grass_Wet, Soil_Grass_Sunny, Soil_Grass_Dry, Soil_Needles
- Dirt Types: Soil_Dirt, Soil_Dirt_Cold, Soil_Dirt_Burnt, Soil_Dirt_Dry
- Type Matching: Grass spreads to dirt while maintaining the same grass type (e.g., Cold Grass spreads to Cold Dirt)
Smart Spreading Logic
- Horizontal Spreading: Grass spreads to the four horizontal adjacent blocks (north, south, east, west)
- Vertical Spreading: Also checks one block above and below adjacent positions for natural terrain coverage
- Light Requirements: Only spreads to dirt blocks that have no solid blocks directly above them (allows grass to grow naturally)
Installation
- Download the latest
grassspreader.jarfrom the Files tab - Place the JAR file in your Hytale server's
modsdirectory - Restart your server
- Done! The plugin will automatically register when the first player joins.
##
How It Works
- Player Detection: The plugin monitors all online players
- Area Scanning: Every 60 seconds, it scans a 30-block radius around each player
- Grass Detection: Finds all grass blocks in the scanned area
- Spreading: For each grass block found, checks adjacent positions for dirt blocks
- Conversion: Converts eligible dirt blocks to the same type of grass ##
Commands
All commands use the base /grassspreader prefix.
Horizontal Check Radius
Controls how far horizontally the plugin checks for grass blocks around players.
/grassspreader radiusx set <number>- Set the horizontal check radius (default: 30)/grassspreader radiusx reset- Reset to default (30)
Vertical Check Radius
Controls how far vertically (above and below) the plugin checks for grass blocks.
/grassspreader radiusy set <number>- Set the vertical check radius (default: 20)/grassspreader radiusy reset- Reset to default (20)
Maximum Checks Per Player
Limits how many grass blocks are checked per player per tick to prevent performance issues.
/grassspreader maxChecksPerPlayer set <number>- Set the maximum checks (default: 10000)/grassspreader maxChecksPerPlayer reset- Reset to default (10000)
Cooldown
Sets the time between grass spread checks.
/grassspreader cooldown set <seconds>- Set cooldown in seconds (default: 60.0)/grassspreader cooldown reset- Reset to default (60 seconds)/grassspreader cooldown get- Display current cooldown value
