Fixed Fabric screen initialization

Removes mixin log entries from framework
Fixes fossil grinder not having a weighted output with fossils
Also adds item save logic to the tank block
Fixes seat registration
This commit is contained in:
2026-05-20 20:05:50 -04:00
parent 95d5ae89e6
commit 50c958ff52
11 changed files with 39 additions and 24 deletions
@@ -29,18 +29,15 @@ public class CommonClass
// code that gets invoked by the entry point of the loader specific projects.
public static void init() {
Constants.LOG.info("Hello from Common init on {}! we are currently in a {} environment!", Services.PLATFORM.getPlatformName(), Services.PLATFORM.getEnvironmentName());
Constants.LOG.info("The ID for diamonds is {}", BuiltInRegistries.ITEM.getKey(Items.DIAMOND));
// It is common for all supported loaders to provide a similar feature that can not be used directly in the
// common code. A popular way to get around this is using Java's built-in service loader feature to create
// your own abstraction layer. You can learn more about this in our provided services class. In this example
// we have an interface in the common code and use a loader specific implementation to delegate our call to
// the platform specific approach.
if (Services.PLATFORM.isModLoaded("examplemod")) {
Constants.LOG.info("Hello to examplemod");
}
//if (Services.PLATFORM.isModLoaded("examplemod")) {
//
// Constants.LOG.info("Hello to examplemod");
//}
// Load config from the loader-specific config dir
JRConfigManager.load(Services.PLATFORM.getConfigDir());