[Fix] Alloying Recipe Type is not registered
This commit is contained in:
parent
385e0baa5f
commit
61f5f41941
3 changed files with 8 additions and 1 deletions
|
@ -16,6 +16,7 @@ import org.betterx.bclib.api.v3.tag.BCLBlockTags;
|
||||||
import org.betterx.bclib.commands.CommandRegistry;
|
import org.betterx.bclib.commands.CommandRegistry;
|
||||||
import org.betterx.bclib.config.Configs;
|
import org.betterx.bclib.config.Configs;
|
||||||
import org.betterx.bclib.networking.VersionChecker;
|
import org.betterx.bclib.networking.VersionChecker;
|
||||||
|
import org.betterx.bclib.recipes.AlloyingRecipe;
|
||||||
import org.betterx.bclib.recipes.AnvilRecipe;
|
import org.betterx.bclib.recipes.AnvilRecipe;
|
||||||
import org.betterx.bclib.recipes.CraftingRecipes;
|
import org.betterx.bclib.recipes.CraftingRecipes;
|
||||||
import org.betterx.bclib.registry.BaseBlockEntities;
|
import org.betterx.bclib.registry.BaseBlockEntities;
|
||||||
|
@ -63,6 +64,7 @@ public class BCLib implements ModInitializer {
|
||||||
WorldConfig.registerModCache(MOD_ID);
|
WorldConfig.registerModCache(MOD_ID);
|
||||||
DataExchangeAPI.registerMod(MOD_ID);
|
DataExchangeAPI.registerMod(MOD_ID);
|
||||||
AnvilRecipe.register();
|
AnvilRecipe.register();
|
||||||
|
AlloyingRecipe.register();
|
||||||
Conditions.registerAll();
|
Conditions.registerAll();
|
||||||
CommandRegistry.register();
|
CommandRegistry.register();
|
||||||
BCLBlockTags.ensureStaticallyLoaded();
|
BCLBlockTags.ensureStaticallyLoaded();
|
||||||
|
|
|
@ -250,4 +250,8 @@ public class AlloyingRecipe implements Recipe<Container>, UnknownReceipBookCateg
|
||||||
packetBuffer.writeVarInt(recipe.smeltTime);
|
packetBuffer.writeVarInt(recipe.smeltTime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void register() {
|
||||||
|
//we call this to make sure that TYPE is initialized
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,8 +48,9 @@ public class AnvilRecipe implements Recipe<Container>, UnknownReceipBookCategory
|
||||||
);
|
);
|
||||||
public final static ResourceLocation ID = BCLib.makeID(GROUP);
|
public final static ResourceLocation ID = BCLib.makeID(GROUP);
|
||||||
|
|
||||||
public static void register() {
|
|
||||||
|
|
||||||
|
public static void register() {
|
||||||
|
//we call this to make sure that TYPE is initialized
|
||||||
}
|
}
|
||||||
|
|
||||||
private final ResourceLocation id;
|
private final ResourceLocation id;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue