Skip to content
Advertisement

Tag: minecraft

Forge 1.12.2 Coremodding: java.lang.StringIndexOutOfBoundsException

I try to make a coremod on 1.12.2 Forge in order to patch some missing stuff in the Lost Cities mod. (Source: https://github.com/McJtyMods/LostCities/blob/1.12/src/main/java/mcjty/lostcities/dimensions/world/lost/BuildingInfo.java) A friend and I have written this LostCitiesClassTransformer.java: (Full source: https://github.com/Nick1st/LCPatches) The original code I want to patch (Bytecode Outline): The Bytecode Outline containing my changes: The stacktrace I get: Why do I monkey-patch a open-source mod?

Forge 1.12.2 Coremodding: java.lang.ClassCircularityError

I try to make a coremod on 1.12.2 Forge in order to patch some missing stuff in the Lost Cities mod. (Source: https://github.com/McJtyMods/LostCities/blob/1.12/src/main/java/mcjty/lostcities/dimensions/world/lost/BuildingInfo.java) A friend and I have written this LostCitiesClassTransformer.java: The original code we want to patch (Bytecode Outline): The Bytecode Outline containing our fix: The Stacktrace we get: What we tried: We tried to get the building using

Bukkit Chat Clickable Buttons

I’m actually coding a plugin, in a command it prompts a confirmation message and I want to click a button (on the chat text) for confirming and cancellating. I don’t like to copying and pasting code from others, and I don’t want to use classes from others too. I am trying to use TextComponents but I can’t make it work.

How to change speed of Entities?

How can I change the speed of entities in Minecraft using plugins? I just recently started making plugins for Minecraft, so I will be very grateful if you can help me (I use spigot) Answer This forum post may solve your problem. A dude asked the same question as you and gave some code snippets to help. I wish I

PlayerChatTabCompleteEvent deprecated in Spigot 1.16.1

I could not find a replacement for the deprecated PlayerChatTabCompleteEvent that is deprecated in the newest Spigot 1.16.1 Version. I already checked the docs, but could not find anything related to that. And no, I don’t want to use a @SuppressWarnings(“deprecation”) at the beginning of my event. Answer There is no replacement. Since 1.13 the client does not tell the

Minecraft javascript error

I am trying to make a script that draws a circle for minecraft using singleplayer commands. For starting, I tried to do the basics; here is my code: But when I run it, it says: Failed to execute: The choice of Java constructor setY matching JavaScript argument types (string) is ambiguous; candidate constructors are: class com.sk89q.worldedit.Vector setY(int) (C:UsersDarcyAppDataRoaming.minecraftcraftscriptscircle.js#6) in C:UsersDarcyAppDataRoaming.minecraftcraftscriptscircle.js

Advertisement