Questions tagged [minecraft-forge]
Minecraft Forge is an unofficial API for extending Minecraft. It is built upon the Minecraft Coder Pack (MCP) and is usually updated to the latest version upon release. It is built upon java and has its own initialization system.
minecraft-forge
805
questions
0
votes
0
answers
8
views
Minecraft Mod deployment exception
I am trying to create a Minecraft mod for the Minecraft Version 1.20.1 using Forge 47.2.8 but since i added my 2nd block, Minecraft suddenly startet crashing upon startup.
--Block Register Code--
...
-1
votes
0
answers
24
views
Gradle Doesn't use correct JVM [closed]
I am currently trying to compile a basic mod build for Minecraft 1.12.2. However, when I type the gradle command it tells me:
Unable to start the daemon process.
This problem might be caused by ...
-3
votes
0
answers
26
views
Change a player's skin in-game minecraft forge 1.18.2 [closed]
I want to make a mod that with a right-click of an item (a custom one) it will change your skin to a skin I placed in the textures folder (let's say it's skin.png).
I tried going to chatGPT but it ...
-1
votes
0
answers
38
views
How to import a gradle project (Minecraft Forge Mod) into VSCode? [closed]
I downloaded the Minecraft Forge MDK (Minecraft 1.21), then I exported it into a folder called "MyModTemplate", and then opened it in VSCode.
The problem is that after I opened it, it gave ...
-2
votes
1
answer
70
views
Broader Issue with Exception Execution [closed]
I'm currently coding a Minecraft Mod in Java and I have some issues about implementing the Exception correctly.
I tried in the Class below different things:
Before I used Maps instead of List
using ...
-2
votes
0
answers
29
views
Forge Minecraft Modding - Saturation Overlay [closed]
I'm newer to minecraft modding and I am trying to figure out how I can have a saturation effect overlayed on the player's screen. I want an item to trigger this effect so that on use the world looks ...
0
votes
0
answers
28
views
SIGSEGV, problematic frame V libjvm.so, Program terminated with signal SIGABRT
So I have been trying to host a minecraft forge server from a dedicated PC running on Debian 12 and using java 17.0.11
Java Runtime Error:
# A fatal error has been detected by the Java Runtime ...
0
votes
1
answer
115
views
Minecraft 1.20 modding - [Render thread/ERROR] [minecraft/RecipeManager]: Parsing error loading recipe: No key id in MapLike[{}]
I am making a Minecraft Forge mod with custom recipes, one of which is the following
{
"type": "minecraft:crafting_shaped",
"pattern": [
"E",
"...
0
votes
0
answers
24
views
Is there a way to apply an entity tag to a method that it cannot be applied to?
public static boolean isHuman(Entity pEntity) {
return pEntity.is(ModEntityTags.HUMANS);
}
im trying to use a custom tag i made for this method however the 'is' method from the Entity ...
0
votes
0
answers
57
views
Minecraft forge 1.20.1 prevent hopper taking item from input slot
I made a block entity in forge 1.20.1, I want to prevent hopper from taking input slot item, i tried to override the extractItem method, it prevented hopper from taking input slot item, but the player ...
0
votes
0
answers
76
views
How do I change a method of an interface using mixins? using Spongepowered on Minecraft Forge 1.18.2
So I am using IntelliJ IDEA to mod Minecraft Forge 1.18.2 and I am trying to change the isEmptyBlock method of the LevelReader class using SpongePowered mixins.
But LevelReader is an interface, and ...
0
votes
0
answers
27
views
error:cant find symbol in minecraft Modding (forge) [duplicate]
I making a mod to Minecraft 1.19 using Forge MDK (41.1.0). When im trying to create an item this appears:
error: cannot find symbol
public static final DeferredRegister<Item> DORA =
...
0
votes
0
answers
49
views
Gradle dependencies are not installed when building in .jar | Minecraft Forge 1.16.5
I download MDK from https://files.minecraftforge.net/net/minecraftforge/forge/index_1.16.5.html
After building my forge mod in .jar and starting the minecraft, it gives me an error that the dependency ...
1
vote
0
answers
36
views
smooth transition of the fog color from the current value, to the set minecraft 1.12.2
so I have a code that is not working properly, which every tick with the main event handler checks if it is raining or not, if it is raining then the code in the body is executed, but it is executed ...
0
votes
1
answer
35
views
1.20 Minecraft Forge Bed Model not lining with Boundry box
Another issue. My Bed model is not lining up properly with the boundary box. IT works perfectly when facing south or east, but facing north or west puts the block one block towards east or south. So ...