Questions tagged [minecraft-modding]

For questions about modding Minecraft, regardless of the edition.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Multiple subcommands in the same command

I am trying to make a command that has multiple children that each do a different thing. To visualise what I am trying to do, here's an image: I have tried to use ...
0 votes
0 answers
44 views

Modpack crashes by generating and entering a world

My own Modpack is chrashing every time I want to generate a new world or want to enter an existing (from older versions or vanilla) I getting this error: ...
0 votes
0 answers
24 views

Create Minecraft entity that stays in front of the player

I'm trying to replicate the Elemental Burst of Hu Tao from Genshin Impact. [Editor's note: this is where you should include an image or animated gif showing the effect you want to replicate] I need to ...
0 votes
0 answers
29 views

Teleport to multiple entities

I wanted to create an ability that teleported you, one by one to a specific entity in a certain range (in mcreator) someone can help me?
0 votes
0 answers
42 views

Sword that teleports you

I've been trying to make a sword (in mcreator) for a while that not only teleports you forward (which I managed to do) but turns you to the side where you used the skill (to strike the opponent ...
0 votes
0 answers
44 views

How do I do damage with spawned particles with MCreator?

I would like to create a sword that summons particles that do damage (like the katanas of the demon slayer mod) could someone help me? I've been trying for days.
0 votes
0 answers
29 views

How do I make it so that when the player joins the world in MC 1.18.2 Forge, a message is sent out that is clickable in chat?

I am trying to make a message be sent out in chat when a player joins a world using my mod in 1.18.2 forge (Minecraft) that, when clicked, trys to open a link to the bugs page on github. I can't find ...
0 votes
0 answers
26 views

Minecraft Mod Textures not showing

So when I created a minecraft mod and tried adding a item and block(I was using Intellij)The texture wont show and instead there was the famous black and pink thing,is there a fix to this some people ...
0 votes
0 answers
33 views

How to inspect code relating to specific content like villagers?

I’m trying to make an add-on for Minecraft Bedrock edition. I was following the tutorials but have a quick question: how do I see the code of certain stuff so that I know how to edit it? Some of the ...
0 votes
1 answer
98 views

Custom Recipes in Minecraft Modpack (other Error)

I want to have a new Recipe with crafttweaker, which using machines from the create mod, for Netherrack like this Im playing Mc 1.16.5 At the moment I tryed this code in \scripts\MyRecipes.zs: ...
0 votes
1 answer
58 views

Custom Recipes in Minecraft Modpack

I want to have a new Recipe with crafttweaker, which using machines from the create mod, for Netherrack like this At the moment I tryed this code in \scripts\MyRecipes.zs: ...
0 votes
0 answers
34 views

MCP Decompile Errors (910)

I am installing MCP 910 for client development. When I decompile (decompile.sh) it troughs an error: ...
0 votes
0 answers
27 views

Problems animating entities with OptiFine

I am making an unofficial Minecraft mod using fabric mod loader for Minecraft. I want to animate the appearance of armor on a player using OptiFine as a dependency through the OptiFabric mod. I have ...
0 votes
1 answer
174 views

How to create persona pieces for Minecraft Bedrock?

I'm learning addons creation for Minecraft Bedrock. I learned about the creation of resource packs and behaviour packs, following some tutorials like the ones provided by FoxyNoTail. Now I want to ...
0 votes
0 answers
46 views

Fabric Set Up issues

i am a total novice. i am trying to set up IntelliJ IDEA to edit a fabric mod. I've installed the Minecraft Development plugin and cloned the project using git hub desktop. then i went file>New>...
1 vote
1 answer
91 views

Change Minecraft Drowned sounds with resource pack?

I'm trying to change the Drowned sound effects in Minecraft Java edition 1.18, but they don't change. What file structure and files are needed change the sounds? I tried putting the files under both /...
0 votes
0 answers
23 views

How to draw skin face minecraft modding

I'm making a target hud which shows the information of the player you are fighting. I wanna take the face of the target and draw it on the screen. Any help?
  • 1
2 votes
1 answer
237 views

How to get player coordinates in Minecraft Forge?

