mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-08 04:55:52 +08:00
36 lines
914 B
Java
36 lines
914 B
Java
package emu.grasscutter.data.excels;
|
|
|
|
import java.util.List;
|
|
|
|
import emu.grasscutter.data.GameResource;
|
|
import emu.grasscutter.data.ResourceType;
|
|
import emu.grasscutter.data.common.ItemParamData;
|
|
|
|
@ResourceType(name = "EnvAnimalGatherExcelConfigData.json", loadPriority = ResourceType.LoadPriority.LOW)
|
|
public class EnvAnimalGatherConfigData extends GameResource {
|
|
private int animalId;
|
|
private String entityType;
|
|
private List<ItemParamData> gatherItemId;
|
|
private String excludeWeathers;
|
|
private int aliveTime;
|
|
private int escapeTime;
|
|
private int escapeRadius;
|
|
|
|
@Override
|
|
public int getId() {
|
|
return animalId;
|
|
}
|
|
|
|
public int getAnimalId() {
|
|
return animalId;
|
|
}
|
|
|
|
public String getEntityType() {
|
|
return entityType;
|
|
}
|
|
|
|
public ItemParamData getGatherItem() {
|
|
return gatherItemId.size() > 0 ? gatherItemId.get(0) : null;
|
|
}
|
|
}
|