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
207 views

How can I generate biome borders?

I'm looking for ways to generate random biome borders (like what Minecraft has). One technique involves choosing specific biomes based on (eg) a rainfall map and a temperature map. But that just ...
-1
votes
0answers
30 views

Multi-Textured Blocks

I have some code from watching EsvDefCon's video on how to make blocks MultiTextured, but it failed. Here is my code public class multiTextureBlockTemp extends net.minecraft.block.Block{ // you ...
-2
votes
1answer
47 views

MCP 1.7.10 Java class navigation [closed]

So, I'm new to the Minecraft modding community and trying to understand where to start. I've attempted to do it before, but dropped it to the complexity of starting and the lack of a site like this to ...
0
votes
2answers
67 views

How can I read a portion of one Minecraft world file and write it into another?

I'm looking to read block data from one Minecraft world and write the data into certain places in another. I have a Minecraft world, let's say "TemplateWorld", and a 2D list of Point objects. I'm ...
1
vote
0answers
195 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, There is no block with id '1000' My Block Code: package ...
0
votes
1answer
49 views

TileEntitySpecialRenderer only renders from certain angle

I'm developing a Minecraft mod with Forge. I've added a tileentity and a custom renderer for it. The problem is: The block is only visible from sertain angles. I've compaed my code to other peoples ...
7
votes
3answers
177 views

How to load stacking chunks on the fly?

I'm currently working on an infinite world, mostly inspired by minecraft. A Chunk consists of 16x16x16 blocks. A block(cube) is 1x1x1. This runs very smoothly with a ViewRange of 12 Chunks (12x16) ...
16
votes
5answers
1k views

Why is chunk size often a power of two?

There are many Minecraft clones out there and I am working on my own implementation. A principle of terrain rendering is tiling the whole world in fixed size chunks to reduce the effort of localized ...
0
votes
1answer
120 views

What kind of algorithms could I use to generate biome borders like in Minecraft? [duplicate]

After I've found this post I'm curious what kind of algorithms they use to generate these shapes (second image). I can't imagine that the basic shapes are basing on a perlin or simplex noise or a ...
3
votes
1answer
102 views

How do I get the number of online players in a Minecraft server from outside the client?

I know that the Minecraft client can query the server for number of players and maximum players, even when the server properties has enable-query set to false, but how do I do this outside of the ...
0
votes
1answer
174 views

How do I decompile Minecraft?

I'm trying to get started modding Minecraft. I opened up the minecraft.jar file in Eclipse, but it doesn't contain what I expected. In this tutorial the presenter decompiles minecraft.jar and finds ...
0
votes
0answers
60 views

Can I sell my minecraft clone? [duplicate]

In my spare time I am making a game similar to Minecraft. I am trying to make it different to Minecraft in any way I can to avoid confusion. Also I am not using any of the assets or source code of ...
0
votes
0answers
28 views

Bukkit ThrownPotion doesn't have effects

I am trying to make it so a player can throw a potion when they right click with a stick. So far I have the potions being launched. However, the potion that is being thrown does not have any effects ...
5
votes
5answers
2k views

how to make blocks like “redstone” working in a minecraft-like game when the block is very far-away from your character

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 ...
0
votes
2answers
346 views

Best way to read expandable voxel world (hashmap) such as in Minecraft

I'm building a 3D multiplayer Roguelike-style engine (tile and turn-based) and I'd like to make the worlds virtually "infinite", similar to what you would see in Minecraft. I'm storing data in a ...
4
votes
4answers
1k views

I'm a single developer making a game made of blocks. Can I make 3d characters made of blocks without looking like Minecraft?

I would like to differentiate the look as much as I can but yet it has to be within the limits of what is reasonable for a single programmer can do. I have alot of ideas that would make the game ...
0
votes
0answers
22 views

how do I know what blocks to draw in a lightweight Minecraft style game [duplicate]

I am creating a lightweight minecraft style test game in C++ using opengl es. I have come upon a problem while planning it though - what is the most efficient way to render blocks? I know about back ...
0
votes
0answers
23 views

Dropping an item onImpact (projectile) duplicates?

I have a custom Racket that 'throws' an entity (EntityBall) when an ItemBall is present in my inventory. When the EntityBall lands i want it to drop the Itemball for the player to pick up again. This ...
0
votes
0answers
29 views

Unable to override method aD() in custom class extending EntityLiving (using CraftBukkit for Minecraft)

I am creating a CustomZombie by extending EntityZombie (which extends ultimately EntityLiving) and want to override method aD() by copying some code that I found on bukkit forums so that I can double ...
5
votes
1answer
9k views

Why is Minecraft's default resolution (seemingly) non-standard?

Background: I'm writing some articles on Minecraft in an attempt to introduce 10-year olds to development through modding. I know very little about the game itself, though :) I'm trying to understand ...
0
votes
1answer
503 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 ...
3
votes
1answer
156 views

Where do I store (or how do I refer to) textures for custom blocks?

I'm making my first foray into Minecraft modding on Ubuntu using Minecraft Forge. I'm finding it a little hard to get started as many of the tutorials seem to refer to older versions of Minecraft ...
-2
votes
1answer
107 views

How does the minecraft main menu play a “movie” [closed]

