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.
-2
votes
1answer
61 views
Programmatically creating a 3d mesh in XNA
Surprise! Another question related to Minecraft. Anyways:
Rather than drawing thousands of blocks each frame, I remember reading somewhere that Minecraft breaks the map into 16x16x256 chunks, and ...
1
vote
1answer
82 views
How should I setup my minecraft-like world rendering for the best performance?
I want to know what technique will give me most fps in game. I have minecraft-like world and I need to display it. Now I have only one cube, created as VBO and if i need to display cube I just display ...
-1
votes
1answer
56 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 ...
0
votes
1answer
276 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 ...
6
votes
2answers
481 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
vote
0answers
49 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 ...
8
votes
4answers
4k 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.
-3
votes
1answer
206 views
Is Minecraft component-based? [closed]
Is Minecraft based on the principle of components? If not, what organizational structure did they use?
I ask because I am beginning to feel like creating an engine arround components is quite frankly ...
2
votes
1answer
245 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 ...
3
votes
2answers
3k 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 ...
44
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 ...
6
votes
2answers
208 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 ...
-1
votes
2answers
681 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 ...
0
votes
1answer
134 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 ...
0
votes
0answers
100 views
How do I decrease a particular item count in inventory using Bukkit API? [closed]
How do you make it so there is one less TNT item in your inventory using the Bukkit API? It doesn't seem as straightforward as the Javadocs would indicate.
3
votes
1answer
107 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.
-4
votes
1answer
171 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 ...
1
vote
1answer
577 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
1answer
272 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
283 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
164 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
275 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 ...
1
vote
0answers
290 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 ...
2
votes
3answers
541 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
345 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
816 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
270 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 ...
14
votes
5answers
909 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 ...
17
votes
6answers
5k 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
141 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, ...
-5
votes
1answer
115 views
Minecraft Blocks [closed]
i want to make blocks like in Minecraft. Like a 3D cube, and a .png file that will be cut and wrapped around that block. And this will be for one block and i think kinda simple, so i want to know how ...
0
votes
4answers
348 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
97 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 ...
14
votes
1answer
9k 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 ...
-1
votes
2answers
141 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
0answers
129 views
Minecraft mob spawning coding?
I recently discovered how to change the game (with MCP) and now I'd like to do my first "big" change to the game, creating new mobs. I already made their skin, the model, the AI and added a new ...
12
votes
2answers
868 views
Is it possible to construct a cube with fewer than 24 vertices
I have a cube-based world like Minecraft and I'm wondering if there's a way to construct a cube with fewer than 24 vertices so I can reduce memory usage.
It doesn't seem possible to me for 2 reasons: ...
0
votes
1answer
132 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
400 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, ...
30
votes
7answers
4k views
How to improve Minecraft-esque voxel world performance?
After playing Minecraft I marveled a bit at its large worlds but at the same time I found them extremely slow to navigate, even with a quad core and meaty graphics card.
Now I assume Minecraft is ...
4
votes
1answer
789 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 ...
7
votes
5answers
2k 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
335 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
492 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 ...
17
votes
4answers
3k views
How to generate caves like 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 ...
2
votes
1answer
244 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 ...
2
votes
3answers
805 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 ...
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 ...
14
votes
1answer
9k views
How does Minecraft world generation happen?
How does Minecraft create completely unique worlds and biomes, from a seed?
6
votes
1answer
768 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 ...
