-
Posts
3284 -
Joined
-
Last visited
-
Days Won
62
Everything posted by ChampionAsh5357
-
[Solved] Transparent texture parts rendered as non-transparent
ChampionAsh5357 replied to zskamljic's topic in Modder Support
I believe repeaters and comparators use the cutout render type which is done by setting the "render_type" to "cutout" in your model. -
[1.19.2] How to render a custom tooltip text box
ChampionAsh5357 replied to SoLegendary's topic in Modder Support
Screen#renderTooltip Set the style on the passed in components. In the method mentioned first. -
Rendering entity made of multiples blocks
ChampionAsh5357 replied to iFaZe_'s topic in Modder Support
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). -
Entity that spans across multiple chunks
ChampionAsh5357 replied to fruehlingsrollen's topic in Modder Support
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. -
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.
-
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.
-
Keybind and world switching downtime issues in Forge.
ChampionAsh5357 replied to Membrum's topic in Support & Bug Reports
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. -
Trying to make piston moveable chest
ChampionAsh5357 replied to MrUsername's topic in Modder Support
TL;DR, you can't. The piston logic has an explicit check against push block entities. -
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.
-
Persistent Capability data with PlayerEvent.Clone
ChampionAsh5357 replied to Darkorg69's topic in Modder Support
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. -
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).
-
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.
-
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.
-
Persistent Capability data with PlayerEvent.Clone
ChampionAsh5357 replied to Darkorg69's topic in Modder Support
This is badly formatted. Do you mean the respawn button doesn't work? Or that the data isn't copied?