Minecraft is a voxel-based sandbox game coded in Java by Mojang where players place and destroy blocks to gain armor, weapons and tools in a randomly generated world.

learn more… | top users | synonyms

1
vote
1answer
40 views

Java MySQL handler for a Minecraft mod

I am studying computer science and recently I developed an application in Java (it is a minecraft mod) that connects a MySQL database and queries to fetch, update or insert data. My DatabaseHandler ...
3
votes
1answer
42 views

Bukkit API Town plugin for Minecraft

I'm creating a town plugin for the game Minecraft using the Bukkit API. It works fine and all, however I'm not satisfied with the quality of the code and I'd like to know how I can improve. I've been ...
1
vote
1answer
35 views

Documentation for a Minecraft server plugin

I'm working on a minecraft plugin for my Spigot Minecraft server. I have a class which works as expected. I've done my best to hammer every single bug out (famous last words, I know) and am now ...
3
votes
0answers
62 views

Event-driven UDP listener wrapper

I wrote this wrapper around the UdpClient,using events for new datagrams: ...
6
votes
1answer
81 views

Bukkit/Spigot plugin for Minecraft servers

I have created a Bukkit/Spigot plugin for Minecraft servers because I wanted to change the dynamic of mining to prevent people with really bright monitors or the Fullbright mod from being able to skip ...
6
votes
2answers
206 views

Efficiently return a ChatColor

I am working on a plugin for a Minecraft server. In it, I have a function that returns a ChatColor depending on what permission level you are. Whenever I need ...
4
votes
1answer
62 views

Video frame to Minecraft map colors

I'm still somewhat new to C, so pardon me for any silly mistakes I've made. I'm trying to convert video frames into Minecraft map colors using JNI and ...
6
votes
1answer
378 views

Builder - A 2D Minecraft clone

I was poking around on my Raspberry Pi that I hadn't turned on or used in a while, and I stumbled upon this Python script that I wrote ~1.5 years ago, and I was intrigued. Essentially, it's a 2D ...
2
votes
3answers
140 views

Personal Minecraft Android app

This won't be released publicly, but that doesn't mean I want to have bad coding habits. I was not too far into this before realizing I could make it better. One of my main concerns is finding an ...
6
votes
2answers
131 views

Game object structure for Minecraft server

I'm trying to write a Minecraft server in Ruby as an educational project and I've hit the point now where I need to decide on how I am going to structure the in-game objects (entities). In my mind, an ...
4
votes
0answers
2k views

Minecraft query tools

This is my first major PHP project and I haven't gotten much feedback. I wanted to learn how to use PHP and I wanted to learn about Minecraft's status protocol, so I did what was obvious at the time. ...
2
votes
1answer
181 views

Database schema for a Minecraft logging plugin

This is my attempt at creating a database schema for a Minecraft logging plugin. I'm by no means a SQL expert, so suggestions would be greatly appreciated. ...
3
votes
2answers
160 views

Meshing algorithm for generating faces in Minecraft

To generate faces of a Minecraft-like world from a three dimensional array, I developed the following meshing algorithm. The faces are given vertices and indices. A vertex consists of a position in ...
3
votes
1answer
255 views

Minecraft auto-backup utility

I live in a country where an electricity blackout happens after every hour, which corrupts the Minecraft save files, so I came up with this auto backup utility which backs up the %appData%.minecraft\...
2
votes
1answer
939 views

Plugin for finding placed blocks and if they are in a certain sequence

This is for a plugin I am making for the game called Minecraft. The code is responsible for finding out the blocks placed by the player and if they are in the following sequence as shown in the ...
4
votes
3answers
724 views

Optimizing lighting algorithm for a voxel engine

I am creating a Minecraft-like terrain engine in XNA to learn HLSL and more XNA. The problem is my lighting algorithm. Whenever a block which emits light is placed, it takes about half a second to ...