public AdventureMode()
        {
            InitializeComponent();
            appLanguage();
            AllSelData asd = new AllSelData();

            for (int i = 0; i < asd.getItemNameListCount(); i++)
            {
                tabRPGOnlyBrokeSel.Items.Add(asd.getItemNameList(i));
                tabRPGOnlyPlaceSel.Items.Add(asd.getItemNameList(i));
            }
            clear();
        }
        private void Init()
        {
            AllSelData asd = new AllSelData();

            for (int i = 0; i < asd.getItemNameListCount(); i++)
            {
                ItemList1.Items.Add(asd.getItemNameList(i));
                ItemList2.Items.Add(asd.getItemNameList(i));
                ItemList3.Items.Add(asd.getItemNameList(i));
                ItemList4.Items.Add(asd.getItemNameList(i));
                ItemList5.Items.Add(asd.getItemNameList(i));
                ItemList6.Items.Add(asd.getItemNameList(i));
                ItemList7.Items.Add(asd.getItemNameList(i));
                ItemList8.Items.Add(asd.getItemNameList(i));
                ItemList9.Items.Add(asd.getItemNameList(i));
                ResultItem.Items.Add(asd.getItemNameList(i));
            }
        }
Example #3
0
        public OtherMap()
        {
            InitializeComponent();
            appLanguage();
            AllSelData asd = new AllSelData();

            for (int i = 0; i < asd.getItemNameListCount(); i++)
            {
                tabOther1HatSel.Items.Add(asd.getItemNameList(i));
                tabOther1ItemFlySel.Items.Add(asd.getItemNameList(i));
                tabOther1TestforInvItem.Items.Add(asd.getItemNameList(i));
            }
            tabOther1RideSel.Items.Add(OtherListNorth);
            tabOther1RideSel.Items.Add(OtherListSouth);
            tabOther1RideSel.Items.Add(OtherListWest);
            tabOther1RideSel.Items.Add(OtherListEast);
            tabOther1RideSel.SelectedIndex = 0;
            Config config = new Config();

            mcVersion = config.getSetting("[Personalize]", "MCVersion");
        }
        public Testfor()
        {
            InitializeComponent();
            appLanguage();
            AllSelData asd = new AllSelData();

            for (int i = 0; i < asd.getItemNameListCount(); i++)
            {
                itemSel.Items.Add(asd.getItemNameList(i));
            }
            clear();
        }
        private void placeFlush()
        {
            placeList.Items.Clear();
            placeList.Items.Add(AdvCanPlace);
            AllSelData asd = new AllSelData();

            for (int i = 0; i <= tabRPGBrokeMaxIndex; i++)
            {
                if (i < globalRPGMaxIndex)
                {
                    int ii = i + 1;
                    placeList.Items.Add("[" + ii + "] " + asd.getItemNameList(globalRPGPlace[i]));
                }
            }
        }
Example #6
0
        public Superflat()
        {
            InitializeComponent();
            appLanguage();
            AllSelData asd = new AllSelData();

            layerSel.Items.Add(SuperflatAir);
            for (int i = 1; i < asd.getItemNameListCount(); i++)
            {
                layerSel.Items.Add(asd.getItemNameList(i));
            }
            for (int i = 0; i < asd.getBiomeCount(); i++)
            {
                biomeSel.Items.Add(asd.getBiomeStr(i));
            }
            clear();
        }
Example #7
0
        public ReplaceItem()
        {
            InitializeComponent();
            appLanguage();
            AllSelData asd = new AllSelData();

            for (int i = 0; i < asd.getSlotStrCount(); i++)
            {
                tabRItemSlot.Items.Add(asd.getSlotStr(i));
            }
            for (int i = 0; i < asd.getItemNameListCount(); i++)
            {
                tabRItemItem.Items.Add(asd.getItemNameList(i));
            }
            for (int i = 0; i < asd.getHideListCount(); i++)
            {
                tabRItemHide.Items.Add(asd.getHideList(i));
            }
            tabRItemBlock.IsChecked  = false;
            tabRItemEntity.IsChecked = true;
            clear();
        }
Example #8
0
        public At()
        {
            InitializeComponent();
            appLanguage();
            AllSelData asd = new AllSelData();

            for (int i = 0; i < asd.getAtListCount(); i++)
            {
                type.Items.Add(asd.getAtNameList(i));
            }
            for (int i = 0; i < asd.getItemNameListCount(); i++)
            {
                hand.Items.Add(asd.getItemNameList(i));
            }
            for (int i = 0; i < asd.getAtListCount(); i++)
            {
                rideEntity.Items.Add(asd.getAtNameList(i));
            }
            clear();
            Config config = new Config();

            mcVersion = config.getSetting("[Personalize]", "MCVersion");
        }
        public CustomCraft()
        {
            InitializeComponent();
            appLanguage();
            AllSelData asd = new AllSelData();

            for (int i = 0; i < asd.getItemNameListCount(); i++)
            {
                cb1.Items.Add(asd.getItemNameList(i));
                cb2.Items.Add(asd.getItemNameList(i));
                cb3.Items.Add(asd.getItemNameList(i));
                cb4.Items.Add(asd.getItemNameList(i));
                cb5.Items.Add(asd.getItemNameList(i));
                cb6.Items.Add(asd.getItemNameList(i));
                cb7.Items.Add(asd.getItemNameList(i));
                cb8.Items.Add(asd.getItemNameList(i));
                cb9.Items.Add(asd.getItemNameList(i));
                cb1_Copy.Items.Add(asd.getItemNameList(i));
                cb2_Copy.Items.Add(asd.getItemNameList(i));
                cb3_Copy.Items.Add(asd.getItemNameList(i));
                cb4_Copy.Items.Add(asd.getItemNameList(i));
                cb5_Copy.Items.Add(asd.getItemNameList(i));
                cb6_Copy.Items.Add(asd.getItemNameList(i));
                cb7_Copy.Items.Add(asd.getItemNameList(i));
                cb8_Copy.Items.Add(asd.getItemNameList(i));
                cb9_Copy.Items.Add(asd.getItemNameList(i));
            }
            for (int i = 0; i < asd.getUniColorStrCount(); i++)
            {
                CustomNameColor.Items.Add(asd.getUniColorStr(i));
                CustomNameColor_Copy.Items.Add(asd.getUniColorStr(i));
            }
        }
Example #10
0
        private void listFlush()
        {
            pageList.Items.Clear();
            AllSelData asd = new AllSelData();

            for (int i = 0; i <= SFMaxIndex; i++)
            {
                if (i < globalSFMaxIndex)
                {
                    int ii = i + 1;
                    pageList.Items.Add("[" + ii + "] " + globalSFBlockCount[i] + "x" + asd.getItemNameList(globalSFBlockID[i]));
                }
            }
        }