April_Fools_2023.xaml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429
  1. <StackPanel Margin="0,-10,0,0"
  2. xmlns:sys="clr-namespace:System;assembly=mscorlib"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:local="clr-namespace:PCL;assembly=Plain Craft Launcher 2">
  5. <!--Animations Starts-->
  6. <StackPanel.Triggers>
  7. </StackPanel.Triggers>
  8. <StackPanel.Resources>
  9. <!--Styles Starts-->
  10. <Style TargetType="FlowDocumentScrollViewer" >
  11. <Setter Property="IsSelectionEnabled" Value="False"/>
  12. <Setter Property="VerticalScrollBarVisibility" Value="Hidden"/>
  13. <Setter Property="Margin" Value="0"/>
  14. </Style><Style TargetType="FlowDocument" >
  15. <Setter Property="FontFamily" Value="Microsoft YaHei UI"/>
  16. <Setter Property="FontSize" Value="14"/>
  17. <Setter Property="TextAlignment" Value="Left"/>
  18. </Style><Style TargetType="StackPanel" x:Key="ContentStack" >
  19. <Setter Property="Margin" Value="20,40,20,20"/>
  20. </Style><Style TargetType="local:MyCard" x:Key="Card" >
  21. <Setter Property="Margin" Value="0,5"/>
  22. </Style><Style TargetType="TextBox" x:Key="InlineCode">
  23. <Setter Property="FontSize" Value="14" />
  24. <Setter Property="IsReadOnly" Value="True" />
  25. <Setter Property="Margin" Value="2,0,2,-4" />
  26. <Setter Property="FontFamily" Value="Consolas"/>
  27. <Setter Property="Height" Value="18"/>
  28. <Setter Property="Template">
  29. <Setter.Value>
  30. <ControlTemplate TargetType="TextBox">
  31. <Border Background="{DynamicResource ColorBrush6}" Opacity="0.9"
  32. BorderBrush="{DynamicResource ColorBrush4}" BorderThickness="0"
  33. CornerRadius="5" Padding="4,0.2">
  34. <ScrollViewer x:Name="PART_ContentHost" Focusable="false"
  35. HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" />
  36. </Border>
  37. <ControlTemplate.Triggers>
  38. </ControlTemplate.Triggers>
  39. </ControlTemplate>
  40. </Setter.Value>
  41. </Setter>
  42. </Style><Style TargetType="Section" x:Key="Quote" >
  43. <Setter Property="BorderThickness" Value="5,0,0,0"/>
  44. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush4}"/>
  45. <Setter Property="Padding" Value="10,5"/>
  46. <Setter Property="Margin" Value="0,5"/>
  47. </Style><Style TargetType="Section" x:Key="cautionQuote" BasedOn="{StaticResource Quote}">
  48. <Setter Property="BorderBrush" Value="#CC4455"/>
  49. <Setter Property="Background" Value="#33CC4455"/>
  50. </Style><Style TargetType="Section" x:Key="noteQuote" BasedOn="{StaticResource Quote}">
  51. <Setter Property="BorderBrush" Value="#4455AA"/>
  52. <Setter Property="Background" Value="#334455AA"/>
  53. </Style><Style TargetType="Section" x:Key="tipQuote" BasedOn="{StaticResource Quote}">
  54. <Setter Property="BorderBrush" Value="#44AA55"/>
  55. <Setter Property="Background" Value="#3344AA55"/>
  56. </Style><Style TargetType="Section" x:Key="importantQuote" BasedOn="{StaticResource Quote}">
  57. <Setter Property="BorderBrush" Value="#AA55BB"/>
  58. <Setter Property="Background" Value="#33AA55BB"/>
  59. </Style><Style TargetType="Section" x:Key="warningQuote" BasedOn="{StaticResource Quote}">
  60. <Setter Property="BorderBrush" Value="#DDBB44"/>
  61. <Setter Property="Background" Value="#33DDBB44"/>
  62. </Style><Style TargetType="Image" x:Key="InnerImage" >
  63. <Setter Property="MaxHeight" Value="500"/>
  64. <Setter Property="HorizontalAlignment" Value="Center"/>
  65. </Style><Style TargetType="TextBlock" >
  66. <Setter Property="TextWrapping" Value="Wrap"/>
  67. <Setter Property="HorizontalAlignment" Value="Left"/>
  68. <Setter Property="FontSize" Value="14"/>
  69. <Setter Property="Foreground" Value="Black"/>
  70. </Style><Style TargetType="Paragraph" >
  71. <Setter Property="LineHeight" Value="12"/>
  72. <Setter Property="TextIndent" Value="0"/>
  73. <Setter Property="Margin" Value="0,8"/>
  74. </Style><Style TargetType="Paragraph" x:Key="Lp" >
  75. <Setter Property="LineHeight" Value="16"/>
  76. <Setter Property="TextIndent" Value="0"/>
  77. </Style><Style TargetType="List" >
  78. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  79. <Setter Property="Margin" Value="20,6,0,6"/>
  80. <Setter Property="MarkerStyle" Value="1"/>
  81. <Setter Property="Padding" Value="0"/>
  82. </Style><Style TargetType="ListItem" >
  83. <Setter Property="Foreground" Value="Black"/>
  84. <Setter Property="Margin" Value="0,4"/>
  85. </Style><Style TargetType="Section" x:Key="Hr" >
  86. <Setter Property="Margin" Value="0,4,0,0"/>
  87. <Setter Property="BorderThickness" Value="0,1.5,0,0"/>
  88. <Setter Property="BorderBrush" Value="{StaticResource ColorBrush4}"/>
  89. <Setter Property="FontSize" Value="4"/>
  90. </Style><Style TargetType="Paragraph" x:Key="H1" >
  91. <Setter Property="FontSize" Value="24"/>
  92. <Setter Property="Margin" Value="0,10,0,10"/>
  93. <Setter Property="FontWeight" Value="Bold"/>
  94. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  95. </Style><Style TargetType="Paragraph" x:Key="H2" >
  96. <Setter Property="FontSize" Value="22"/>
  97. <Setter Property="Margin" Value="0,10,0,5"/>
  98. <Setter Property="FontWeight" Value="Bold"/>
  99. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  100. </Style><Style TargetType="Paragraph" x:Key="H3" >
  101. <Setter Property="FontSize" Value="18"/>
  102. <Setter Property="Margin" Value="0,10,0,3"/>
  103. <Setter Property="FontWeight" Value="Bold"/>
  104. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  105. </Style><Style TargetType="Paragraph" x:Key="H4" >
  106. <Setter Property="FontSize" Value="16"/>
  107. <Setter Property="Margin" Value="0,10,0,1"/>
  108. <Setter Property="FontWeight" Value="Bold"/>
  109. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  110. </Style><Style TargetType="Paragraph" x:Key="H5" >
  111. <Setter Property="FontSize" Value="14"/>
  112. <Setter Property="Margin" Value="0,8,0,1"/>
  113. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  114. </Style><Style x:Key="imgTitle" TargetType="TextBlock">
  115. <Setter Property="FontSize" Value="14" />
  116. <Setter Property="Foreground" Value="#FF777777" />
  117. <Setter Property="HorizontalAlignment" Value="Center" />
  118. <Setter Property="Margin" Value="0,0,0,15" />
  119. </Style><sys:String x:Key="DownloadIcon">
  120. M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
  121. 0-14-6.3-14-14V664c0-5.5-4.5-10-10-10h-50c-5.5
  122. 0-10 4.5-10 10v170c0 33.1 26.9 60 60 60h600c33.1
  123. 0 60-26.9 60-60V664c0-5.5-4.5-10-10-10h-50c-5.5
  124. 0-10 4.5-10 10z M547 163v449.5l173.6-173.6c13.7-13.7
  125. 35.8-13.7 49.5 0 13.7 13.7 13.7 35.8 0 49.5L536.8
  126. 721.7c-0.4 0.4-0.8 0.8-1.3 1.2-0.2 0.2-0.4 0.4-0.6
  127. 0.5-0.2 0.2-0.4 0.4-0.7 0.6-0.3 0.2-0.5 0.4-0.8 0.6-0.2
  128. 0.1-0.4 0.3-0.5 0.4l-0.9 0.6c-0.2 0.1-0.3 0.2-0.5 0.3-0.3
  129. 0.2-0.6 0.4-1 0.6-0.2 0.1-0.3 0.2-0.5 0.3-0.3 0.2-0.6
  130. 0.4-1 0.5-0.2 0.1-0.4 0.2-0.5 0.3-0.3 0.2-0.6 0.3-0.9
  131. 0.5l-0.6 0.3c-0.3 0.1-0.6 0.3-0.8 0.4-0.2 0.1-0.5 0.2-0.7
  132. 0.3-0.3 0.1-0.5 0.2-0.8 0.3l-0.9 0.3c-0.2 0.1-0.4 0.2-0.7
  133. 0.2-0.3 0.1-0.6 0.2-1 0.3-0.2 0.1-0.4 0.1-0.6 0.2-0.4 0.1-0.7
  134. 0.2-1.1 0.3-0.2 0-0.4 0.1-0.6 0.1-0.4 0.1-0.7 0.2-1.1 0.2-0.2
  135. 0-0.4 0.1-0.6 0.1-0.4 0.1-0.7 0.1-1.1 0.2-0.2 0-0.4 0.1-0.7
  136. 0.1-0.3 0-0.7 0.1-1 0.1-0.3 0-0.6 0-0.9 0.1-0.3 0-0.5 0-0.8
  137. 0.1-1.2 0.1-2.3 0.1-3.5 0-0.3 0-0.5 0-0.8-0.1-0.3 0-0.6
  138. 0-0.9-0.1-0.3 0-0.7-0.1-1-0.1-0.2 0-0.4-0.1-0.7-0.1-0.4-0.1-0.7-0.1-1.1-0.2-0.2
  139. 0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.2-0.2
  140. 0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.3-0.2-0.1-0.4-0.1-0.6-0.2-0.3-0.1-0.6-0.2-1-0.3-0.2-0.1-0.5-0.1-0.7-0.2l-0.9-0.3c-0.3-0.1-0.5-0.2-0.8-0.3-0.2-0.1-0.5-0.2-0.7-0.3-0.3-0.1-0.6-0.3-0.8-0.4l-0.6-0.3c-0.3-0.2-0.6-0.3-0.9-0.5-0.2-0.1-0.4-0.2-0.5-0.3-0.3-0.2-0.6-0.4-1-0.6-0.2-0.1-0.3-0.2-0.5-0.3-0.3-0.2-0.6-0.4-1-0.6-0.2-0.1-0.3-0.2-0.5-0.3-0.3-0.2-0.6-0.4-0.9-0.7-0.2-0.1-0.3-0.3-0.5-0.4-0.3-0.2-0.5-0.4-0.8-0.6-0.2-0.2-0.4-0.4-0.7-0.6-0.2-0.2-0.4-0.4-0.6-0.5l-1.2-1.2-233.1-233.1c-13.7-13.7-13.7-35.8 0-49.5 13.7-13.7
  141. 35.8-13.7 49.5 0L477 612.5V163c0-19.3 15.7-35 35-35s35 15.7 35 35z</sys:String>
  142. <sys:String x:Key="LaunchIcon">
  143. M512 97C282.8 97 97 282.8 97 512s185.8 415 415 415 415-185.8
  144. 415-415S741.2 97 512 97z m-1 759c-190.5 0-345-154.5-345-345s154.5-345
  145. 345-345 345 154.5 345 345-154.5 345-345 345z M442.1 408.2L621.9 512
  146. 442.1 615.8V408.2m-59.9-113.9c-5.2 0-10 4.2-10 10v415.4c0 5.8 4.8 10
  147. 10 10 1.7 0 3.4-0.4 5-1.4l359.7-207.7c6.7-3.8 6.7-13.5 0-17.3L387.1
  148. 295.7c-1.6-1-3.3-1.4-4.9-1.4z</sys:String>
  149. <sys:String x:Key="CloudIcon">
  150. M480 224c43 0 84.7 11.6 120.6 33.5 34.6 21.1 62.5 50.9 80.6 86 10.4
  151. 20.1 30.6 33.3 53.2 34.6C796 381.6 853 407 895.2 449.7c41.7 42.1 64.6
  152. 97.2 64.6 155 0 30.8-5.9 60.6-17.7 88.7-11.3 27.1-27.5 51.4-48.2 72.3-42.3
  153. 42.8-98.4 66.3-158 66.3h-478c-53.3-3.1-102.6-24-139-58.8-35.3-33.6-54.7-77.2-54.7-122.5
  154. 0-38.5 13.7-75.3 39.7-106.4 12.9-15.5 28.5-29.1 46.3-40.3 18.3-11.6
  155. 38.4-20.4 59.9-26.3 26.1-7.1 44.9-29.9 47-56.9 4-52.9 28.6-102.1
  156. 69.4-138.7C368.1 244.6 422.6 224 480 224m0-64c-139.2 0-255.2 94.9-281.9
  157. 220.8-4.4 20.8-18.5 38.3-38.2 46.3C65.8 465.6 0.2 551.2 0.2 650.7 0.2 781.3
  158. 113.4 888.6 256.1 896H736c158.9 0 287.9-130.5 287.9-291.3
  159. 0-145.4-111.1-265.5-256.2-287.4-18.1-2.7-34.1-13-44.2-28.2C672.5
  160. 211.6 582.7 160 480 160z</sys:String>
  161. <sys:String x:Key="WikiIcon">
  162. M172.61,196.65h31a7.69,7.69,0,0,1,7.62,6.65l11.19,80.95c2.58,20.09,5.16,40.18,7.73,60.79h1c3.61-20.61,7.47-41,11.34-60.79l18.23-81.58a7.7,7.7,0,0,1,7.52-6h26.58a7.7,7.7,0,0,1,7.51,6l18.48,81.6c3.86,19.57,7.21,40.18,11.07,60.79h1.29c2.32-20.61,4.9-41,7.22-60.79l11.67-81a7.7,7.7,0,0,1,7.62-6.6h27.72a7.7,7.7,0,0,1,7.59,9L364.41,382.2a7.69,7.69,0,0,1-7.58,6.38H311.61a7.7,7.7,0,0,1-7.54-6.14l-16-77.33c-3.09-14.68-5.67-30.14-7.47-44.57h-1c-2.58,14.43-4.9,29.89-7.73,44.57L256.34,382.4a7.7,7.7,0,0,1-7.54,6.18H204.6a7.69,7.69,0,0,1-7.58-6.32L165,205.72A7.71,7.71,0,0,1,172.61,196.65ZM286.87,507.39,159.71,455.25v22.82L97.54,451.18v-23.3l-89-2,9.54-119.29H44.78V291.24L31.45,280.81V247l14.09-4.23L45,227.13,63.33,220V207.1l5.51-2v-16.2l15.65-4.93V167.63l24.06-11.81,1.65-21.95,4.94-1.72-2-1V95.6h13V89.45l27.56-14.79L169,84.43,185.79,76l21.47,15.34,8.1,1v7.91h6.51l60.65-30.56,8,3.49,17-12.08L324,71l.12-2.19,39.15-22,18.06,12.53h26.37l3.79-1.62,36.38,27.4v28.77l16.81,8.15V149l6.08,3V164l10.15,5.51v11.32h9v11.52l1,0c1.54,0,3.44.08,5.91,0l15.13-.13V212.7h9.28v49.71h-5.8v36.1l-16,9h56l6.78,119.85-116.84-1.4Zm-157.16-85.7h27.23l128.51,52.7,152.82-78.54,92.15,1.1-3.36-59.47H456.67V325.89h-5.8v-40l22.37,1.81L485.36,281v-.86h-7.24V268.5h-7V236.33l-11.31,8.61V210.82h-9V187.35l-10.15-5.51V170.59l-11.59-5.79V138.2l-38.25-18.53,26.95-17.27v-2.29l-10.59-8-24.49,10.41V89.37H371.9l-10.35-7.18-8.38,4.7-.6,11.32-22.31,11.61-21.4-12.9L294,107.45l-10.58-4.63L192,148.87V130.24h-6.67V119l-1-.12V121l-28.12,4v.58h-7.1L151.49,150l-5.17-.37.11,3.38-1.27.44,14.7,10.59-45.37,22.26V206l-15.65,4.93V226l-5.51,2v12.57l-17.6,6.81.61,17.43-12,3.61,10.46,8.18v1.59h11.6v24l43.44,34.42h-84l-4.8,60,86.54,1.93v32.93l2.17.94ZM476.3,232.41h5.58v-4.25Z
  163. </sys:String>
  164. <sys:String x:Key="CreeperIcon">
  165. M213.333333 128a85.333333 85.333333 0 0 0-85.333333 85.333333v597.333334a85.333333 85.333333 0 0 0 85.333333 85.333333h597.333334a85.333333 85.333333 0 0 0 85.333333-85.333333V213.333333a85.333333 85.333333 0 0 0-85.333333-85.333333H213.333333z m0 64h597.333334c11.754667 0 21.333333 9.578667 21.333333 21.333333v597.333334c0 11.754667-9.578667 21.333333-21.333333 21.333333H213.333333c-11.754667 0-21.333333-9.578667-21.333333-21.333333V213.333333c0-11.754667 9.578667-21.333333 21.333333-21.333333z m64 106.666667a21.333333 21.333333 0 0 0-21.333333 21.333333v128a21.333333 21.333333 0 0 0 21.333333 21.333333h149.333334v-149.333333a21.333333 21.333333 0 0 0-21.333334-21.333333h-128z m149.333334 170.666666v85.333334h-64a21.333333 21.333333 0 0 0-21.333334 21.333333v160a32 32 0 1 0 64 0V704h213.333334v32a32 32 0 1 0 64 0V576a21.333333 21.333333 0 0 0-21.333334-21.333333h-64v-85.333334h-170.666666z m170.666666 0h149.333334a21.333333 21.333333 0 0 0 21.333333-21.333333v-128a21.333333 21.333333 0 0 0-21.333333-21.333333h-128a21.333333 21.333333 0 0 0-21.333334 21.333333v149.333333z
  166. </sys:String><ControlTemplate x:Key="Separator" TargetType="ContentControl">
  167. <Grid Margin="0,10">
  168. <Grid.ColumnDefinitions>
  169. <ColumnDefinition Width="1*" />
  170. <ColumnDefinition Width="100" />
  171. <ColumnDefinition Width="1*" />
  172. </Grid.ColumnDefinitions>
  173. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
  174. <TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center" FontSize="15" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
  175. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
  176. </Grid>
  177. </ControlTemplate><Style TargetType="local:MyIconTextButton" x:Key="DownloadVersionButton" >
  178. <Setter Property="Text" Value="下载"/>
  179. <Setter Property="ToolTip" Value="转到下载页面"/>
  180. <Setter Property="EventType" Value="切换页面"/>
  181. <Setter Property="EventData" Value="1|1"/>
  182. </Style><Style TargetType="local:MyIconTextButton" x:Key="ServerJarDownloadButton" >
  183. <Setter Property="Text" Value="服务端"/>
  184. <Setter Property="ToolTip" Value="下载服务端"/>
  185. <Setter Property="EventType" Value="下载文件"/>
  186. </Style><Style TargetType="local:MyButton" x:Key="LinkButtonBase" >
  187. <Setter Property="Margin" Value="0,0,5,5"/>
  188. <Setter Property="Height" Value="35"/>
  189. <Setter Property="Padding" Value="13,0"/>
  190. <Setter Property="EventType" Value="打开网页"/>
  191. </Style><Style TargetType="local:MyButton" x:Key="WikiLinkButton" BasedOn="{StaticResource LinkButtonBase}">
  192. <Setter Property="Grid.Column" Value="0"/>
  193. <Setter Property="Text" Value="Minecraft Wiki"/>
  194. </Style><Style TargetType="local:MyButton" x:Key="OfficalLinkButton" BasedOn="{StaticResource LinkButtonBase}">
  195. <Setter Property="Grid.Column" Value="2"/>
  196. <Setter Property="Text" Value="官网"/>
  197. </Style><Style TargetType="Border" x:Key="VersionImageBorder" >
  198. <Setter Property="HorizontalAlignment" Value="Center"/>
  199. <Setter Property="BorderThickness" Value="4"/>
  200. <Setter Property="VerticalAlignment" Value="Top"/>
  201. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}"/>
  202. <Setter Property="CornerRadius" Value="7"/>
  203. <Setter Property="MaxHeight" Value="140"/>
  204. </Style><Style TargetType="Border" x:Key="VersionTitleBorder" >
  205. <Setter Property="Margin" Value="0,-20,-1,-2"/>
  206. <Setter Property="Background" Value="{DynamicResource ColorBrush3}"/>
  207. <Setter Property="Width" Value="170"/>
  208. <Setter Property="Height" Value="30"/>
  209. <Setter Property="CornerRadius" Value="7"/>
  210. <Setter Property="BorderThickness" Value="0,0,0,2"/>
  211. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush2}"/>
  212. </Style><Style TargetType="TextBlock" x:Key="VersionTitleBlock" >
  213. <Setter Property="HorizontalAlignment" Value="Center"/>
  214. <Setter Property="TextAlignment" Value="Center"/>
  215. <Setter Property="VerticalAlignment" Value="Center"/>
  216. <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}"/>
  217. <Setter Property="Width" Value="180"/>
  218. <Setter Property="TextWrapping" Value="Wrap"/>
  219. <Setter Property="FontSize" Value="18"/>
  220. </Style>
  221. </StackPanel.Resources>
  222. <local:MyCard CanSwap="False" IsSwaped="false" Margin="0,-2,0,6">
  223. <Border Margin="0,0,0,0" Padding="2,8" BorderThickness="1" Background="{DynamicResource ColorBrush5}" CornerRadius="5" VerticalAlignment="Top" BorderBrush="{DynamicResource ColorBrush3}" Opacity="0.7">
  224. <Grid Margin="10,0,0,0">
  225. <TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#FF000000">
  226. 📰 欢迎使用新闻主页
  227. </TextBlock>
  228. <TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#00000000">
  229. 📰 欢迎使用新闻主页
  230. </TextBlock>
  231. </Grid>
  232. </Border>
  233. </local:MyCard><ContentControl Content="加 急 特 快" Template="{StaticResource Separator}"/><local:MyCard Title="重磅来袭:投票更新" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  234. <StackPanel Style="{StaticResource ContentStack}">
  235. <Border Style="{StaticResource VersionImageBorder}">
  236. <Border.Background>
  237. <ImageBrush ImageSource="https://image.stapxs.cn/i/2024/06/09/image.png" Stretch="UniformToFill" />
  238. </Border.Background>
  239. <Image Source="https://image.stapxs.cn/i/2024/06/09/image.png" Opacity="0" Stretch="Fill"/>
  240. </Border>
  241. <Border Style="{StaticResource VersionTitleBorder}">
  242. <TextBlock Style="{StaticResource VersionTitleBlock}" Text="23w13a_or_b" />
  243. </Border><FlowDocumentScrollViewer >
  244. <FlowDocument>
  245. <Paragraph>以下译自官方博文
  246. 我们人类每天都要做 35000 个选择——它们大多是关于吃什么、穿什么、说什么,还有是否你应该在流媒体平台上观看新现实戏剧(它太太太太好康了,只是你必须得等至少 47 集才能真正开始)。有这么多的选择需要做,使人烦躁。更直接的说,使人厌恶。而且这些选择有些你可能会在 Minecraft 中做出!Mojang Studios 现在着手于修正这个问题。解决方案是:更多的选择!
  247. 几年以来,我们推出了一系列改变生活、赢得大奖、使人疯狂、更不用说令人极为震撼的内容:Minecraft 3D、20w14∞ 快照、一次一个方块更新。但是它们和本次 “投票更新” 一点边都沾不上——一个自从 2017 年就开始制作的快照。
  248. 当你启动游戏的那一刻,你会发现你自己正身处于拥有无尽的投票的世界中,在那里投票的结果将会从根本上更改 Minecraft 的运行法则。我们创造了好一系列的可供投票的特性,它们包含了方方面面:气球蜂、法国模式、僵尸模式、兔子幻形、爆破药水、诡异世界 —— 还有更多、更多......
  249. “研究表明游戏玩家喜爱做出选择——越多越好,”来自渝仁大学的司越·仪教授说道。“Mojang Studios 希望将选择权交到玩家的手上的事实体现了他们是多么地关心他们的玩家社区。至少我是这么想的。我从 1857 年开始就不混社区了而且我其实也不玩游戏。”
  250. 所以这个什么时候才能推出?事实是它已经到来了!由于我们希望投票更新尽快发放到玩家们的手里,我们现在非常乐意宣布你现在立刻就可以下载它!可以等会再感谢我们。</Paragraph><Paragraph Style="{StaticResource H2}">新特性</Paragraph><List>
  251. <ListItem><Paragraph Style="{StaticResource Lp}">引入投票系统:可以改变一切的方法*</Paragraph></ListItem>
  252. <ListItem><Paragraph Style="{StaticResource Lp}">真实的投票体验 —— 不需要再等到下一次 Minecraft Live 为其他人的选择而生气!</Paragraph></ListItem>
  253. <ListItem><Paragraph Style="{StaticResource Lp}">元宇宙革命性的元投票技术!</Paragraph></ListItem>
  254. <ListItem><Paragraph Style="{StaticResource Lp}">包括很多新特性,它们太好了而不能放进主流版本中 —— 至少现在是这样!</Paragraph></ListItem>
  255. <ListItem><Paragraph Style="{StaticResource Lp}">极小的概率投票结果会摧毁你的世界!</Paragraph></ListItem>
  256. <ListItem><Paragraph Style="{StaticResource Lp}">兴奋的倒计时!</Paragraph></ListItem>
  257. </List><Paragraph Style="{StaticResource H3}">方块</Paragraph><List>
  258. <ListItem><Paragraph Style="{StaticResource Lp}">是的!方块!</Paragraph></ListItem>
  259. </List><Paragraph Style="{StaticResource H3}">物品</Paragraph><List>
  260. <ListItem><Paragraph Style="{StaticResource Lp}">为了美好未来的物品!</Paragraph></ListItem>
  261. </List><Paragraph Style="{StaticResource H3}">技术性更改</Paragraph><List>
  262. <ListItem><Paragraph Style="{StaticResource Lp}">超兴奋!</Paragraph></ListItem>
  263. </List><Paragraph Style="{StaticResource H3}">漏洞</Paragraph><List>
  264. <ListItem><Paragraph Style="{StaticResource Lp}">加了点新 Bug(除非你投票决定它们是特性)
  265. (*:是的我们之前已改变了一切,为什么你不想点新的更好的方法呢)</Paragraph></ListItem>
  266. </List><Paragraph Style="{StaticResource H2}">FAQ</Paragraph><Paragraph Style="{StaticResource H4}">当我下载这个快照后会发生什么</Paragraph><List>
  267. <ListItem><Paragraph Style="{StaticResource Lp}">在你下载之后,没有反悔的余地。如果你删除文件,故事就就此结束了;你从床上醒来并信你爱信啥信啥吧。你要是启动它,你呆在主世界,我们会给你看看爱丽丝仙境的兔子洞有多深</Paragraph></ListItem>
  268. </List><Paragraph Style="{StaticResource H4}">在游戏玩法上我能期待些什么</Paragraph><List>
  269. <ListItem><Paragraph Style="{StaticResource Lp}">就像一盒巧克力一样,你永远不会知道你会尝到什么滋味</Paragraph></ListItem>
  270. </List><Paragraph Style="{StaticResource H4}">但是我不想投那堆乱七八糟的,我就是想放松一下</Paragraph><List>
  271. <ListItem><Paragraph Style="{StaticResource Lp}">最艰难的抉择,需要最坚强的意志!</Paragraph></ListItem>
  272. </List>
  273. </FlowDocument>
  274. </FlowDocumentScrollViewer>
  275. <Grid VerticalAlignment="Center" Margin="6,10,0,0" HorizontalAlignment="Right">
  276. <Grid.ColumnDefinitions >
  277. <ColumnDefinition Width="45"/>
  278. <ColumnDefinition />
  279. </Grid.ColumnDefinitions>
  280. <Path Grid.Column="0" Margin="8,0" Width="18" Height="18" Fill="{DynamicResource ColorBrush4}"
  281. Stretch="Uniform"
  282. Data="M640 416h256c35.36 0 64 28.48 64 64v416c0 35.36-28.48 64-64 64H480c-35.36 0-64-28.48-64-64V640h128c53.312 0 96-42.976 96-96V416zM64 128c0-35.36 28.48-64 64-64h416c35.36 0 64 28.48 64 64v416c0 35.36-28.48 64-64 64H128c-35.36 0-64-28.48-64-64V128z m128 276.256h46.72v-24.768h67.392V497.76h49.504V379.488h68.768v20.64h50.88V243.36H355.616v-34.368c0-10.08 1.376-18.784 4.16-26.112a10.56 10.56 0 0 0 1.344-4.16c0-0.896-3.2-1.792-9.6-2.72h-46.816v67.36H192v160.896z m46.72-122.368h67.392v60.48h-67.36V281.92z m185.664 60.48h-68.768V281.92h68.768v60.48z m203.84 488l19.264-53.632h100.384l19.264 53.632h54.976L732.736 576h-64.64L576 830.4h52.256z m33.024-96.256l37.12-108.608h1.376l34.368 108.608h-72.864zM896 320h-64a128 128 0 0 0-128-128v-64a192 192 0 0 1 192 192zM128 704h64a128 128 0 0 0 128 128v64a192 192 0 0 1-192-192z"/>
  283. <TextBlock HorizontalAlignment="Right" Grid.Column="1" Text="最亮的信标" FontSize="14" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
  284. </Grid>
  285. <TextBlock Margin="0,2" Grid.Column="1" HorizontalAlignment="Right" Text="最后更新:2024-10-11" FontSize="12" Foreground="{DynamicResource ColorBrush4}"/>
  286. <WrapPanel Margin="-2,2" Orientation="Horizontal" VerticalAlignment="Center">
  287. <local:MyIconTextButton Text="启动" ToolTip="启动 23w13a_or_b" EventType="启动游戏"
  288. EventData="23w13a_or_b" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
  289. <local:MyIconTextButton Style="{StaticResource DownloadVersionButton}"
  290. LogoScale="0.85" Logo="{StaticResource DownloadIcon}"/>
  291. <local:MyIconTextButton Text="WIKI" ToolTip="在 Minecraft Wiki 上查看该版本" EventType="打开网页"
  292. EventData="https://zh.minecraft.wiki/w/23w13a_or_b" LogoScale="1.05" Logo="{StaticResource WikiIcon}" />
  293. <local:MyIconTextButton Text="官网更新日志" ToolTip="在官网查看该版本更新日志" EventType="打开网页"
  294. EventData="https://www.minecraft.net/en-us/article/vote-update" LogoScale="0.85" Logo="{StaticResource CreeperIcon}" />
  295. </WrapPanel>
  296. <!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  297. <TextBlock Text="最后更新: 2024-10-11" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
  298. </StackPanel> -->
  299. </StackPanel>
  300. </local:MyCard><local:MyCard Title="" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  301. <StackPanel Style="{StaticResource ContentStack}">
  302. <FlowDocumentScrollViewer >
  303. <FlowDocument>
  304. <Paragraph>Mojang Studios 近日在 B站 创建了官方账号,并发布了入驻视频。
  305. 视频表达了对中国 Minecraft 社区的关心,以及透露了一些关于 Minecraft 接下来更新的秘密。</Paragraph><Paragraph Style="{StaticResource H2}">1.20 更新即将到来的扩增内容</Paragraph><List>
  306. <ListItem><Paragraph Style="{StaticResource Lp}">末影人现在会使用 “末地传送腿”,当其头部被阻挡而不能照计划移动或被困在船、矿车等载具上时,会使用末地传送腿,将最近的玩家踢进末路之地的虚空中,若玩家不在末地维度则将其传送至末地并使其掉入虚空,以表示对卑鄙的两格人的愤怒。</Paragraph></ListItem>
  307. <ListItem><Paragraph Style="{StaticResource Lp}">闪电苦力怕增加格斗技能,被称为“闪电苦力怕拳”,该拳伤害极高(同监守者),并同时赋予 2.5 秒的电击效果,其会使玩家画面剧烈抖动,无法控制。
  308. ** 由于 Mojang 调了半天并未出现自己想要的结果,如果闪电苦力怕因为自身原因无法发动技能可能是特性</Paragraph></ListItem>
  309. <ListItem><Paragraph Style="{StaticResource Lp}">添加 MOBBO,一种生物
  310. ** 他非常爱你
  311. ** 他可以帮你一键合成物品
  312. ** 他可以使用 Mobbo 方块来装饰你的房子
  313. </Paragraph><BlockUIContainer>
  314. <StackPanel>
  315. <Image Style="{StaticResource InnerImage}" Source="https://www.lightbeacon.top/pnh/newsimgs/Normal/Mobbo.png"/>
  316. <TextBlock Text="Mobbo" Style="{StaticResource imgTitle}" />
  317. </StackPanel>
  318. </BlockUIContainer></ListItem>
  319. <ListItem><Paragraph Style="{StaticResource Lp}">疣猪兽现在会在创死一名玩家后跳舞</Paragraph></ListItem>
  320. <ListItem><Paragraph Style="{StaticResource Lp}">荧石有了新用途,不过并未详细透露,好像和水有关</Paragraph></ListItem>
  321. <ListItem><Paragraph Style="{StaticResource Lp}">现在猪灵觉得黄金太土了,不如使用泥土来交易,因为它们觉得其相当珍贵</Paragraph></ListItem>
  322. <ListItem><Paragraph Style="{StaticResource Lp}">手撸原木太疼了,玩家需要先手撸牛合成手套,使用手套来手撸原木</Paragraph></ListItem>
  323. </List><Paragraph Style="{StaticResource H2}">关注官方账号</Paragraph> <Paragraph>扫描下方二维码获取 Mojang 的最新消息
  324. </Paragraph><BlockUIContainer>
  325. <StackPanel>
  326. <Image Style="{StaticResource InnerImage}" Source="https://www.lightbeacon.top/pnh/newsimgs/Normal/qrc.png"/>
  327. <TextBlock Text="官方账号" Style="{StaticResource imgTitle}" />
  328. </StackPanel>
  329. </BlockUIContainer>
  330. </FlowDocument>
  331. </FlowDocumentScrollViewer>
  332. <!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  333. <TextBlock Text="最后更新: 2024-10-11" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
  334. </StackPanel> -->
  335. </StackPanel>
  336. </local:MyCard><ContentControl Content="最 新 新 闻" Template="{StaticResource Separator}"/><local:MyCard Title="新闻主页正在测试!" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  337. <StackPanel Style="{StaticResource ContentStack}">
  338. <FlowDocumentScrollViewer >
  339. <FlowDocument>
  340. <Paragraph Style="{StaticResource H1}">新闻主页正在测试!</Paragraph> <Paragraph>新闻主页正在尝试以新的方式呈现(尽管可能看不出来),若遇到新闻主页某些位置无法打开或内容有误,请先别急!我知道你很急,但是你先别急!
  341. 下方的卡片可以帮你查看原来版本的新闻主页,如有需要,可以拿来先凑凑数</Paragraph>
  342. </FlowDocument>
  343. </FlowDocumentScrollViewer>
  344. <!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  345. <TextBlock Text="最后更新: 2024-10-11" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
  346. </StackPanel> -->
  347. </StackPanel>
  348. </local:MyCard><local:MyCard Title="更多页面..." Margin="0,5">
  349. <StackPanel Margin="25,40,23,15">
  350. <Grid>
  351. <Grid.ColumnDefinitions>
  352. <ColumnDefinition Width="1*"/>
  353. <ColumnDefinition Width="100"/>
  354. </Grid.ColumnDefinitions>
  355. <local:MyComboBox x:Name="jumpbox" Height="30" SelectedIndex="0">
  356. <local:MyComboBoxItem Content="1.21存档"/>
  357. <local:MyComboBoxItem Content="1.20存档"/>
  358. <local:MyComboBoxItem Content="1.19存档"/>
  359. <local:MyComboBoxItem Content="1.18存档"/>
  360. <local:MyComboBoxItem Content="1.17存档"/>
  361. <local:MyComboBoxItem Content="愚人节版本存档"/>
  362. <local:MyComboBoxItem Content="输入..."/>
  363. </local:MyComboBox>
  364. <local:MyButton HorizontalAlignment="Center" Width="80"
  365. Grid.Column="1" Text="打开→" EventType="打开帮助"
  366. EventData="{Binding Path=Text,ElementName=jumpbox,StringFormat=https://news.bugjump.net/{0}.json}"/>
  367. </Grid>
  368. </StackPanel>
  369. </local:MyCard><Grid Margin="20,10" Height="35">
  370. <Grid.ColumnDefinitions>
  371. <ColumnDefinition Width="3*">
  372. </ColumnDefinition>
  373. <ColumnDefinition Width="2*">
  374. </ColumnDefinition>
  375. <ColumnDefinition Width="1*">
  376. </ColumnDefinition>
  377. </Grid.ColumnDefinitions>
  378. <local:MyButton Grid.Column="0" Padding="10,0" Text="刷新" EventType="刷新主页" Margin="3,0" ToolTip="点击刷新新闻主页" />
  379. <local:MyButton Grid.Column="2" Padding="10,0" Text="反馈" EventType="打开网页" Margin="3,0" EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new" ToolTip="点击前往 GitHub 提交反馈" />
  380. <local:MyButton Grid.Column="1" Padding="10,0" Text="❤️ 赞助主页" EventType="打开网页" Margin="3,0" EventData="https://afdian.net/a/Nattiden" ToolTip="点击前往 新闻主页爱发电" ColorType="Red" />
  381. </Grid><Border Background="#A0FFFFFF" Height="20720" Margin="-25,10,-25,-20500" BorderThickness="0,2,0,0" BorderBrush="#AAAAAAAA">
  382. <StackPanel Margin="40,15,0,10">
  383. <TextBlock Text="PCL2 新闻主页" FontSize="16" Margin="0,5,5,5" />
  384. <TextBlock>
  385. By:最亮的信标(Light Beacon)<LineBreak/>
  386. 主要维护:最亮的信标(Light Beacon)<LineBreak/>
  387. <LineBreak/>
  388. 订阅地址: 请通过 设置 - 主页 - 预设 - 新闻主页 订阅<LineBreak/>
  389. 爱发电赞助: <Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" Text="https://afdian.net/a/Nattiden"
  390. EventData="https://afdian.net/a/Nattiden" ToolTip="点击打开爱发电" /></Underline> <LineBreak/>
  391. GitHub: <Underline><local:MyTextButton Margin="0,0,0,-3" EventType="打开网页" Text="https://github.com/Light-Beacon/PCL2-NewsHomepage"
  392. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage" ToolTip="点击打开GitHub" /></Underline> <LineBreak/>
  393. <LineBreak/>
  394. 无特殊声明本主页采用 <Underline><local:MyTextButton Margin="0,0,0,-2" Text="CC BY-NC-SA 4.0" EventType="打开网页"
  395. EventData="https://creativecommons.org/licenses/by-nc-sa/4.0/ "/></Underline> 授权。
  396. <LineBreak/>
  397. </TextBlock>
  398. <Border Height="20500" Background="{DynamicResource ColorBrush7}" Opacity="0.3" Margin="-40,10,0,0">
  399. <StackPanel>
  400. <Grid Margin="0,7,0,15">
  401. <Grid.ColumnDefinitions>
  402. <ColumnDefinition Width="1*">
  403. </ColumnDefinition>
  404. <ColumnDefinition Width="100">
  405. </ColumnDefinition>
  406. <ColumnDefinition Width="1*">
  407. </ColumnDefinition>
  408. </Grid.ColumnDefinitions>
  409. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
  410. <TextBlock Text="到 底 啦" HorizontalAlignment="Center" FontSize="14" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
  411. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush3}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
  412. </Grid>
  413. </StackPanel>
  414. </Border>
  415. </StackPanel>
  416. </Border>
  417. </StackPanel>