Custom Research - mcenderdragon/Futurepack-API GitHub Wiki
Its possibel to add custom researches without the need of CraftTweaker
in the config set enable_custom_researches
to true and it will laod researches from <minecraft root folder>/researches/<modid>/<research file>.json
For the lang files & textures use a ResourcePack. The json format can be found in the jar.
[
{
"id": "storyA",
"page": "testA",
"x": 0,
"y": 0,
"parents": [
"get_started"
],
"time": 0,
"need": [],
"icon": {
"name": "minecraft:stone"
},
"enables": []
},
{
"id": "storyB",
"page": "testA",
"x": 1,
"y": 0,
"parents": [
"get_started"
],
"time": 0,
"need": [],
"icon": {
"name": "minecraft:grass"
},
"enables": []
},
{
"id": "energyB",
"page": "testA",
"x": 1,
"y": 2,
"parents": [
"storyA",
"storyB"
],
"aspects": [
"morphologie",
"hydraulic",
"neonenergie"
],
"level": 1,
"time": 800,
"neon": 1200,
"need": [
{
"size": 2,
"name": "minecraft:piston"
},
{
"size": 2,
"name": "futurepack:wire_normal"
}
],
"icon": {
"name": "futurepack:neon_engine"
},
"enables": [
{
"name": "futurepack:neon_engine"
}
],
"rewards":
[
{
"size": 1,
"name": "futurepack:neon_engine"
}
]
}
]
Somethign about Unsupported OPeratioinException JsonNUll
most liley a ,
to mayn so it has a mepty entry like ["a",,"b"]
thuis will be read as a,null,b and thus crashes.