-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
Hello, I am very new to this forum. I have managed to crate a new tree with this code: public static final Holder<ConfiguredFeature<TreeConfiguration,?>> PINE_TREE = FeatureUtils.register("pine_tree", Feature.TREE, new TreeConfiguration.TreeConfigurationBuilder (BlockStateProvider.simple(BlockManager.PINE_LOG.get()), new StraightTrunkPlacer(5, 6, 3), BlockStateProvider.simple(BlockManager.PINE_LEAVES.get()), new BlobFoliagePlacer(ConstantInt.of(2), ConstantInt.of(0), 4), new TwoLayersFeatureSize(1, 0, 2)).build()); In my placedFeatures class, I've this code: public static final Holder<PlacedFeature> PINE_CHECKED = PlacementUtils.register("pine_checked", ConfiguredFeaturesManager.PINE_TREE, treePlacement(PlacementUtils.countExtra(10, 0.1F, 1))); public static final RegistryObject<PlacedFeature> PINE_PLACED = PLACED_FEATURES.register( "pine_placed", () -> new PlacedFeature ((Holder<ConfiguredFeature<?,?>>) (Holder<? extends ConfiguredFeature<?,?>>) ConfiguredFeaturesManager.PINE_TREE, List.of(RarityFilter.onAverageOnceEvery(15), InSquarePlacement.spread(), PlacementUtils. HEIGHTMAP, BiomeFilter.biome()))); And, in my configuredFeatures class, I've this code: public static final Holder<ConfiguredFeature<RandomFeatureConfiguration, ?>> PINE_SPAWN = FeatureUtils.register("pine_spawn", Feature.RANDOM_SELECTOR, new RandomFeatureConfiguration(List.of(new WeightedPlacedFeature(PINE_CHECKED, 0.2F), new WeightedPlacedFeature(PINE_CHECKED, 0.1F)), PlacedFeaturesManager.PINE_CHECKED)); when I run, it gives this errors: java.lang.ExceptionInInitializerError java.lang.NullPointerException: Registry Object not present: udy:rubyore Thank you for the help!
-
By PorkiestPork · Posted
game output gives an big fatal error Mixin apply failed attributeslib.mixins.json:PlayerMixin -> net.minecraft.world.entity.player.Player: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on apoth_ownedAbilities could not find any targets matching '<init>(Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;FLcom/mojang/authlib/GameProfile;)V' in net.minecraft.world.entity.player.Player. Using refmap attributeslib.refmap.json [PREINJECT Applicator Phase -> attributeslib.mixins.json:PlayerMixin -> Prepare Injections -> -> handler$bnb000$apoth_ownedAbilities(Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;FLcom/mojang/authlib/GameProfile;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse] org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on apoth_ownedAbilities could not find any targets matching '<init>(Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;FLcom/mojang/authlib/GameProfile;)V' in net.minecraft.world.entity.player.Player. Using refmap attributeslib.refmap.json [PREINJECT Applicator Phase -> attributeslib.mixins.json:PlayerMixin -> Prepare Injections -> -> handler$bnb000$apoth_ownedAbilities(Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;FLcom/mojang/authlib/GameProfile;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse] at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.injection.struct.InjectionInfo.validateTargets(InjectionInfo.java:656) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.injection.struct.InjectionInfo.findTargets(InjectionInfo.java:587) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation(InjectionInfo.java:330) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.injection.struct.InjectionInfo.<init>(InjectionInfo.java:316) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.injection.struct.InjectionInfo.<init>(InjectionInfo.java:308) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.injection.struct.CallbackInjectionInfo.<init>(CallbackInjectionInfo.java:46) at jdk.internal.reflect.GeneratedConstructorAccessor29.newInstance(Unknown Source) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.injection.struct.InjectionInfo$InjectorEntry.create(InjectionInfo.java:149) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parse(InjectionInfo.java:708) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1311) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1042) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:393) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) at TRANSFORMER/patchouli@1.19.2-77/vazkii.patchouli.client.handler.BookCrashHandler.appendToCrashReport(BookCrashHandler.java:23) at TRANSFORMER/minecraft@1.19.2/net.minecraft.SystemReport.handler$eid000$patchouli_addContext(SystemReport.java:1016) at TRANSFORMER/minecraft@1.19.2/net.minecraft.SystemReport.<init>(SystemReport.java:58) at TRANSFORMER/minecraft@1.19.2/net.minecraft.CrashReport.<init>(CrashReport.java:31) at TRANSFORMER/minecraft@1.19.2/net.minecraft.CrashReport.m_127529_(CrashReport.java:215) at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.main.Main.m_239872_(Main.java:144) at TRANSFORMER/minecraft@1.19.2/net.minecraft.client.main.Main.main(Main.java:51) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at MC-BOOTSTRAP/fmlloader@1.19.2-43.2.21/net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.run(Launcher.java:106) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.main(Launcher.java:77) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) at cpw.mods.bootstraplauncher@1.1.2/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) -
By Hankinsohl · Posted
I'm targetting Minecraft 1.20.x with Forge 48.1. ModLoadingContext.get().registerExtensionPoint(ExtensionPoint.CONFIGGUIFACTORY, () -> (mc, screen) -> new ModConfig()); worked in Minecraft 1.16 with the older version of Forge, but no longer works becase ExtensionPoint.CONFIGGUIFACTORY has been removed in the version of Forge for Minecraft 1.20.x. Thus, I'm wondering if it is still possible to create a GUI config screen for a mod using Forge 48.1 or newer. -
About Puravive Puravive is a weight losing supplement that helps in making you slim and healthy. It consist of natural ingredients that are highly effective and potent. It is scientifically proven formula that nourishes the skin cells deeply and helps in reducing cravings. So that you won’t feel hungry and your stomach remain full all the time. It helps in increasing the endurance and metabolism. It is well known supplement that is specially designed for those who want to be slim in just few days in a very effective way. You just have to take this biolean in three simple dose as recommended by the physician or trainer and you will get the visible results in just few days. You will start to feel younger and healthier. It will help you in providing very effective results. With the use of Puravive ou don’t have to go for any kind of surgery or liposuction kind of treatments to look slim and healthy because biolean gacinia have all such ingredients that cut down your accumulated fat and makes your body much energetic. It helps in improving your metabolism as well. Safe to use or not? This supplement is known to be totally safe and healthy. As it is well tested by various reputed laboratories and they have also conclude this as the best ever to make you healthy and slim in just few days. You just have to take this supplement in a recommended way and you will feel the change in you very soon. It is well known supplement that is highly useful and consist of all the natural ingredients that re totally safe for the body. https://www.fastesnews.com/b-sponsored/puravive-reviews-new-alert-puravive-review-watch-out/
-
-
Topics
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.