Jump to content

ChampionAsh5357

Members
  • Posts

    3284
  • Joined

  • Last visited

  • Days Won

    62

Everything posted by ChampionAsh5357

  1. You need to call `Entity#setPortalCooldown` twice: once when the entity is within the portal with a cooldown, and once when the entity is teleported by the portal. The first check prevents the entity from being teleported back if they haven't left the portal for a certain period of time. The second is for actually telling the entity that is has been teleported, and that it should verify the first check. You've currently only got the first check in place, which won't do anything on its own. You need to also set the cooldown after the entity has been teleported.
  2. 1.16.5 needs Java 8 to run correctly. Otherwise, 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).
  3. 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).
  4. Depends on the context. If you just need to see whether the recipe exists, then yes; you can use `ExistingFileHelper#exists` to check. However, if you need to check the contents of the recipe, you would need to load them yourself because I don't believe that packs are loaded during data generation. However, you should generally only need the first case. Additionally, you would have to declare `--existing-mod', '<modid>' as one of the arguments in your data configuration.
  5. See how `ClientPackListener#handleSystemChat` works. Just know that the message will only be sent to your own client.
  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. That refreshes the Gradle project, yes. However, you still need to generate the run configurations if you are not doing `gradlew run*` directly. You will need to run `gradlew gen*Runs` depending on your IDE.
  8. What is this code expected to do? It seems you are trying to check for structures you created, which I don't understand the point of.
  9. Wait, how are you determining that the installation was not successful? I just confirmed that the log output is accurate, and the version shows up in the 'Installations' section of the launcher.
  10. I assume it has to do with this open Forge issue that relies on an upstream change. However, I would recommend making a serializer for a datapack instead rather than using a config.
  11. `@EventBusSubscriber` needs to take in a `value` of your mod ID and the mod bus for the `bus` as that is when the event is executed. Additionally, using `@EventBusSubscriber` requires all methods be static.
  12. Is this your entire codebase? Have you added the `DeferredRegister` to the mod event bus via `#register`? Where are you sending the packet to the server? Why do you need a `FriendlyByteBuf` when you aren't sending any data?
  13. 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).
  14. We are not Fabric; ask wherever they provide support.
  15. Otherwise, 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).
  16. 1.16.5 uses Java 8, so you need that version. Otherwise, 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).
  17. Hmm, that looks fine. Could you show a screenshot of your game then, so I have an idea on what you're talking about? I do not see something that would cause this issue.
  18. Sure, which would be the page linked by the post creator. In any case, it seems illy forgot about updating, so I'll ping him again.
  19. Hmm, did you regen your runs after invalidating the cache?
  20. First, configured features and placed features should be added in JSON now (biome modifiers support this and 1.19.3 onward does not allow in-code datapack objects). Second, your crops only has a 20% change of spawning one patch per chunk, so you would have to be somewhat lucky since you may lose out to other vegetation. I would remove the rarity filter so that you can confirm it works first.
  21. What does your `assets/<modid>/particles/concentrate_particles.json` look like?
  22. If you are using the baked model system, then you can get the model from ModelManager#getModel and then just the same rendering process as used within the `#renderItem` method.
  23. You need to be using Java 8 if you aren't. Otherwise, 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).
  24. 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).
  25. 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.