public EntityNBT(CommandsGeneratorTemplate cmdGenerator) { Application.Current.Dispatcher.Invoke(new Action(delegate { C1 = new EntityNeutral(); C2 = new EntityHostile(); C3 = new EntityFriend(); C4 = new EntityBoss(); C5 = new EntityThrow(); C6 = new EntityTraffic(); C7 = new EntityOther(); })); InitializeComponent(); potion.BeginInit(); e1.IsSelected = true; CmdGenerator = cmdGenerator; ObjReader CurrentHelixObjReader = new ObjReader(); Model3DGroup MyModel = CurrentHelixObjReader.Read(Environment.CurrentDirectory + "/3D/direction.obj"); foo.Content = MyModel; IList <Point3D> a = new List <Point3D> { new Point3D(5, 0, 1), new Point3D(0, 0, 1) }; tube.Path = new Point3DCollection(a); }
public ItemNBT(CommandsGeneratorTemplate cmdGenerator) { InitializeComponent(); Tooltip("BlocksB"); UpdateItemPick(BlocksB, null); UpdateMetaData("stone", new string[] { "石头", "花岗岩", "磨制花岗岩", "闪长岩", "磨制闪长岩", "安山岩", "磨制安山岩" }, true); CmdGenerator = cmdGenerator; }
public Firework(CommandsGeneratorTemplate tmp) { InitializeComponent(); Tmp = tmp; dg.DataContext = Data; cbc.ItemsSource = new List <string> { "小球", "大球", "星形", "苦力怕", "散射" }; }
public Banners(CommandsGeneratorTemplate tmp) { InitializeComponent(); Tmp = tmp; brick.Source = b1; mojang.Source = b2; creeper.Source = b3; skull.Source = b4; flower.Source = b5; }
public SetBlocks(CommandsGeneratorTemplate cmdGenerator) { backColor = new SolidColorBrush(Color.FromRgb(255, 255, 255)); InitializeComponent(); UpdateItemPick(BlocksB, null); LocA.SetForeground(Color.FromRgb(255, 255, 255)); LocB.SetForeground(Color.FromRgb(255, 255, 255)); clone_loc.SetForeground(Color.FromRgb(255, 255, 255)); CmdGenerator = cmdGenerator; }
public EntityCommands(CommandsGeneratorTemplate cmdGenerator) { InitializeComponent(); LocX_sp.setNeighbour(null, LocZ_sp); LocZ_sp.setNeighbour(LocX_sp, null); LocX_tp.setNeighbour(null, LocY_tp); LocY_tp.setNeighbour(LocX_tp, LocZ_tp); LocZ_tp.setNeighbour(LocY_tp, null); CmdGenerator = cmdGenerator; }
public Tellraw(CommandsGeneratorTemplate tmp) { InitializeComponent(); doc.Bold = bold; doc.Italic = italic; doc.Underlined = underlined; doc.Strikethrough = strikethrough; doc.Obfuscated = obfuscated; doc.ColorPicker = TextColor; doc.Window = (tmp.Parent as ContentControl).Parent as IMtbWindow; doc.EntitySelector = ES; doc.InitializeSettings(clearStyle, c, addSelector, addObjective, addEvent, TextColor, doc.Foreground); }
public PlayerCommands(CommandsGeneratorTemplate cmdGenerator) { InitializeComponent(); LocX_sp.setNeighbour(null, LocY_sp); LocY_sp.setNeighbour(LocX_sp, LocZ_sp); LocZ_sp.setNeighbour(LocY_sp, null); LocX.setNeighbour(null, LocY); LocY.setNeighbour(LocX, LocZ); LocZ.setNeighbour(LocY, null); CmdGenerator = cmdGenerator; }
public Sign(CommandsGeneratorTemplate tmp) { InitializeComponent(); CmdGenerator = tmp; line1.Bold = bold; line1.Italic = italic; line1.Underlined = underlined; line1.Strikethrough = strikethrough; line1.Obfuscated = obfuscated; line1.ColorPicker = TextColor; line1.Window = (tmp.Parent as ContentControl).Parent as IMtbWindow; line1.EntitySelector = ES; line1.InitializeSettings(clearStyle, c, null, null, null, TextColor, line1.Foreground); line2.Bold = bold; line2.Italic = italic; line2.Underlined = underlined; line2.Strikethrough = strikethrough; line2.Obfuscated = obfuscated; line2.ColorPicker = TextColor; line2.Window = (tmp.Parent as ContentControl).Parent as IMtbWindow; line2.EntitySelector = ES; line2.InitializeSettings(clearStyle, c, null, null, null, TextColor, line2.Foreground); line3.Bold = bold; line3.Italic = italic; line3.Underlined = underlined; line3.Strikethrough = strikethrough; line3.Obfuscated = obfuscated; line3.ColorPicker = TextColor; line3.Window = (tmp.Parent as ContentControl).Parent as IMtbWindow; line3.EntitySelector = ES; line3.InitializeSettings(clearStyle, c, null, null, null, TextColor, line3.Foreground); line4.Bold = bold; line4.Italic = italic; line4.Underlined = underlined; line4.Strikethrough = strikethrough; line4.Obfuscated = obfuscated; line4.ColorPicker = TextColor; line4.Window = (tmp.Parent as ContentControl).Parent as IMtbWindow; line4.EntitySelector = ES; line4.InitializeSettings(clearStyle, c, null, null, null, TextColor, line4.Foreground); EditingCommands.AlignCenter.Execute(null, line1); EditingCommands.AlignCenter.Execute(null, line2); EditingCommands.AlignCenter.Execute(null, line3); EditingCommands.AlignCenter.Execute(null, line4); editing = line1; addSelector.Click += AddSelector_Click; addObjective.Click += AddObjective_Click; }
public Book(CommandsGeneratorTemplate cmdGenerator) { InitializeComponent(); CmdGenerator = cmdGenerator; JsonEditor doc = Page1.doc; doc.Bold = bold; doc.Italic = italic; doc.Underlined = underlined; doc.Strikethrough = strikethrough; doc.Obfuscated = obfuscated; doc.ColorPicker = TextColor; doc.Window = (cmdGenerator.Parent as ContentControl).Parent as IMtbWindow; doc.EntitySelector = ES; doc.InitializeSettings(clearStyle, c, addSelector, addObjective, addEvent, TextColor, doc.Foreground); Page1.doc.GotFocus += FocusedChanged; editing = Page1.doc; }
public ScoreboardObjective(CommandsGeneratorTemplate cmdGenerator) { InitializeComponent(); CmdGenerator = cmdGenerator; }
public Potion(CommandsGeneratorTemplate tmp) { InitializeComponent(); Tmp = tmp; }
public ScoreboardPlayers(CommandsGeneratorTemplate cmdGenerator) { InitializeComponent(); CmdGenerator = cmdGenerator; }
public BasicCommands(CommandsGeneratorTemplate cmdGenerator) { InitializeComponent(); view.Source = new BitmapImage(new Uri(Environment.CurrentDirectory + "/images/particle/0.png")); CmdGenerator = cmdGenerator; }
public ArmorStand(CommandsGeneratorTemplate tmp) { InitializeComponent(); Tmp = tmp; }
public ServerCommands(CommandsGeneratorTemplate cmdGenerator) { InitializeComponent(); CmdGenerator = cmdGenerator; }
public MobSpawner(CommandsGeneratorTemplate tmp) { InitializeComponent(); Tmp = tmp; potentials.DataContext = Data; }