Last active
October 28, 2019 18:39
-
-
Save Frontrider/f17404016f943563a33d4217cff0070b to your computer and use it in GitHub Desktop.
crash-report.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.mojang.brigadier.CommandDispatcher; | |
import com.mojang.brigadier.arguments.IntegerArgumentType; | |
import com.mojang.brigadier.context.CommandContext; | |
import net.minecraft.command.arguments.*; | |
import net.minecraft.server.command.CommandManager; | |
import net.minecraft.server.command.ServerCommandSource; | |
import net.minecraft.text.LiteralText; | |
public class InventoryCommand { | |
public static void register(CommandDispatcher<ServerCommandSource> commandDispatcher_1) { | |
commandDispatcher_1.register( | |
CommandManager.literal("moveitem") | |
.then(CommandManager.argument("item", ItemPredicateArgumentType.itemPredicate()) | |
.then(CommandManager.argument("amount", IntegerArgumentType.integer()) | |
.then(CommandManager.literal("block") | |
.then(CommandManager.argument("sourceBlock", BlockPosArgumentType.blockPos()) | |
.then(CommandManager.literal("move") | |
.then(CommandManager.literal("block") | |
.then(CommandManager.argument("sourceBlock", Vec3ArgumentType.vec3()) | |
.then(CommandManager.argument("eventName", IdentifierArgumentType.identifier()) | |
.suggests(EventCommand.SUGGESTION_PROVIDER) | |
.executes(InventoryCommand::execute) | |
) | |
) | |
) | |
.then(CommandManager.literal("entity") | |
.then(CommandManager.argument("targetEntity", EntityArgumentType.entities()) | |
.then(CommandManager.argument("eventName", IdentifierArgumentType.identifier()) | |
.suggests(EventCommand.SUGGESTION_PROVIDER) | |
.executes(InventoryCommand::execute) | |
) | |
) | |
) | |
) | |
.then(CommandManager.literal("consume") | |
.executes(InventoryCommand::execute) | |
) | |
.then(CommandManager.literal("damage") | |
.then(CommandManager.argument("amount", IntegerArgumentType.integer()) | |
.executes(InventoryCommand::execute) | |
) | |
) | |
) | |
) | |
.then(CommandManager.literal("entity") | |
.then(CommandManager.argument("sourceEntity", EntityArgumentType.entities()) | |
.then(CommandManager.literal("move") | |
.then(CommandManager.literal("block") | |
.then(CommandManager.argument("targetBlock", Vec3ArgumentType.vec3()) | |
.executes(InventoryCommand::execute) | |
)) | |
.then(CommandManager.literal("entity") | |
.then(CommandManager.argument("targetEntity", EntityArgumentType.entities()) | |
.executes(InventoryCommand::execute) | |
) | |
) | |
) | |
.then(CommandManager.literal("consume") | |
.then(CommandManager.argument("eventName", IdentifierArgumentType.identifier()) | |
.suggests(EventCommand.SUGGESTION_PROVIDER) | |
.executes(InventoryCommand::execute) | |
)) | |
.then(CommandManager.literal("damage") | |
.then(CommandManager.argument("amount", IntegerArgumentType.integer()) | |
.then(CommandManager.argument("eventName", IdentifierArgumentType.identifier()) | |
.suggests(EventCommand.SUGGESTION_PROVIDER) | |
.executes(InventoryCommand::execute) | |
) | |
) | |
)) | |
) | |
) | |
) | |
); | |
} | |
private static int execute(CommandContext<ServerCommandSource> commandContext) { | |
commandContext.getSource().sendFeedback(new LiteralText("command worked"), true); | |
return 1; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- Minecraft Crash Report ---- | |
// I bet Cylons wouldn't have this problem. | |
Time: 10/28/19 7:31 PM | |
Description: Rendering screen | |
java.lang.IndexOutOfBoundsException: start 50, end 32, s.length() 50 | |
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) | |
at java.lang.StringBuilder.append(StringBuilder.java:175) | |
at net.minecraft.client.gui.screen.ChatScreen.getRenderText(ChatScreen.java:283) | |
at net.minecraft.client.gui.screen.ChatScreen.getRenderText(ChatScreen.java:256) | |
at net.minecraft.client.gui.widget.TextFieldWidget.renderButton(TextFieldWidget.java:430) | |
at net.minecraft.client.gui.widget.AbstractButtonWidget.render(AbstractButtonWidget.java:83) | |
at net.minecraft.client.gui.screen.ChatScreen.render(ChatScreen.java:382) | |
at net.minecraft.client.render.GameRenderer.render(GameRenderer.java:686) | |
at net.minecraft.client.MinecraftClient.render(MinecraftClient.java:954) | |
at net.minecraft.client.MinecraftClient.start(MinecraftClient.java:410) | |
at net.minecraft.client.main.Main.main(Main.java:155) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:178) | |
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:131) | |
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26) | |
A detailed walkthrough of the error, its code path and all known details is as follows: | |
--------------------------------------------------------------------------------------- | |
-- Head -- | |
Thread: Client thread | |
Stacktrace: | |
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:539) | |
at java.lang.StringBuilder.append(StringBuilder.java:175) | |
at net.minecraft.client.gui.screen.ChatScreen.getRenderText(ChatScreen.java:283) | |
at net.minecraft.client.gui.screen.ChatScreen.getRenderText(ChatScreen.java:256) | |
at net.minecraft.client.gui.widget.TextFieldWidget.renderButton(TextFieldWidget.java:430) | |
at net.minecraft.client.gui.widget.AbstractButtonWidget.render(AbstractButtonWidget.java:83) | |
at net.minecraft.client.gui.screen.ChatScreen.render(ChatScreen.java:382) | |
-- Screen render details -- | |
Details: | |
Screen name: net.minecraft.client.gui.screen.ChatScreen | |
Mouse location: Scaled: (213, 120). Absolute: (427.000000, 240.000000) | |
Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2.000000 | |
-- Affected level -- | |
Details: | |
All players: 1 total; [ClientPlayerEntity['Player342'/13, l='MpServer', x=-102.60, y=4.00, z=208.47]] | |
Chunk stats: Client Chunk Cache: 729, 462 | |
Level dimension: minecraft:overworld | |
Level name: MpServer | |
Level seed: 0 | |
Level generator: ID 01 - flat, ver 0. Features enabled: false | |
Level generator options: {} | |
Level spawn location: World: (-112,4,208), Chunk: (at 0,0,0 in -7,13; contains blocks -112,0,208 to -97,255,223), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) | |
Level time: 617404 game time, 1113 day time | |
Level storage version: 0x00000 - Unknown? | |
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) | |
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false | |
Server brand: fabric | |
Server type: Integrated singleplayer server | |
Stacktrace: | |
at net.minecraft.client.world.ClientWorld.addDetailsToCrashReport(ClientWorld.java:421) | |
at net.minecraft.client.MinecraftClient.populateCrashReport(MinecraftClient.java:1923) | |
at net.minecraft.client.MinecraftClient.start(MinecraftClient.java:425) | |
at net.minecraft.client.main.Main.main(Main.java:155) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:178) | |
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:131) | |
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26) | |
-- System Details -- | |
Details: | |
Minecraft Version: 1.14.4 | |
Minecraft Version ID: 1.14.4 | |
Operating System: Linux (amd64) version 5.3.6-1-MANJARO | |
Java Version: 1.8.0_222, Oracle Corporation | |
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation | |
Memory: 406841528 bytes (387 MB) / 1223163904 bytes (1166 MB) up to 2663907328 bytes (2540 MB) | |
CPUs: 4 | |
JVM Flags: 0 total; | |
Fabric Mods: | |
fabric: Fabric API 0.3.2+build.218-1.14 | |
fabric-api-base: fabric-api-base 0.1.0+b494ebeb42 | |
fabric-biomes-v1: fabric-biomes-v1 0.1.0+896c7fbb42 | |
fabric-commands-v0: fabric-commands-v0 0.1.1+b494ebeb42 | |
fabric-containers-v0: fabric-containers-v0 0.1.2+b494ebeb42 | |
fabric-content-registries-v0: fabric-content-registries-v0 0.1.1+b494ebeb42 | |
fabric-crash-report-info-v1: fabric-crash-report-info-v1 0.1.1+9f55aa7042 | |
fabric-events-interaction-v0: fabric-events-interaction-v0 0.1.1+9f55aa7042 | |
fabric-events-lifecycle-v0: fabric-events-lifecycle-v0 0.1.1+eff46b3d42 | |
fabric-item-groups-v0: fabric-item-groups-v0 0.1.0+1e69a0a542 | |
fabric-keybindings-v0: fabric-keybindings-v0 0.1.1+7dfef87c42 | |
fabric-loot-tables-v1: fabric-loot-tables-v1 0.1.0+b494ebeb42 | |
fabric-mining-levels-v0: fabric-mining-levels-v0 0.1.0+ab421b9c42 | |
fabric-models-v0: fabric-models-v0 0.1.0+5914746342 | |
fabric-networking-blockentity-v0: fabric-networking-blockentity-v0 0.1.1+b494ebeb42 | |
fabric-networking-v0: fabric-networking-v0 0.1.3+9f55aa7042 | |
fabric-object-builders-v0: fabric-object-builders-v0 0.1.1+9b03381f42 | |
fabric-registry-sync-v0: fabric-registry-sync-v0 0.2.2+9b03381f42 | |
fabric-renderer-api-v1: fabric-renderer-api-v1 0.1.1+9b03381f42 | |
fabric-renderer-indigo: fabric-renderer-indigo 0.1.13+68fade5542 | |
fabric-rendering-data-attachment-v1: fabric-rendering-data-attachment-v1 0.1.0+b494ebeb42 | |
fabric-rendering-fluids-v1: fabric-rendering-fluids-v1 0.1.1+39442fc242 | |
fabric-rendering-v0: fabric-rendering-v0 0.1.1+6dad974e42 | |
fabric-resource-loader-v0: fabric-resource-loader-v0 0.1.3+b02deb0042 | |
fabric-tag-extensions-v0: fabric-tag-extensions-v0 0.1.1+b494ebeb42 | |
fabric-textures-v0: fabric-textures-v0 0.1.4+b494ebeb42 | |
fabricloader: Fabric Loader 0.6.1+build.164 | |
function_api: Function API 1.3.0 | |
minecraft: Minecraft 1.14.4 | |
Launched Version: Fabric | |
LWJGL: 3.2.2 build 10 | |
OpenGL: AMD Radeon R7 Graphics (CARRIZO, DRM 3.33.0, 5.3.6-1-MANJARO, LLVM 9.0.0) GL version 4.5 (Compatibility Profile) Mesa 19.2.1, X.Org | |
GL Caps: Using GL 1.3 multitexturing. | |
Using GL 1.3 texture combiners. | |
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. | |
Shaders are available because OpenGL 2.1 is supported. | |
VBOs are available because OpenGL 1.5 is supported. | |
Using VBOs: Yes | |
Is Modded: Definitely; Client brand changed to 'fabric' | |
Type: Client (map_client.txt) | |
Resource Packs: | |
Current Language: English (US) | |
CPU: 4x AMD A12-9720P RADEON R7, 12 COMPUTE CORES 4C+8G |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment