Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/generated/resources/assets/creatingspace/lang/en_ud.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"block.creatingspace.clamps.tooltip.summary": "dɯɐןɔ ɐ ʎןןɐɹǝʇıꞀ ˙suoʇsıd ʎq ǝןqɐʌoɯ 'buıʌoɯ ɯoɹɟ uoıʇdɐɹʇuoɔ ɐ ʇuǝʌǝɹԀ",
"block.creatingspace.cobalt_block": "ʞɔoןᗺ ʇןɐqoƆ",
"block.creatingspace.copper_oxygen_backtank": "ʞuɐʇʞɔɐᗺ uǝbʎxO ɹǝddoƆ",
"block.creatingspace.copper_oxygen_backtank.tooltip.summary": "˙uǝbʎxo pınbıן uı buıdɯnd puɐ ʞuɐʇ ǝɥʇ ɟo ɯoʇʇoq ǝɥʇ oʇ ǝdıd ɐ buıʇɔǝuuoɔ ʞuɐʇʞɔɐq ǝɥʇ ןןıℲ",
"block.creatingspace.copronickel_block": "ʞɔoןᗺ ןǝʞɔıuoɹdoƆ",
"block.creatingspace.cryogenic_tank": "ʞuɐ⟘ ɔıuǝboʎɹƆ",
"block.creatingspace.cryogenic_tank.tooltip.summary": "ɹǝʇןıɟ ɐ uı ǝsn ǝq uɐƆ ˙buıʞɐǝɹq ɹǝʇɟɐ ʇuǝʇuoɔ s,ʇı dǝǝʞ 'pınbıן pןoɔ ɹoɟ ʞuɐʇ pınןɟ ɐ puɐ ʇǝʞɔnq ɐ ɥʇoq s,ʇI",
Expand Down Expand Up @@ -51,6 +52,7 @@
"block.creatingspace.moon_stone_brick": "ʞɔıɹᗺ ǝuoʇS uooW",
"block.creatingspace.moon_surface_regolith": "ɥʇıןobǝᴚ ǝɔɐɟɹnS uooW",
"block.creatingspace.netherite_oxygen_backtank": "ʞuɐʇʞɔɐᗺ uǝbʎxO ǝʇıɹǝɥʇǝN",
"block.creatingspace.netherite_oxygen_backtank.tooltip.summary": "uǝbʎxo pınbıן uı buıdɯnd puɐ ʞuɐʇ ǝɥʇ ɟo ɯoʇʇoq ǝɥʇ oʇ ǝdıd ɐ buıʇɔǝuuoɔ ʞuɐʇʞɔɐq ǝɥʇ ןןıℲ",
"block.creatingspace.nickel_block": "ʞɔoןᗺ ןǝʞɔıN",
"block.creatingspace.nickel_ore": "ǝɹO ןǝʞɔıN",
"block.creatingspace.nickel_sulfate_block": "ʞɔoןᗺ ǝʇɐɟןnS ןǝʞɔıN",
Expand Down
2 changes: 2 additions & 0 deletions src/generated/resources/assets/creatingspace/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"block.creatingspace.clamps.tooltip.summary": "Prevent a contraption from moving, movable by pistons. Literally a clamp",
"block.creatingspace.cobalt_block": "Cobalt Block",
"block.creatingspace.copper_oxygen_backtank": "Copper Oxygen Backtank",
"block.creatingspace.copper_oxygen_backtank.tooltip.summary": "Fill the backtank connecting a pipe to the bottom of the tank and pumping in liquid oxygen.",
"block.creatingspace.copronickel_block": "Copronickel Block",
"block.creatingspace.cryogenic_tank": "Cryogenic Tank",
"block.creatingspace.cryogenic_tank.tooltip.summary": "It's both a bucket and a fluid tank for cold liquid, keep it's content after breaking. Can be use in a filter",
Expand Down Expand Up @@ -51,6 +52,7 @@
"block.creatingspace.moon_stone_brick": "Moon Stone Brick",
"block.creatingspace.moon_surface_regolith": "Moon Surface Regolith",
"block.creatingspace.netherite_oxygen_backtank": "Netherite Oxygen Backtank",
"block.creatingspace.netherite_oxygen_backtank.tooltip.summary": "Fill the backtank connecting a pipe to the bottom of the tank and pumping in liquid oxygen",
"block.creatingspace.nickel_block": "Nickel Block",
"block.creatingspace.nickel_ore": "Nickel Ore",
"block.creatingspace.nickel_sulfate_block": "Nickel Sulfate Block",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"type": "minecraft:chest",
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:custom_data": {
"design": "creatingspace:ox_rich_staged_cycle",
"design_type": "creatingspace:power_pack_type"
}
},
"function": "minecraft:set_components"
}
],
"name": "creatingspace:design_blueprint"
},
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:custom_data": {
"design": "creatingspace:fuel_rich_staged_cycle",
"design_type": "creatingspace:power_pack_type"
}
},
"function": "minecraft:set_components"
}
],
"name": "creatingspace:design_blueprint"
},
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:custom_data": {
"design": "creatingspace:aerospike",
"design_type": "creatingspace:exhaust_pack_type"
}
},
"function": "minecraft:set_components"
}
],
"name": "creatingspace:design_blueprint"
},
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:custom_data": {
"design": "creatingspace:full_flow_staged_cycle",
"design_type": "creatingspace:power_pack_type"
}
},
"function": "minecraft:set_components"
}
],
"name": "creatingspace:design_blueprint"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"function": "minecraft:set_count"
}
],
"name": "creatingspace:cobalt_ingot",
"weight": 2
}
],
"rolls": 1.0
}
],
"random_sequence": "creatingspace:chests/abandoned_moon_base_loot"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"type": "minecraft:chest",
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:custom_data": {
"design": "creatingspace:ox_rich_staged_cycle",
"design_type": "creatingspace:power_pack_type"
}
},
"function": "minecraft:set_components"
}
],
"name": "creatingspace:design_blueprint"
},
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:custom_data": {
"design": "creatingspace:fuel_rich_staged_cycle",
"design_type": "creatingspace:power_pack_type"
}
},
"function": "minecraft:set_components"
}
],
"name": "creatingspace:design_blueprint"
},
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:custom_data": {
"design": "creatingspace:aerospike",
"design_type": "creatingspace:exhaust_pack_type"
}
},
"function": "minecraft:set_components"
}
],
"name": "creatingspace:design_blueprint"
},
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:custom_data": {
"design": "creatingspace:full_flow_staged_cycle",
"design_type": "creatingspace:power_pack_type"
}
},
"function": "minecraft:set_components"
}
],
"name": "creatingspace:design_blueprint"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 6.0,
"min": 2.0
},
"function": "minecraft:set_count"
}
],
"name": "creatingspace:nickel_ingot",
"weight": 2
}
],
"rolls": 1.0
}
],
"random_sequence": "creatingspace:chests/crashed_rocket_loot"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"type": "minecraft:chest",
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:custom_data": {
"design": "creatingspace:catalyse_cycle",
"design_type": "creatingspace:power_pack_type"
}
},
"function": "minecraft:set_components"
}
],
"name": "creatingspace:design_blueprint"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 6.0,
"min": 2.0
},
"function": "minecraft:set_count"
}
],
"name": "creatingspace:cobalt_ingot",
"weight": 2
}
],
"rolls": 1.0
}
],
"random_sequence": "creatingspace:chests/underground_mars_outpost"
}
19 changes: 10 additions & 9 deletions src/main/java/com/rae/creatingspace/content/datagen/CSDatagen.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
import java.util.function.BiConsumer;

