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

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
822 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 ...
3
votes
2answers
717 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 ...
4
votes
1answer
932 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 ...
-4
votes
1answer
575 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 ...
0
votes
4answers
633 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 ...
-3
votes
1answer
319 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, ...
2
votes
1answer
719 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 ...
0
votes
1answer
222 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 ...
6
votes
1answer
874 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 ...
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
597 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 ...
1
vote
2answers
373 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
399 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 ...
5
votes
2answers
1k views

Dealing with occlusion in an isometric sandbox game

Imagine a 3D sandbox game like Minecraft with third-person isometric graphics. If the camera only moves in two dimensions, and doesn't rotate, then a large portion of the world will always be occluded ...
0
votes
1answer
810 views

Large Blob of landmass in Minecraft Terrain Engine in XNA

I am creating a Minecraft Terrain engine in XNA, and want to create a large blob/cluster of blocks, in a random sort of blob thing, shaped somewhat like the stuff under the Volume Rendering heading on ...
21
votes
6answers
8k 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 ...
3
votes
2answers
1k 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 ...
1
vote
1answer
4k views

How can I remove inventory items in a Bukkit plugin?

I am making a Bukkit plugin that takes the player to a "FunZone" and allows them to do just about anything. I don't want data transferred between the two worlds. So far I have got most everything ...
4
votes
4answers
693 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 ...
11
votes
2answers
3k views

Am I allowed to make my Minecraft clone open source?

I'm developing in my spare time a game like Minecraft. In fact, it isn't "like Minecraft", because I'm trying to make it a close as possible copy of it (meant as exercise for myself at the age of 16 ...
2
votes
1answer
437 views

Transformed Pretransformed coordinates?

I am creating a minecraft like terrain engine thing in XNA and C#, and I am trying to create a item/block selector tool. The thing is I would like to have 3D objects on the tool. So I thought for the ...
4
votes
2answers
4k views

Texture antialiasing?

In my Minecraft-clone style game, blocks are textured with a border that is lighter then the block color. See picture below: To achieve this effect without the textures being blurry I use this ...
8
votes
4answers
881 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 ...
3
votes
1answer
1k 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")) { ...
1
vote
0answers
150 views

Bukkit shoot tnt where player is looking [duplicate]

Possible Duplicate: Bukkit shoot tnt & help with vectors Hello. I want to shoot a piece of tnt from the players face and then let it explode when it hits the target block. I set it up ...
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 ...
3
votes
3answers
1k views

Concerning The Minecraft Skybox

I was wondering how does the stars in night time in minecraft work, are they point sprites? And are they placed on a texture or just randomly placed on some far away location. EDIT 1: OK, well, with ...
16
votes
3answers
2k views

How can I generate floating land masses for a Minecraft-like engine?

I am creating a Minecraft-like engine in XNA. What I want to do is create floating islands similar to the one shown in this video: http://www.youtube.com/watch?v=gqHVOEPQK5g&feature=related ...
2
votes
1answer
712 views

Need some help implementing VBO's with Frustum Culling

i'm currently developing my first 3D game for a school project, the game world is completely inspired by minecraft (world completely made out of cubes). I'm currently seeking to improve the ...
5
votes
2answers
342 views

How does this snippet of code create a ray direction vector?

In the Minecraft source code, this code is used to create a direction vector for a ray from pitch and yaw:' float f1 = MathHelper.cos(-rotationYaw * 0.01745329F - 3.141593F); float f3 = ...
5
votes
1answer
713 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 ...
1
vote
1answer
307 views

Are there any preexisting maps for a Minecraft-like level I could use in my engine?

I am working on a tiny cube-based engine like Minecraft. I was wondering if there is a way for me to get large blocky terrain in a text format that I can use for rendering on my engine? I don't want ...
0
votes
0answers
520 views

How do i make a minecraft server mod? [duplicate]

Possible Duplicate: Mods for Minecraft Server - how does it work? I have made some minecraft client mods, but i've started a server a mounth ago and i want to make a mod for it, but i cant ...
12
votes
4answers
3k views

How can I implement voxel-based lighting with occlusion in a Minecraft-style game?

I am using C# and XNA. My current algorithm for lighting is a recursive method. However, it is expensive, to the point where one 8x128x8 chunk calculated every 5 seconds. Are there other lighting ...
5
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 ...
16
votes
1answer
17k views

How does Minecraft world generation happen?

How does Minecraft create completely unique worlds and biomes, from a seed?
13
votes
3answers
2k views

What is a good algorithm for fractal-based procedural city layout?

Background I run a minecraft server where I'm going to design a starter city of fairly large scale. I have a series of things, like rule signs and mob cages, I would like to put in buildings there. ...
11
votes
2answers
3k views

Are the Minecraft animations hardcoded into the game?

I would like to know how the animation system works in minecraft. I get a feeling that all the mobs are hardcoded into the game. Did notch really sit there and create the matrices for all the ...
7
votes
2answers
221 views

Determining if player-created structure matches a template in a 3D block-based game

Disclaimer: this is one of those dreaded Minecraft-style questions, but I feel it's more a data structures and algorithms question I'm really new to 3D data structures and am wondering what the best ...
1
vote
2answers
709 views

How do i get the X,Y and Z of the way my unit is facing?

I have the yaw and pitch of my unit at my disposal, I know if I use polar to cartesian conversion I'll get the X and Y of each one of those two, but I need them combined to give me the x,y and z of ...
2
votes
2answers
418 views

Is there a way to create a cellular automaton mod for Minecraft?

I basically want to create a mod for Minecraft that does the following: if(a sand block is next to lava block) { change the sand block to a glass block } Is it possible to create a mod like this ...
9
votes
4answers
5k 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.
8
votes
2answers
602 views

Can someone explain radiosity lighting to me?

I already have the basics of ambient occlusion down. I have a raycaster and am capable of shooting rays about a hemisphere uniformly. It seems like those are the basics of what are needed for ...
15
votes
1answer
14k 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 ...
23
votes
3answers
2k views

Random seed function for map generation?

I am looking for a function to generate a random tile-based map as the visual boundaries of the map change (by going through the map). I want the map to be infinitely large, and have maze-like ...
3
votes
3answers
858 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 ...
11
votes
5answers
4k 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, ...
4
votes
3answers
3k views

Voxel heightmap terrain editor

I've recently been experimenting with a simple Voxel-based 3d engine (think Minecraft) which uses heightmaps to define terrain in the following format: http://en.wikipedia.org/wiki/Heightmap Does ...
21
votes
1answer
7k views

Is a voxel engine appropriate for a Minecraft-like game?

Why does Minecraft use polygons to draw the world terrain instead of voxels? Would a voxel based rendering engine be appropriate for a fully destructible game world built out of cubes like Minecraft? ...