Jump to content

warjort

Members
  • Posts

    5420
  • Joined

  • Last visited

  • Days Won

    175

Everything posted by warjort

  1. 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?
  2. Install the missing mod and for others contact the mod authors.
  3. Broken config file. If you don't have a backup, delete the file and it should be recreated with default values.
  4. 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
  5. I just installed the latest 1.19.4 server using java 17 with no problems. It's impossible to say what your problem is without seeing the installer log.
  6. AFAIK, the installer works with any version of java back to java 8 Minecraft since 1.17 1.18 requires java 17 and mixin (used by many mods) does not work with java 19 or 20
  7. 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.
  8. 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.
  9. override BlockBehaviour.canSurvive() in your block. See for example DoorBlock.
  10. 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)) {
  11. 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.
  12. That usually happens when your computer didn't shutdown properly. Windows might not flush the files to your hard disk when that happens. Just keep fixing the config files and hope it is only the config files that are corrupted. This is why you need to make backups.
  13. Check you have the latest version then contact the mod author.
  14. Check you have the latest version then contact the mod author.
  15. Your mod class must have a default constructor (i.e. a public constructor that takes no parameters).
  16. 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.
  17. 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.
  18. Broken config file. If you don't have backup, delete it to have it generate one with default values.
  19. 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.
  20. Judging by all the posts in the support forum, the forge backend servers are down right now. Try again later, or you can try running gradle in offline mode if you already have the plugin in your gradle cache.
  21. 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.
  22. 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. ๐Ÿ™‚
×
×
  • Create New...

Important Information

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