Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 12/01/22 in all areas

  1. You are telling it to open the crafting table menu instead of your EggingTableGui? Since your block is not a crafting table block, it will close the gui in its stillValid() check.
    1 point
  2. The error does not really identify a mod. But it could be flywheel since that modifies the code in this area, or it could be a conflict with optifine? Check you have the latest version of flywheel and try without optifine.
    1 point
  3. One of your config files is invalid/corrupted. If you don't have a backup of the file, you can delete it and it should be recreated with default values.
    1 point
  4. One of your configuration files is invalid/corrupted. You can find it in saves/<save-name>/serverconfig If you don't have a backup of the file, you can delete it and it should be recreated with default values.
    1 point
  5. 2) just separate "forge" stuff (registering things, etc.) from "mod" stuff (what should happen for players to see) into separate classes and you will be fine. 3) no, not really. especially if you want to port to other mod loaders. except maybe architectury but i never used that. 4) don't worry about it, at least for controllable things like chickens. let player decide if he wants 4 or 400 chickens around. you should worry about ambient entities (things flying/swimming around) and not have hundreds of those especially if you can't prevent them from appearing all the time (like squids) or if you can't kill them (like some glowbugs/fireflies...). 1) start with 1.18. porting to 1.19 is pretty easy, but you probably wont want to maintain 1.19 in parallel, likely 1.18 and 1.20. you do not need to decide on this now because you don't know when you'll have a stable mod and free time.
    1 point
  6. Ran into this today, it seems to be caused by Gradle 7.6, as going back to 7.5 makes the issue go away. I'm not sure what is going on beyond that though.
    1 point
  7. there are two ways that method would be called for that event: variant 1 - manual: you called addListener. see ExampleMod.java for example. variant 2 - automagic: if a class is annotated with @Mod.EventBusSubscriber and the event is made static and annotated with @SubscribeEvent, forge will handle everything. use variant 2, but not in main class.
    1 point
  8. You need to make your mod load after forge to modify the vanilla datapack. By specifying an ordering in your mods.toml https://forge.gemwire.uk/wiki/Mods.toml But doing that is a bad idea. You will conflict with other mods or modpack configuration doing the same thing. You should use global loot modifiers instead. https://forge.gemwire.uk/wiki/Dynamic_Loot_Modification
    1 point
  9. Maybe I am misunderstanding the problem, but the code in that github repository works fine for me? You are referring to the useOn() block code?
    1 point
  10. Use java 17, mixin doesn't support java 19
    1 point
  11. not really. wiki is here: https://forge.gemwire.uk/wiki/ but, yes, it is quite general.
    1 point
  12. We generally don't support old versions, but as this error is probably related to the M1 chip, I will provide an answer. If you're saying that it works fine without mods then failed after a mod was added, then there is probably a mod which causes the error to which you need to remove one-by-one or in batches to find. If that's not the case, it could be with the early progress window, to which you would need to add `-Dfml.earlyprogresswindow=false` to your java arguments in your profile. If that doesn't fix the issue, then you're better off updating to a later minecraft version where the issue is fixed within GLFW. You can attempt to rebuild Forge with the updated library, but you will receive no support for that here.
    1 point
  13. I suggest you contact whoever wrote the texture pack. The first error in your log is Which suggests something in that texture pack is breaking the class initialisation for minecraft's texture class Or it is conflicting with a mod that changes that code. Since you don't post a link to your debug.log we can't see which mods are modifying that code. The log does not contain an error to explain why it can't load that class. So, we can't see the root cause. There is this warning just before, which may or may not be relevant? Assuming there is no fundamental problem with the resource pack (e.g. it is for a different version of minecraft) I suspect the only way you will find the conflicting mod is to experiment with removing mods until the problem goes away.
    1 point
  14. then stop and breathe. place a cursor on "RepairItemRecipe" identifier and press ctrl+b (or ctrl+click it). study that class until you understand it completely. do not proceed until you understand repair recipe class and firework recipe class.
    1 point
  15. Conflict between enigmatic legacy and patchouli. Check you have the latest versions then contact the mod authors.
    1 point
  16. That's the point of MinecraftServer#getLevel. You can get the server from any current ServerLevel instance via #getServer.
    1 point
  17. You need to make your own subclass of CraftingRecipe (I assume this is the crafting table?) along with a Serializer for it. Then override Recipe.assemble() to do what you want. See for example FireworkRocketRecipe.
    1 point
  18. that sounds like a vanilla feature where you combine two items in crafting table. doesn't matter that it's not the same. did you look at RepairItemRecipe class?
    1 point
  19. You need to ask the mod author about their mod. 🙂
    1 point
  20. The client thread shows you in the pause screen. The server thread shows hexerei responding to a chunk unload event for its Chest. It seems to be trying to broadcast a network packet to all players in the chunk. Check to see if you still get the hang without this mod included.
    1 point
  21. The parameter can be obtained from EndDragonFight#hasPreviouslyKilledDragon which can be obtained from the ServerLevel#dragonFight assuming the ServerLevel is the END which can be obtained from MinecraftServer#getLevel.
    1 point
×
×
  • Create New...

Important Information

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