
warjort
Members-
Posts
5420 -
Joined
-
Last visited
-
Days Won
175
Everything posted by warjort
-
Rendering a box to an entity using a RenderLayer
warjort replied to MaiTheLord's topic in Modder Support
That's not specific, that's the whole thing. 🙂 You would be better looking at some vanilla examples, e.g. the CustomHeadLayer which renders if the entity is wearing a skull It sounds similar to what you are trying to do. -
Rendering a box to an entity using a RenderLayer
warjort replied to MaiTheLord's topic in Modder Support
You seem to have described how to implement it? Explain which part(s) you are having problems with. Showing the relevant parts of your code would be useful for this. -
I am not sure how that would fix it? The problem seems to be curseforge is not downloading the forge jars for some reason - probably due to OS file permissions on the (parent) folders of the curseforge installation folder? java does not seem related to this (curseforge is written in c++). But it is their software so what do I know? 🙂
-
Error (1.18.2). game crashed whilst rendering entity in world
warjort replied to Miflux's topic in Support & Bug Reports
you have firstperson for minecraft 1.19 but are using 1.18.2 firstperson-forge-2.1.0-mc1.19.jar I also don't see NotEnoughAnimations in your mod list. Maybe I missed it? It says that is a dependency on the mod page. -
1.18.2 keeps Freezing(no respond) before showing Mojang logo
warjort replied to lzsbhehe's topic in Support & Bug Reports
If you know the problem mods, you should report it to the mod authors. You should also report it to the modpack author in case they have seen the problem before. Other things: It is not a good to use spaces in a folder name. Often mod developers don't handle this properly. You don't seem to be logged in properly? -
Maybe you can contact mojang to see if they have a problem with their local server.
-
Where are you located? Maybe the "shard" server in your region has a broken file. But if that was true, I would expect a lot of people complaining about broken minecraft installs. 🙂
-
Delete it. It should redownload. If it does not, there is something wrong with the download process. The file at the location above downloads fine for me.
-
It should be the same as this file, which is 32388 bytes long. https://piston-meta.mojang.com/v1/packages/bce21f96530d9b66a8bf81a4187e31e12cde099f/1.19.json
-
Can you look at mcp_repo/versions/1.19/version.json Does it look like it ends too early like the error message says?
-
I am not sure I understand, but you mentioned ray trace Maybe you want entity.pick() which uses level.clip()? e.g. Forge's debug overlay determining which block/fluid is being looked at. https://github.com/MinecraftForge/MinecraftForge/blob/c2225ab1da58cf8eb3ac3aab1aab73f2d7a696fa/src/main/java/net/minecraftforge/client/gui/ForgeIngameGui.java#L895
-
1.19 forge issue game crashes on start, Exit code -1
warjort replied to Wr3witsbubby's topic in Support & Bug Reports
The 1.19 optifine preview does not work with forge. See https://optifine.net/changelog?f=preview_OptiFine_1.19_HD_U_H8_pre1.jar -
You have three different errors. All saying you have corrupted configuration files. "falling trees", "enlightened/nourished end" and "additional additions" The errors dont say what the files are called. they will be in the config folder of your minecraft folder. If you can't find them, contact the mod authors to ask what they are called. Usually if you delete a configuration file it will be regenerated by the mod with default values. Copy the files somewhere else before deleting, just in case you need to refer to them later.
-
Updating Player Position and Velocity on Server
warjort replied to DanielP1's topic in Modder Support
I don't really know what the acceptable limit is. I would try to be conservative so people don't shout at you. 🙂 100 players = 2000 packets/s the server has to send, on top of normal game packets. -
Updating Player Position and Velocity on Server
warjort replied to DanielP1's topic in Modder Support
Its not just 1 packet every tick. Its potentially 1 packet to the server, then 1 packet to every other player. -
BufferBuilder rendering black and purple texture
warjort replied to GenericMinecraftModder's topic in Modder Support
Actually I think your problem is that you should be doing You are looking for minecraft/textures/sky/earth.png if you don't specify your MOD_ID. -
BufferBuilder rendering black and purple texture
warjort replied to GenericMinecraftModder's topic in Modder Support
Is your sun texture really called earth.png? A black and purple square is minecraft's way of saying "missing texture". Try doing the following in that method: System.out.println(Minecraft.getInstance().getResourceManager().getResource(SUN_TEXTURES)); -
Updating Player Position and Velocity on Server
warjort replied to DanielP1's topic in Modder Support
Spit balling: If it is just for a player, you could just do the calculation on the client. Then send a network packet to the server when your "out of breath" happens so it can do whatever processing you need it to do. This will be more efficient and won't swamp the network with your position packets. The only additional network traffic is your out of breath packet. There is nothing wrong with doing stuff on the client if it is more optimal. But any state changes that need saving or sending to other players need to be done on the server. Of course this assumes you trust the client. Somebody could hack a client that removes your processing. 🙂 -
I don't know if you can really answer your question on this one. I can't say I have ever properly understood how this works. 🙂 This is kind of an exception to the sides rule (every rule has an exception, including this one!) Mostly the client calculates the movement for a player and then sends positions to the server, while for everything else it is the server. But there exceptions to this, e.g. if an entity is being riding by a player, but not for a pig without a carrot on a stick. There are couple of methods Entity/Mob.isControlledByLocalInstance() and LivingEntity.isEffectiveAi() that get used for some of this logic. The takeaway for you is, I don't think Entity.getDeltaMovement() is very reliable on the server for a player, I don't think the client ever sends its value to the server either. But it shouldn't really matter to you either? Because the place where it is doing the real calculation you should have a good value. But maybe I am wrong about that?
-
Cant launch minecraft with forge 1.19
warjort replied to dami0nline's topic in Support & Bug Reports
The 1.19 optifine previews are not compatible with forge, see the release notes: https://optifine.net/changelog?f=preview_OptiFine_1.19_HD_U_H8_pre2.jar -
The error message says your fairlylights config file is corrupted config/fairylights-client.toml One thing you can try is to delete it (copy it to somewhere else first). Usually if you delete a configuration file, the mod will recreate it with default values. I hope this is your only problem file.
-
Looks like it could be this known issue: https://github.com/TheCyberBrick/Spiders-2.0/issues/52? A server tick is taking more than 60 seconds. The server thread is currently doing entity pathfinding in that mod.
-
You probably want to use AbstractHorse instead of TamableAnimal? Horses also have a taming mechanic. If you don't like that method, you can always try to copy the taming code from TamableAnimal into your new entity. Doing it the other way around would probably be a lot more work.