Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [minecraft-modding]

For questions about modding Minecraft.

0
votes
0answers
10 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
33 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
53 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, ...
2
votes
1answer
62 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
22 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
0answers
47 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
143 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
133 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
104 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
342 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 ...
0
votes
0answers
175 views

Minecraft Thermal Foundation ore spawning configuration

A quick question, I've been trying to get ores from Thermal Foundation (e.g. Copper) spawning on my server, but it just isn't working. The CoFH documentation wasn't much of a help either, as it does ...
4
votes
2answers
298 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
28 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
407 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? ...
3
votes
2answers
180 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
72 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
430 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
86 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
90 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
741 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
259 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. ...
2
votes
1answer
79 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
40 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
170 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
134 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
260 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 ...
4
votes
3answers
453 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 ...
4
votes
2answers
445 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
43 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
248 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
238 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
100 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
114 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
379 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.
1
vote
0answers
101 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 (...
3
votes
1answer
148 views

Minecraft Forge 1.8 Custom Recipe Manager, need help

sorry for asking this question. Some of you will probably find it very easy but I just can't figure out how to do it. I want to write a custom Recipe Manager. It has to check the recipes. Therefor I ...
0
votes
1answer
166 views

Lighting in Minecraft/Block-esque worlds [duplicate]

Chaps, I'm sure we all know at a high level how Minecraft's lighting engine works. Light sources flood surrounding blocks with light, which themselves flood their neighbors and so forth. However, I ...
1
vote
0answers
124 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
55 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 ...
0
votes
3answers
83 views

Minecraft: Players Held Item Type

How can I check if a players held item is of a specific item type - for example an axe. (can be iron axe, gold axe, wooden axe, etc.)? Or do I have to do multiple if statements to have this done? <...
-2
votes
1answer
162 views

Terrain making in unity [closed]

I'm making a minecraft-like game, I'm trying to make a terrain made of cubes, but copying and pasting the same cube takes too much time and uses too much of my pc's RAM. So, any suggestions?
2
votes
0answers
201 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 ...
1
vote
0answers
439 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 ...
0
votes
1answer
40 views

Keeping Players in Groups

tl;dr How can one enforce that groups of players stay together in units in Minecraft? I'm developing a plugin for a Minecraft server. It's based off feudalistic societies, like Ancient Europe or ...
-1
votes
2answers
306 views

Where is the GUI button press sound file for Minecraft?

I am making a custom modpack, and I need to change the GUI button press sound for my modpack, but I don't know where the sound file is for clicking the GUI button.
-1
votes
2answers
574 views

Where do assets for Minecraft mods go?

I found this link: Where do I store (or how do I refer to) textures for custom blocks? Unfortunately, the answer did not explain where that assets folder actually is. As such, I can't figure out ...
0
votes
1answer
583 views

How to create a minecraft style world that is based of a heightmap

For my game I am trying to create a Minecraft style world that is based off a heightmap that I made In Photoshop. I am trying to make the map which is 7km squared where each cube is 1m cubed but I ...
1
vote
2answers
146 views

Minecraft Forge 1.8 referencing mod problem

I'm trying to make a Minecraft Forge mod. I've done this before, but I've never worked with entities. So I was trying to add an entity to the EntityRegistry, but I ...
1
vote
1answer
174 views

How to get an AbstractClientPlayer for all players?

I'm working on an minecraft forge mod (1.8.8). I have en custom (ownable) entity and want to set its texture to the texture of its owner, because it's a mini version of the owner. I found out that i ...