Questions tagged [minecraft-modding]

For questions about modding Minecraft.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

(Minecraft Win 10 Add-On) how do I find the relevant code for Auto-Pickup

(Posted this originally on the wrong Stack Exchange, oops, hopefully this is the right place >>') This is my first time asking a question here so I apologise if I do something wrong. I want to make ...
0
votes
0answers
17 views

Modded 1.12.2 Forge server wont work

My modded server wont seem to work. I'm trying to fix it, and ive read every other question on this site. But I still cant seem to find it. If anyone knows anything it would mean a lot for you to help!...
0
votes
1answer
131 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
82 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
34 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
23 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
419 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
161 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
0answers
26 views

Compiling an old version of Minecraft Server to take care of META-INF

I'm trying to run the Oldest server version of Minecraft If I try to run it, it says something about the ol' META-INF folder and doesn't run. When I looked into it, I found that I'll need to compile ...
0
votes
1answer
266 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
0answers
18 views

How to inflate deflated chunks from .mca files in c#?

Using this site as a reference https://minecraft.gamepedia.com/Region_file_format, I am able to parse the first 8 kb of a .mca file and extract the chunk/section index. I then try to decompress the ...
0
votes
1answer
53 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
92 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
17 views

How can i mod my custom minecraft server?

So, I'm trying to get the flans mod for my minecraft 1.7.10 server. However, I do not know how. I got forge for my minecraft server and got the flans mod for both, my server and client. Can someone ...
0
votes
0answers
25 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
28 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 ...
0
votes
0answers
33 views

gradlew setupDecompWorkspace eclipse keeps failing

I have been trying to get into modding and I was hoping to start with MC since it seemed easy enough. But at the time I can't even get the thing to open. I have been following a guide (https://www....
0
votes
0answers
41 views

My campfire on/off feature acting weird. Don't know what is going wrong and need help to fix it

When I press the button on the GUI to turn the campfire on, it turns it into its "on" state. however if I click on the campfire, it reverts back to its "off" state even though I did not click the ...
0
votes
0answers
163 views

Adding drop shadow to text in Minecraft

I would like to know how to take a text object rendered using the default Minecraft font renderer and add a drop shadow behind it. I believe what I need to do is make a copy of the text object, ...
1
vote
1answer
104 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
57 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
107 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
189 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 ...
0
votes
2answers
260 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, ...
-1
votes
1answer
109 views

Interesting graphic artifact

I was exploring old Minecraft source code when I encountered this: I just wanted to know what causes such distortion and how to fix it with OpenGL?
0
votes
1answer
716 views

Does Minecraft Really Rely on CPU More Than GPU For FPS? [closed]

I understand that Minecraft runs on Java which is very demanding on the CPU (garbage collection and JVM processes), but I still don't understand how FPS is the CPU's responsibility. Shouldn't the CPU ...
4
votes
2answers
349 views

Name of this technique used in games such as Minecraft or the sims

In Minecraft, there are some blocks which are a little bit different than just cubes. For example stairs or fences: these elements are "aware" of their surrounding blocks and render differently based ...
1
vote
0answers
31 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
1answer
50 views

How to distinguish multiple same element already in place on a minecraft map

I am currently working on a minecraft plugin using spigot. It's a sort of a race between players where checkpoints validation is needed. I have a minecraft map edited on MCEdit and I have severals ...
4
votes
2answers
578 views

How do i store blocks information in my Voxel game?

I am trying to make a voxel game. Voxel games made by blocks and each block has it's own information such as durability, step sounds, strength, ... How do i store these information inside of blocks? ...
2
votes
2answers
192 views

Iterating in “box” formation

I'm writing a minecraft clone in C++ and need some assisting with the chunk generation. Because I only want to load chunks that are near the player, I have to load and unload chunks based on the ...
0
votes
1answer
75 views

No files in .net.minecraft

So, I've been trying to make a minecraft 1.11.2 client for minecraft. Thing is, the mcp/src/minecraft folder is empty, without any net files. The only error I had while decompiling was missing lwjgl 2....
-1
votes
1answer
547 views

How can I create new Minecraft items in a Spigot plugin?

Is it possible to make a new custom item in a plugin so that in-hand 3D models and textures don't interfere with vanilla Minecraft items? How?
5
votes
0answers
105 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 ...
1
vote
1answer
117 views

Minecraft: What is the reasonable face/vertex limit for custom models?

When adding custom models to function as tile entity representations, what is a reasonable ceiling - based on performance - to maintain for individual models? Assume that the player will have the ...
-1
votes
1answer
832 views

Minecraft 1.11.2 Forge Block Registry Creates Air

First, tech specs: Forge for 1.11.2 MDK (Latest Version) Minecraft Coder Pack (Latest Version) Minecraft 1.11.2 (Latest Version) IntelliJ IDEA 2017 (Latest Version) Then, the problem: When I try to ...
1
vote
0answers
381 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
1answer
84 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 ...
0
votes
1answer
42 views

Moving entities above a tile entity

Sorry if my code looks amateur I just started modding, although I have experience in Java. I have a tile entity checking every frame if there are entities above it. It works, but then stops after 1 ...
0
votes
2answers
374 views

Source code of Minecraft servers?

Is there any way to get the source code of Minecraft servers? I tried decompiling but I get very obfuscated arguments, classes, and methods. If the answer is no, how did services like Bukkit and ...
2
votes
1answer
164 views

How to make more jagged terrain [closed]

I need some help with some terrain I'm working on. I'm developing a plugin for Minecraft, but these concepts will apply to any game with terrain. I am using Simplex noise to generate cavern-like ...
1
vote
1answer
301 views

How to optimize a cubes made world game? [duplicate]

I'm making a cube-world-game like Minecraft. And to render it I've splitted it in 16x16x16 blocks regions (also known as chunks in mc) and then, on rendering, I take all the chunks in the rendering ...
3
votes
3answers
798 views

Cube world rendering optimizations

I'm making a Minecraft like game and I would like to apply some optimizations. Firstly I didn't and I rendered the world using a vbo in which I stored a cube model and I drow all blocks of the worlds ...
3
votes
2answers
619 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
0answers
46 views

How much more do I have to learn? [closed]

So I started learning java sometime ago and now I am understanding packages. My main goal is to do minecraft modding. Can someone with modding experience please tell me how hard(or easy) minecraft ...
0
votes
1answer
335 views

Minecraft chunk file decompresssion

First of all, hello everyone, I'm currently making a program to read Minecraft region files (r.#.#.mca) for a server. The problem I have is that I can't decompress them, I tried GZip and ZLib ...
0
votes
1answer
275 views

How to pass arguments with BungeeCord/Bukkit plugin messaging

I am trying to send a plugin message from Bukkit, to BungeeCord, but can not figure out how to send arguments. Here is the code from the Bukkit plugin, which sends the message: ...
1
vote
1answer
119 views

How to voxelize a height map?

Lets say I make a height map and I want to make it out of CUBES to use in my game. I dont want to generate anything procedualy, I just want to cubify a height map. So I just want a static mesh. I also ...
0
votes
1answer
167 views

Why do I get this EventException in Bukkit? [closed]

Could any one tell me why I get the exception (and how to fix it): Bukkit Plugin Couldn't pass Playerdeathevent to Plugin [org.bukkit.event.EventException] with this code? ...
1
vote
1answer
451 views

Bukkit Scheduler not in main Class

I want to make an Repeating Task whisch isn't in the main Class. ("Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {},20,20);") But it says that it can't resolve the method.