Jump to content

ChampionAsh5357

Members
  • Posts

    3284
  • Joined

  • Last visited

  • Days Won

    62

Everything posted by ChampionAsh5357

  1. You refer to the textures in the mtl using the texture key defined in the json (#texture0). Additionally, you can use the resource location instead (e.g. thingamajigs:block/railroad_crossing_arm).
  2. With a lot of work and effort that it probably couldn't be covered by a forum post. If we discard the rendering, create's contraptions are pretty much like any other multiblock structure and pipe system. As this site is not a tutorial, I suggest you attempt to solve the issue on your own and ask more specific questions relating to development rather than 'how to make my mod'.
  3. If you know the position of the block you want to look at, you can easily calculate the x and y angle necessary to view the block. However, if you want to rotate the player's head to look at that position, it requires a little more finesse. Specifically, rotations are stored between [-180,180). Additionally, the x rotation is clamped to [-90,90]. The head rotations are set via `#setYHeadRot` and `#setXRot`.
  4. Please provide your debug.log from the logs folder within the game directory via a gist or pastebin.
  5. In order to root out one of the more common issues, we'll need to see your hosts file. Here's the steps to getting this file. 1) Press the Win + R key on your keyboard. 2) Paste the following into the prompt that opens: 'notepad %windir%\system32\drivers\etc\hosts' 3) Use Ctrl+A to select everything in the file, then Ctrl+C into the textbox to post to this thread.
  6. The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.4 (Latest) and 1.18.2 (LTS).
  7. The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.4 (Latest) and 1.18.2 (LTS).
  8. The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.4 (Latest) and 1.18.2 (LTS).
  9. On the FCW wiki, there is a doc about capabilities and an example for it. The official docs still need to be refactored, hence the redirection to the wiki itself. I will add on an extra note that the generic event must have 'Entity' as the type as generic events are fired on the exact type and not any subtypes. Therefore, if you only want to apply your capability to an ItemEntity, just do an instanceof cast or directly check the EntityType.
  10. Why not attach a capability to the ItemStack instead? Is there some reason it needs to be a separate item?
  11. That doesn't answer the question what are the errors, but my guess is that the classes, fields, and method names are all incorrect since they changed when mojmaps was made the 'default' mapping set. As such, you need to change all the names to reflect this (e.g. 'PlayerEntity' -> 'Player'). Looking at what you've shown, you can easily use your IDE to find what the changed names are.
  12. We don't help with developing clients, regardless of whether they are hacked. This is specifically for using or developing mods with Forge, not integrating Forge into some third party application.
  13. It doesn't seem like there's anything stopping the game from loading. Additionally, the issue is on both sides, so most likely it's the same behavior even if they both have to load. As such, I still think the solution I mentioned before to remove one or all of those mods was correct.
  14. Try removing optifine or rubidium. It makes no sense to have both. Optifine should probably be removed first since it plays worse with mods in general.
  15. See LivingEntity#getAttackAnim and follow the fields in there to see how they are modified by default.
  16. Use a capability, have it hold a uuid of the owner, then check EntityItemPickupEvent and cancel if the item is not from the owner. The inventory option will probably need a mixin of some kind to check this flag before attempting to grab the stack.
  17. Why are you trying to copy the item and make a new version?
  18. You can try removing essentials to see if that'll fix it. Otherwise, you'll need to test each mod individually or in batches to find the erroring one since there is no information in the log itself.
  19. Post the relevant code. After some time it stops taking damage suggests that either that's how you programmed it or the main entity dies while leaving its parts behind.
  20. I assume it's because the following tags that are being consumed are also erroring. I imagine you are either missing a dependency or you need to remove those mods. It could also be incorrect versions since some of them don't seem like the 1.18.2 version of the mod.
  21. What version of Minecraft is this for? Additionally, what are the errors?
  22. 2023-03-30T18:03:48.346-0700 [ERROR] [system.err] C:\Users\judea\OneDrive\Desktop\Greek Myths Mod\src\main\java\net\theelementguy\greekmyths\GreekMythsMod.java:27: error: package net.theelementguy.greekmyths.items does not exist 2023-03-30T18:03:48.346-0700 [ERROR] [system.err] import net.theelementguy.greekmyths.items.ModItems; 2023-03-30T18:03:48.347-0700 [ERROR] [system.err] ^ 2023-03-30T18:03:48.409-0700 [ERROR] [system.err] C:\Users\judea\OneDrive\Desktop\Greek Myths Mod\src\main\java\net\theelementguy\greekmyths\items\ModItems.java:3: error: package com.example.examplemod does not exist 2023-03-30T18:03:48.410-0700 [ERROR] [system.err] import com.example.examplemod.GreekMythsMod; 2023-03-30T18:03:48.410-0700 [ERROR] [system.err] ^ 2023-03-30T18:03:48.417-0700 [ERROR] [system.err] C:\Users\judea\OneDrive\Desktop\Greek Myths Mod\src\main\java\net\theelementguy\greekmyths\items\ModItems.java:20: error: cannot find symbol 2023-03-30T18:03:48.418-0700 [ERROR] [system.err] public static void register(IEventBus eventbus) { 2023-03-30T18:03:48.418-0700 [ERROR] [system.err] ^ 2023-03-30T18:03:48.418-0700 [ERROR] [system.err] symbol: class IEventBus 2023-03-30T18:03:48.419-0700 [ERROR] [system.err] location: class ModItems 2023-03-30T18:03:48.471-0700 [ERROR] [system.err] C:\Users\judea\OneDrive\Desktop\Greek Myths Mod\src\main\java\net\theelementguy\greekmyths\GreekMythsMod.java:40: error: cannot find symbol 2023-03-30T18:03:48.471-0700 [ERROR] [system.err] ModItems.register(modEventBus); 2023-03-30T18:03:48.472-0700 [ERROR] [system.err] ^ 2023-03-30T18:03:48.472-0700 [ERROR] [system.err] symbol: variable ModItems 2023-03-30T18:03:48.472-0700 [ERROR] [system.err] location: class GreekMythsMod 2023-03-30T18:03:48.574-0700 [ERROR] [system.err] C:\Users\judea\OneDrive\Desktop\Greek Myths Mod\src\main\java\net\theelementguy\greekmyths\items\ModItems.java:12: error: cannot find symbol 2023-03-30T18:03:48.574-0700 [ERROR] [system.err] public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, GreekMythsMod.MOD_ID); 2023-03-30T18:03:48.574-0700 [ERROR] [system.err] ^ 2023-03-30T18:03:48.574-0700 [ERROR] [system.err] symbol: variable GreekMythsMod 2023-03-30T18:03:48.574-0700 [ERROR] [system.err] location: class ModItems 2023-03-30T18:03:48.647-0700 [ERROR] [system.err] 5 errors Seems to be a bunch of issues with your mod. Assuming that this information is correctly linked, I would guess there's something wrong within your build.gradle, if you would so kindly provide it.
  23. The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.4 (Latest) and 1.18.2 (LTS).
×
×
  • Create New...

Important Information

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