Questions tagged [minecraft-modding]
For questions about modding Minecraft, regardless of the edition.
239
questions
0
votes
2
answers
639
views
Minecraft Bedrock behaviors: drop items for player/owner?
I'm making a simple behavior pack for Minecraft's Bedrock Edition for my own experimenting - the aim is to get tamed wolves to play fetch. The behavior pack is valid and loading, as it sort of works, ...
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
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'...
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 ...
0
votes
1
answer
678
views
How do I use the Minecraft Coder Pack on Linux
I downloaded the Minecraft coder pack to mod the game and decompile it, but how do I use it on Linux. Some sources seem to give specific directions, but they are not clear and they involve executing ...
0
votes
1
answer
89
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
3
answers
39k
views
Why does Mojang write Minecraft in Java [closed]
Is there any specific reason why Java was the right choice for Minecraft?
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
0
answers
136
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. ...
4
votes
1
answer
762
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 ...
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
99
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
32
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
1
answer
744
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
421
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:
...
2
votes
1
answer
768
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
215
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
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
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
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 ...
2
votes
1
answer
2k
views
How can I teleport seamlessly, without using interpolation?
I've been implementing Bukkit plugin for creating toggleable in-game warping areas that will teleport any catched entity to other similar area.
I was going to implement concept of non-Euclidean maze ...
11
votes
4
answers
7k
views
How do you make Minecraft mods? [closed]
I want to make my own Minecraft mods and I'm wondering what I need to do to get started. Is there any good software or anything for it?
0
votes
1
answer
596
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:
...
1
vote
1
answer
143
views
How can I add my custom mob to my minecraft game?
So, I'm obviously not a very experienced mob maker, so ill just get to the point. after I made a custom mob, I had no idea where to put it, how to make sound, how to make an egg for it etc. would ...
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
/...
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 ...
0
votes
4
answers
1k
views
XNA transparent objects?
I've working on a voxel like game like Minecraft, but I'm not sure how I should handle alpha. I've got the world split into chunks and I render each chunk, I have things like leaves which have alpha ...
0
votes
0
answers
119
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 ...
0
votes
1
answer
121
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
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
1
answer
422
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 ...
0
votes
0
answers
324
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
446
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
236
views
Mcreator (Minecraft Mod-making) Compile Error [closed]
I'm trying to make a tool pack but every time I get the message:
...
3
votes
1
answer
26k
views
How do I decompile Minecraft?
I'm trying to get started modding Minecraft. I opened up the minecraft.jar file in Eclipse, but it doesn't contain what I expected.
In this tutorial the presenter ...
-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, ...
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 ...
2
votes
2
answers
7k
views
Is Minecraft's source code available? [closed]
I recall Mojang stating they would release the source code of Minecraft sooner or later, but searching both on google and on Minecraft sites I wasn't about to find it.
So... is it available somewhere?...
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
432
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 ...
5
votes
5
answers
3k
views
Programming with Python in a recent version of Minecraft
I've been teaching Python programming to a friend's son using the book Adventures in Minecraft. This book comes with a starter kit that contains a pre-configured Bukkit (v.1.6.4) server, and targets ...
1
vote
2
answers
906
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
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
...