Questions tagged [minecraft-modding]
For questions about modding Minecraft, regardless of the edition.
237
questions
0
votes
2
answers
117
views
How is it possible that Minecraft save files are so small?
I want to make a game almost like Minecraft using Three.js, but something that stumps me is how you have over 100,000 blocks in a world and the save files are not that big in size. How does Mojang ...
0
votes
0
answers
42
views
Obtaining randomGenerator's seed for Ender Crystal spike generation (pre-1.9)
I had an old world of mine that I wanted to re-create. I managed to obtain the world seed, so the Overworld and the Nether were ready, but the End not so much. Even though the island was generated ...
0
votes
0
answers
39
views
Multiplayer Entities And Player Storage Systems
https://github.com/Zylann/voxelgame/issues/103 How can entities and player storage work for this demo? Are there any examples or prototypes?
Goal: Minecraft style entity and player storage system. ...
0
votes
1
answer
170
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
1
answer
464
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'...
1
vote
0
answers
117
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
23
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
73
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
459
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
146
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
631
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
332
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.
1
vote
1
answer
84
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
2
answers
1k
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
1k
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:
...
3
votes
2
answers
1k
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
306
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
1k
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
138
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
67
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
2k
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
199
views
InvalidPluginException: Unsupported API version in Minecraft Mod
build.gradle
For Compile
...
0
votes
0
answers
546
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
332
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
600
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
604
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 ...
5
votes
1
answer
1k
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
87
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
253
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
80
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
264
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
229
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
670
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
115
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
1k
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
731
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
173
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
337
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
213
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
225
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
120
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
13k
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
584
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
78
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
7k
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
924
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
73
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 ...
0
votes
1
answer
131
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 ...
2
votes
3
answers
1k
views
How can I make a custom mob that looks like the Enderman?
I have previously made two other mods that added in mobs. In order for the mob to look like a wolf, I needed the wolf.java file (Found online).
Without setting a defined java file, the mob will use ...