warjort
Members-
Posts
5420 -
Joined
-
Last visited
-
Days Won
175
Everything posted by warjort
-
One of your mods is trying to load client classes on the server. The error message does not say which one. I can see you have rubidium (a broken client side only mod) installed. You probably have others you don't want/need on the server?
-
Install the missing mod and for others contact the mod authors.
-
rendering overlay/ exit code -1 crashing
warjort replied to shawn earle's topic in Support & Bug Reports
Broken config file. If you don't have a backup, delete the file and it should be recreated with default values. -
Can only get Forge Server to boot without mods
warjort replied to Shikyo's topic in Support & Bug Reports
Use java 17 -
EntityData seemingly not syncing between server and client
warjort replied to Splurpy_'s topic in Modder Support
public void tick() { -- snip -- this.setClimbing(this.horizontalCollision); super.tick(); } The entity tick() happens on both the client and server. But "horizontalCollision" will probably only be calculated on the server - or more accurately for isControlledByLocalInstance() https://forums.minecraftforge.net/topic/119553-1192-solved-cannot-get-passengers-of-an-entity-when-there-are-multiple-instances-of-the-entity-in-the-world/#comment-524427 -
That is not the logs/debug.log The actual error says you have 2 copies of org.lwjgl.tinyfd somewhere on the classpath and/or in your mods folder. The information you have provided does not say where those 2 implementations are located, though 1 is part of minecraft itself (it uses it for manual loading of resource/data packs). Try without any mods. If that fixes the problem, then you will need to experiment with removing mods to locate which mod causes the problem. If you still have the problem without any mods installed, then the problem is with whatever launcher you are using setting up an incorrect classpath. If you are using the mojang launcher, post the launcher_log.txt If you are using some other launcher, then you will need to contact them.
-
Minecraft forge 1.19.4 crashes when i add optifine
warjort replied to Hightleft's topic in Support & Bug Reports
Please don't post logs in the forums, use a file sharing site. https://gitlab.com/modding-legacy/blue-skies/-/issues/159 So either get optifine to fix it or remove one of blue_skies or optifine. -
override BlockBehaviour.canSurvive() in your block. See for example DoorBlock.
-
Not true. https://github.com/MinecraftForge/MinecraftForge/blob/b398f52a7f9885b2a181092d04af9679d4fb3e6b/src/main/java/net/minecraftforge/event/entity/player/AttackEntityEvent.java#L21 There is zero possiblity the ItemStack in the player's inventory will be referentially equal to a new instance of an ItemStack. Perhaps you meant? if (item.is(ModItems.CELESTIAL_BRONZE_SWORD.get()) && !(event.getTarget() instanceof Enemy)) {
-
Checking if player is an operator [1.19.2][SOLVED]
warjort replied to RInventor7's topic in Modder Support
player.hasPermissions(2) will check if the pleyer has cheats enabled which is the equivalent of ops in single player. That will also handle the case when "open to lan" is used. Meaning guests won't have access. -
Check you have the latest version then contact the mod author.
-
Your mod class must have a default constructor (i.e. a public constructor that takes no parameters).
-
Yes. As I said in your other (duplicate) question on this topic. which if you look at that example is handled by monitoring changes to the data sent from the server.
-
[FORGE 1.18.2] How to change player skin locally
warjort replied to matsuokisho's topic in Modder Support
I don't know how many times this topic has been discussed before in this forum (you know this forum has a search function?) But I never seen it misunderstood so badly. ๐ Some obvious issues: * You use the EntityRenderers.RegisterRenderers event to register entity renderers. Same class as the AddLayers event (which you are using wrong), different subevent. * PlayerRenderers and their layers are registered against skins (really skin types) not the player EntityType. See my previous response and the javadoc of the events. * You don't understand how events work: https://forge.gemwire.uk/wiki/Events You seem to have figured out how to subscribe for the FMLClientSetUpEvent - even if the contents of that event handler are wrong, see above about RegisterRenderers. But fundamentally, you don't need to create your own PlayerRenderer(s) to add a layer to it. If you think of the analogy of an EntityRenderer as a GUI screen, then a layer is like a widget (e.g. button, scrollbar, etc.) You can add a layer to the exisiting entity/player renderers without having to write your own renderers. That's the whole point. In fact, totally replacing vanilla entity renderers is just going to likely cause your mod to be incompatible with other mods and probably lead to crashes. While I'm complaining ๐ Plase post logs to a file sharing site, not in the forums. -
I already told you this is not a teaching forum. Why do you keep spamming the same question? If you want your question answered you need to show what you have tried (preferably by posting your code on github) and explain which part doesn't work as you expect. That also means doing your own research instead of expecting to be spoon fed answers. We do not write your mod for you. Here's how the process should go: * I want to make an item that destroys a block on right click * Which item(s) in minecraft modify blocks on right click? (I know, the ShovelItem to make path blocks from dirt) * Look at the code for that item to see how it works * Test your implementation and if it doesn't work try to understand why * If you truly can't see why it doesn't work after putting some real effort in yourself then ask here Instead, you are jumping straight from the first step to the last step. Which will almost certainly mean your lazy question just gets ignored or gets a sarcastic comment like the above.
-
Accessing field within non-public subclass using reflection?
warjort replied to SpectralGerbil's topic in Modder Support
https://forge.gemwire.uk/wiki/Access_Transformers There is a bot on forge's discord where you can lookup the runtime field and method names. -
These are the Forge support forums. MCP is a gradle script that uses some of the same tools used to make Forge. That does not mean MCP is Forge. Similar to how starting a football team that wears red shirts does not make your team Manchester United. ๐