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));
            }
        }
        public Testfor()
        {
            InitializeComponent();
            appLanguage();
            AllSelData asd = new AllSelData();

            for (int i = 0; i < asd.getItemNameListCount(); i++)
            {
                itemSel.Items.Add(asd.getItemNameList(i));
            }
            clear();
        }
        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();
        }
Example #4
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();
        }
        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 #6
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");
        }
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");
        }