Skip to content

Instantly share code, notes, and snippets.

View 0xilly's full-sized avatar
🏳️‍⚧️
Working In SPACE

A Anderson 0xilly

🏳️‍⚧️
Working In SPACE
View GitHub Profile
{
"Title":"Foo Manga Tile",
"Author":"Foo Name",
"Artist":"Foo Name",
"Credits":["Illyohs-Typesetter","DarkPilcrow-Cleaner","Mcriceyy-Typesetter"],
"Images":["img1.png",
"img2.png",
"img4.png",
"img5.png",
alias ls='ls --color=auto'
alias git=hub
GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWSTASHSTATE=1
GIT_PS1_SHOWUNTRACKEDFILES=1
GIT_PS1_SHOWCOLORHINTS=TRUE
source /usr/share/git/completion/git-prompt.sh
/**
* This class was created by Anthony Anderson(Lord Illyohs)
* It is distributed as part of CivilMagicks
* Source Code: https://github.com/LordIllyohs/CivilMagicks
*
* CivilMagicks is Open Source and distributed under a
* Attribution-NonCommercial-ShareAlike 3.0 Unported license.
* (http://creativecommons.org/licenses/by-nc-sa/3.0/)
*
*
package com.newlinegaming.Runix.item.rods;
import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.StatCollector;
package com.newlinegaming.Runix.item.rods;
import java.util.List;
import com.newlinegaming.Runix.RunixMain;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
package com.newlinegaming.Runix.item.rods;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import com.newlinegaming.Runix.RunixMain;
This file has been truncated, but you can view the full file.
MultiMC version: 0.4.1
Minecraft folder is:
/home/anthony/.multimc5/instances/Arcadia Test/minecraft
Java path is:
java
Java Arguments:
[-Xms512m, -Xmx2048m, -Duser.language=en, -jar, /usr/lib/multimc5/jars/NewLaunch.jar]
33:41] [main/INFO] [GradleStart]: assetIndex: 1.7.10
[00:33:41] [main/INFO] [GradleStart]: Extra: [--assetDir, ~/.gradle/caches/inecraft/assets/indexes/1.7.10.json]
[00:33:41] [main/INFO] [GradleStart]: Password found, attempting login
[00:33:41] [main/INFO]: Logging in with username & password
[00:33:42] [main/INFO] [GradleStart]: Login Succesful!
[00:33:42] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {twitch_access_token=[com.mojang.authlib.properties.Property@6033b0e4]}, --username, glassesofdoom, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --uuid, 725d6477a6324f2894da32e349b06eea, --assetsDir, /home/anthony/.gradle/caches/minecraft/assets, --version, 1.7.10, --assetDir, ~/.gradle/caches/inecraft/assets/indexes/1.7.10.json]
[00:33:42] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[00:33:42] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launc
String getJsonFilePath(World world) {
String levelName = world.getWorldInfo().getWorldName();
String directory = "";
try {
String subDirectory = ( MinecraftServer.getServer() instanceof DedicatedServer )? "" : "saves/";
directory = subDirectory + levelName + "/stored_runes/";
String getJsonFilePath(World world) {
String levelName = world.getWorldInfo().getWorldName();
try {
String subDirectory = ( MinecraftServer.getServer() instanceof DedicatedServer )? "" : "saves/";
String directory = subDirectory + levelName + "/stored_runes/";
new File(directory).mkdirs();//ensure the folder exists
String fileName = directory + shortClassName() + ".json";
return fileName;