Questions tagged [minecraft-modding]

For questions about modding Minecraft, regardless of the edition.

Filter by
Sorted by
Tagged with
1 vote
2 answers
833 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 ...
Darestium's user avatar
  • 1,154
1 vote
2 answers
447 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 ...
Xavier's user avatar
  • 1,633
5 votes
2 answers
3k 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 ...
jedediah's user avatar
  • 246
0 votes
1 answer
940 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 ...
Darestium's user avatar
  • 1,154
35 votes
7 answers
19k 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 ...
Martijn Courteaux's user avatar
3 votes
2 answers
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 ...
Darestium's user avatar
  • 1,154
1 vote
1 answer
11k 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 ...
HcgRandon's user avatar
  • 192
4 votes
4 answers
1k 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 ...
Darestium's user avatar
  • 1,154
12 votes
2 answers
8k 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 ...
Martijn Courteaux's user avatar
5 votes
2 answers
9k 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 code: ...
Isaac Waller's user avatar
10 votes
4 answers
2k 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 ...
Cesar Canassa's user avatar
3 votes
2 answers
4k 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. ...
HcgRandon's user avatar
  • 192
1 vote
0 answers
158 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 so ...
HcgRandon's user avatar
  • 192
56 votes
5 answers
7k 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 ...
David Eyk's user avatar
  • 713
4 votes
3 answers
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 ...
Darestium's user avatar
  • 1,154
19 votes
3 answers
6k 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 ...
Darestium's user avatar
  • 1,154
2 votes
1 answer
1k 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 ...
Isracg's user avatar
  • 23
5 votes
2 answers
459 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:' ...
Isaac Waller's user avatar
6 votes
1 answer
1k 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 ...
Rishav Sharan's user avatar
3 votes
1 answer
390 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 ...
Rishav Sharan's user avatar
0 votes
0 answers
532 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 find ...
Simon's user avatar
  • 1
14 votes
4 answers
7k 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 ...
user avatar
6 votes
1 answer
4k 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 ...
user avatar
19 votes
3 answers
8k 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. ...
Ken's user avatar
  • 860
12 votes
3 answers
6k views

Are the Minecraft animations hardcoded into the game? [closed]

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 ...
radenon's user avatar
  • 663
8 votes
2 answers
292 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 ...
WillP's user avatar
  • 145
1 vote
2 answers
908 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 ...
Rodrigo Cavalcante's user avatar
3 votes
2 answers
627 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 ...
Andy's user avatar
  • 31
11 votes
4 answers
7k views

How do you make Minecraft mods? [closed]

I want to make my own Minecraft mods and I'm wondering what I need to do to get started. Is there any good software or anything for it?
Matthewj's user avatar
  • 265
8 votes
2 answers
841 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 ...
Xavier's user avatar
  • 1,633
16 votes
1 answer
37k 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 ...
user avatar
28 votes
3 answers
10k 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 ...
Mathias Lykkegaard Lorenzen's user avatar
4 votes
5 answers
1k 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 ...
Xavier's user avatar
  • 1,633
22 votes
6 answers
27k 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, http://notch.tumblr.com/...
Xavier's user avatar
  • 1,633
7 votes
3 answers
6k 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 ...
Rory Harvey's user avatar
  • 1,422
27 votes
1 answer
13k 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? ...
jeffythedragonslayer's user avatar
11 votes
1 answer
11k views

What is Minecraft's database? [closed]

I was wondering, what kind of database does Minecraft use? Is it a relational database, maybe something common like MySQL? Do we even know what he's using? And maybe even a better question, SHOULD ...
Jeff's user avatar
  • 2,448
15 votes
5 answers
4k 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 ...
m4tx's user avatar
  • 427
9 votes
3 answers
8k 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 ...
goodrone's user avatar
  • 193

1 2 3 4
5