Questions tagged [minecraft-modding]

For questions about modding Minecraft, regardless of the edition.

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

MCP Decompile Errors (910)

I am installing MCP 910 for client development. When I decompile (decompile.sh) it troughs an error: ...
user avatar
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 ...
user avatar
0 votes
1 answer
69 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 ...
user avatar
0 votes
0 answers
19 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>...
user avatar
1 vote
1 answer
45 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 /...
user avatar
0 votes
0 answers
18 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?
user avatar
  • 1
2 votes
0 answers
121 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 ...
user avatar
  • 21
0 votes
0 answers
56 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 ...
user avatar
  • 1
1 vote
0 answers
33 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 ...
user avatar
1 vote
2 answers
267 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'...
user avatar
0 votes
0 answers
22 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 ...
user avatar
0 votes
0 answers
97 views

InvalidPluginException: Unsupported API version in Minecraft Mod

build.gradle For Compile ...
user avatar
  • 1
0 votes
0 answers
62 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 ...
user avatar
0 votes
1 answer
77 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 ...
user avatar
0 votes
1 answer
94 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 ...
user avatar
0 votes
0 answers
50 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 ...
user avatar
0 votes
1 answer
109 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 ...
user avatar
0 votes
0 answers
181 views

Gradlew not finding JAVA_HOME properly

Recently, I've been wanting to develop a Minecraft mod using Fabric, but Gradlew is stepping in the way, erroring out all the time. Here's my error: ...
user avatar
4 votes
1 answer
406 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 ...
user avatar
0 votes
0 answers
40 views

Minecraft Mod Development - Executing Commands from within the Mod

I'm making a Minecraft Mod for 1.16.5 that gives players a portal gun from the Valve Portal games. There's a mod that implements the portals, but it's development environment is broken and the ...
user avatar
0 votes
1 answer
40 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 ...
user avatar
  • 1
0 votes
0 answers
25 views

Minecraft Bedrock Debugging

I'm working on resource and behavior packs in Minecraft Bedrock and find it difficult to debug. For example, an entity that I've defined won't show up because of an invalid attribute in the JSON file. ...
user avatar
  • 101
0 votes
0 answers
87 views

How to create a custom recipe in Minecraft 1.16.3

Many mods has their own custom recipes and a specific block that uses the recipe. I hope to create a compressor and its recipe, but can't find out how. Most tutorials I found was out-dated, so I'm ...
user avatar
0 votes
0 answers
34 views

How do items in Minecraft Bedrock behavior packs get their textures?

I'm trying to create an addon for Minecraft Bedrock edition and I'm trying to create new items. I want to keep things consistent with how the vanilla pack sample works. However, I can't figure out how ...
user avatar
0 votes
0 answers
28 views

How do you create more mob variants with addons?

I hope this isnt off topic... I've been trying to create another color, or variant as the technical term, for a minecraft axolotl. The json for the axolotl is kinda ...
user avatar
0 votes
0 answers
28 views

How can I parse all items in the Minecraft chest getting all data from each item? (including custom item description on servers)

There is an items store on the server I'm playing on. What I would like to do is to parse all items in this store so I can quickly find a needed one. Since I'm 99% sure there is no ready-made ...
user avatar
  • 1
0 votes
0 answers
17 views

How to load resources without resource loader?

I want to load resources so I can use Patchouli. I'm making a 1.16 modpack so I cannot use resource loader (which is on 1.7 - 1.12). How can I load resources? Do I have to make a minecraft mod? Also, ...
user avatar
0 votes
0 answers
29 views

How can I get full list of Minecraft recipes as images?

I would like to create my own Minecraft recipes book, so I would like to get Minecraft recipe images. Ideally, it should be ready-for-use images like - The problem with this image is its low quality. ...
user avatar
  • 101
0 votes
0 answers
55 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 ...
user avatar
  • 101
0 votes
0 answers
35 views

How do you create multiple blocks with minecraft addons?

I've seen a question like this and I followed the directions they gave (Adding a blocks folder into behavior pack etc.), but I can't seem to get a result, it could be because I want to make 2 blocks (<...
user avatar
0 votes
1 answer
59 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 ...
user avatar
0 votes
1 answer
128 views

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

I'm trying to make a tool pack but every time I get the message: ...
user avatar
0 votes
1 answer
89 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?
user avatar
0 votes
1 answer
111 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 ...
user avatar
-2 votes
1 answer
91 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, ...
user avatar
1 vote
2 answers
590 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'...
user avatar
0 votes
0 answers
272 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 ...
user avatar
2 votes
1 answer
152 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: ...
user avatar
0 votes
1 answer
168 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, ...
user avatar
  • 3
0 votes
1 answer
170 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 ...
user avatar
  • 1
0 votes
0 answers
114 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 ...
user avatar
0 votes
1 answer
91 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 ...
user avatar
  • 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. ...
user avatar
0 votes
2 answers
7k 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 ...
user avatar
  • 101
2 votes
0 answers
514 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 ...
user avatar
  • 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 ...
user avatar
0 votes
1 answer
4k 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. ...
user avatar
0 votes
1 answer
706 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 ...
user avatar
  • 1
0 votes
0 answers
67 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 ...
user avatar
  • 1
0 votes
1 answer
105 views

How do I fix a "missing mcp.cfg" error?

I am trying to use mod coder pack (MCP) to create mods of my own. I have downloaded MCP 9.4 version from www.modcoderpack.com. The error that I have encountered is that when I try to run a file called ...
user avatar
  • 1

1
2 3 4 5