Jump to content

Windokk

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by Windokk

  1. I'm currently implementing an Oil Pump block. It's bigger than a regular block and is loaded with the wavefront (.obj) loader provied by Forge. I'm trying to add collision boxes to my block but some of my collision boxes are bigger than 16x16x16, and i can walk through them... Here's what I override to create my bounding boxes : @Override public VoxelShape getShape(BlockState state, BlockGetter world, BlockPos pos, CollisionContext context) { return switch (state.getValue(FACING)) { default -> Shapes.or(box(-5, 2, 17, 37, 53, 32), box(-5, 2, -13, 37, 53, 2), box(-12, 0, -20, 44, 4, 53), box(6, 1, 43, 26, 26, 62), box(9, 49, 2, 23, 53, 17)); case NORTH -> Shapes.or(box(-21, 2, -16, 21, 53, -1), box(-21, 2, 14, 21, 53, 29), box(-28, 0, -37, 28, 4, 36), box(-10, 1, -46, 10, 26, -27), box(-7, 49, -1, 7, 53, 14)); case EAST -> Shapes.or(box(17, 2, -21, 32, 53, 21), box(-13, 2, -21, 2, 53, 21), box(-20, 0, -28, 53, 4, 28), box(43, 1, -10, 62, 26, 10), box(2, 49, -7, 17, 53, 7)); case WEST -> Shapes.or(box(-16, 2, -5, -1, 53, 37), box(14, 2, -5, 29, 53, 37), box(-37, 0, -12, 36, 4, 44), box(-46, 1, 6, -27, 26, 26), box(-1, 49, 9, 14, 53, 23)); }; } My question is : Is there a way to bypass the collision box size limit on blocks ?
  2. In my jeepentity class, the overrided method hurt() isn't called.. Anyone has the same problem or knows what's causing it ? Also all arrows and weapons are passing through the hitbox... https://github.com/Windokk/MilitaryElements/blob/main/src/main/java/com/windokkstudio/militaryelements/entities/vehicles/JeepEntity.java
  3. @warjort Maybe instead of telling him not to help me, you could explain to me better than just telling me: just figure it out yourself
  4. How do i do it ? I mean, could you maybe share what the renderer should look like ?
  5. Then what is it supposed to do ?
  6. I'm trying to create a jeep entity but it seems like i'm not doing the renderer registration right... The entity loads into the world but is invisible I'm on 1.19.2 Here is the github link of my project : https://github.com/Windokk/MilitaryElements
  7. thx a lot for helping me !
  8. I don't really understand... concretely how do i make the anim play when i rightclick with the item ?
  9. Sorry, it was working for me all along... i just didn't see it.. i'm soo stoopid.. Anyway, the animation is not playing.. is it normal ?
  10. btw, how did you make it log "AAAAAAAAAAAA", did you right clicked with the item in hand or did you do something else i'm missing ?
  11. Nope, i don't log it anywhere else.. Must be a problem on my side.. thx a lot for your time !
  12. https://github.com/Windokk/MilitaryElements hhere is my whole project repo
  13. Here is my item class : it's an adrenaline syringe but it seem that the initializeClient method isn't called public class Adrenaline extends Item { public Adrenaline(Properties p_41383_) {super(p_41383_);} @Override public void initializeClient(Consumer<IClientItemExtensions> consumer) { MilitaryElements.LOGGER.info("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"); consumer.accept(new IClientItemExtensions() { private static final HumanoidModel.ArmPose EXAMPLE_POSE = HumanoidModel.ArmPose.create("EXAMPLE", false, (model, entity, arm) -> { if (arm == HumanoidArm.RIGHT) { model.rightArm.xRot = (float) (Math.random() * Math.PI * 2); } else { model.leftArm.xRot = (float) (Math.random() * Math.PI * 2); } }); @Override public HumanoidModel.ArmPose getArmPose(LivingEntity entityLiving, InteractionHand hand, ItemStack itemStack) { if (!itemStack.isEmpty()) { if (entityLiving.getUsedItemHand() == hand && entityLiving.getUseItemRemainingTicks() > 0) { return EXAMPLE_POSE; } } return HumanoidModel.ArmPose.EMPTY; } @Override public boolean applyForgeHandTransform(PoseStack poseStack, LocalPlayer player, HumanoidArm arm, ItemStack itemInHand, float partialTick, float equipProcess, float swingProcess) { int i = arm == HumanoidArm.RIGHT ? 1 : -1; poseStack.translate(i * 0.56F, -0.52F, -0.72F); if (player.getUseItem() == itemInHand && player.isUsingItem()) { poseStack.translate(0.0, -0.05, 0.0); } return true; } }); } @Override public InteractionResultHolder<ItemStack> use(Level world, Player entity, InteractionHand hand) { InteractionResultHolder<ItemStack> ar = super.use(world, entity, hand); ItemStack itemstack = ar.getObject(); double x = entity.getX(); double y = entity.getY(); double z = entity.getZ(); //Sounds return ar; } }
  14. well, the initializeClient method doesn't load, even tho I put @Override above it.. I'm on 1.19.2 btw
  15. thx a lot !!
  16. I want to make a custom UseAnim for my item AdrenalineSyringe but i don't know how to do it.. @Override public UseAnim getUseAnimation(ItemStack itemstack) { return UseAnim.CUSTOM; }
  17. For info, i'm creating a mod that adds custom player animations with "player animator" [17:27:23] [Worker-Main-6/ERROR] [ne.mi.fm.ja.FMLModContainer/]: Exception caught during firing event: net/minecraft/resources/ResourceLocation Index: 1 Listeners: 0: NORMAL 1: ASM: class com.windokkstudio.militaryelements.animations.PlayerAnimator onClientSetup(Lnet/minecraftforge/fml/event/lifecycle/FMLClientSetupEvent;)V 2: ASM: class com.windokkstudio.militaryelements.Militaryelements$ClientModEvents onClientSetup(Lnet/minecraftforge/fml/event/lifecycle/FMLClientSetupEvent;)V java.lang.NoClassDefFoundError: net/minecraft/resources/ResourceLocation at MC-BOOTSTRAP/player.animation.lib.forge@1.0.2_mapped_official_1.19.2/dev.kosmx.playerAnim.minecraftApi.PlayerAnimationFactory$FactoryHolder.registerFactory(PlayerAnimationFactory.java:38) at TRANSFORMER/militaryelements@1.0.0/com.windokkstudio.militaryelements.animations.PlayerAnimator.onClientSetup(PlayerAnimator.java:26) at TRANSFORMER/militaryelements@1.0.0/com.windokkstudio.militaryelements.animations.__PlayerAnimator_onClientSetup_FMLClientSetupEvent.invoke(.dynamic) at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) at LAYER PLUGIN/javafmllanguage@1.19.2-43.2.0/net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:107) at LAYER PLUGIN/fmlcore@1.19.2-43.2.0/net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:122) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) Caused by: java.lang.ClassNotFoundException: net.minecraft.resources.ResourceLocation 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) ... 15 more [17:27:23] [Worker-Main-6/ERROR] [ne.mi.fm.ja.FMLModContainer/LOADING]: Caught exception during event FMLClientSetupEvent dispatch for modid militaryelements java.lang.NoClassDefFoundError: net/minecraft/resources/ResourceLocation at dev.kosmx.playerAnim.minecraftApi.PlayerAnimationFactory$FactoryHolder.registerFactory(PlayerAnimationFactory.java:38) ~[player-animation-lib-forge-1.0.2_mapped_official_1.19.2.jar%23102!/:?] {} at com.windokkstudio.militaryelements.animations.PlayerAnimator.onClientSetup(PlayerAnimator.java:26) ~[%23196!/:?] {re:classloading} at com.windokkstudio.militaryelements.animations.__PlayerAnimator_onClientSetup_FMLClientSetupEvent.invoke(.dynamic) ~[%23196!/:?] {re:classloading,pl:eventbus:B} at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%23114!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%23114!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%23114!/:?] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:107) ~[javafmllanguage-1.19.2-43.2.0.jar%23193!/:?] {} at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:122) ~[fmlcore-1.19.2-43.2.0.jar%23192!/:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) [?:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) [?:?] {} at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?] {} at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?] {} at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?] {} at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?] {} at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?] {} Caused by: java.lang.ClassNotFoundException: net.minecraft.resources.ResourceLocation at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?] {} at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] {} at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:137) ~[securejarhandler-2.1.4.jar:?] {} at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] {} ... 15 more [17:27:23] [modloading-worker-0/FATAL] [ne.mi.fm.ModLoader/LOADING]: Failed to complete lifecycle event SIDED_SETUP, 1 errors found [17:27:23] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json [17:27:24] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Found status: UP_TO_DATE Current: 43.2.0 Target: null [17:27:28] [Worker-Main-2/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.ModelEvent$RegisterAdditional to a broken mod state [17:27:29] [Worker-Main-2/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [17:27:29] [Worker-Main-2/WARN] [minecraft/TextureAtlas]: Texture militaryelements:items/flag with size 29x29 limits mip level from 4 to 0 [17:27:29] [Worker-Main-2/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [17:27:29] [Worker-Main-2/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [17:27:29] [Worker-Main-2/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [17:27:29] [Worker-Main-2/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [17:27:29] [Worker-Main-2/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [17:27:29] [Worker-Main-2/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state [17:27:29] [modloading-worker-0/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to process mod state change request from ModLoadingState[name=ENQUEUE_IMC, previous=, message=net.minecraftforge.fml.ModLoadingState$$Lambda$4248/0x0000000801622d60@33b6367b, phase=COMPLETE, inlineRunnable=Optional.empty, transition=Optional[ParallelTransition[stage=ENQUEUE_IMC, event=class net.minecraftforge.fml.event.lifecycle.InterModEnqueueEvent]]] [17:27:29] [modloading-worker-0/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to process mod state change request from ModLoadingState[name=PROCESS_IMC, previous=ENQUEUE_IMC, message=net.minecraftforge.fml.ModLoadingState$$Lambda$4248/0x0000000801622d60@5a62bd34, phase=COMPLETE, inlineRunnable=Optional.empty, transition=Optional[ParallelTransition[stage=PROCESS_IMC, event=class net.minecraftforge.fml.event.lifecycle.InterModProcessEvent]]] [17:27:29] [modloading-worker-0/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to process mod state change request from ModLoadingState[name=COMPLETE, previous=PROCESS_IMC, message=net.minecraftforge.fml.core.ModStateProvider$$Lambda$4252/0x000000080161e540@443d5044, phase=COMPLETE, inlineRunnable=Optional.empty, transition=Optional[ParallelTransition[stage=COMPLETE, event=class net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent]]] [17:27:29] [modloading-worker-0/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to process mod state change request from ModLoadingState[name=FREEZE_DATA, previous=COMPLETE, message=net.minecraftforge.fml.ModLoadingState$$Lambda$4247/0x0000000801622b20@332c8721, phase=COMPLETE, inlineRunnable=Optional[net.minecraftforge.common.ForgeStatesProvider$$Lambda$4258/0x000000080161f6e0@7c68176d], transition=Optional.empty] [17:27:29] [modloading-worker-0/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to process mod state change request from ModLoadingState[name=NETWORK_LOCK, previous=FREEZE_DATA, message=net.minecraftforge.fml.ModLoadingState$$Lambda$4247/0x0000000801622b20@e90a728, phase=COMPLETE, inlineRunnable=Optional[net.minecraftforge.common.ForgeStatesProvider$$Lambda$4259/0x000000080161f908@200179ce], transition=Optional.empty] [17:27:29] [Render thread/WARN] [minecraft/SoundEngine]: Missing sound for event: minecraft:item.goat_horn.play [17:27:29] [Render thread/WARN] [minecraft/SoundEngine]: Missing sound for event: minecraft:entity.goat.screaming.horn_break [17:27:30] [Render thread/INFO] [mojang/Library]: OpenAL initialized on device OpenAL Soft on Haut-parleurs (Realtek(R) Audio) [17:27:30] [Render thread/INFO] [minecraft/SoundEngine]: Sound engine started [17:27:30] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.sound.SoundEngineLoadEvent to a broken mod state [17:27:30] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas [17:27:30] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [17:27:30] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas [17:27:30] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [17:27:30] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas [17:27:30] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [17:27:30] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas [17:27:30] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [17:27:30] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas [17:27:30] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [17:27:30] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas [17:27:30] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [17:27:30] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas [17:27:30] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [17:27:30] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.ModelEvent$BakingCompleted to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state [17:27:31] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$AddLayers to a broken mod state [17:27:31] [Render thread/WARN] [minecraft/ShaderInstance]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program. [17:27:32] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterShadersEvent to a broken mod state [17:27:32] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas [17:27:32] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [17:27:32] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas [17:27:32] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state [17:27:32] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas [17:27:32] [Render thread/ERROR] [ne.mi.fm.ModLoader/]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state Negative index in crash report handler (24/26) [17:27:32] [Render thread/FATAL] [ne.mi.co.ForgeMod/]: Preparing crash report with UUID d3fb0f68-a417-4ae7-a279-bd1037532cb9 [17:27:32] [Render thread/FATAL] [ne.mi.cl.lo.ClientModLoader/]: Crash report saved to .\crash-reports\crash-2023-04-06_17.27.32-fml.txt [17:27:32] [Render thread/FATAL] [ne.mi.co.ForgeMod/]: Preparing crash report with UUID f7f91de2-4742-43a0-baa1-72863c5f787f ---- Minecraft Crash Report ---- // Hey, that tickles! Hehehe! Time: 2023-04-06 17:27:32 Description: Mod loading error has occurred java.lang.Exception: Mod Loading has failed at net.minecraftforge.logging.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:55) ~[forge-1.19.2-43.2.0_mapped_official_1.19.2-recomp.jar%23190%23197!/:?] {re:classloading} at net.minecraftforge.client.loading.ClientModLoader.completeModLoading(ClientModLoader.java:167) ~[forge-1.19.2-43.2.0_mapped_official_1.19.2-recomp.jar%23190%23197!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:585) ~[forge-1.19.2-43.2.0_mapped_official_1.19.2-recomp.jar%23191!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.Util.ifElse(Util.java:438) ~[forge-1.19.2-43.2.0_mapped_official_1.19.2-recomp.jar%23191!/:?] {re:classloading} at net.minecraft.client.Minecraft.lambda$new$3(Minecraft.java:579) ~[forge-1.19.2-43.2.0_mapped_official_1.19.2-recomp.jar%23191!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screens.LoadingOverlay.render(LoadingOverlay.java:135) ~[forge-1.19.2-43.2.0_mapped_official_1.19.2-recomp.jar%23191!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:885) ~[forge-1.19.2-43.2.0_mapped_official_1.19.2-recomp.jar%23191!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runTick(Minecraft.java:1115) ~[forge-1.19.2-43.2.0_mapped_official_1.19.2-recomp.jar%23191!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:700) ~[forge-1.19.2-43.2.0_mapped_official_1.19.2-recomp.jar%23191!/:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.run(Main.java:212) ~[forge-1.19.2-43.2.0_mapped_official_1.19.2-recomp.jar%23191!/:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:51) ~[forge-1.19.2-43.2.0_mapped_official_1.19.2-recomp.jar%23191!/:?] {re:classloading,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {} at net.minecraftforge.fml.loading.targets.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:25) ~[fmlloader-1.19.2-43.2.0.jar%23103!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%23110!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%23110!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%23110!/:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%23110!/:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%23110!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%23110!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%23110!/:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?] {} -- MOD militaryelements -- Details: Caused by 0: java.lang.NoClassDefFoundError: net/minecraft/resources/ResourceLocation at dev.kosmx.playerAnim.minecraftApi.PlayerAnimationFactory$FactoryHolder.registerFactory(PlayerAnimationFactory.java:38) ~[player-animation-lib-forge-1.0.2_mapped_official_1.19.2.jar%23102!/:?] {} at com.windokkstudio.militaryelements.animations.PlayerAnimator.onClientSetup(PlayerAnimator.java:26) ~[%23196!/:?] {re:classloading} at com.windokkstudio.militaryelements.animations.__PlayerAnimator_onClientSetup_FMLClientSetupEvent.invoke(.dynamic) ~[%23196!/:?] {re:classloading,pl:eventbus:B} at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%23114!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%23114!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%23114!/:?] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:107) ~[javafmllanguage-1.19.2-43.2.0.jar%23193!/:?] {} at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:122) ~[fmlcore-1.19.2-43.2.0.jar%23192!/:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {} at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {} at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {} at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {} at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {} at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {} Mod File: /C:/Users/elipt/Documents/Games/Other Games/Minecraft/Modding/MilitaryElements/Military Elements/build/resources/main/ Failure message: Military Elements (militaryelements) encountered an error during the sided_setup event phase java.lang.NoClassDefFoundError: net/minecraft/resources/ResourceLocation Mod Version: 1.0.0 Mod Issue URL: NOT PROVIDED Exception message: java.lang.ClassNotFoundException: net.minecraft.resources.ResourceLocation Stacktrace: at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?] {} at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] {} at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:137) ~[securejarhandler-2.1.4.jar:?] {} at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?] {} at dev.kosmx.playerAnim.minecraftApi.PlayerAnimationFactory$FactoryHolder.registerFactory(PlayerAnimationFactory.java:38) ~[player-animation-lib-forge-1.0.2_mapped_official_1.19.2.jar%23102!/:?] {} at com.windokkstudio.militaryelements.animations.PlayerAnimator.onClientSetup(PlayerAnimator.java:26) ~[%23196!/:?] {re:classloading} at com.windokkstudio.militaryelements.animations.__PlayerAnimator_onClientSetup_FMLClientSetupEvent.invoke(.dynamic) ~[%23196!/:?] {re:classloading,pl:eventbus:B} at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.3.jar%23114!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.3.jar%23114!/:?] {} at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.3.jar%23114!/:?] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:107) ~[javafmllanguage-1.19.2-43.2.0.jar%23193!/:?] {} at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$10(ModContainer.java:122) ~[fmlcore-1.19.2-43.2.0.jar%23192!/:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {} at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?] {} at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?] {} at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?] {} at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?] {} at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?] {}
  18. I want to create a blockstate that allows multiples string values. The problems is I don't know how to create the enum blockstate with enumproperties. Here is my current code for the enum and the blockstate registration (my block is a camouflage net)
  19. I din't know what multiblock structures were, that's why i was asking, thanks !
  20. Hey folks, I'm trying to create an airship mod for forge 1.19.2. The fact is i'm new to forge and modding in general. My mod idea is that i want players to be able to make custom shaped airships (different types of wood, redstone, different type of wool for the baloon...) I saw on the "create" mod that it's possible to create 'contraptions' in minecraft forge. I want to know how to achieve it or a tutorial on it. Thanks a lot, Windokk
  21. thx very much !
  22. Hi, I'm currently making a minecraft forge mod and i want an item to show a gui when i right-click on it. How coul i make it ? Any help would be really appreciated Thx in advance --Windokk
  23. Hi, so I'm making a minecraft forge mod in 1.16.4 and i wanted to make an item which opens a gui whenever you use it (right-clicking while holding it) but in all of the tutorials I've watched, they where using minecraft.client.gui.guiScreen. Unfortunatly, guiScreen doesn't seems to exist in minecraft.clent.gui... Any helkp would be really appreciated. Thx in advance ! --Windokk
×
×
  • Create New...

Important Information

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