Skip to content

Commit

Permalink
Update to new halplibe.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSVK12 committed Mar 28, 2024
1 parent 29189ae commit 91284fb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ bta_version=7.1-pre2a
loader_version=0.15.6-babric.4-bta

# Mods
halplibe_version=3.4.17
halplibe_version=3.5.0
modmenu_version=2.0.4
dragonfly_version=1.4.4-7.1
btwaila_version=1.0.9-7.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,4 @@

public class RecipeNamespaceSI extends RecipeNamespace {

/*public List<RecipeEntryMachineFluid> getAllExtractorRecipes(){
ArrayList<RecipeEntryMachineFluid> list = new ArrayList<>();
for (RecipeEntryBase<?, ?, ?> recipe : getItem("extractor").getAllRecipes()) {
list.add((RecipeEntryMachineFluid) recipe);
}
return Collections.unmodifiableList(list);
}
public List<RecipeEntryMachine> getAllCrusherRecipes(){
ArrayList<RecipeEntryMachine> list = new ArrayList<>();
for (RecipeEntryBase<?, ?, ?> recipe : getItem("crusher").getAllRecipes()) {
list.add((RecipeEntryMachine) recipe);
}
return Collections.unmodifiableList(list);
}*/
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ public static void load(){
new CrystalChamberRecipes().addRecipes(CRYSTAL_CHAMBER);
new InfuserRecipes().addRecipes(INFUSER);
new CentrifugeRecipes().addRecipes(CENTRIFUGE);
DataLoader.loadRecipesFromFile("/assets/signalindustries/recipes/workbench.json");
SignalIndustries.LOGGER.info(SIGNAL_INDUSTRIES.getAllRecipes().size()+" recipes in "+SIGNAL_INDUSTRIES.size()+" groups.");
}

@Override
public void initNamespaces() {
resetGroups();
SIGNAL_INDUSTRIES.register("workbench",WORKBENCH);
SIGNAL_INDUSTRIES.register("extractor",EXTRACTOR);
SIGNAL_INDUSTRIES.register("crusher",CRUSHER);
Expand All @@ -92,7 +99,5 @@ public static void load(){
SIGNAL_INDUSTRIES.register("infuser",INFUSER);
SIGNAL_INDUSTRIES.register("centrifuge",CENTRIFUGE);
Registries.RECIPES.register("signalindustries",SIGNAL_INDUSTRIES);
DataLoader.loadRecipesFromFile("/assets/signalindustries/recipes/workbench.json");
SignalIndustries.LOGGER.info(SIGNAL_INDUSTRIES.getAllRecipes().size()+" recipes in "+SIGNAL_INDUSTRIES.size()+" groups.");
}
}

0 comments on commit 91284fb

Please sign in to comment.