-
Architectury error causing pre-load crashing
Experiencing same issue with architectury + forge 48.0.30 Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Preconditions at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.offer(MixinTransformationHandler.java:67) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinServiceModLauncher.offer(MixinServiceModLauncher.java:162) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinBootstrap.offerInternals(MixinBootstrap.java:227) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinBootstrap.start(MixinBootstrap.java:148) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinTransformationServiceAbstract.initialize(MixinTransformationServiceAbstract.java:88) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:92) at java.base/java.util.HashMap$Values.forEach(HashMap.java:1065) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:92) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:51) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:88) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:78) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) at net.fabricmc.devlaunchinjector.Main.main(Main.java:86) at dev.architectury.transformer.TransformerRuntime.main(TransformerRuntime.java:219) Caused by: java.lang.ClassNotFoundException: com.google.common.base.Preconditions at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:137) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) ... 17 more
-
[1.18.2] [SOLVED] Can't get items by tag
thanks for your help. I found that issue: https://github.com/MinecraftForge/MinecraftForge/issues/8498
-
[1.18.2] [SOLVED] Can't get items by tag
and Ingredient.fromJson() doesn't work with tags as well. my minecraft version is 1.18.2 and forge version is 40.1.0. maybe it's an issue of this version of forge
-
[1.18.2] [SOLVED] Can't get items by tag
not really, I'm trying to make recipes where the items must to be in a certain amount. for this reason I don't use the Ingredient.fromJson() method which doesn't take this into account https://i.ibb.co/rf5CkqM/siege-workbench.png
-
[1.18.2] [SOLVED] Can't get items by tag
Hello! When I'm trying to get items by tag during the recipe serialization, I'm getting an empty list. I have a guess that item tags're not loaded by the time minecraft loads my recipes. Here's my code: Class that saves information about ingredient's count Recipe serializer with some aux methods: Registry: Example of the json recipe file:
-
[1.19] Banner Patterns Registry
Hey, How would I register my banner patterns? I'm totally confused because there's nothing dedicated to BannerPattern in ForgeRegistries class. Thank you
-
[1.17] [SOLVED] Custom Armor Model
it works! @Override public void initializeClient(java.util.function.Consumer<net.minecraftforge.client.IItemRenderProperties> consumer) { consumer.accept(new IItemRenderProperties() { @Override public <A extends HumanoidModel<?>> A getArmorModel(LivingEntity entityLiving, ItemStack itemStack, EquipmentSlot armorSlot, A _default) { return KnightlyArmory.PROXY instanceof ClientProxy ? ((ClientProxy) KnightlyArmory.PROXY).getKnightModel(armorSlot) : null; } }); }
-
[1.17] [SOLVED] Custom Armor Model
Hello, I have the .java models for all armor parts but I don't understand how to insert it within my mod considering getArmorModel() method doesn't exist in Item class on 1.17 version.
IPS spam blocked by CleanTalk.