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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user