I'm currently working on a Minecraft mod (Minecraft 1.12.2) using Minecraft Forge where the player can use a hotkey to send out a "SOS" message in a discord-server using a discord-bot. This ...
  • 21
0 votes
0 answers
68 views

How do I make something like Minecraft's crafting table

I'm making a mod for version 1.16. I want to make a crafting table with 3x3 grid which is automated. I need it to implement and read other mod recipes and minecraft recipes. I need to know how I to ...
  • 1
1 vote
0 answers
36 views

How to find the locations of all the trees in Minecraft?

I am working on coding a bot for Minecraft in Java. The first step is to find trees in the world. I am using mcp-reborn (so basically the source code) but answers in Forge can also be useful to me. I ...
2 votes
2 answers
481 views

How would I actually implement A* pathfinding in a 3D world?

I have been trying to implement pathfinding in Minecraft for a while. Everything is in blocks, so this shouldn't be too difficult. I have gone through a lot of different posts and articles but I haven'...
0 votes
0 answers
23 views

How to make doors that only one player team can use?

I am creating a minigame in Minecraft Education Edtion. In this minigame there is a killer and survivors. So I set it so 1 person is a killer and the reset are survivors. In the game there are doors ...
0 votes
0 answers
121 views

InvalidPluginException: Unsupported API version in Minecraft Mod

build.gradle For Compile ...
  • 1
0 votes
0 answers
89 views

What math function represents Minecraft bow angle/height?

I am working on a mod in Minecraft Forge/MCP using Java. Aiming a bow is controlled by your head pitch and yaw rotation. Right now I have a math function that automatically looks at the target. But I ...
0 votes
1 answer
119 views

How do I predict where a player will be next in Forge/MCP?

I am trying to predict where a player will be next based on where they are now in Java. I have their XYZ position, their XYZ motion, but I don't have their speed. How can I predict where they will be ...
0 votes
1 answer
164 views

How to execute code more frequently than once per tick in Minecraft Forge/MCP?

I'm working on a mod for Minecraft in Java. How can I make something happen every half tick? If I run my code in the tick function, my code is called 20 times a ...
0 votes
0 answers
98 views

How to find player movement speed in Forge/MCP?

I want to predict where a player will be next based on where they are now. I have access to their XYZ, their motion in each direction, but I don't know how fast they are moving. Let's say that the ...
0 votes
1 answer
167 views

How to gradually interpolate smoothly between two yaw rotations in Minecraft MCP/Forge?

I am coding a custom client for Minecraft using MCP. (Please no hate, I'm not making a hacked client!) I have two variables currentYaw which is the current yaw ...
4 votes
1 answer
523 views

How can I create a Minecraft: Bedrock Edition add-on?

I would like to create a custom add-on for Minecraft: Bedrock Edition, but I'm not understanding everything involved with getting started. After reading a few tutorials, I have some understanding of ...
0 votes
1 answer
47 views

How do I get the player from the LivingEntity so I can make this knockback effect on the amethyst sword?

Like the title says, how do I get the player from the LivingEntity so I can make this knockback effect on the amethyst sword? i want the amethyst sword to give knockback 10 to any entity i hit and in ...
  • 1
0 votes
0 answers
68 views

How to implement Minecraft's terrain generation?

I'm working on a server-compatible Minecraft client. That's quite easy right now, as most of the gameplay is handled server-side, and the client simply has to take care of the rendering. Since the ...
  • 101
0 votes
1 answer
66 views

How can I mod a Minecraft slime to be about the size of a full block?

I want to make the slime's size roughly the size of a full block, I have tried some values but I'm not sure if any of those I tried fit the idea I have. What would you recommend for the size of the ...
's user avatar
0 votes
1 answer
176 views

Mcreator (Minecraft Mod-making) Compile Error [closed]

I'm trying to make a tool pack but every time I get the message: ...
0 votes
1 answer
101 views

How to morph a player character into another entity in MC JAVA 1.16-1.17?

I want to add morphs into my game. Is there any command/code/resource I can use to make someone morph into an entity?
0 votes
1 answer
152 views

how to ADD a NEW entity/item/effect to Minecraft Java

In Minecraft Java, I am creating many resource packs by myself (no studio or external resource) so, I want to ADD a new file/entity/element/items/etc. to the game to not replace an old item because ...
-2 votes
1 answer
96 views

Is it possible for Minecraft to use time-dependent in-game progression rather than current tick-dependent?

I see the problem of the current tick-dependent approach to propel the in-game progression. The drawback of this tick-dependent approach is that if a computer running the game is not powerful enough, ...
1 vote
2 answers
663 views

Crash when Setting Up Minecraft 1.12.2 Mod in IntelliJ

I'm trying to set up a Minecraft modding environment in IntelliJ. (I've settled for 1.12.2 as this version still by far the largest stable platform for Forge modding with the best support.) Anyway, I'...
0 votes
0 answers
363 views

