Jump to content

All Activity

This stream auto-updates

  1. Today
  2. The error still remains. For additional information, I can send you some more code, main class Afraid.java: package org.mymod.afraid; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.MobCategory; import net.minecraft.world.entity.monster.Zombie; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.entity.EntityAttributeCreationEvent; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; import net.minecraftforge.registries.RegistryObject; @Mod("afraid") public class Afraid { public static final String MODID = "afraid"; public static final DeferredRegister<EntityType<?>> ENTITY_TYPES = DeferredRegister.create(ForgeRegistries.ENTITY_TYPES, MODID); public static final RegistryObject<EntityType<AfraidBoss>> AFRAID_BOSS = ENTITY_TYPES.register("afraid_boss", () -> EntityType.Builder.of(AfraidBoss::new, MobCategory.MONSTER) .sized(0.6F, 1.95F) // Size of the entity .build(new ResourceLocation(MODID, "afraid_boss").toString())); public Afraid() { IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus(); ENTITY_TYPES.register(modEventBus); modEventBus.addListener(this::commonSetup); MinecraftForge.EVENT_BUS.register(this); } private void commonSetup(final FMLCommonSetupEvent event) { // Additional common setup if needed } @Mod.EventBusSubscriber(modid = MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public static class ModEvents { @SubscribeEvent public static void onRegisterAttributes(EntityAttributeCreationEvent event) { event.put(Afraid.AFRAID_BOSS.get(), AfraidBoss.createAttributes().build()); } } } EntityEvents.java: package org.mymod.afraid; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.MobCategory; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; import net.minecraftforge.registries.RegistryObject; public class EntityEvents { public static final DeferredRegister<EntityType<?>> ENTITY_TYPES = DeferredRegister.create(ForgeRegistries.ENTITY_TYPES, Afraid.MODID); public static final RegistryObject<EntityType<AfraidBoss>> AFRAID_BOSS = ENTITY_TYPES.register("afraid_boss", () -> EntityType.Builder.of(AfraidBoss::new, MobCategory.MONSTER) .sized(0.6F, 1.95F) .build("afraid_boss")); } As for attributes, they are only in the boss class itself.
  3. Hello, new coder and first time posting, sorry if I get stuff wrong Been having a really difficult time trying to figure out this potion effect. I want to give a potion effect that denies the wither effect on the player. I've looked over a lot of different tutorials, and through some other mods and made something that sort of works but it was based on applyEffectTick and the players would still take a tick of damage before the potion effect kicked in. When looking up other ways to do this I saw there was like the PotionEvent but whenever I try to use it, I get errors of how it cannot be defined. This is my code right now that doesn't work package io.github.AndroPups.tsmp_models.effect; import net.minecraft.world.effect.MobEffect; import net.minecraft.world.effect.MobEffectCategory; import net.minecraft.world.effect.MobEffects; import net.minecraft.world.entity.LivingEntity; public class NoWitherEffect extends MobEffect { public NoWitherEffect(MobEffectCategory mobEffectCategory, int color) { super(mobEffectCategory.BENEFICIAL, color); } public static void onPotionAdded(PotionEvent.PotionAddedEvent event) { LivingEntity entity = event.getEntityLiving(); MobEffect potionEffect = event.getPotionEffect().getEffect(); if (potionEffect == MobEffects.WITHER); { entity.removeEffect(MobEffects.WITHER); } } @Override public boolean isDurationEffectTick(int duration, int amplifier) { return true; } } And this code works but occasionally still applies damage because of ticking effect. package io.github.AndroPups.tsmp_models.effect; import net.minecraft.world.effect.MobEffect; import net.minecraft.world.effect.MobEffectCategory; import net.minecraft.world.effect.MobEffects; import net.minecraft.world.entity.LivingEntity; public class NoWitherEffect extends MobEffect { public NoWitherEffect(MobEffectCategory mobEffectCategory, int color) { super(mobEffectCategory.BENEFICIAL, color); } @Override public void applyEffectTick(LivingEntity pLivingEntity, int pAmplifier) { if (!pLivingEntity.level().isClientSide()) { if (pLivingEntity.hasEffect(MobEffects.WITHER)); { pLivingEntity.getEffect(MobEffects.WITHER); } } } @Override public boolean isDurationEffectTick(int duration, int amplifier) { return true; } } I've tried to see if PotionEvent was removed from recent Forge updates but can't really find any information on it. Any information at all would be helpful! Thanks!
  4. Right after "private final Item item;" you will need "private final float chance;" Then you will need to add that variable to your constructor the same way you did for Item. It should work after that.
  5. I am playing on Mac, tried to install a mod to the Forge mod folder, restarted Minecraft to activate it and now the game is crashing on launch with error code 1. Because I'm on Mac, I can't remotely access the mods folder without having to get into the Minecraft title screen to click the mods tab. Is there any way I can extract the file remotely, or is there a way to uninstall Forge so I can reinstall it with no mods?
  6. I don't know how I missed it, but I did. The access transformer file had a capital T in it. Fixed that and the problem has been solved. I feel really stupid, but thank you for asking about that, because it had me rechecking until I finally saw it. I'm marking this solved.
  7. Instead of extending TieredItem, try and extend SwordItem
  8. Where are you calling createAttributes() ? you may have to do this: @Mod.EventBusSubscriber(modid = MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD) public class ModEventBusEvents { @SubscribeEvent public static void registerAttributes(EntityAttributeCreationEvent event) { event.put(ModEntityType.AFRAID_BOSS.get(), AfraidBoss.createAttributes().build()); } }
  9. Yesterday
  10. Sorry for the delayed response. Yes, my armor textures are named as such, although the overlay PNGs are just fully transparent images because I wanted the entire armor to be dyed. Not just only certain areas like how leather armor has it. leather armor overlays are the sole reason I'm trying to do this lol. EDIT: Only the items have overlay textures, unsure what to do with the armor textures because I can't access Vanilla's own PNG files. For some reason...
  11. Greetings! If you clicked on this I can only assume you have at the very least a slight interest in using Minecraft as a vehicle for creating stories, roleplaying, and worldbuilding, which is amazing to hear, thank you for your interest and I will do my best to explain this as much as I can here but I would like to start by advising you to join our discord, even if you have the slightest interest you can leave whenever you want and I can explain this whole thing a whole lot better. Our goal is to foster a creative and unified community and thrive on a minecraft server that was made for creating everything from nations to individual cultures. This recruitment post is for a newly formed nation "The Kingdom of the fallen sun" but fear not if you have ambitions to create your own nation/group simply join our discord and we will help you get set up. Our nation is all about making the experience as positive as possible for everyone! If you've never heard of something like this before that's perfect, come on down and we will get you started on your journey! If your a veteran of this type of thing we also welcome you and promise you will find the experience with us enjoyable. I would love to explain more about our lore and what we have going on here but it wouldn't fit here, so if this at all interests you join our discord and contact us! We would love to have you and are happy to answer all questions and promise to ensure you will enjoy your time with us. https://discord.gg/W8thN3CZWA
  12. Me and my friend were going to play some modded Minecraft specifically the jujutsu craft by orca it had gotten a port for 1.20.1 but anytime my friend tries to run 1.20 or above he gets error code 1 and we've tried on fabric it works quilt it works everything besides forge. If you could help i would appreciate it very much Edit i forgot log here it is https://pastebin.com/g172QVGw
  13. Essentials is currently having service outage. The official discord confirmed the outage. https://essential.statuspage.io/incidents/gtjrgrl442zc?u=lbnxx4pjqlf6 (to check status)
  14. This is now replaced in the latest version, under Advanced Settings. Not available under the registry anymore.
  15. org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {} at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {} at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {re:classloading} at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {re:classloading} at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154) ~[modlauncher-8.1.3.jar:8.1.3+8.1.3+main-8.1.x.c94d18ec] {re:classloading} at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) ~[modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) ~[modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) ~[modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.1.3.jar:?] {re:classloading} at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51] {} at net.minecraft.client.Minecraft.<init>(Minecraft.java:469) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:notenoughcrashes.mixins.json:client.MixinMinecraftClient,pl:mixin:APP:mine-mine-no-mi.mixins.json:client.MinecraftMixin,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:valkyrienskies-common.mixins.json:client.MixinMinecraft,pl:mixin:APP:mixins.essential.json:client.Mixin_RunEssentialTasks,pl:mixin:APP:mixins.essential.json:client.MixinMinecraft,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_FixKeybindUnpressedInEmoteWheel,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_RecalculateMenuScale,pl:mixin:APP:mixins.essential.json:compatibility.forge.Mixin_FixInternalByteBufAccess,pl:mixin:APP:mixins.essential.json:compatibility.forge.Mixin_FixPrematureByteBufFree,pl:mixin:APP:mixins.essential.json:events.Mixin_RenderTickEvent,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:149) [?:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {} at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:37) [forge-1.16.5-36.2.42.jar:36.2] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$501/2044211046.call(Unknown Source) [forge-1.16.5-36.2.42.jar:36.2] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] {re:classloading} Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Redirector modifyCrosshairTargetEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/vector/Vector3d;Lnet/minecraft/util/math/vector/Vector3d;Lnet/minecraft/util/math/AxisAlignedBB;Ljava/util/function/Predicate;D)Lnet/minecraft/util/math/EntityRayTraceResult; in valkyrienskies-common.mixins.json:client.renderer.MixinGameRenderer failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap valkyrienskies-116-common-refmap.json at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:468) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {re:classloading,re:classloading} at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1362) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {re:classloading} at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1051) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {} at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:400) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {} at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:325) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {} at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {re:classloading} at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {re:classloading} at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {} ... 23 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {} at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {} at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {re:classloading} at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) ~[mixin-0.8.4.jar:0.8.4+Jenkins-b308.git-2accda5000f7602229606b39437565542cc6fba4] {re:classloading} at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:154) ~[modlauncher-8.1.3.jar:8.1.3+8.1.3+main-8.1.x.c94d18ec] {re:classloading} at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) ~[modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) ~[modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) ~[modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.1.3.jar:?] {re:classloading} at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_51] {} at net.minecraft.client.Minecraft.<init>(Minecraft.java:469) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:notenoughcrashes.mixins.json:client.MixinMinecraftClient,pl:mixin:APP:mine-mine-no-mi.mixins.json:client.MinecraftMixin,pl:mixin:APP:flywheel.mixins.json:ShaderCloseMixin,pl:mixin:APP:architectury.mixins.json:MixinMinecraft,pl:mixin:APP:valkyrienskies-common.mixins.json:client.MixinMinecraft,pl:mixin:APP:mixins.essential.json:client.Mixin_RunEssentialTasks,pl:mixin:APP:mixins.essential.json:client.MixinMinecraft,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_FixKeybindUnpressedInEmoteWheel,pl:mixin:APP:mixins.essential.json:client.gui.Mixin_RecalculateMenuScale,pl:mixin:APP:mixins.essential.json:compatibility.forge.Mixin_FixInternalByteBufAccess,pl:mixin:APP:mixins.essential.json:compatibility.forge.Mixin_FixPrematureByteBufFree,pl:mixin:APP:mixins.essential.json:events.Mixin_RenderTickEvent,pl:mixin:APP:create.mixins.json:WindowResizeMixin,pl:mixin:A,pl:runtimedistcleaner:A} -- Initialization -- Details: Stacktrace: at net.minecraft.client.main.Main.main(Main.java:149) [?:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {} at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {} at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:37) [forge-1.16.5-36.2.42.jar:36.2] {} at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$501/2044211046.call(Unknown Source) [forge-1.16.5-36.2.42.jar:36.2] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?] {re:classloading} at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?] {re:classloading} -- System Details -- Details: Minecraft Version: 1.16.5 Minecraft Version ID: 1.16.5 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 2542855096 bytes (2425 MB) / 3711959040 bytes (3540 MB) up to 7784628224 bytes (7424 MB) CPUs: 12 JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx8352m -Xms256m ModLauncher: 8.1.3+8.1.3+main-8.1.x.c94d18ec ModLauncher launch target: fmlclient ModLauncher naming: srg ModLauncher services: /mixin-0.8.4.jar mixin PLUGINSERVICE /eventbus-4.0.0.jar eventbus PLUGINSERVICE /forge-1.16.5-36.2.42.jar object_holder_definalize PLUGINSERVICE /forge-1.16.5-36.2.42.jar runtime_enum_extender PLUGINSERVICE /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE /forge-1.16.5-36.2.42.jar capability_inject_definalize PLUGINSERVICE /forge-1.16.5-36.2.42.jar runtimedistcleaner PLUGINSERVICE /mixin-0.8.4.jar mixin TRANSFORMATIONSERVICE /essential_1-3-2-4_forge_1-16-5.jar essential-loader TRANSFORMATIONSERVICE /forge-1.16.5-36.2.42.jar fml TRANSFORMATIONSERVICE FML: 36.2 Forge: net.minecraftforge:36.2.42 FML Language Providers: [email protected] minecraft@1 [email protected] Mod List: notenoughcrashes-4.1.4+1.16.5-forge.jar |Not Enough Crashes |notenoughcrashes |4.1.4+1.16.5 |CREATE_REG|Manifest: NOSIGNATURE Pirates_Armoury_1.16.5 (1.0.3).jar |Pirates Armoury |pirates_armoury |1.0.3 |CREATE_REG|Manifest: NOSIGNATURE skds_core-1.16.5-0.2.0.jar |SKDS Core |skds_core |0.2.0 |CREATE_REG|Manifest: NOSIGNATURE mine-mine-no-mi-1.16.5-0.9.5.jar |Mine Mine no Mi |mineminenomi |0.9.5 |ERROR |Manifest: NOSIGNATURE TRansliterationLib-1.0.4.jar |TRansliterationLib Mod |transliterationlib |1.0.4 |CREATE_REG|Manifest: NOSIGNATURE player-animation-lib-forge-0.4.0+1.16.5.jar |Player Animator |playeranimator |0.4.0+1.16.5 |CREATE_REG|Manifest: NOSIGNATURE Pirates_And_Looters_Kraken_Update.jar |PiratesAndLootersReborn |piratesandlootersreborn |1.0.0 |CREATE_REG|Manifest: NOSIGNATURE jei-1.16.5-7.8.0.1009.jar |Just Enough Items |jei |7.8.0.1009 |CREATE_REG|Manifest: NOSIGNATURE libraryferret-forge-1.16.5-4.0.0.jar |Library ferret |libraryferret |4.0.0 |CREATE_REG|Manifest: NOSIGNATURE obscure_api-11.jar |Obscure API |obscure_api |11 |CREATE_REG|Manifest: NOSIGNATURE Waystones_1.16.5-7.6.4.jar |Waystones |waystones |7.6.4 |CREATE_REG|Manifest: NOSIGNATURE journeymap-1.16.5-5.8.5p7.jar |Journeymap |journeymap |5.8.5p7 |CREATE_REG|Manifest: NOSIGNATURE Placebo-1.16.5-4.7.1.jar |Placebo |placebo |4.7.1 |CREATE_REG|Manifest: NOSIGNATURE citadel-1.8.1-1.16.5.jar |Citadel |citadel |1.8.1 |CREATE_REG|Manifest: NOSIGNATURE alexsmobs-1.12.1.jar |Alex's Mobs |alexsmobs |1.12.1 |CREATE_REG|Manifest: NOSIGNATURE Artifacts-1.16.5-2.10.5.jar |Artifacts |artifacts |1.16.5-2.10.5 |CREATE_REG|Manifest: NOSIGNATURE jumpboat-1.16.5-0.1.0.2.jar |Jumpy Boats |jumpboat |1.16.5-0.1.0.2 |CREATE_REG|Manifest: NOSIGNATURE YungsApi-1.16.4-Forge-13.jar |YUNG's API |yungsapi |1.16.4-Forge-13 |CREATE_REG|Manifest: NOSIGNATURE curioofundying-forge-1.16.5-5.2.0.0.jar |Curio of Undying |curioofundying |1.16.5-5.2.0.0 |CREATE_REG|Manifest: NOSIGNATURE Bookshelf-Forge-1.16.5-10.4.33.jar |Bookshelf |bookshelf |10.4.33 |CREATE_REG|Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5 ExplorersCompass-1.16.5-1.1.2-forge.jar |Explorer's Compass |explorerscompass |1.16.5-1.1.2-forge |CREATE_REG|Manifest: NOSIGNATURE impactful-16.6.3.jar |impactful |impactful |16.6.3 |ERROR |Manifest: NOSIGNATURE Hwyla-forge-1.10.11-B78_1.16.2.jar |Waila |waila |1.10.11-B78_1.16.2 |CREATE_REG|Manifest: NOSIGNATURE carryon-1.16.5-1.15.6.24.jar |Carry On |carryon |1.15.6.24 |CREATE_REG|Manifest: NOSIGNATURE forge-1.16.5-36.2.42-universal.jar |Forge |forge |36.2.42 |CREATE_REG|Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90 wpo-1.16.5-0.3.0.jar |Water Physics Overhaul |wpo |0.3.0 |CREATE_REG|Manifest: NOSIGNATURE supplementaries-1.16.5-0.18.5.jar |Supplementaries |supplementaries |0.18.3 |CREATE_REG|Manifest: NOSIGNATURE idas_forge-1.5.5+1.16.5.jar |Integrated Dungeons and Struct|idas |1.5.5+1.16.5 |CREATE_REG|Manifest: NOSIGNATURE selene-1.16.5-1.9.0.jar |Selene |selene |1.16.5-1.0 |CREATE_REG|Manifest: NOSIGNATURE ironchest-1.16.5-11.2.21.jar |Iron Chests |ironchest |1.16.5-11.2.21 |CREATE_REG|Manifest: NOSIGNATURE corpse-1.16.5-1.0.6.jar |Corpse |corpse |1.16.5-1.0.6 |CREATE_REG|Manifest: NOSIGNATURE awesomedungeonocean-forge-1.16.5-3.3.0.jar |Awesome dungeon edition ocean |awesomedungeonocean |3.2.0 |CREATE_REG|Manifest: NOSIGNATURE hakibar-1.16.5-1.7.jar |Haki Bar |hakibar |1.7 |CREATE_REG|Manifest: NOSIGNATURE endlessocean-1.16.5-0.2.5-BETA.jar |Endless Ocean Aquatic Adventur|endlessocean |0.2.5-BETA |CREATE_REG|Manifest: NOSIGNATURE forge-1.16.5-36.2.42-client.jar |Minecraft |minecraft |1.16.5 |CREATE_REG|Manifest: NOSIGNATURE mcw-bridges-3.0.0-mc1.16.5forge.jar |Macaw's Bridges |mcwbridges |3.0.0 |CREATE_REG|Manifest: NOSIGNATURE ocean_expansion_1.16.5_Release_3.1.0.jar |The Ocean Expansion |ocean_expansion |Release 3.1.0 |CREATE_REG|Manifest: NOSIGNATURE TaxOceanVillager+M.1.16+ForM-1.1.2.jar |Tax' Ocean Villager |taxov |1.1.2 |CREATE_REG|Manifest: NOSIGNATURE EnchantmentDescriptions-1.16.5-7.1.27.jar |EnchantmentDescriptions |enchdesc |7.1.27 |CREATE_REG|Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5 BiomesOPlenty-1.16.5-13.1.0.477-universal.jar |Biomes O' Plenty |biomesoplenty |1.16.5-13.1.0.477 |CREATE_REG|Manifest: NOSIGNATURE ShoulderSurfing-Forge-1.16.5-3.2.0.jar |Shoulder Surfing Reloaded |shouldersurfing |1.16.5-3.2.0 |CREATE_REG|Manifest: NOSIGNATURE FirstPersonMod-2.0.1.jar |FirstPersonModel Mod |firstpersonmod |2.0.1 |CREATE_REG|Manifest: NOSIGNATURE CreativeCore_v2.2.1_mc1.16.5.jar |CreativeCore |creativecore |2.0.0 |CREATE_REG|Manifest: NOSIGNATURE Chunky-1.2.123.jar |Chunky |chunky |1.2.123 |CREATE_REG|Manifest: NOSIGNATURE Boat-Item-View-Forge-1.16.5-0.0.2.jar |Boat Item View |boatiview |0.0.2 |CREATE_REG|Manifest: NOSIGNATURE YungsBridges-Forge-1.16.4-1.0.1.jar |YUNG's Bridges |yungsbridges |1.16.4-1.0.1 |CREATE_REG|Manifest: NOSIGNATURE endless_oceans-1.0.5-forge.jar |Endless Oceans |endlessoceans |1.0.5 |CREATE_REG|Manifest: NOSIGNATURE cavesandcliffs-1.16.5-7.2.0.jar |Caves and Cliffs Backport |cavesandcliffs |1.16.5-7.2.0 |CREATE_REG|Manifest: NOSIGNATURE pirate_hats.jar |Pirate Hat |pirate_hat |1.0.0 |CREATE_REG|Manifest: NOSIGNATURE notenoughanimations-1.2.4.jar |NotEnoughAnimations Mod |notenoughanimations |1.2.4 |CREATE_REG|Manifest: NOSIGNATURE flywheel-1.16-0.2.5.jar |Flywheel |flywheel |1.16-0.2.5 |CREATE_REG|Manifest: NOSIGNATURE create-mc1.16.5_v0.3.2g.jar |Create |create |v0.3.2g |CREATE_REG|Manifest: NOSIGNATURE curios-forge-1.16.5-4.1.0.0.jar |Curios API |curios |1.16.5-4.1.0.0 |CREATE_REG|Manifest: NOSIGNATURE collective-1.16.5-5.49.jar |Collective |collective |5.49 |CREATE_REG|Manifest: NOSIGNATURE betterbiomeblend-1.16.4-1.2.9-forge.jar |Better Biome Blend |betterbiomeblend |1.16.4-1.2.9-forge |CREATE_REG|Manifest: NOSIGNATURE placeableitems-4.5.1.jar |Placeable Items |placeableitems |4.5.1 |CREATE_REG|Manifest: NOSIGNATURE AutoRegLib-1.6-49.jar |AutoRegLib |autoreglib |1.6-49 |CREATE_REG|Manifest: NOSIGNATURE Quark-r2.4-322.jar |Quark |quark |r2.4-322 |CREATE_REG|Manifest: NOSIGNATURE OreExcavation-1.8.157.jar |Ore Excavation |oreexcavation |1.8.157 |CREATE_REG|Manifest: e7:68:1c:0d:b9:7e:cf:f8:f3:40:9c:84:c5:39:d7:a4:59:78:b0:6b:c3:fd:b7:4f:69:18:a3:88:e3:76:8c:3f ftb-team-islands-forge-1605-2.1-build.24.jar |FTB Team Islands |ftbteamislands |1605-2.1-build.24 |CREATE_REG|Manifest: NOSIGNATURE more_ships_1.16.5_4.1.jar |more_ships |more_ships |3.0.0 |CREATE_REG|Manifest: NOSIGNATURE DMMTTBA-1.16.5-1.0.1.jar |Don't Make Me Turn This Boat A|dmmttba |1.0.1 |CREATE_REG|Manifest: NOSIGNATURE cavebiomeapi-1.16.5-1.4.2.jar |CaveBiomeAPI |cavebiomeapi |1.16.5-1.4.2 |CREATE_REG|Manifest: NOSIGNATURE FastFurnace-1.16.5-4.5.0.jar |FastFurnace |fastfurnace |4.5.0 |CREATE_REG|Manifest: NOSIGNATURE indestructible-16.0.4.jar |Indestructible |indestructible |16.0.4 |CREATE_REG|Manifest: NOSIGNATURE EpicFight-16.6.4.jar |Epic Fight |epicfight |16.6.4 |ERROR |Manifest: NOSIGNATURE architectury-1.32.68.jar |Architectury |architectury |1.32.68 |CREATE_REG|Manifest: NOSIGNATURE ftb-library-forge-1605.3.4-build.90.jar |FTB Library |ftblibrary |1605.3.4-build.90 |CREATE_REG|Manifest: NOSIGNATURE ftb-teams-forge-1605.2.3-build.40.jar |FTB Teams |ftbteams |1605.2.3-build.40 |CREATE_REG|Manifest: NOSIGNATURE lootr-1.16.5-0.2.19.51.jar |Lootr |lootr |0.2.19.51 |CREATE_REG|Manifest: NOSIGNATURE ferritecore-2.1.1-forge.jar |Ferrite Core |ferritecore |2.1.1 |CREATE_REG|Manifest: 41:ce:50:66:d1:a0:05:ce:a1:0e:02:85:9b:46:64:e0:bf:2e:cf:60:30:9a:fe:0c:27:e0:63:66:9a:84:ce:8a AI-Improvements-1.16.5-0.5.0.jar |AI-Improvements |aiimprovements |0.4.0 |CREATE_REG|Manifest: NOSIGNATURE ItemPhysic_v1.4.18_mc1.16.5.jar |ItemPhysic |itemphysic |1.6.0 |CREATE_REG|Manifest: NOSIGNATURE cloth-config-4.17.101-forge.jar |Cloth Config v4 API |cloth-config |4.17.101 |CREATE_REG|Manifest: NOSIGNATURE [1.16.5]-Epic-Knights-7.12.jar |Epic Knights Mod |magistuarmory |7.12 |CREATE_REG|Manifest: NOSIGNATURE PuzzlesLib-v1.0.15-1.16.5-Forge.jar |Puzzles Lib |puzzleslib |1.0.15 |CREATE_REG|Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a Lets_Forge_Pirates_[1_16_5]_3_9_1.jar |Let'sForgePirates |lfpirates |3.9.1 |CREATE_REG|Manifest: NOSIGNATURE byg-1.3.6.jar |Oh The Biomes You'll Go |byg |1.3.4 |CREATE_REG|Manifest: NOSIGNATURE Aquaculture-1.16.5-2.1.23.jar |Aquaculture 2 |aquaculture |1.16.5-2.1.23 |CREATE_REG|Manifest: NOSIGNATURE smallships-1.16.5-1.10.1.jar |Small Ships Mod |smallships |1.10.1 |CREATE_REG|Manifest: NOSIGNATURE valkyrienskies-116-forge-2.0.0-alpha6+6626c148b0.j|Valkyrien Skies 2 |valkyrienskies |2.0.0-alpha6+6626c14|CREATE_REG|Manifest: NOSIGNATURE eureka-1.0.0-alpha7.jar |VS Eureka Mod |vs_eureka |1.0.0-alpha7 |CREATE_REG|Manifest: NOSIGNATURE FastLeafDecay-v25.2.jar |FastLeafDecay |fastleafdecay |v25.2 |CREATE_REG|Manifest: NOSIGNATURE expandability-2.0.1-forge.jar |ExpandAbility |expandability |2.0.1 |CREATE_REG|Manifest: NOSIGNATURE CosmeticArmorReworked-1.16.5-v5a.jar |CosmeticArmorReworked |cosmeticarmorreworked |1.16.5-v5a |CREATE_REG|Manifest: 5e:ed:25:99:e4:44:14:c0:dd:89:c1:a9:4c:10:b5:0d:e4:b1:52:50:45:82:13:d8:d0:32:89:67:56:57:01:53 PlayerRevive_v2.0.0-pre04_mc1.16.5.jar |PlayerRevive |playerrevive |2.0.0 |CREATE_REG|Manifest: NOSIGNATURE geckolib-forge-1.16.5-3.0.106.jar |GeckoLib |geckolib3 |3.0.106 |CREATE_REG|Manifest: NOSIGNATURE EnchantingInfuser-v1.0.2-1.16.5-Forge.jar |Enchanting Infuser |enchantinginfuser |1.0.2 |CREATE_REG|Manifest: 9a:09:85:98:65:c4:8c:11:c5:49:f6:d6:33:23:39:df:8d:b4:ff:92:84:b8:bd:a5:83:9f:ac:7f:2a:d1:4b:6a healingcampfire_1.16.5-3.9.jar |Healing Campfire |healingcampfire |3.9 |CREATE_REG|Manifest: NOSIGNATURE WailaHarvestability-mc1.16.x-forge-1.1.15.jar |Waila Harvestability |wailaharvestability |1.1.15 |CREATE_REG|Manifest: NOSIGNATURE aquamirae-5.4.API11.jar |Aquamirae |aquamirae |5.4.API11 |CREATE_REG|Manifest: NOSIGNATURE aquafied-1.0.2-build.6+mc1.16.5.jar |Aquafied |aquafied |1.0.2-build.6+mc1.16|CREATE_REG|Manifest: NOSIGNATURE Essential (forge_1.16.5).jar |Essential |essential |1.3.2.4+g6b55293e12 |CREATE_REG|Manifest: NOSIGNATURE Crash Report UUID: a3248ad0-713f-4360-8480-48e83aa559ab Suspected Mods: None Launched Version: forge-36.2.42 Backend library: LWJGL version 3.2.2 build 10 Backend API: NVIDIA GeForce RTX 3060/PCIe/SSE2 GL version 4.6.0 NVIDIA 555.85, NVIDIA Corporation GL Caps: Using framebuffer using OpenGL 3.0 Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) CPU: 12x AMD Ryzen 5 5600G with Radeon Graphics
  16. demonicflames89

    fun

    fun mods
  17. You have to set the java path in your start script
  18. i tried that and i got rid of java to install the new one but it still says i have the old one and i cant get the new one because of the old one
  19. I created a boss for Minecraft and when is it called «An unexpected error occurred while trying to run this command» "net.minecraft.world.entity.ai.attributes.attribute instance.m_22100_ (double)" because the return value "net.minecraft.world.entity.monster.zombie.m_21051_(net.minecraft.world.entity.ai.attributes.attribute)" is null. I don't fully understand what the error is. But it seems to be related to attributes. Please help me figure it out Here is the boss class itself: package org.mymod.afraid; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.EquipmentSlot; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.ai.goal.*; import net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal; import net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal; import net.minecraft.world.entity.monster.Zombie; import net.minecraft.world.entity.player.Player; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.damagesource.DamageSource; import net.minecraft.world.phys.Vec3; import net.minecraft.core.BlockPos; import net.minecraft.world.level.block.Blocks; import net.minecraft.world.entity.projectile.SmallFireball; import org.jetbrains.annotations.NotNull; public class AfraidBoss extends Zombie { private static final int MAX_HEALTH = 1000; private static final double ATTACK_DAMAGE = 10.0D; private static final double FOLLOW_RANGE = 50.0D; private static final double ATTACK_KNOCKBACK = 1.0D; private static final double MOVEMENT_SPEED = 0.25D; private static final int TELEPORT_RADIUS = 20; private static final int FIREBALL_COOLDOWN = 100; // 5 seconds (20 ticks per second) private static final int FIREBALL_COUNT = 3; private int fireballCooldown = 0; private int fireDashCooldown = 0; public AfraidBoss(EntityType<? extends Zombie> type, Level level) { super(type, level); this.setHealth(MAX_HEALTH); this.setItemSlot(EquipmentSlot.MAINHAND, new ItemStack(Items.DIAMOND_SWORD)); this.setItemSlot(EquipmentSlot.OFFHAND, new ItemStack(Items.DIAMOND_SWORD)); } @Override protected void registerGoals() { this.goalSelector.addGoal(1, new MeleeAttackGoal(this, 1.0, true)); this.goalSelector.addGoal(2, new MoveTowardsTargetGoal(this, 1.0, (float) TELEPORT_RADIUS)); this.goalSelector.addGoal(3, new LookAtPlayerGoal(this, Player.class, 8.0F)); this.goalSelector.addGoal(4, new WaterAvoidingRandomStrollGoal(this, 1.0)); this.goalSelector.addGoal(5, new HurtByTargetGoal(this)); this.targetSelector.addGoal(1, new NearestAttackableTargetGoal<>(this, Player.class, true)); } @Override public void aiStep() { super.aiStep(); if (this.getTarget() instanceof Player) { Player player = (Player) this.getTarget(); double distanceToPlayer = this.distanceToSqr(player); // Fire Dash ability if (distanceToPlayer <= TELEPORT_RADIUS * TELEPORT_RADIUS && fireDashCooldown == 0) { this.fireDash(player); fireDashCooldown = 200; // Cooldown for fire dash (10 seconds) } // Fireball attack if (fireballCooldown == 0) { this.shootFireballs(player); fireballCooldown = FIREBALL_COOLDOWN; // Cooldown for fireball attack (5 seconds) } // Decrement cooldowns if (fireDashCooldown > 0) { fireDashCooldown--; } if (fireballCooldown > 0) { fireballCooldown--; } } } private void fireDash(Player player) { Vec3 direction = player.position().subtract(this.position()).normalize(); Vec3 newPos = this.position().add(direction.scale(10)); this.teleportTo(newPos.x, newPos.y, newPos.z); this.createFireTrail(newPos); player.hurt(DamageSource.mobAttack(this), 20.0F); // Damage the player } private void createFireTrail(Vec3 position) { for (int x = -2; x <= 2; x++) { for (int z = -2; z <= 2; z++) { BlockPos firePos = new BlockPos(position.x + x, position.y, position.z + z); this.level.setBlock(firePos, Blocks.FIRE.defaultBlockState(), 11); } } } private void shootFireballs(Player player) { Vec3 direction = player.position().subtract(this.position()).normalize(); for (int i = 0; i < FIREBALL_COUNT; i++) { SmallFireball fireball = new SmallFireball(this.level, this, direction.x, direction.y, direction.z); fireball.setPos(this.getX() + direction.x, this.getY() + direction.y, this.getZ() + direction.z); this.level.addFreshEntity(fireball); } } public static AttributeSupplier.Builder createAttributes() { return Zombie.createMobAttributes() .add(Attributes.MAX_HEALTH, MAX_HEALTH) .add(Attributes.ATTACK_DAMAGE, ATTACK_DAMAGE) .add(Attributes.FOLLOW_RANGE, FOLLOW_RANGE) .add(Attributes.ATTACK_KNOCKBACK, ATTACK_KNOCKBACK) .add(Attributes.MOVEMENT_SPEED, MOVEMENT_SPEED); } @Override public boolean hurt(@NotNull DamageSource source, float amount) { boolean flag = super.hurt(source, amount); if (flag && source.getEntity() instanceof Player) { Player player = (Player) source.getEntity(); if (this.random.nextInt(10) == 0) { this.teleportAndAttack(player); } } return flag; } private void teleportAndAttack(Player player) { Vec3 randomPos = player.position().add((this.random.nextDouble() - 0.5) * 4, 0, (this.random.nextDouble() - 0.5) * 4); if (this.randomTeleport(randomPos.x, randomPos.y, randomPos.z, true)) { player.hurt(DamageSource.mobAttack(this), 10.0F); // Damage the player } } }
  20. Make a test with another Launcher like MultiMC, AT Launcher or Technic Launcher
  21. Add the crash-report or latest.log (logs-folder) with sites like https://paste.ee/ and paste the link to it here
  22. oh thanks it change. Now i got this one "minecraft le jeu a cessé de fonctionner code de sortie 1". I'm lost, again lol
  1. Load more activity
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.