Questions tagged [minecraft-modding]

For questions about modding Minecraft, regardless of the edition.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 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: ...
4
votes
1answer
159 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
0answers
33 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 ...
0
votes
0answers
19 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 ...
1
vote
0answers
17 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. ...
1
vote
0answers
24 views

Looking for a 1.17 fabric minecraft mod that announces when nether portals are used

Does anyone know of a simple way to make a mod that puts a player's name and coords in chat on use of a nether portal (both ways), for a server that I have?
0
votes
0answers
38 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 ...
0
votes
0answers
45 views

How to change block color in Minecraft Forge 1.16?

I want to make grayscale mod in Minecraft Forge 1.16 and now, I want to change block color. Here is my codes: com/kg/kgmcmod/KGMCMod.java: ...
0
votes
0answers
21 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 ...
1
vote
0answers
43 views

How do I make a Minecraft mob out of a Blockbench model? [closed]

Using blockbench, I have made and animated a Minecraft mob model, but the Internet is not clear on how I should get it into Minecraft. How do I make a mob out of it (including where I would put the ...
1
vote
0answers
26 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 ...
0
votes
0answers
24 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 ...
0
votes
0answers
16 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, ...
1
vote
0answers
20 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. ...
1
vote
0answers
45 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
0answers
34 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 (<...
0
votes
1answer
48 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
1answer
76 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
0answers
41 views

How do I make the player invulnerable using Fabric modding?

I am making a Minecraft mod using the fabric mod loader and I want to make the player invulnerable for a duration when they eat a certain food item. I don't know how to manipulate anything concerning ...
0
votes
1answer
51 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
1answer
51 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
1answer
82 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
0answers
31 views

how to add a mob to Minecraft [1.16] [duplicate]

I have tried to search around google, Bing, and Minecraft forums. I wand to ADD a NEW mob to the game. ------------ requirements for the answer ------- it has to be compatible for 1.16.4 it has to be ...
0
votes
0answers
56 views
1
vote
2answers
422 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
0answers
141 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
1answer
145 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: ...
-1
votes
1answer
122 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
1answer
155 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
0answers
76 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
1answer
81 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 ...
12
votes
2answers
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. ...
0
votes
1answer
5k 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
0answers
468 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
1answer
48 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
1answer
3k 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
1answer
644 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
0answers
66 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
1answer
84 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 ...
1
vote
3answers
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 ...
1
vote
3answers
364 views

How minecraft manages interactable blocks (Chest)?

I am wondering, how does minecraft handle blocks like chest? I guess normal blocks are ids in simple array, but how does it store and references blocks with special behaviour?
0
votes
1answer
2k views

Unsupported API version on Spigot 1.14 snapshot

I'm (trying to) develop a plugin for Spigot Minecraft 1.14.2. I have tried putting both api-version: 1.14.2 and ...
0
votes
1answer
138 views

How can I use Cocoa beans in Minecraft Forge custom crafting recipes?

I'm creating a Minecraft mod with Forge, and I need to create a custom crafting recipe that uses cocoa beans. However, when I try to create the recipe, it does not work (as in, I cannot craft items ...
1
vote
1answer
197 views

How can I get old Minecraft style terrain biome selection?

I'm using this post as a reference for what I'm doing. The real thing of interest is this: As you can see, this is a Whittaker diagram, with temperature and rain considerations. So would this be ...
0
votes
0answers
59 views

Minecraft Optifine - where is the zoom class?

I'm working on a mod where I want to have a zoom feature like Optifine. To start out, I want to try messing around with the zoom in the actual Optifine mod. There are a lot of .class files, and I don'...
1
vote
0answers
29 views

Where do I write code in my minecraft modding environment?

So this is probably a stupid question but I'm just beginning so I hope someone can help. I set up my whole modding environment in eclipse but the problem is that I don't know where to start writing ...
1
vote
1answer
424 views

How can I make an entity invulnerable to fall damage?

I've been using minecraft forge 1.12 to make a mod that gives the user super-jumping abilities. However, I've been having trouble making the player invincible to fall damage. I've tried to use a ...
0
votes
1answer
1k views

Minecraft modding 1.12 draw image

I want to draw an image that I created but the image is too big. Now I want the Gui to scale the image to a reasonable size, but when I change the width and height it doesn't make the image scale down/...
0
votes
1answer
436 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
1answer
412 views

Minecraft/OpenGL - Create Multiple viewports

I'm working on a project for the game and i have been trying to draw a second smaller "window" that would act like a second camera, independent from the player. I have looked into glViewport however ...

1
2 3 4 5