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

0
votes
0answers
32 views

Minecraft, outgoing food packet [closed]

Hello I am wondering where minecraft 1.8 sends the packet to the server when you eat food. I can't find it in any of the packet classes. I know food and health is handled serversided but the client ...
-2
votes
1answer
133 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
72 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 ...
0
votes
1answer
165 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 ...
0
votes
1answer
74 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 ...
3
votes
1answer
124 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
296 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
62 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
34 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 ...
7
votes
3answers
196 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) ...
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
0answers
24 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
27 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
45 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 ...
3
votes
1answer
328 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 ...
0
votes
1answer
670 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 ...
-2
votes
1answer
113 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
46 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
97 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 ...
1
vote
2answers
162 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
1answer
116 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 ...
3
votes
1answer
301 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 ...
0
votes
2answers
274 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, ...
0
votes
0answers
303 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
292 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 ...
1
vote
0answers
212 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 ...
4
votes
3answers
232 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 ...
2
votes
4answers
2k 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, ...
-2
votes
2answers
263 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
562 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 ...
5
votes
1answer
10k 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
2answers
377 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 ...
1
vote
1answer
1k 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
526 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
293 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 ...
-4
votes
3answers
3k views

Why does Mojang write Minecraft in Java [closed]

Is there any specific reason why Java was the right choice for Minecraft?
-1
votes
1answer
494 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
107 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
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 ...
7
votes
2answers
613 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
1answer
194 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
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 ...
4
votes
2answers
378 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.
2
votes
1answer
445 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 ...
0
votes
1answer
942 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 ...
-4
votes
1answer
333 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 ...
2
votes
2answers
582 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 ...
2
votes
3answers
527 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 ...
-1
votes
1answer
680 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 ...
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 ...