Everything posted by warjort
-
Forge gets errors upon launching
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
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.
-
Destroying a block
override BlockBehaviour.canSurvive() in your block. See for example DoorBlock.
-
[Resolved] Event Not Canceling
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]
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.
-
I was trying to create a mod server in minecraft 1.18.2, but it won't let me open it with mods
Use java 17
-
can anyone tell me how to fix this ive alreadfy tried delting all config files but it still crashes heres the log
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.
-
org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Callback method
Check you have the latest version then contact the mod author.
-
Minecraft crashed
Check you have the latest version then contact the mod author.
-
How do I fix java.lang.NoSuchMethodException
Your mod class must have a default constructor (i.e. a public constructor that takes no parameters).
-
[1.19.2] Moving sound following player
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
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.
-
minecaft keeps crashing on 1.19.4 forge 1.19.4 - 45.0.46
Broken config file. If you don't have backup, delete it to have it generate one with default values.
-
How run code on server side? Forge 1.19.2 Java
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.
-
Plugin [id: 'net.minecraftforge.gradle', version: '5.1.+'] was not found in any of the following sources:
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.
-
Accessing field within non-public subclass using reflection?
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.
-
Minecraft Coder Pack
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. 🙂
-
[1.19.3] Biome won't spawn the mobs I add to it's "spawners" in the json
If you have issues with terrablender, you need to speak to them.
-
[1.19.3] Biome won't spawn the mobs I add to it's "spawners" in the json
We can't tell you what is wrong from one random configuration file. We need to know how you are using it. But just creating a biome does not add it to the default world generation, that has a hardcoded list of biomes. If you want to add biomes to vanilla worldgen, you need to use a mod like: https://www.curseforge.com/minecraft/mc-mods/terrablender
-
World saved data writes to the file too slowly [1.19.2]
You are doing it wrong. Read about "Data Storage" here: https://forge.gemwire.uk/wiki/Main_Page
-
Noob question // How level.destroyBlock(pos, false)?
Your question in its current form will likely just be ignored, see: https://forums.minecraftforge.net/topic/118559-solved1192-how-to-use-friendlybytebuf-reader-and-writer/#comment-521051
-
Minecraft crashed
There is no error in that log, post a link to your launcher_log.txt Please don't post logs directly in the forum, use a file upload site.
-
Forge 1.19: How to render an online image as a GUI item
As it says, that is not a valid ResourceLocation. A ResourceLocation is not a URL. For textures it represents a binding in the TextureManager that is typically populated during resource pack loading. If you want something more dynamic try looking at what the SkinManager does, it downloads player skins from Mojang's website. You can also use search where you will find variations of your question asked many times (along with many misunderstandings like yours).
-
I need help loading my modpack
Issue with your graphics card driver. Check you have latest version or try one of the possible fixes discussed here: https://forums.minecraftforge.net/topic/119038-1192-failed-to-run-example-mod-on-fresh-setup/#comment-522788
-
can anyone tell me how to fix this ive alreadfy tried delting all config files but it still crashes heres the log
Broken config file. If you don't have a backup, delete it to recreate it with default settings.
IPS spam blocked by CleanTalk.