Class StatFileWriter


  • public class StatFileWriter
    extends java.lang.Object
    + This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Constructor Detail

      • StatFileWriter

        public StatFileWriter()
    • Method Detail

      • hasAchievementUnlocked

        public boolean hasAchievementUnlocked​(Achievement achievementIn)
        + Returns true if the achievement has been unlocked.
      • canUnlockAchievement

        public boolean canUnlockAchievement​(Achievement achievementIn)
        + Returns true if the parent has been unlocked, or there is no parent
      • func_150874_c

        public int func_150874_c​(Achievement parAchievement)
      • unlockAchievement

        public void unlockAchievement​(EntityPlayer var1,
                                      StatBase statbase,
                                      int i)
        + Triggers the logging of an achievement and attempts to announce to server
      • readStat

        public int readStat​(StatBase stat)
        + Reads the given stat and returns its value as an int.