Skip to content

Commit 6ebc7d4

Browse files
authored
Merge pull request #5 from LukeisStuff/1.7.7.x
Fix support for Multiplayer
2 parents 5d98c1b + 51743e5 commit 6ebc7d4

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ halplibe_version=3.5.2
1111
dragonfly_version=1.4.7-7.1
1212
terrain_api_version=1.4.4-7.1
1313
# Mod
14-
mod_version=3.2.0
14+
mod_version=3.3.0
1515
mod_group=baguchan
1616
mod_name=better_with_aquatic

src/main/java/baguchan/better_with_aquatic/crafting/ModCraftings.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,25 @@
88
import net.minecraft.core.data.registry.recipe.RecipeSymbol;
99
import net.minecraft.core.data.registry.recipe.entry.RecipeEntryCrafting;
1010
import net.minecraft.core.item.ItemStack;
11+
import turniplabs.halplibe.helper.RecipeBuilder;
1112
import turniplabs.halplibe.util.RecipeEntrypoint;
1213

14+
import static baguchan.better_with_aquatic.BetterWithAquatic.MOD_ID;
15+
1316
public class ModCraftings implements RecipeEntrypoint {
1417
public static final RecipeNamespace AQUATIC = new RecipeNamespace();
1518
public static final RecipeGroup<RecipeEntryCrafting<?, ?>> WORKBENCH = new RecipeGroup<>(new RecipeSymbol(new ItemStack(Block.workbench)));
1619

1720
@Override
1821
public void onRecipesReady() {
1922
AQUATIC.register("workbench", WORKBENCH);
20-
Registries.RECIPES.register("aquatic", AQUATIC);
23+
Registries.RECIPES.register(MOD_ID, AQUATIC);
2124
DataLoader.loadRecipesFromFile("/assets/better_with_aquatic/recipes/workbench.json");
2225
}
2326

2427
@Override
2528
public void initNamespaces() {
26-
29+
RecipeEntrypoint.super.initNamespaces();
30+
RecipeBuilder.initNameSpace(MOD_ID);
2731
}
2832
}

src/main/resources/assets/better_with_aquatic/recipes/workbench.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"name": "aquatic:workbench/light_bulb",
3+
"name": "better_with_aquatic:workbench/light_bulb",
44
"type": "minecraft:crafting/shaped",
55
"pattern": [
66
"TTT",

0 commit comments

Comments
 (0)