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

8
votes
2answers
4k 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
521 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
109 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 ...
10
votes
4answers
6k views

How do you make Minecraft mods? [closed]

I'm new to making minecraft mods and I'm wondering what I need to do to get started.
2
votes
1answer
345 views

How do I efficiently generate chunks to fill entire screen when my player moves?

In my game I generate chunks when the player moves. The chunks are all generated on the fly, but currently I just created a simple flat 8X8 floor. What happens is that when he moves to a new chunk ...
46
votes
5answers
2k views

How could I implement something like Minecraft's crafting grid?

The crafting system in Minecraft uses a 2x2 or 3x3 grid. You place ingredients on the grid, and if you put the right ingredients in the right pattern, it will activate the recipe. Some interesting ...
7
votes
2answers
623 views

How to remove jitter from motion input?

I am writing a Minecraft mod that supports input from the Razer Hydra. It is a pair of motion controllers (one for each hand) that provide incredibly accurate position and rotation information. For ...
0
votes
2answers
6k views

Is Minecraft's source code available? [closed]

I recall Mojang stating they would release the source code of Minecraft sooner or later, but searching both on google and on Minecraft sites I wasn't about to find it. So... is it available ...
-1
votes
1answer
196 views

How well (or badly) does Minecraft SMP scale?

Has anyone tested and collected some data about how well does Minecraft SMP scale, with an increasing number of players (up to large amounts of players)? I.e. the bottlenecks are: mostly in the ...
-4
votes
1answer
343 views

Is OpenGL 1.1 really slow? [closed]

If anyone ever played minecraft and realized no matter what computer you have it normally doesn't give over 100 FPS? While looking at decompiled code from it I noticed it renders with OpenGL 1.1 ...
3
votes
1answer
2k views

Bukkit shoot tnt & help with vectors