public class CSDatagen {
public static void gatherDataHighPriority(GatherDataEvent event) {
if (event.getMods().contains(CreatingSpace.MODID))
addExtraRegistrateData();
}
public static void gatherDataHighPriority(GatherDataEvent event) {
if (event.getMods().contains(CreatingSpace.MODID))
addExtraRegistrateData();
}

public static void gatherData(GatherDataEvent event) {
if (!event.getMods().contains(CreatingSpace.MODID))
return;
if (!event.getMods().contains(CreatingSpace.MODID))
return;

DataGenerator generator = event.getGenerator();
PackOutput output = generator.getPackOutput();
Expand All @@ -48,11 +48,12 @@ public static void gatherData(GatherDataEvent event) {
generator.addProvider(true, new CSChemicalSynthesisRecipeGen(output, lookupProvider));
generator.addProvider(true, new CSMechanicalElectrolysisRecipeGen(output, lookupProvider));
generator.addProvider(true, new CSSequencedAssemblyRecipeGen(output, lookupProvider));
//generator.addProvider(true, new EngineSequencedAssemblyProvider(output));
generator.addProvider(true, new CSLootTableProvider(output, lookupProvider));
//generator.addProvider(true, new EngineSequencedAssemblyProvider(output));
// it doesn't quite work. the output is wrong right now and it's missing some of it


// event.getGenerator().addProvider(true, new RegistrateDataProvider(REGISTRATE, CreatingSpace.MODID, event));
// event.getGenerator().addProvider(true, new RegistrateDataProvider(REGISTRATE, CreatingSpace.MODID, event));
}
}

Expand Down Expand Up @@ -97,4 +98,4 @@ private static void providePonderLang(BiConsumer<String, String> consumer) {
//GeneralText.provideLang(consumer);
//PonderLocalization.provideLang(CreatingSpace.MODID, consumer);
}
}
}
Loading
Loading