A popular sandbox indie game made by Markus Persson, a.k.a. Notch. The gameplay revolves around collecting materials and building shelters in survival, or simply making intriguing structures in the creative mode of the game.

learn more… | top users | synonyms

2
votes
1answer
119 views

Minecraft modding: onLanded and item type/positioning?

My question is about programming Minecraft mods. So i added a block to my Mod. Now I want, that when you drop a sugar on it, that it waits some time and then, if the sugar is still there, it will ...
1
vote
0answers
20 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
44 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: ...
0
votes
0answers
27 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
0answers
51 views

Collision detection not working for JavaScript Game

I'm working on a JavaScript game called Spacecraft which is minecraft 2d style. The problem is that my collision detection is not working. It works for a all the divs but the ones with the class of ...
0
votes
1answer
57 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 ...
0
votes
2answers
107 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 ...
1
vote
1answer
269 views

Minecraft Modding - How do I use OpenGL stencil functions alongside the game's GlStateManager?

Note: I am using Minecraft Coder Pack 9.10 for game version 1.8.0 (official release). I am trying to make a multiline text field similar to the game's original net.minecraft.client.gui.GuiTextField. ...
0
votes
0answers
32 views

How can the new Yggdrasil Minecraft authentication be utilised in java?

A while ago I had a custom launcher for my modpack in minecraft and it used the old login.minecraft.net method of authentication but now I see they have changed this method. Here is a link to the new ...
0
votes
0answers
33 views

How to solve these issues with gun customization mod for Minecraft?

I' m currently making a plugin for gun customization for minecraft 1.7.10 but I have rendering issues. All the textures match requirements. Sights are 1024x256 and the rest is 16x16 I think it's the ...
-1
votes
2answers
248 views

Are there any good guides for making mods for Minecraft? [closed]

