Examples of GCPlayerStatsClient


Examples of micdoodle8.mods.galacticraft.core.entities.player.GCPlayerStatsClient

            default:
                p.motionZ -= accel;
            }
        }

        GCPlayerStatsClient stats = GCPlayerStatsClient.get(p);
        stats.inFreefall = freefall;
        stats.inFreefallFirstCheck = true;
        this.pPrevMotionX = p.motionX;
        this.pPrevMotionY = p.motionY;
        this.pPrevMotionZ = p.motionZ;
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.entities.player.GCPlayerStatsClient

    private static ISchematicPage getNextSchematic(int currentIndex)
    {
        final HashMap<Integer, Integer> idList = new HashMap<Integer, Integer>();

        EntityClientPlayerMP player = PlayerUtil.getPlayerBaseClientFromPlayer(FMLClientHandler.instance().getClient().thePlayer, false);
        GCPlayerStatsClient stats = GCPlayerStatsClient.get(player);

        for (int i = 0; i < stats.unlockedSchematics.size(); i++)
        {
            idList.put(i, stats.unlockedSchematics.get(i).getPageID());
        }
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.entities.player.GCPlayerStatsClient

    private static ISchematicPage getLastSchematic(int currentIndex)
    {
        final HashMap<Integer, Integer> idList = new HashMap<Integer, Integer>();

        EntityClientPlayerMP player = PlayerUtil.getPlayerBaseClientFromPlayer(FMLClientHandler.instance().getClient().thePlayer, false);
        GCPlayerStatsClient stats = GCPlayerStatsClient.get(player);

        for (int i = 0; i < stats.unlockedSchematics.size(); i++)
        {
            idList.put(i, stats.unlockedSchematics.get(i).getPageID());
        }
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.entities.player.GCPlayerStatsClient

            }
        }

        if (playerClient != null)
        {
            GCPlayerStatsClient stats = GCPlayerStatsClient.get(playerClient);
            for (ISchematicPage page : stats.unlockedSchematics)
            {
                if (ID == page.getGuiID())
                {
                    GuiScreen screen = page.getResultScreen(playerClient, position.intX(), position.intY(), position.intZ());
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.entities.player.GCPlayerStatsClient

    public void keyDown(Type types, KeyBinding kb, boolean tickEnd, boolean isRepeat)
    {
        if (KeyHandlerClient.mc.thePlayer != null && tickEnd)
        {
            EntityClientPlayerMP playerBase = PlayerUtil.getPlayerBaseClientFromPlayer(KeyHandlerClient.mc.thePlayer, false);
            GCPlayerStatsClient stats = GCPlayerStatsClient.get(playerBase);

            if (kb.getKeyCode() == KeyHandlerClient.galaxyMap.getKeyCode())
            {
                if (KeyHandlerClient.mc.currentScreen == null)
                {
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.entities.player.GCPlayerStatsClient

            final EntityClientPlayerMP client = PlayerUtil.getPlayerBaseClientFromPlayer(OverlaySensorGlasses.minecraft.thePlayer, false);

            if (client != null)
            {
                GCPlayerStatsClient stats = GCPlayerStatsClient.get(client);
                var2 = stats.usingAdvancedGoggles;
            }

            OverlaySensorGlasses.minecraft.fontRenderer.drawString(GCCoreUtil.translate("gui.sensor.advanced") + ": " + (var2 ? GCCoreUtil.translate("gui.sensor.advancedon") : GCCoreUtil.translate("gui.sensor.advancedoff")), var6 / 2 - 50, 4, 0x03b88f);
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.entities.player.GCPlayerStatsClient

    public void onRenderTick(RenderTickEvent event)
    {
        final Minecraft minecraft = FMLClientHandler.instance().getClient();
        final EntityPlayerSP player = minecraft.thePlayer;
        final EntityClientPlayerMP playerBaseClient = PlayerUtil.getPlayerBaseClientFromPlayer(player, false);
        GCPlayerStatsClient stats = null;

        if (player != null)
        {
            stats = GCPlayerStatsClient.get(playerBaseClient);
        }
View Full Code Here

Examples of micdoodle8.mods.galacticraft.core.entities.player.GCPlayerStatsClient

    private SpaceRace spaceRaceData;

    public GuiJoinSpaceRace(EntityClientPlayerMP player)
    {
        this.thePlayer = player;
        GCPlayerStatsClient stats = GCPlayerStatsClient.get(player);

        SpaceRace race = SpaceRaceManager.getSpaceRaceFromID(stats.spaceRaceInviteTeamID);

        if (race != null)
        {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.