mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Clean clean~
This commit is contained in:
1 parent
fd7dc29fe1
commit
269bdbaf8f
9 files changed
+11
-15
No files matched your search
@@ -10,22 +10,19 @@
|
||||
*/
|
||||
package vazkii.botania.client.gui;
|
||||
|
||||
import cpw.mods.fml.relauncher.ReflectionHelper;
|
||||
import vazkii.botania.common.achievement.ModAchievements;
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
import net.minecraft.client.gui.GuiOptionButton;
|
||||
import net.minecraft.client.gui.GuiScreen;
|
||||
import net.minecraft.client.gui.achievement.GuiAchievements;
|
||||
import net.minecraft.client.resources.I18n;
|
||||
import net.minecraft.stats.StatFileWriter;
|
||||
import net.minecraftforge.common.AchievementPage;
|
||||
import vazkii.botania.common.achievement.ModAchievements;
|
||||
import cpw.mods.fml.relauncher.ReflectionHelper;
|
||||
|
||||
public class GuiAchievementsHacky extends GuiAchievements {
|
||||
|
||||
public GuiAchievementsHacky(GuiScreen p_i45026_1_, StatFileWriter p_i45026_2_) {
|
||||
super(p_i45026_1_, p_i45026_2_);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void initGui() {
|
||||
super.initGui();
|
||||
|
||||
@@ -22,7 +22,6 @@ import net.minecraft.client.audio.PositionedSoundRecord;
|
||||
import net.minecraft.client.gui.FontRenderer;
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
import net.minecraft.client.gui.GuiScreen;
|
||||
import net.minecraft.client.gui.achievement.GuiAchievements;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
@@ -26,7 +26,7 @@ public final class ModAchievements {
|
||||
|
||||
public static AchievementPage botaniaPage;
|
||||
public static int pageIndex;
|
||||
|
||||
|
||||
public static Achievement flowerPickup;
|
||||
public static Achievement lexiconUse;
|
||||
public static Achievement daybloomPickup;
|
||||
|
||||
@@ -129,7 +129,7 @@ public class BlockModDoubleFlower extends BlockDoublePlant implements ILexiconab
|
||||
doublePlantBottomIcons[i] = IconHelper.forName(register, "flower" + off + "Tall1");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int colorMultiplier(IBlockAccess blockAccess, int x, int y, int z) {
|
||||
return 16777215;
|
||||
|
||||
@@ -103,7 +103,7 @@ public class ItemExcaliber extends ItemManasteelSword implements IRelic, ILensEf
|
||||
public boolean usesMana(ItemStack stack) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean isItemTool(ItemStack p_77616_1_) {
|
||||
return true;
|
||||
@@ -113,7 +113,7 @@ public class ItemExcaliber extends ItemManasteelSword implements IRelic, ILensEf
|
||||
public int getEntityLifespan(ItemStack itemStack, World world) {
|
||||
return Integer.MAX_VALUE;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Multimap getItemAttributeModifiers() {
|
||||
Multimap multimap = HashMultimap.create();
|
||||
|
||||
@@ -86,7 +86,7 @@ public class ItemFlugelEye extends ItemRelic {
|
||||
}
|
||||
} else setWarpPoint(stack, segment, player.posX, player.posY, player.posZ, world.provider.dimensionId);
|
||||
}
|
||||
|
||||
|
||||
return stack;
|
||||
}
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ public class ItemLokiRing extends ItemRelicBauble implements IWireframeCoordinat
|
||||
int relX = lookPos.blockX - originCoords.posX;
|
||||
int relY = lookPos.blockY - originCoords.posY;
|
||||
int relZ = lookPos.blockZ - originCoords.posZ;
|
||||
|
||||
|
||||
for(ChunkCoordinates cursor : cursors)
|
||||
if(cursor.posX == relX && cursor.posY == relY && cursor.posZ == relZ) {
|
||||
cursors.remove(cursor);
|
||||
|
||||
@@ -66,7 +66,7 @@ public class ItemRelic extends ItemMod implements IRelic {
|
||||
addStringToTooltip(EnumChatFormatting.ITALIC + StatCollector.translateToLocal(name + i), list);
|
||||
} else addStringToTooltip(StatCollector.translateToLocal("botaniamisc.shiftinfo"), list);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int getEntityLifespan(ItemStack itemStack, World world) {
|
||||
return Integer.MAX_VALUE;
|
||||
|
||||
@@ -92,5 +92,5 @@ public abstract class ItemRelicBauble extends ItemBauble implements IRelic {
|
||||
public int getEntityLifespan(ItemStack itemStack, World world) {
|
||||
return Integer.MAX_VALUE;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user