Skip to content

FarmingCoopAsset

Package: com.hypixel.hytale.builtin.adventure.farming.config

public class FarmingCoopAsset implements JsonAssetWithMap<String, DefaultAssetMap<String, FarmingCoopAsset>>

Data-driven asset defining the configuration for a farming coop block. Loaded from Farming/Coops by FarmingPlugin. Configures maximum residents, produce drops, NPC group acceptance, wild capture behavior, and resident spawn offsets.

ModifierTypeName
protectedStringid
protectedintmaxResidents
protectedMap<String, String>produceDrops
protectedIntRangeresidentRoamTime
@Nonnull protectedVector3dresidentSpawnOffset
protectedString[]acceptedNpcGroupIds
protectedint[]acceptedNpcGroupIndexes
protectedbooleancaptureWildNPCsInRange
protectedfloatwildCaptureRadius
ModifierReturn TypeSignature
public staticAssetStore<String, FarmingCoopAsset, DefaultAssetMap<String, FarmingCoopAsset>>getAssetStore()
public staticDefaultAssetMap<String, FarmingCoopAsset>getAssetMap()
publicStringgetId()
publicMap<String, String>getProduceDrops()
publicintgetMaxResidents()
publicIntRangegetResidentRoamTime()
@Nonnull publicVector3dgetResidentSpawnOffset()
publicint[]getAcceptedNpcGroupIndexes()
publicfloatgetWildCaptureRadius()
publicbooleangetCaptureWildNPCsInRange()
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.