Skip to content

Instantly share code, notes, and snippets.

View CatRabbit499's full-sized avatar

Nathan Meyer CatRabbit499

View GitHub Profile
Slots: [Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Inv Block,Ingot Item,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Air,Inv Block,Ingot Item,Air,Air,Air,Air,Air,Air,Air,
Stacks: []
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at net.minecraft.util.NonNullList.get(NonNullList.java:45)
at nathanMeyer.mods.tmpi.client.gui.inventory.ContainerInvsee.detectAndSendChanges(ContainerInvsee.java:48)
at net.minecraft.entity.player.EntityPlayerMP.tick(EntityPlayerMP.java:349)
at net.minecraft.world.World.tickEntity(World.java:1406)
at net.minecraft.world.WorldServer.tickEntity(WorldServer.java:575)
@CatRabbit499
CatRabbit499 / Sync.log
Created February 28, 2019 01:55
MCP / Minecraft Dev Plugin error (IntelliJ)
[20:44:43] [main/INFO]: JAR transformation complete C:\Users\CatRabbit499\Desktop\Forge Beta\build\fg_cache\mcp\1.13.2-20190213.203750\joined\9d82d73885a8679fba098a8b7bab668f722d42c7\AccessTransformer\output.jar
> Running 'decompile'
> Running 'inject'
> Running 'patch'
MCP environment setup is complete
Download https://files.minecraftforge.net/maven/cpw/mods/modlauncher/0.11.0/modlauncher-0.11.0-sources.jar
<ij_msg_gr>MinecraftDev import errors<ij_msg_gr><ij_nav>C:\Users\CatRabbit499\Desktop\Forge Beta\build.gradle<ij_nav><i><b>root project 'Forge Beta': Unable to build MinecraftDev MCP project configuration</b><eol>Details: groovy.lang.MissingPropertyException: Could not get unknown property 'genSrgs' for task set of type org.gradle.api.internal.tasks.DefaultTaskContainer.</i>
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
@CatRabbit499
CatRabbit499 / CommandGamma.java
Created February 25, 2019 14:44
Command Registering Example
package nathanMeyer.mods.tmpi.command;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.FloatArgumentType;
import nathanMeyer.mods.tmpi.constants.ChatFormatting;
import nathanMeyer.mods.tmpi.util.ChatUtils;
import net.minecraft.client.Minecraft;
import net.minecraft.command.CommandSource;
import static net.minecraft.command.Commands.argument;
@CatRabbit499
CatRabbit499 / CommandSound.java
Created February 24, 2019 23:22
Reflection example in modding. (1.12.2)
package nathanMeyer.mods.testModPleaseIgnore.command;
import nathanMeyer.mods.testModPleaseIgnore.TestModPleaseIgnore;
import nathanMeyer.mods.testModPleaseIgnore.constants.ChatFormatting;
import net.minecraft.client.Minecraft;
import net.minecraft.client.audio.SoundHandler;
import net.minecraft.client.audio.SoundManager;
import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommand;
* Exception is:
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':compileClasspath'.
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.rethrowFailure(DefaultConfiguration.java:1050)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.access$1700(DefaultConfiguration.java:125)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:1024)
at org.gradle.api.internal.file.AbstractFileCollection.iterator(AbstractFileCollection.java:76)
at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.iterator(DefaultConfiguration.java:440)
at org.gradle.api.internal.changedetection.state.AbstractFileCollectionSnapshotter$FileCollectionVisitorImpl.visitCollection(AbstractFileCollectionSnapshotter.java:72)
at org.gradle.api.internal.file
@CatRabbit499
CatRabbit499 / latest.log
Created September 18, 2018 20:41
DraconicEvolution NBT Write Crash
[16:35:23] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:35:23] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:35:23] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:35:23] [main/INFO]: Forge Mod Loader version 14.23.4.2760 for Minecraft 1.12.2 loading
[16:35:23] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_51
[16:35:23] [main/INFO]: Searching C:\Curse\Minecraft\Instances\Forge Testing\mods for mods
[16:35:23] [main/INFO]: Loading tweaker guichaguri.betterfps.tweaker.BetterFpsTweaker from BetterFps-1.4.8.jar
[16:35:23] [main/WARN]: Found FMLCorePluginContainsFMLMod marker in Forgelin-1.7.4.jar. This is not recommended, @Mods should be in a separate jar from the coremod.
[16:35:23] [main/WARN]: The coremod net.shadowfacts.forgelin.preloader.ForgelinPlugi
@CatRabbit499
CatRabbit499 / latest.log
Created September 4, 2018 19:20
AbyssalCraft Log Spam
This file has been truncated, but you can view the full file.
[00:00:00] [Server thread/WARN] [net.minecraft.world.WorldServer]: Keeping entity abyssalcraft:abyssalzombie that already exists with UUID 56fa22b9-54c8-4651-ab27-e41987a42d7a
[00:00:39] [Server thread/WARN] [net.minecraft.world.WorldServer]: Keeping entity abyssalcraft:abyssalzombie that already exists with UUID e78efb2f-8e40-49b5-bddd-2eebb7ef24cd
[00:00:46] [Server thread/WARN] [net.minecraft.world.WorldServer]: Keeping entity abyssalcraft:abyssalzombie that already exists with UUID ddbdc7cc-d0a3-4827-b6b3-0814f31abf8a
[00:00:46] [Server thread/WARN] [net.minecraft.world.WorldServer]: Keeping entity abyssalcraft:abyssalzombie that already exists with UUID 1a55d875-6289-478b-9fac-e80138101a4c
[00:00:46] [Server thread/WARN] [net.minecraft.world.WorldServer]: Keeping entity abyssalcraft:abyssalzombie that already exists with UUID 3b111195-dcb9-4cbf-995f-0c58b485ab37
[00:00:48] [Server thread/WARN] [net.minecraft.world.WorldServer]: Keeping entity abyssalcraft:abyssalzombie that already exists with UUID a35b4