Questions tagged [minecraft-modding]
For questions about modding Minecraft, regardless of the edition.
241 questions
0
votes
0
answers
53
views
LootJS/Forge GLM injecting items fails due to mod-internal overwrite (Apocalypse Now/Lost Cities)
I am trying to have modded items in the chests of lost cites mod, and there is this problem I am facing, in which a mod called Apocalypse Now automatically injects its mod items into the chests ...
0
votes
0
answers
192
views
Voxel Raycasting/ Divide A Line In 3D Into Small Portions
I have a voxel game where I want to know which block the players camera is facing. To do this I have a line the distance allowed for the player to interact with the world cast from the center of the ...
1
vote
0
answers
48
views
How to configure multi-project for minecraft server mod for different ports using common code with minecraft mappings?
I want to make a gradle multi-project to port a server mod I made for Forge to Paper.
The problem I'm facing is that the common project doesn't recognise any ...
1
vote
0
answers
66
views
How to make a Minecraft Villager walk to a Location?
For Minecraft, utilizing the Bukkit/Spigot API, I have a LivingEntity Villager that I would like to path, or "walk" to ...
0
votes
1
answer
278
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:
...
1
vote
0
answers
146
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
0
answers
105
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
267
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:
...
1
vote
1
answer
125
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
2k
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:
...
1
vote
1
answer
360
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
161
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 ...
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
703
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
719
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 ...
5
votes
1
answer
2k
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
0
answers
320
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
297
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
1k
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 ...
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'...
2
votes
1
answer
192
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
261
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
1
answer
140
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 ...
0
votes
2
answers
14k
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 ...
0
votes
1
answer
88
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 ...