Category "minecraft"

How can I get the Minecraft class loader?

I'm loading an agent to Minecraft JVM and when I get all the loaded classes from the instrumentation, most of them are not there. My code looks like Class.forNa

getOutlineShape is deprecated, is there another method to change the hitbox?

I'm making a block that does not occupy a full block in Fabric 1.18. I've tried the following code as suggested on the Fabric wiki. protected static final Voxel

IntelliJ does not recognize fillStateContainer, getDefaultState(), or getPlacementHorizontalFacing() Forge 1.16.5

I am making a custom two block long model called "littleguys:operating_table" and I watched tutorials to make it face the direction I want when it is placed. I

How to fix error "Error copying library com.mojang:netty:1.8.8" for MCP 1.7.10

I've been trying to decompile MCP 1.7.10 but I keep getting this error. The error says it has something to do with Minecraft 1.8.8 but I want 1.7.10. I don't kn

How can i remove a title screen element with fabric in Minecraft 1.18.1

I am currently able to add elements to the title screen: public abstract class MCEMixin extends Screen { protected MCEMixin(Text title) { super(tit

Minecraft Forge FMLClientSetupEvent fired on Server?

As stated in the Title I think that an FMLClientSetupEvent is Fired on a Forge-Minecraft dedicated Server. Forge Versions should be the same. All in all, this l

Is it possible to make mods in C++ for the bedrock edition on a Windows 10 PC?

(thread title) bedrock minecraft more recognizable as "Windows 10 Edition" Minecraft, is it possible to create a sub category UI menu similar to that in Java mi

Python: How to read multiple .NBT files and export to JSON?

I am a newbie when it comes to programming and i'm looking for a way to iterate through a directory filled with .NBT files and export them to JSON. I know i can

Bukkit - Change block on click (client side)

What I'm trying to do is to replace a block into a diamond block on client side when a player right clicks it public class setBlock implements Listener { @E

How to hide /msg command in console

I'm trying to create a minecraft server on aternos. But I have a problem: When I am in the console, I can see /msg commands. That's bad because I don't want to

Copy large regions with Spigot

I'm currently working on a training plugin, where every player would get his own region, to learn bridge for example. So when a player joins, the plugin should

java.lang.reflect.InvocationTargetException launching Minecraft forge server

That happens when I run my Minecraft forge server.bat A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException at sun

How to get all UserNames/UUIDs Minecraft API

I'm trying to make a program with a functionality similar to NameMC but I can't get all of the users of Minecraft. NameMC is an Index of all of the Minecraft us

Linux MCP decompile.sh?

I'm using Ubuntu and I have the following problem, when I want to decompile Minecraft (with decompile.sh) I get the following error: SyntaxError: Missing parent

Timer on a command - Minecraft Plugins

I am trying to add a timer/cooldown to my plugin. I want to be like when they run a command is says please do not move for 3s and then if they don't move it wil

My timer script for minecraft is not working... lua

I have a problem with my minecraft timer script I tried to add a function that saves the time values from worlds in a document. The timer worked completly fine

This pack is missing one or more dependencies - JSON behavior pack code is not working. -Minecraft bedrock

I have been trying to get this Minecraft bedrock behavior pack working for a while now. I used a guide, so I could learn how to make behavior packs but no matte

Why this code can't execute command in Minecraft?

Environment: Minecraft 1.16.5, Fabric 0.11.6 I write these code to try to execute command in Minecraft. @Override public void inventoryTick(ItemStack stack, Wor

Is there any way of connecting minecraft javaPlugin to discord javaScript bot?

So basiclly, I was making a minecraft plugin, and I want to add function that alows you to log in into serwer in minecraft only if you are on discord. But i don

Minecraft bukkit plugin right click item

I am making a plugin for a server I am developer on and I was developing a plugin! I wanted to do commands to spawn a boss egg in by doing /boss give lvl <lv