How to set an exact pitch in Minecraft Java 1.16.1 Resource Pack

I'm trying to make a resource pack in Minecraft Java 1.16.1. The pack will replace all of the Minecraft sounds with LoZ BotW sounds. The first thing I did was put the BotW pickup sound in place of the ...
2 votes
1 answer
156 views

Potion effect never wears out

I am writing a mod for Minecraft (in Java, duh) and want to apply a random potion effect like this: ...
0 votes
1 answer
186 views

What is root.json file in Minecraft?

I found root.json file in minecraft source code and I want to know what is root.json file in minecraft. I found minecraft source code with VS Code Decompiler extension.(For find minecraft source code, ...
  • 3
0 votes
1 answer
176 views

Unknown error when trying to register a Minecraft ArmorItem

The error in question is [Inferred type 'I' for type parameter 'I' is not within its bound; should extend 'net.minecraft.item.Item'] on the following snippet of code ...
  • 1
0 votes
0 answers
134 views

Converting vertices to block coordinates

Sorry if this is the wrong place to ask this, please do tell me where a question like this is better asked. Im importing a model from another game into the video game minecraft, which uses a ...
0 votes
1 answer
103 views

Minecraft: `foot_size` doesn't work

I'm making an add-on that lets the player step over 1-block high blocks and the foot_size property is exactly what I'm looking for. The documentation says the following: "Sets the number of ...
  • 101
14 votes
2 answers
7k views

How do Minecraft know where village's buildings are if the village is not generated yet?

I'm trying to understand how chunk generation works in a deep level and all the information I found does not explain how the villages are generated properly without visual glitches during generation. ...
0 votes
2 answers
8k views

How can I use IntelliJ to make Minecraft mods?

I'm starting out creating Minecraft mods with my son. I've seen one YouTube tutorial which sets up project with Eclipse. Since I don't like Eclipse much, I ask: how would I setup IntelliJ or Android ...
  • 101
2 votes
0 answers
527 views

Forge 1.14.4 Minecraft modding: Override vanilla loot tables

I cannot figure out how to override vanilla loot tables, I've been at this for hours, and I can't find anything online. Just very outdated tutorials. I added custom crops and seeds to my mod, now I ...
  • 121
0 votes
1 answer
59 views

Are minecraft LANS and servers Filtering Enabled? [closed]

Non-filtering enabled means any given client can make changes and the server will replicate them. This is faster but opens doors for hackers and exploiters. Filtering enabled means the client provides ...
's user avatar
0 votes
1 answer
5k views

How can I change the hardness and blast resistance of Minecraft blocks?

I want to make the strength of the iron block and obsidian switch places, along with other changes to block strength and blast resistance. I am not allowed to swap the textures or anything like that. ...
's user avatar
0 votes
1 answer
731 views

How can I get the player coordinates in Minecraft

I am currently working on a client for Minecraft Java edition and I'm having an issue finding out how I can get my Minecraft character's current coordinates, client side coordinates. I would just ...
  • 1
0 votes
0 answers
68 views

No MODS button in Windows Minecraft when selecting Forge profile

I have installed a Minecraft launcher in Windows that supports Minecraft 1.14. I have installed Forge 1.14.4-forge-28.0.13. I have created the mods folder and placed a mod jar in it which is ...
  • 1

1
2 3 4 5