Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [minecraft]

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.

-2
votes
1answer
43 views

Using Reflection to call multiple methods and cast various classes [closed]

I have written the following Reflection code: ...
-1
votes
1answer
41 views

Building a 64 × 64 particle accelerator frame in Minecraft with a computercraft turtle

I dont think this will work anywhere besides in minecraft with computercraft but it's all correct syntax. I just feel like it has some lines of code I could eliminated somehow and made it a cleaner ...
1
vote
2answers
101 views

Minecraft resource calculator

I'm writing a basic program that calculates the total base resources needed to craft items in Minecraft. It's intended to be modular for support for modded versions of Minecraft (new items or ...
6
votes
1answer
43 views

Library for RCON clients

I wrote a library implementing the RCON protocol to automate interaction with Minecraft servers. I know that there are already a couple of implementations out there, but neither I found was convincing ...
1
vote
0answers
78 views

Purely functional minecraft-like mesh compiler

I'm creating a minecraft clone (for practice), in scala, using largely functional programming. When a chunk doesn't have a mesh loaded into VRAM, it create a Future for the vertex and index arrays, ...
1
vote
0answers
99 views

Spigot plugin protecting servers against bots

I wrote two plugins with the Spigot-API. It would be very nice if you could give me any advice so I can improve my code. https://github.com/ReflexArtZ/NoBots LOC: ~ 800-1000 Main: ...
4
votes
2answers
102 views

Registering various kinds of blocks in Minecraft

After looking at a few tutorials on making minecraft mods i got as far as making my own blocks and the ModBlocks class to me looks awful and unruly especially when ...
3
votes
2answers
86 views

Minecraft server querier that generates an image of online players

This little chunk of code is run every 10 seconds on my desktop. It generates a PNG with up to 6 player faces based on the list of online players. Is there any way for this code to execute faster? ...
2
votes
1answer
203 views

Using HikariCP and JDBC to store data for a Minecraft plugin

I'm creating a plugin for the game Minecraft, and with it I'm using HikariCP and MySQL to store data between server restarts. I've created working code but I'm wanting to improve it. While the code ...
4
votes
1answer
179 views

Vanisher plugin for Minecraft (Written with the Bukkit API)

Would this code for my Vanisher plugin for the game Minecraft, written with the Bukkit API, be optimised and conventionally right? VanishAPI: ...
2
votes
1answer
105 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
244 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
70 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
340 views

Event-driven UDP listener wrapper

I wrote this wrapper around the UdpClient,using events for new datagrams: ...
6
votes
1answer
185 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
217 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
64 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
1k 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
150 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
141 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 ...
7
votes
1answer
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
201 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
190 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
276 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
944 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
802 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 ...