Questions tagged [minecraft-modding]

For questions about modding Minecraft, regardless of the edition.

49 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
164 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 ...
VTSTech's user avatar
  • 51
3 votes
0 answers
308 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 ...
confused penguin's user avatar
2 votes
0 answers
568 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 ...
Athamas's user avatar
  • 121
2 votes
0 answers
222 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 ...
steelfeathers's user avatar
2 votes
0 answers
1k 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' ...
CleverModer's user avatar
2 votes
0 answers
411 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 ...
zergylord's user avatar
  • 203
1 vote
0 answers
67 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 ...
IAbstract's user avatar
  • 179
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 /...
Mushy Avocado's user avatar
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 ...
Day Trip's user avatar
1 vote
0 answers
38 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 ...
Rami Souguir's user avatar
1 vote
0 answers
73 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 : ...
Miicka's user avatar
  • 11
1 vote
0 answers
793 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. ...
ShivGames's user avatar
  • 105
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 ...
Ashlyn Overy's user avatar
1 vote
0 answers
147 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 (...
Karoc's user avatar
  • 21
1 vote
0 answers
148 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: ...
Karoc's user avatar
  • 21
1 vote
0 answers
66 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 ...
Nova Shadowflame's user avatar
1 vote
0 answers
699 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 ...
Bryan's user avatar
  • 11
1 vote
0 answers
345 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, <...
inixsoftware's user avatar
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: ...
Lucas Plt's user avatar
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. ...
Ethan Chan's user avatar
0 votes
1 answer
220 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'...
MiSt Rocky's user avatar
0 votes
0 answers
135 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. ...
Samuel Krug's user avatar
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 ...
Richard's user avatar
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 ...
CodeWizard777's user avatar
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 ...
Arthur Attout's user avatar
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: ...
Caledonian26's user avatar
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 ...
leguchi's user avatar
  • 101
0 votes
1 answer
71 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: ...
leguchi's user avatar
  • 101
0 votes
0 answers
420 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: ...
opensource25's user avatar
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.
AuxelFs's user avatar
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 ...
Alexander Archibald's user avatar
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 ...
Ayuubi's user avatar
  • 1
0 votes
0 answers
180 views

InvalidPluginException: Unsupported API version in Minecraft Mod

build.gradle For Compile ...
Mentos's user avatar
  • 1
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 ...
Day Trip's user avatar
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 ...
Day Trip's user avatar
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 ...
BFZ's user avatar
  • 1
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 ...
Mat NX's user avatar
  • 101
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?
QuickerEgg's user avatar
0 votes
0 answers
588 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 ...
Revel Carlberg West's user avatar
0 votes
0 answers
196 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 ...
Lucas Smith's user avatar
0 votes
0 answers
70 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 ...
Kjeld's user avatar
  • 1
0 votes
0 answers
83 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'...
user avatar
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 ...
user avatar
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, ...
p0lar_bear's user avatar
0 votes
0 answers
49 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-...
Mallory-Erik's user avatar
0 votes
0 answers
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 ...
Jojodmo's user avatar
  • 103
0 votes
0 answers
151 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 ...
Khlorghaal's user avatar
-1 votes
1 answer
836 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 ...
unknown's user avatar
  • 101
-2 votes
1 answer
149 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 ...
Shaun Wild's user avatar