I've been wondering for a while, and been doing a lot of research on the subject: how does the main menu in minecraft play a "video". As far as i can tell, it's not a .gif, it appears to be a movie. ...
0
votes
0answers
38 views

Mod Coder Pack Error on decompile

I am not sure if I am posting this in the right place, but I have been trying to manually deobfuscate the Minecraft code. So far, it has been unsuccessful, so I am trying to use MCP. (There seem to be ...
1
vote
0answers
89 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 ...
4
votes
3answers
219 views

How do I add a method to a class without editing the source file?

I am trying to add a method to a Minecraft source file, but I have to figure out how to do it without actually editing the source files, as it would be illegal to redistribute Minecraft's source files ...
1
vote
2answers
156 views

Why aren't ModLoader's decompiled files showing up?

I want to start making a Minecraft 1.6.4 mod, but have this trouble with ModLoader: I've run the decompile.bat batch file, but when opening the eclipse folder, the bin folder is empty. The batch ...
2
votes
3answers
1k views

How to find the entity I'm looking at?

I am currently making a mod for Minecraft but I have come to a stop because I am lacking in some knowledge. I need to get data for the entity I am looking at, which I believe requires the use vectors, ...
6
votes
2answers
6k 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 ...
0
votes
0answers
48 views

Server side of `recompile` script fails with Minecraft Forge

I have Minecraft Forge 1.6.4 installed on Ubuntu and have used it successfully to create mods and run them in Eclips. However, recompiling via recompile.sh always fails unless I only recompile the ...
2
votes
1answer
105 views

Rasterizing parametric solids in Minecraft voxel space

I'm trying to render giant procedurally generated trees in Minecraft. I have code that generates a tree model and represents it parametrically as a collection of cones and spheres using vectors and ...
15
votes
1answer
17k views

How do I add a custom mob to Minecraft?

Basically decided to make my own mob, I have: Created my mob's entity class Created my mobs model class Drawn the model Added the function call for addMapping within the EntityList class I'm stuck ...
24
votes
5answers
7k 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 ...
11
votes
2answers
5k views

What is Minecraft's database? [closed]

I was wondering, what kind of database does Minecraft use? Is it a relational database, maybe something common like MySQL? Do we even know what he's using? And maybe even a better question, SHOULD ...
0
votes
2answers
237 views

Create a tornado like particle movement, based on velocity

For context i'm using Java and Minecraft Forge, however the concept should be fairly standard. To spawn particles you use this function... world.spawnParticle("largesmoke", posX, posY, posZ, ...
2
votes
1answer
464 views

How can I teleport seamlessly, without using interpolation?

I've been implementing Bukkit plugin for creating toggleable in-game warping areas that will teleport any catched entity to other similar area. I was going to implement concept of non-Euclidean maze ...
0
votes
0answers
278 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 Vector, but I really am not familiar ...
1
vote
2answers
275 views

Why Minecraft has such a terrible backward compatibility? [closed]

For every release of Minecraft, even a minor release, is almost guaranteed to break some plugins or mod. Why is this so? I am asking this so that we could avoid the same architecture problem as ...
4
votes
2answers
348 views

Modify current mob health minecraft

Is there any way to add/remove health after an entity has been created? For example, I'd like to have a X mob regenerate Y "hearts" when Z happens. Thanks for any help in advance.
0
votes
2answers
434 views

Player position triggering teleports

I'm developing a Minecraft plugin (bukkit) in which a server admin can create 'portals' - a small region that will teleport any players who enter it. I have the teleportation sorted and I know how I ...
4
votes
4answers
898 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 ...
-2
votes
2answers
255 views

Procedural World Generation [duplicate]

How does Minecraft generate it's texture (ex. which block is grass and which one is stone)?
1
vote
1answer
526 views

Voxel Performance

So Im trying to make a minecraft style voxel game to learn OpenGL, but Im running into performance issues. I found this thread : http://stackoverflow.com/questions/4995652/3d-occlusion-culling where ...
1
vote
1answer
946 views

How can I gain access to a player instance in a Minecraft mod?

I'm creating Minecraft mod with a pickaxe that takes away experience when you break a block. The method for taking away experience from a player is addExperience on EntityPlayer, so I need to get an ...
4
votes
2answers
471 views

How can I mod an item to take experience from a player in Minecraft?

I am creating a mod that has invincible tools which take experience from the player each time they are used. Can someone please tell me how to make the tools take away the experience when used?
0
votes
0answers
260 views

How can I extract a list of Minecraft items and recipes?

I'm designing a robust system for resolving item dependencies in Minecraft and to do so, I need to maintain a database of items and recipes. Right now, this database has to be hand-crafted (no pun ...
-5
votes
3answers
2k views

Why does Mojang write Minecraft in Java [closed]

Is there any specific reason why Java was the right choice for Minecraft?
8
votes
2answers
3k views

Cave generation with Perlin worms

I'm currently trying to generate a Minecraft like voxel terrain with 3D Simplex Noise and also want to implement caves. I found the method of Perlin Worms in this thread, which generates really nice ...
-1
votes
1answer
447 views

Simplex noise 3d map generation [duplicate]

I've just started learning 3d stuff and want to make minecraft clone, cause cubes are easy ( I hope ) :) Arleady wrote chunk creation, menagement and displaying and want to generate nice terrain, but ...
1
vote
0answers
102 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 ...