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
1answer
23 views

How do I open files in the Referenced Libraries in Eclipse? [closed]

I'm doing some Forge modding and I am trying to access a .json file in the Referenced Libraries but I get this: Problems opening an editor. Reason: Problem opening editor for 'apple.json': 'System ...
0
votes
1answer
40 views

Minecraft Forge setTextureName method not working

I am attempting to make an item using the latest version of Forge. For some reason, the setTextureName method gives me an error that says: The method setTextureName(String) is undefined for the ...
2
votes
1answer
56 views

(Minecraft) MoveHelper for custom entity not updating

I'm trying to create a shark mob for minecraft 1.8 (using Forge 1.8). Since it's a water mob, the movement functions need to be edited to allow it to path correctly in water. However, after ...
-1
votes
0answers
23 views

What is PS3 Minecraft's GAMEDATA file format

Does anyone know of a specification for the format of the GAMEDATA file in PS3 Minecraft's saved games. I am willing to accept API's, however the API I have tried doesn't seem to work with GAMEDATA. ...
1
vote
2answers
175 views

What makes Minecraft so CPU intensive, and what could be done to improve it? [closed]

Recently I've been searching for VPSes that allow Minecraft servers to be hosted, and surprisingly very few do. Most allow for games - but Minecraft in specific is disallowed by many. Now it's fairly ...
1
vote
1answer
53 views

Minecraft Forge Look for Entities in a Certain Location

The title mostly explains it. I have a tile entity that is called Energizer. I want this energizer to check to see if there is an EntityItem on top of it and if so, consume it and create energy. The ...
3
votes
0answers
77 views

Does anyone know what technique was used in Minecraft to create shadows? [closed]

Specifically I want to know the technique used to render shadows under animals and players. I would like to create shadows like that for my own block game but I don't even know what to google. Any ...
0
votes
2answers
97 views

Storing a block world

I've gotten a basic Minecraft clone working (thanks to gamedev.stackexchange's help! ^_^), but know I have no idea how to save the file. Minecraft itself uses a naive list of block ids as far as I ...
-2
votes
1answer
135 views

Is Minecraft component-based or does it have class for every block? [closed]

I'm wondering if Minecraft has class for every type of block or blocks are just IDs in code. EDIT And what about data like transparency, resistance, hardness, tool, etc? Are they hardcoded or stored ...
0
votes
1answer
72 views

What are names like “net.minecraft.blocks” called? [closed]

I'm trying to find these types of names for certain Minecraft blocks to add them to a block whitelist for one of my mods. Is there an actual name for these? If not, how would I go about finding a list ...
2
votes
1answer
73 views

Is there a way to drain durability from an item instead of a sword, for instance?

I am modding Minecraft 1.8 using Eclipse with Forge, and I just wondered, is there a way to drain durability from a battery, for instance, instead of a piece of armor when hit. I have tried things ...
1
vote
1answer
86 views

Creating a queue for BeginInvoke method - loading chunks

I have a voxel game similar to Minecraft. I have a funciton PushLoadedChunks(Direction) that pushes all of the loaded chunks forward, backward, left, right. This is done with ...
0
votes
0answers
67 views

Sending block chunks through TCP

I am creating a 'Minecraft clone' and the game is going to be only multiplayer. I currently have a limited world (it's not going to be infinite) that is 512 chunks. Each chunk is 16(X) * 16(Z) * ...
0
votes
0answers
138 views

Minecraft Forge 1.7.10 Modding: Using BlockPistonBase metadata as a determinant for facing direction

I've recently begun to revamp some old code that I've had lying around by utilizing a lot of what Minecraft already has available, but have run into a bit of an issue. I have this large chunk of code ...
-1
votes
1answer
103 views

minecraft source code for use in mods

So I am teaching a class where we will be using java to make minecraft mods. To keep things simple, we are using a third party program to set up the under-the-hood stuff for us (that way we don't have ...
1
vote
1answer
45 views

Minecraft - how do I add a PNG for a new Mob to either assets or resourcepacks

I've installed MCP and set up eclipse and successfully added my new monster to the game. It spawns properly and does everything I meant it to do. The only problem I still have is that the texture that ...
1
vote
0answers
108 views

How do I make a Minecraft recipe that costs XP?

I want to program a Minecraft client-mod or server-plugin that adds a recipe for making a Bottle o' Enchanting with the following ingredients: 1 glass bottle + 1 lvl of experience → 1 Bottle o' ...
1
vote
0answers
101 views

Broken World Generation [closed]

I am learning to write java/mod Minecraft. The mod I am working on is just a "Can I do it?" Kind of thing and I have no intention to distribute it. The problem I ran into is when I try to generate a ...
0
votes
1answer
242 views

minecraft mapping from tibia OTBM file

I am new to minecraft modding but i program for a living and it looks quite simple to get around. I have this fantasy and a quick internet search shows im not the only one. For those of you who do not ...
-2
votes
1answer
374 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
87 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
228 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
198 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
524 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
2k 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
77 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
66 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
247 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
26 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
55 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
84 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
720 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
vote
1answer
887 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
134 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
1answer
88 views

What can I do about a “missing mcp.cfg” error?

I am trying to use MCP. After trying to run decompile.sh, I manually ran decompile.py, getting the error "ERROR:root:!! Missing mcp.cfg !!" I tried to copy the variables from mcp.cfg into the files ...
1
vote
0answers
133 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 ...
2
votes
2answers
191 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
142 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 ...
4
votes
1answer
1k 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
429 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
409 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 ...
2
votes
2answers
402 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
254 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
278 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 ...
3
votes
4answers
3k 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
291 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
709 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
16k 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
473 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 ...