Skip to content

Commit

Permalink
rgdfjnxgdxfgj
Browse files Browse the repository at this point in the history
  • Loading branch information
ArduFish123 committed Jul 16, 2024
1 parent ce56d76 commit 9cf533f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
16 changes: 14 additions & 2 deletions src/main/java/eu/raspberrymods/fishlib/FishLib.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package eu.raspberrymods.fishlib;

import net.fabricmc.api.ModInitializer;

import net.fabricmc.api.FabricBrewingRecipeRegistryBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand All @@ -10,7 +10,19 @@ public class FishLib implements ModInitializer {
// It is considered best practice to use your mod id as the logger's name.
// That way, it's clear which mod wrote info, warnings, and errors.
public static final Logger LOGGER = LoggerFactory.getLogger("fish-lib");

static void brewingRegisterAwkward(String output, String ingredient) {
// code to be executed
FabricBrewingRecipeRegistryBuilder.BUILD.register(builder -> {
builder.registerPotionRecipe(
// Input potion.
Potions.WATER,
// Ingredient
Items.ingredient,
// Output potion.
RegistryEntry.of(output)
);
});
}
@Override
public void onInitialize() {
// This code runs as soon as Minecraft is in a mod-load-ready state.
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/eu/raspberrymods/fishlib/ObsidianTool.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//import net.minecraft.*;
@Override
/*@Override
public class ObsidianTool implements ToolMaterial {
// Your IDE should override the interface's methods for you, or at least shout at you to do so.
@Override
Expand All @@ -26,4 +26,4 @@ public int getEnchantability() {
public Ingredient getRepairIngredient() {
return Ingredient.ofItems(Items.OBSIDIAN);
}
}
}*/

0 comments on commit 9cf533f

Please sign in to comment.