I want to shoot a piece of tnt from the players face and then let it explode when it hits the target block. if (cmd.getName().equalsIgnoreCase("cannon")) { ...
2
votes
1answer
447 views

How does Minecraft update process work?

When you initially launch Minecraft you open the "launcher", which will check if your client is up to date. If it's not it proceeds to download the latest files & then runs the game. How does ...
2
votes
3answers
529 views

Minecraft like blocky-clouds

We are working on a minecraft-like block-based engine/lib. Lately I've started working a blocky-clouds as in minecraft; So it appers that in minecraft, clouds are not procedural. I'm still looking ...
2
votes
1answer
207 views

How to make an articulated mob in Minecraft?

I am attempting to make a sea serpent, and I want to know how to make it be able to turn in any place, or at each 'segment', somewhat like the snakes in mocreatures. I know how to make mobs in ...
0
votes
1answer
972 views

Minecraft - How do I check if someone has a clear inventory

How do I check if a player has a clear inventory? I'm making a PvP arena plugin but I need it so when someone types /pvp join, it checks if they have a clear inventory. If they do have a clear ...
2
votes
2answers
592 views

How to generate houses procedurally in a voxel world?

I am developing a mod for the game Minecraft, a block-based voxel game. As part of the mod, I want to create a procedural house generator that will be generated based on specific needs/desires, such ...
4
votes
1answer
1k views

Minecraft style XNA game collision?

I've been trying to get this working for ages now, I can detect if there's a solid block at any place on the map and I can check how far something is inside of it, but I don't understand how to fix ...
-1
votes
1answer
689 views

How to run Minecraft from a different folder [closed]

My problem is that I can run minecraft from a different folder, but when I run it, it is still using .minecraft folder. It saves the worlds there and so on. How can I run it like "everything get from ...
24
votes
6answers
10k views

How can I improve rendering speeds of a Voxel/Minecraft type game?

I'm writing my own clone of Minecraft (also written in Java). It works great right now. With a viewing distance of 40 meters I can easily hit 60 FPS on my MacBook Pro 8,1. (Intel i5 + Intel HD ...
-4
votes
1answer
208 views

Dynamic cubes for cube engine [closed]

I had an idea for a cube world (i'm writing in C#) that would make creating new types of cubes simple and dynamic. Here is how I imagine it: 1.Text file stores everything including block name, ...
0
votes
4answers
823 views

Bukkit send a custom placed name plate?

Hello i have been working on a part of my plugin that has waypoints allowing the user to create delete etc. I got to thinking after using and seeing a couple of the disguse plugins. That maybe i could ...
-2
votes
1answer
121 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 ...
-1
votes
2answers
234 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
1answer
216 views

Index out of bounds, Java bukkit plugin

I'm getting index out of bounds errors in my Bukkit plugin, and it's really beginning to piss me off... I for the life of me can't figure this issue out! Caused by: ...
1
vote
1answer
602 views

First Minecraft mod not working: make a new sword

I am making my first mod and cannot see what is wrong with it. I am using MCP and Modloader. For my first mod I was going to make swords. I started with making a new EnumToolMaterials WOOD(0, 59, ...
4
votes
1answer
1k views

How does Minecraft render its sunset and sky?

In Minecraft, the sunset looks really beautiful and I've always wanted to know how they do it. Do they use several skyboxes rendered over eachother? That is, one for the sky (which can turn dark and ...
11
votes
5answers
3k views

How to get the blocks seen by the player?

I'm writing a Minecraft-like game using Ogre engine and I have a problem. I must optimize my game, because when I try draw 10000 blocks, I have 2 FPS... So, I got the idea that blocks display of the ...
-1
votes
1answer
880 views

What causes the pre-1.8 Minecraft far lands to generate? [closed]

Before Minecraft Beta 1.8, when you reached about x:3000000 y:3000000, the terrain generator would freak out and begin generating broken scary land. What went on in the MC code to provoke this? Why ...
5
votes
1answer
818 views

Merging adjacent cubes into large ones

I am currently working on a basic minecraft like game. I have a list of coordinates using which i render instances of a cube model. To optimize my rendering, i need to merge similar adjacent cubes ...
2
votes
1answer
294 views

Parallelizing creation of geometry chunks in minecraft-like game

In my game I separate creation of chunks into two stages. The first is where I generate the heightmap using simplex noise and the 2nd is when I create the actual vertex buffers. I do it like this so ...
3
votes
2answers
2k views

Collision Detection problems in Voxel Engine (XNA)

I am creating a minecraft like terrain engine in XNA and have had some collision problems for quite some time. I have checked and changed my code based on other peoples collision code and I still have ...
6
votes
1answer
918 views

Minecraft Mod portable torch/lantern

I have just started making a mod for minecraft, I learned how to make items and import custom png's and have gotten all of that to work. I have been searching around the code trying to find a way to ...
4
votes
4answers
782 views

Weird block selector selection (to floor or not to floor)?

Well, I am creating a Minecraft like engine in XNA, and since I first implemented the block selector (the cube that allows you to select blocks in 3D space) it has always been very inaccurate. Here is ...
2
votes
1answer
844 views

Bukkit saving inventory enchantments

I am working on a bukkit plugin. One thing I want this plugin to do is teleport you to other worlds on the server. However, I don't want the player's inventory to be saved. Right now, I have this ...
1
vote
1answer
464 views

Minecraft custom name laucher

I'm trying to create a custom name laucher for Minecraft. I run an offline server and was wanting to give some of my friends a laucher to use so they can play. I have done this before with a batch ...
-1
votes
1answer
1k views

What is the Relative Rarity of Blocks Generated in Minecraft? [closed]

I was watching a tutorial from last year that was discussing how to create blocks that would be generated with the world. I have lost the link to the video, but the basic issue I'm having here is ...
3
votes
1answer
2k views

Stuck trying to decompress sections in Minecraft Anvil files (.mca)

I've been trying to write some Java code to read .mca files, based on the information at http://wiki.vg/Map_Format and http://wiki.vg/User:Sprenger120 . I am at the point where I can read in the ...
0
votes
4answers
885 views

XNA transparent objects?

I've working on a voxel like game like Minecraft, but I'm not sure how I should handle alpha. I've got the world split into chunks and I render each chunk, I have things like leaves which have alpha ...
12
votes
5answers
5k 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, ...
1
vote
2answers
630 views

How does Minecraft compute lighting for it's non-block objects?

I was wondering how the creator of Minecraft went about lighting the objects (player and pickaxe) based on the lighting level around the player. I have implemented the ability to light the blocks ...
3
votes
2answers
760 views

AABB > AABB collision response?

I'm really confused about how to fix this in 3d? I want it so that I can slide along cubes but without getting caught if there's 2 adjacent cubes. I've gotten it so that I can do x collision, with ...
9
votes
3answers
7k views

Mods for Minecraft Server - how does it work?

Minecraft server comes as a single jar. How are mods developed? How do they interact with the original jar? What is there under the hood? What technologies are involved there? I'm mostly a C++/Python ...
-4
votes
1answer
620 views

Can minecraft support an asymmetrical mesh?

I want to play as a Zaku II from gundam in Minecraft. I was saddened that player skins must be symmetrical. I know there's a mod that lets you play as a MLP pony, and another one that let you ...
6
votes
1answer
1k views

Minecraft-style player-gound collision detection

The title pretty much says it all... (Minecraft is a game consisting of evenly-spaced cubes for terrain, like voxels) Note: I am using C# XNA. I am pretty sure AABB is the way to go, yet I don't know ...
-3
votes
1answer
350 views

Bukkit inventory saving: crashing somewhere

I'm working on a command for a bukkit plugin that lets you transfer worlds. In the section about saving the player's inventory, I'm getting a runtime error. My question is: Why is the error happening, ...
0
votes
1answer
232 views

Primitive Animation

I am creating a minecraft-like clone and was wondering what is the best way to go about animating a model, for example implementing the following feature: when the player presses the arrow keys, move ...
3
votes
2answers
1k views

Why would someone chose midpoint displacement over perlin noise for 3D terrain generation?

I myself am creating a terrain generation algorithm and would be interested in knowing why others have chosen midpoint displacement over perlin noise. Minecraft is an example where midpoint ...
1
vote
2answers
393 views

Can I use the Minecraft avatar in my game as long as I texture it differently?

I'm creating a block-based game and am ready to start developing the avatar. I would like to use the Minecraft avatar model but use my own higher resolution texture. Can I do this or will I be ...
3
votes
1answer
429 views

Performace problems with Voxel Engine

well, I am creating a voxel engine in C# and XNA and many posts I have posted on this site have been due to performace issues, many people suggested using a profiler to help me out. I have, and ...
8
votes
4answers
1k views

What kind of hardware would be required to render an Earth sized minecraft like map?

I have been thinking about this problem. Is it possible with current technology to create a 1:1 replica of the earth in voxel based game? What's the best data structure to store this giant map? Which ...