Questions tagged [minecraft-modding]

For questions about modding Minecraft, regardless of the edition.

45 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
149 views

Scoreboard setdisplay list shows correctly per char. Can i make my sidebar show correctly per char as well?

So I've been writing a script over the last little while in Python that interacts with the Minecraft console. I'm basically trying to make a scoreboard based currency system that is world independent ...
3
votes
0answers
254 views

How to smooth low-res sampling of noise for voxel terrain

I am attempting to create a new terrain generator as part of a minecraft mod, which works very well if it samples at the full terrain resolution (16x256x16 voxels per terrain chunk). This is extremely ...
2
votes
0answers
475 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 ...
2
votes
0answers
217 views

(Minecraft) MoveHelper for custom entity not updating

I'm trying to create a shark mob for minecraft 1.8 (using Forge 1.8). Since it's a water mob, the movement functions need to be edited to allow it to path correctly in water. However, after ...
2
votes
0answers
918 views

How do I make a Minecraft recipe that costs XP?

I want to program a Minecraft client-mod or server-plugin that adds a recipe for making a Bottle o' Enchanting with the following ingredients: 1 glass bottle + 1 lvl of experience → 1 Bottle o' ...
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
0answers
65 views

Problem with Thread (bunggecord and spigot)

I would like to see how many players are connected in a server by the way bukkit and Bungee messaging channel like this : ...
1
vote
0answers
662 views

Minecraft modding - Dealing extra damage from a sword

I am making a Minecraft mod, and in my tin sword, when it deals damage to an entity, it randomly deals more damage. ...
1
vote
0answers
122 views

Creation of block mesh for minecraft like chunk

Problem: I'm trying to build a naive mesh for a "chunk" of 2x2x2 blocks. But the "mesh" i create is 3x3x3 blocks (i don't understand why?) and the "extra cubes" are not like i intendet them to be (...
1
vote
0answers
138 views

Rendering blocks in lwjgl, problems with VAO & VBO

//EDIT: Found the solution: had to use GL11.glDrawElements instead of DrawArrays. I'm working on a "voxel based world" engine. At the moment my approach follows these steps: Creation of a Mesh: ...
1
vote
0answers
59 views

Minecraft Crafting GUI weird bugs

I'm writing a Forge mod for Minecraft 1.8. When I'm pressing the 'z' key a 3x3 Crafting grid should open. In the KeyInputHandler I call ...
1
vote
0answers
647 views

Minecraft : Mod-making (MCreator) : Redstone Result Event

I am currently using a Mod-making Tool called "MCreator" made by Pylo. I am currently making a Block Element and creating an event when The block is right clicked by a Prismarine Shard, then The ...
1
vote
0answers
378 views

Create multiple viewports in minecraft?

Im new to minecraft modding, but Im curious about the possibility of creating a mod such that players could set up a 'security camera' with its own viewport so that the player could 'see what the ...
1
vote
0answers
332 views

Block With Given ID Does Not Exist - Minecraft Mod

I have tried to make my own Minecraft Block using Forge, but for some reason, when I use /give Playerxxx 1000 1 the game says, <...
0
votes
0answers
20 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
1answer
33 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
0answers
26 views

How to find player movement speed in Forge/MCP?

I want to predict where a player will be next based on where they are now. I have access to their XYZ, their motion in each direction, but I don't know how fast they are moving. Let's say that the ...
0
votes
0answers
39 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: ...
0
votes
0answers
34 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
1answer
28 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
0answers
21 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. ...
0
votes
0answers
40 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
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 ...
0
votes
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
26 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, ...
0
votes
0answers
21 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. ...
0
votes
0answers
46 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
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
0answers
46 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
54 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
0answers
57 views
0
votes
0answers
156 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 ...
0
votes
0answers
78 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
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
85 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 ...
0
votes
0answers
60 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'...
0
votes
1answer
452 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
2answers
505 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
0answers
47 views

How to setup for live player / observer pair w/ voice chat in Minecraft

I'm trying to build a setup for educational use of Minecraft: One person plays Minecraft, another person watches live online with the least lag/latency possible, and the pair can talk over high-...
0
votes
0answers
1k views

How can I get the entity a player is looking at in a Bukkit plugin?

I'm creating a wizardry plugin for Minecraft, and I was wondering how you would get the entity that a player was looking at, I know that you would have to use a ...
0
votes
0answers
144 views

How to put OpenGL in a state for drawing blended, colored, nontextured polys?

Using OpenGL1.1 (sadly) I'm trying to draw a cube, which is colored and alpha blended. It is instead showing up as opaque black. Even without including alpha in the color it still shows up as opaque ...
-1
votes
0answers
26 views

How to get the exact hit position in Minecraft Forge/MCP?

I am working on a project for Minecraft. I want to figure out exactly where a player was hit. For example, I want to be able to display a particle effect exactly where the player was hit (like chest ...
-1
votes
1answer
743 views

minecraft source code for use in mods

So I am teaching a class where we will be using java to make minecraft mods. To keep things simple, we are using a third party program to set up the under-the-hood stuff for us (that way we don't have ...
-2
votes
1answer
147 views

How to disguise a serverside mob as another?

I've been working a Minecraft sever mod and i want to be able to add a new entity to the server, but then make the server send the packets to the client, imitating another mob, for example.. Lets say ...