Skip to main content

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

I am writing a discord bot that can start and stop my minecraft server. It currently works, but I am still learning NodeJS and I could use some tips on how to optimize my code. Calling a command will ...
LitWaffle's user avatar
4 votes
2 answers
313 views

Following the notice that block events will be removed in a future update, I have been implementing custom block mechanics (such as crop growth and groundcover spreading) using server-side scripts ...
Quack E. Duck's user avatar
4 votes
1 answer
123 views

I've recently started to learn Python and the task was to create a "hot or cold" game. They gave me the basic structure for the code and so far so good. But the bonus objective is to find a ...
Spirit's user avatar
  • 43
4 votes
1 answer
390 views

I am making a 2d minecraft clone for a hobby. Here is my code: 2D_MC.py: ...
coder's user avatar
  • 189
0 votes
1 answer
626 views

I'm writing a Discord bot that sometimes requires a Minecraft account UUID to be looked up so this is the function (and MWE) I have written to do this. ...
Jake's user avatar
  • 131
2 votes
0 answers
301 views

Here's Some Context So I was messing around in Minecraft and decided to make some code that basically makes you god. While making the code and testing it I noticed there were some problems that I didn'...
Boneless Cheese Flame's user avatar
6 votes
1 answer
431 views

Related to this question: Spigot Plugin: Generic form of the plugin's main clas I've created a Clan-Plugin, in which I have one "main" command, which is simply ...
monamona's user avatar
  • 475
4 votes
2 answers
942 views

I've written a simple util-method in my spigot plugin to check if a message contains a valid minecraft colour code. A valid minecraft colour code consists of a &...
monamona's user avatar
  • 475
4 votes
1 answer
408 views

I have created a lot of spigot plugins in my "career" as a developer for a bunch of Minecraft servers, but every time I start writing a new plugin, I basically "reinvent" the ...
monamona's user avatar
  • 475
3 votes
1 answer
262 views

Bukkit/CraftBukkit/Spigot are Minecraft server extenders that allow for creating and using plugins. A particular type of plugin is a generator, which creates the game world. Generators operate chunk-...
Michael Brandon Morris's user avatar
2 votes
1 answer
128 views

I'm fairly new to coding and I wrote this script in Python for a house with a roof in Minecraft Pi. I've found different ways to write the coordinates to make the code base shorter, but I'm wondering ...
DysFunction's user avatar
16 votes
2 answers
2k views

This script is a tool to help minecraft mod development. When you want to add a new block to the game you have to create three json files. This script generates three JSON files in specific locations. ...
Dalton's user avatar
  • 263
-2 votes
1 answer
369 views

I have written the following Reflection code: ...
Joehot200's user avatar
  • 107
1 vote
1 answer
160 views

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 ...
Donnie's user avatar
  • 13
1 vote
2 answers
922 views

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 ...
Hobopowers's user avatar

15 30 50 per page