Jump to content

Luis_ST

Members
  • Posts

    5704
  • Joined

  • Last visited

  • Days Won

    72

Everything posted by Luis_ST

  1. Please post debug.log from server and client.
  2. This does not change the fact that you should post the debug.log. The file existential to help you.
  3. Override #mayPlace in your Slot class you can take a look at how vanilla done this (e.g. AbstractFurnaceMenu). Should you be able to place Items in the result slot? Yes -> You need to handle this is #quickMoveStack of your Menu No -> Override #mayPlace in your result Slot class and return false Take a look how vanilla done this, basically you need to add a property for the cooking time to the recipe, when you get the recipe for the current item in the input slot(s) you need to set the cooking time. Btw you need to register your Recipe Serializer you can not create it in a static initializer, the highly recommended way is to use DeferredRegister.
  4. Please post full launcher log and do not remove the formatting of the log.
  5. Are you sure it is the full client debug.log from the logs folder, since the log does not contains any error which cause the game to crash. If this is the full debug.log please post launcher_log.txt as well.
  6. What's your actual problem, the server should be start with the .bat file on windows and the .sh file on mac.
  7. Where do you get this error? And about which folder are you talking about? Please post debug.log from the logs folder. If you using CurseForge you need to enable the debug.log in the settings.
  8. You can take a look at the EndGatewayFeature, it's a vanilla example.
  9. The version of your Mod which is used by Forge and other Mods is there version from the mods.toml. Implementation-Version and Specification-Version are for the manifest inside your jar file. You can set the version there too but this is optional.
  10. Show the code you are using to place the Blocks, due to the error i would say you are not syncing the block update with the client.
  11. Subscribe to PlayerChangedDimensionEvent, inside there you can place the Structure. The Event is only fired on server so you can get the Level via the Server and the given ResourceKey. You can take a look at the place command for how you place a structure. How larger is the structure? Since if this is not so larger you could also use a feature.
  12. There is no Event for this use case. What did you try to achieve.
  13. Mining Gadgets, Whisperwoods and Baubley Heart Canisters needs to update to the recent breaking changes of Forge. Check if there are updated versions. Also make sure the version of OptiFine you are using si compatible with the version of Forge you are using.
  14. The path is correct but it look like you upload the server log twice, since both logs are equal. It should be in server folder/logs/debug.log
  15. Both logs are server logs and they're are not debug.logs. You find the client log in the logs folder of your game directory.
  16. Since you have a fallback Block you could also use RegistryObject#orElse, besides you don't need ModList#isLoaded in this case.
  17. With ModList#isLoaded you can check if Quark is load. Then you can use ForgeRegistries.BLOCKS#getValue with the id of the permafrost Block to get the Block. Then you can place the Block in the World (Level). Note IForgeRegistry#getValue can be return null, it should not be null but it's recommended to handle this case (due Quarks Modul system).
  18. Should Quark be an optional or required dependency of your mod?
  19. It looks like the version of Oh The Biomes You'll Go is for 1.19. Maybe a version declaration issue.
  20. Delete this config file if you have not modified it.
  21. You can now start playing on a 1.18.2 World and update then to 1.19. (Note: create a world backup before updating) Or you start in a 1.19 World with knowing that not all mods you want to use may have updated to the recommended 1.19 version. (Note: create a world backup before adding Mods) Or you wait until all Mods have updated.
  22. In general you should be able to get the Player attack cooldown via Player#getAttackStrengthScale with value 0.0F. If the returned value equals 1.0F is it fully charged.
  23. This error is often indicative of an outdated Java version. Please ensure your Java version is up to date. You can download OpenJDK from the Adoptium project. If the error persists after updating your Java version, please post the updated installer log as well as the contents of %windir%\system32\drivers\etc\hosts (Windows) or /etc/hosts (Mac, Linux).
  24. Why the hell is the debug.log a debug.png? This also does not looks like the full debug.log. You can use https://gist.github.com/ to upload the log file.
×
×
  • Create New...

Important Information

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