Questions tagged [minecraft-modding]
For questions about modding Minecraft, regardless of the edition.
239
questions
0
votes
1
answer
91
views
Unknown enum type when modding Minecraft recipes with CraftTweaker
I want to make some new Recipes with CraftTweaker, which uses machines from the Create mod (I'm using Life In The Village 3), but I have the following error in my scripts:
...
0
votes
0
answers
179
views
Opening JSON UI screens from entities/blocks
I'm making a Bedrock Edition mod with JSON, and I want to be able to specifically open a JSON UI screen within events of a behavior pack or in a script.
...
0
votes
1
answer
221
views
How do I implement Minecraft Forge Config GUI (1.8.x)
So I have recently been working on a minecraft 1.8.9 forge mod, just to play around and see what there is (eventually I am planning on making a utilities mod with versions for 1.8-1.19, which is why I'...
0
votes
0
answers
140
views
Minecraft forge 1.18.2 crafttweaker giving errors whenever I try to import anything into scripts
I am building a modpack right now, and I want to add the ability for the Orechid from botania to generate mekanism ores
I installed crafttweaker, and I set up a development environment without issues. ...
1
vote
0
answers
68
views
Where to find comprehensive Forge documentation?
There are a lot of things I'm trying to accomplish with a Minecraft mod. Some of it seems rather academic but finding a complete source of documentation is, well ... something for which I should hire ...
0
votes
1
answer
17
views
How to generate all possible lang fields for a modded Minecraft pack?
I want to translate a modpack Tekkit2 in Minecraft. According to Minecraft wiki one has to create a resource pack and map identifier-translation pairs to a json file. However in order for the ...
0
votes
0
answers
100
views
Is there any good way to get the current player's speed or player object in minecraft forge 1.19.2
I am making a mod that tells you your current speed on the screen. My current issue is how to get the speed.
My attempt consists of my knowledge that the ...
0
votes
0
answers
33
views
What does it mean for a minecraft chunk to NOT have a block_entities key?
Minecraft's Anvil chunks (r.#.#.mca) typically have a block_entities tag which defines all the blocks in the chunk. Parsers like ...
0
votes
0
answers
73
views
dynmap rendered map not loading on web page
I want to create a locator map that shows the location of all players on the server/in the world on minecraft.
I am trying to use the 'dynmap' plugin to do this.
I ran the command:
...
0
votes
0
answers
56
views
Eyedropper tool within Minecraft Java
I'm trying to make an eyedropper tool (one where it picks up the color the tool is being pointed at) for a Minecraft mod that uses Forge on IntelliJ IDEA. I already have the item/tool ready and able ...
0
votes
1
answer
293
views
Registering recipe for Minecraft with Forge on IntelliJ
I'm using Forge on IntelliJ IDEA to make a mod for Minecraft, and I think I am stuck on where I need to register a recipe for an item.
How I got to that idea:
I tested it out and everything worked. No ...
0
votes
1
answer
73
views
Where am I able to find the things that were imported using Java on IntelliJ?
I am trying to build a Minecraft mod with Forge on IntelliJ, and I am wondering where I can find the parts that are being imported.
For example:
...
0
votes
0
answers
423
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
216
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
1
answer
67
views
How to inspect code relating to specific content like villagers?
I’m trying to make an add-on for Minecraft Bedrock edition.
I am following tutorials. How do I see the code of certain stuff so that I know how to edit it? Some of the stuff I'm going to be making ...
0
votes
1
answer
597
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
747
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:
...
2
votes
2
answers
770
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 ...
1
vote
1
answer
265
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
/...
2
votes
1
answer
769
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 ...
0
votes
0
answers
121
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
vote
0
answers
53
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
1k
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
180
views
InvalidPluginException: Unsupported API version in Minecraft Mod
build.gradle
For Compile
...
0
votes
0
answers
326
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
252
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
447
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
1
answer
423
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
763
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
68
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 ...
0
votes
0
answers
163
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 ...
0
votes
1
answer
77
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 ...
0
votes
1
answer
236
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
167
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
433
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
108
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
908
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
589
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
172
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
262
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, ...
0
votes
1
answer
196
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
...
0
votes
0
answers
196
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
112
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 ...
15
votes
2
answers
8k
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
11k
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 ...
2
votes
0
answers
568
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 ...
0
votes
1
answer
73
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 ...
0
votes
1
answer
6k
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. ...
0
votes
1
answer
858
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 ...
0
votes
0
answers
70
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 ...