Jump to content

ChampionAsh5357

Members
  • Posts

    3284
  • Joined

  • Last visited

  • Days Won

    62

Everything posted by ChampionAsh5357

  1. I believe repeaters and comparators use the cutout render type which is done by setting the "render_type" to "cutout" in your model.
  2. Screen#renderTooltip Set the style on the passed in components. In the method mentioned first.
  3. The official docs and the forge community wiki are both good starting points. We typically don't recommend video tutorials except those from McJty. As for other stuff, just read the source code and use it as a basis to improve upon. I mean, it's an entity, just rendered to be a bunch of blocks. You're going to need to be very familiar with Minecraft modding and Java to attempt anything close to this. As for steps, it depends on a lot of things. I recommend giving it a try yourself and ask questions when you get stuck rather than asking for step-by-step instructions on how to program. Also, we don't give support to people without the relevant Java knowledge or else they copy-paste and ask for the solutions without understanding how to think themselves. So, why not use one of those mods? Create comes to mind for something that can do this. I have no idea what you're saying here, but you need an entity if you want it to not be locked to a specific place. We only support the latest and LTS versions of Minecraft for modding (1.19.2 and 1.18.2 currently).
  4. How big is your entity? Entities should stop ticking logic before it reaches the border where chunks no longer have collision/are rendered. Unless your bounding box is multiple boxes which ends up being a bit more annoying to calculate all the proper boundaries, this shouldn't be an issue unless I'm misunderstanding the problem.
  5. I wouldn't know the reasoning. There's no inclination in the code provided that there would be an issue. The only thing I can think of is the event listener where you register things, which you would need to show the entire class for. Anything else might result from a separate issue.
  6. That would mean the serializer is null. Not really an issue with read, though you don't need to write anything and the single boolean test needs to return the config value as well. You can look at the `ReloadCommand` to learn how to do this, but it should generally be avoided unless the cached config value changes.
  7. If your cow is the same base class as the normal cow (so `Cow`), then it should just work without issue. If it is a subtype of `Cow`, then you cannot as cows can only mate with other cows of the exact class. Though, technically, this is a very weird scenario as one of your cows would be able to mate while the vanilla cow wouldn't, so it would need some testing on that second statement.
  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.2 (Latest) and 1.18.2 (LTS).
  9. Cannot reproduce on forge or vanilla. I assume whatever mod you are using to switch lobbies is essentially connecting you to another server, which forces a check of the login packets to make sure the client can actually load onto the server. As for 10 minutes of a 1 hour session, that doesn't really leave any grounding of what the ratio is since you didn't mention how many times you switch. 10 minutes of a 1 hour session could be really bad or nothing. If you are using a third party service that consumes Forge, then it could be a factor of reasons since Forge is a standalone project which other services integrating into it. In those cases, we do not provide support as we are not those third party integrations.
  10. TL;DR, you can't. The piston logic has an explicit check against push block entities.
  11. Apologies, but regardless of what you're trying to do, connecting to an external website seems like a giant security concern where you can do whatever you please to the user's machine or information. It's recommended you not do this, and we won't give support if you try to.
  12. That makes sense, you cache the static value of the boolean. You should not need any parameters and just check in test if the config value is loaded. Then, you need to resave the config and reload the datapack, because the condition won't be checked if the datapack isn't reloaded.
  13. How are you listening to the register event? If using EventBusSubscriber, the method needs to be static.
  14. Can you check your debug.log to see if there is any error occurring when you press the button? Nothing in the method provided immediately jumps out to me with an error.
  15. Please put your log in a gist or a paste site. We will not download random files from the internet.
  16. 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.2 (Latest) and 1.18.2 (LTS).
  17. 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.2 (Latest) and 1.18.2 (LTS).
  18. Please provide the entire debug.log containing the error. This does not give any context as to the issue. Additionally, this is an English only forum, so please provide everything through a translator if you do not know the language yourself.
  19. Depending your game directory (typically .minecraft), it would be in logs/debug.log. Also, you still need to provide your version of Minecraft. Answers vary widely depending on which version you use.
  20. I give you, a Forge provided functional example: https://github.com/MinecraftForge/MinecraftForge/blob/1.19.x/src/test/java/net/minecraftforge/debug/DataGeneratorTest.java#L165-L204 Essentially, the method is removed in 1.19 due to the context parameter addition. However, changing how the method is implemented would induce a breaking change. As such, older versions need to have it implemented until they update to the next version.
  21. This is a client only mod, so it'll crash if loaded on the server. You should probably check your log and mods to see what is crashing.
  22. Provide the debug.log and the version of Minecraft. Most likely, one or a combination of mods send more data than allowed by the packet.
  23. This is badly formatted. Do you mean the respawn button doesn't work? Or that the data isn't copied?
×
×
  • Create New...

Important Information

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