3,872 questions
1
vote
1
answer
146
views
how to call "/server server_name" from bukkit plugin
I used Velocity proxy
I need call
/server server_name
from my Bukkit plugin
I tried to call a command with
player.chat("/server server_name")
but I got the error " undefined command &...
0
votes
1
answer
166
views
How do I get .nbt file to save properly with a new nbtlib.tag.File object?
I am trying to make and save .nbt (structure block) files in Minecraft, using nbtlib. I first tried to see if I could edit an existing file using it, which worked well, but I'm trying to make a new ...
0
votes
0
answers
120
views
Invalid plugin.yml, Caused by: java.util.zip.ZipException: invalid END header
I ran into a problem with Minecraft server. When I want to install some new plug, and it doesn’t matter which one, the following error occurs at startup:
org.bukkit.plugin.InvalidDescriptionException: ...
2
votes
0
answers
209
views
How can I get the title of the currently open GUI in Minecraft Forge MDK 1.12.2?
I'm working on a Forge mod for Minecraft version 1.12.2 and I need to retrieve the title of the currently open GUI. In newer versions like Forge MDK 1.16.5, I can achieve this using mc.screen.getTitle(...
0
votes
1
answer
152
views
Cannot import any org.bukkit libs
I am making a spigot mod with using a spigot jar and running that and I cannot import anything from org.bukkit.
My plugin is supposed to give players random hearts when they join for the first time.
...
0
votes
2
answers
2k
views
Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
I am trying to make a web server for the Mineflayer API for my coding project. It is hosted using the free plan on render.com, and I use a cron job to keep it awake. However, when I send the bot ...
0
votes
0
answers
214
views
Why minecraft 1.16.5 mod is not being compiled?
I wanted to create my first mod to the minecraft. Which is kind of HACK
has a menu which will be opened when you press the right shift btn. It has these functions: AutoTotem, AutoSprint, Hitbox and ...
0
votes
1
answer
91
views
Minecraft Java Bukkit
I want to make it so that my bukkit-paper plugin for 1.20.1 works, where you can mine an end portal frame with silk-touch and it mines, and you get the item:
package me.grubbauer.endcrafter;
import ...
0
votes
1
answer
776
views
I am working on a fabric mod and I have issues with the ClientOnInitialize method
simply put nothing inside th oninitialise method runs the public class TutorialModClient appears grey in IntelliJ .I have all the necessary entries in my fabric.mod.json :
the json entries are
"...
0
votes
2
answers
672
views
A problem occurred configuring root project(minecraft mod)
Not long ago I started trying to create my own Minecraft fabric mod. When I try to start the client, I get two errors. I've been trying to fix them for 6 hours now but nothing works. Errors are ...
0
votes
0
answers
56
views
How to update victim's scoreboard inside onPlayerDeath in below piece of code
I was wondering how I could update the victim's scoreboard inside the if (killer != null) in my onPlayerDeath script. I want it so that when the player dies to another player it updates the victim's ...
1
vote
0
answers
166
views
Minecraft Forge GUI item movement Issue
I'm attempting to create a gui similar to that of a spigot plugin in forge 1.20.2 for a pixelmon sidemod. I have all the code running everything works but i'm having an issue i can't solve. I created ...
-1
votes
1
answer
415
views
Villager trading menu immediately closes
I am experimenting with NBT tags, and I tried to summon a villager with custom trades (via NBT tags). It did not give me an error; it successfully summoned a villager, but when I opened its trading ...
0
votes
1
answer
871
views
Is there a way, to make simple commands without the /trigger function with datapacks
So my problem is pretty small and the datapack I am currently coding as well.
I want a simple command, where on execute the executer joins a team and if he already is in that team, he leaves it. Very ...
1
vote
0
answers
72
views
Generative Design in Minecraft: Removing Environment elements without damaging terrain
I am currently working on a Generative Design in Minecraft Challenge and need some help with a task. The task is to remove elements from the environment such as oak logs, leaves, etc. without damaging ...
1
vote
1
answer
348
views
Can't launch Minecraft in debugging mode VScode
i have a problem with the run client,./gradlew runClientwork but when i try using the one with debbug it instant crash when mc open. I use vscode with the java extention pack and i install forge mdk 1....
0
votes
1
answer
136
views
Can I make VS Code soft wrap code to prettify/beautify it?
I am currently working on datapacks in Minecraft and am looking for a thing that would make my life more enjoyable. Minecraft uses mcfunction files in datapacks. These are basically just Minecraft ...
0
votes
0
answers
177
views
Download git Archive (as .zip) without root-folder
My question is very similar, to another very old question (Download GitHub .zip without Repository's name folder), which was closed without a solution that works for me.
So I write a fresh question, ...
0
votes
0
answers
168
views
How to save a scoreboard in a Minecraft Bukkit 1.20.4 Plugin
My code is creating a player_data_txt file in the paper plugins folder but it doesn't have any player data in it and the scoreboard isn't saving when players leave and rejoin.
package me.dev.Boost;
...
0
votes
2
answers
495
views
'org.gradle.api.GradleException: Could not add zip entry' happend when using shadowJar and jackson-core
When I used shadowJar to package the kotlin program, the "Could not add zip" problem occurred.
the build.gradle.kts as shown.
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {...
0
votes
0
answers
377
views
I am trying to port a 1.18.2 Minecraft mod to 1.19.2 but IntelliJ says "Could not resolve dependency: net.minecraftforge:forge:1.19.2:userdev"
I was using this tutorial: "https://www.youtube.com/watch?v=du2gINiZzOc&t=1s" and was on the part called "Setting up in IntelliJ" I was just using Git Bash and Notepad as the ...
-1
votes
1
answer
284
views
Microsoft client-login in Java?
Im trying to figure out how to get the Token from Microsoft using client-login in Java.
BTW. It is for a Minecraft Launcher, so I need to check if the account owns the game(I do not know how)
I looked ...
2
votes
2
answers
2k
views
Minecraft fabric overriding existing blocks 1.20
I have been trying to find a way online to find any way to modify existing blocks in minecraft fabric and there properties, and yet all I could find was how to create new blocks.
Any that I do find a ...
1
vote
1
answer
807
views
Third-party java libraries when creating minecraft mods
I am creating a simple mod for minecraft version 1.19.2.
I downloaded forge 1.19.2-43.0
and decided to add a dependency of a third-party java library. or rather, the twitch4j library (https://github....
0
votes
1
answer
442
views
How to do face culling in a voxel game using Java and LWJGL
For the past few weeks I've been using a tutorial to guide myself through LWJGL (https://www.youtube.com/playlist?list=PLaWuTOi9sDeomi2umQ7N8Lqs-GtE1H4-b here's the link). I stopped following once I ...