I've been coding in Java for 5 months at work now, and having past experience with programming in other languages, modifying existing code at Uni etc. I feel like I want to get started on (read: ...
0
votes
3answers
49 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? @...
1
vote
0answers
37 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 @SubscribeEvent public void onKeyInput(InputEvent.KeyInputEvent ...
-2
votes
1answer
86 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?
1
vote
0answers
35 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
40 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
2answers
52 views

How do I get to ModPE to perform a function the first time a mod is opened?

I am making a Minecraft PE mod and I want to set a variable only on the first launch of the mod. So, how do I make it it set the variable and then not set it again until I import the mod again?
0
votes
1answer
36 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 ...
0
votes
0answers
4 views

How do I change the GUI button press sound in Minecraft 1.8 using a custom resource pack? [duplicate]

I'm trying to change the GUI button press sound in Minecraft 1.8 but don't know where to put the file. I was unable to find the gui.button.press in any files of Minecraft. I have a sounds folder in my ...
-1
votes
2answers
97 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.
0
votes
0answers
31 views

How to make my Minecraft Mod useable by a Multiplayer server?

I coded my Mod using Eclipse and Minecraft Forge. Then I built my .jar file and I put it in the mods folder of Minecraft. The problem is, my custom commands and Blocks work perfectly in the single ...
0
votes
0answers
32 views

Currently up-to-date Minecraft NBT Java library

At the moment, I'm trying to create a Voxel-Renderer just for fun and I'm trying to import Minecraft worlds for testing purposes. Of course I want to minimize my effort because that's not the focus of ...
0
votes
0answers
70 views

How to create item like the golden Lasso (Minecraft Modding in Java)

I'm creating a new mod that would have a few nifty things and I was trying to recreate ExtraUtilities' "Golden Lasso", an item used to capture a mob inside it and re place it down somewhere else. All ...
2
votes
1answer
1k views

How can I mod Minecraft 1.7.9?

I've looked up a lot of tutorials on YouTube and all of them only work for versions of Minecraft prior to 1.7.9. I first got a Minecraft Coder Pack (MCP) off of this website, but then realized that ...
0
votes
0answers
19 views

Collision Handling between two Sets of Polygons?

So I'm making a minecraft mod that allows you to build crafts out of blocks and move them around. I've been stuck on this issue for months now though, which is that I can't get the crafts to collide ...
1
vote
1answer
68 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 can't seem to reference the mod file ...
1
vote
1answer
65 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 ...
-1
votes
1answer
155 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 of a heightmap that I made In photoshop. I am trying to make the map like 7km and 1 cube is 1m. but i haven't found a way to do ...
2
votes
0answers
250 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' ...
0
votes
2answers
147 views

What can I do about a “missing mcp.cfg” error?

I am trying to use MCP. After trying to run decompile.sh, I manually ran decompile.py, getting the error "ERROR:root:!! Missing mcp.cfg !!" I tried to copy the variables from mcp.cfg into the files ...
0
votes
1answer
121 views

Sending block chunks through TCP

I am creating a 'Minecraft clone' and the game is going to be only multiplayer. I currently have a limited world (it's not going to be infinite) that is 512 chunks. Each chunk is 16(X) * 16(Z) * 128(...
1
vote
0answers
43 views

Transparent Game Window (Windows 7 x64) [closed]

i want to develop mode to minecraft but if i start minecraft i've got this how can i repair this ?
1
vote
1answer
68 views

I can't create a “trap” block

So, I am trying to make a "trap" block. It should kill the entity that will stand on it(or walk as in the code, if somebody knows how to make that it will do something while an entity stands on it, it ...
27
votes
5answers
13k views

How to generate caves that resemble those of Minecraft?

I've been working on a 3D procedural world for a while now and am wanting to start adding cave systems. I'm currently using 2D/3D Perlin Noise for the terrain generation in combination with Marching ...
14
votes
6answers
9k views

How is a 3d perlin noise function used to generate terrain?

I can wrap my head around using a 2d perlin noise function to generate the height value but I don't understand why a 3d perlin noise function would be used. In Notch's blog, http://notch.tumblr.com/...
0
votes
0answers
23 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
16 views

MInecraft server will will not reconise my minecraft plugin

I have coded a bukkit plugin using the spigot.jar as my api however the server doesn't seem to recognize it and does not even crate a config folder for it main class - package zulu.basic....
6
votes
5answers
2k views

How to make blocks like “redstone” working in a minecraft-like game when the chunks are not loaded

I'm working on a 2D minecraft-like game, I use chunks to save my world and each chunk has 128*128 blocks in it. And infinite chunks can create an infinite world. Memory should never be infinite and ...
8
votes
3answers
9k views

How to handle a Block World like Minecraft

I want to write a simple game with a block world like in Minecraft. My theoretical question is what is the best way to handle this block informations during playing. My first Idea was a huge array but ...
6
votes
3answers
1k views

How do I modify the health of an entity after it has been created?

Is there any way to add or remove health after an entity has been created? For example, I'd like to have a mob regenerate "hearts" when some event happens.
0
votes
0answers
18 views

How to create a mod with custom mobs, which communicate with an external server?

Imagine I want to create a custom mob in Minecraft, which needs some data from an external server. For example, the mob sends to the server its location and other current properties, and the server ...
1
vote
1answer
71 views

Why does Forge not find my texture for my custom background?

I am creating a minecraft mod that improves the main menu for my minecraft server. At first I wanted to create the background, but somehow when I try to start minecraft it closes and I get a ...
5
votes
4answers
1k views

Drawing 2D Images “3D-Like”

So, I want to use textures for weapons in my FPS game instead of actual models. However, if I just draw the texture onto a square in the game, it has the rotation and stuff, but it looks "2D". How ...
4
votes
5answers
404 views

How can I render “two-sided” clouds like in Minecraft?

The clouds in Minecraft are semi-transparent and are rendered on both sides. If you fly into the cloud you can see inside of the cloud. If I render clouds the inside faces would be visible on the ...
0
votes
2answers
278 views

Calculating pitch angle to hit a target using a projectile that has fixed speed

I am trying to calculate a vertical angle needed to hit a target at [distance, elevation] 2D coordinates relative to shooter given a fixed projectile velocity, air drag and gravitational acceleration....
0
votes
2answers
107 views

Minecraft Forge modding 1.8 instance changing tool/armor material + color

I am developing a minecraft mod in forge, and I need to find a way to create tools and armor where individual instances of items would have different tool material properties, armor material ...
2
votes
1answer
167 views

How animated block in voxel engine?

In my voxel engine (XNA 4.0) I'm use a vertex buffer for the entire chunk and update it after the set block, changing block metadata or light level. This is not too frequent operation compared with ...
-4
votes
2answers
77 views

What's the difference between an .nbt and an .mca file?

What do I have to do if I want to save a .nbt file as .mca file? I've got an byte array and all the data is ok. If I save the content as a .nbt file I can open and view it with NBTExplorer. If I save ...
2
votes
0answers
119 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 ...
1
vote
0answers
149 views

How can I check if player is an operator in Forge?

In Minecraft Forge, I would like to know if there is any way to find out if a player currently has vanilla "OP" / "Operator" status. I can't find a method that does this on the EntityPlayer Class. I'...