Class FarmingCoopAsset
java.lang.Object
com.hypixel.hytale.builtin.adventure.farming.config.FarmingCoopAsset
- All Implemented Interfaces:
JsonAsset<String>,JsonAssetWithMap<String,DefaultAssetMap<String, FarmingCoopAsset>>
public class FarmingCoopAsset
extends Object
implements JsonAssetWithMap<String,DefaultAssetMap<String,FarmingCoopAsset>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String[]protected int[]private static AssetStore<String, FarmingCoopAsset, DefaultAssetMap<String, FarmingCoopAsset>> protected booleanstatic final AssetBuilderCodec<String, FarmingCoopAsset> private AssetExtraInfo.Dataprotected Stringprotected intprotected IntRangeprotected Vector3dprotected float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]static DefaultAssetMap<String, FarmingCoopAsset> booleangetId()intfloattoString()
-
Field Details
-
CODEC
-
ASSET_STORE
private static AssetStore<String,FarmingCoopAsset, ASSET_STOREDefaultAssetMap<String, FarmingCoopAsset>> -
data
-
id
-
maxResidents
protected int maxResidents -
produceDrops
-
residentRoamTime
-
residentSpawnOffset
-
acceptedNpcGroupIds
-
acceptedNpcGroupIndexes
protected int[] acceptedNpcGroupIndexes -
captureWildNPCsInRange
protected boolean captureWildNPCsInRange -
wildCaptureRadius
protected float wildCaptureRadius
-
-
Constructor Details
-
FarmingCoopAsset
public FarmingCoopAsset() -
FarmingCoopAsset
-
-
Method Details
-
getAssetStore
public static AssetStore<String,FarmingCoopAsset, getAssetStore()DefaultAssetMap<String, FarmingCoopAsset>> -
getAssetMap
-
getId
-
getProduceDrops
-
getMaxResidents
public int getMaxResidents() -
getResidentRoamTime
-
getResidentSpawnOffset
-
getAcceptedNpcGroupIndexes
public int[] getAcceptedNpcGroupIndexes() -
getWildCaptureRadius
public float getWildCaptureRadius() -
getCaptureWildNPCsInRange
public boolean getCaptureWildNPCsInRange() -
toString
-