News.xaml 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
  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="Border" 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="Border" x:Key="cautionQuote" BasedOn="{StaticResource Quote}">
  48. <Setter Property="BorderBrush" Value="#CC4455"/>
  49. <Setter Property="Background" Value="#33CC4455"/>
  50. </Style><Style TargetType="Border" x:Key="noteQuote" BasedOn="{StaticResource Quote}">
  51. <Setter Property="BorderBrush" Value="#4455AA"/>
  52. <Setter Property="Background" Value="#334455AA"/>
  53. </Style><Style TargetType="Border" x:Key="tipQuote" BasedOn="{StaticResource Quote}">
  54. <Setter Property="BorderBrush" Value="#44AA55"/>
  55. <Setter Property="Background" Value="#3344AA55"/>
  56. </Style><Style TargetType="Border" x:Key="importantQuote" BasedOn="{StaticResource Quote}">
  57. <Setter Property="BorderBrush" Value="#AA55BB"/>
  58. <Setter Property="Background" Value="#33AA55BB"/>
  59. </Style><Style TargetType="Border" 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><local:MyCard Title="MCL 直播总结" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  234. <StackPanel Style="{StaticResource ContentStack}">
  235. <FlowDocumentScrollViewer >
  236. <FlowDocument>
  237. <Paragraph Style="{StaticResource H1}">MCL 直播总结</Paragraph><Paragraph Style="{StaticResource H2}">新特性</Paragraph><List>
  238. <ListItem><Paragraph Style="{StaticResource Lp}">基岩版极限模式</Paragraph></ListItem>
  239. <ListItem><Paragraph Style="{StaticResource Lp}">收纳袋</Paragraph></ListItem>
  240. </List><Paragraph Style="{StaticResource H3}">新群系 —— Pale Garden</Paragraph> <Paragraph><Italic>文中所有括号中名称仅为方便大家理解的翻译,请以正式译名为准!</Italic></Paragraph><List>
  241. <ListItem><Paragraph Style="{StaticResource Lp}">拥有苍白树木的略微恐怖的森林</Paragraph></ListItem>
  242. <ListItem><Paragraph Style="{StaticResource Lp}">会生成敌对生物 Creaking</Paragraph><List>
  243. <ListItem><Paragraph Style="{StaticResource Lp}">恐怖的木头人</Paragraph></ListItem>
  244. <ListItem><Paragraph Style="{StaticResource Lp}">仅会在夜晚生成</Paragraph></ListItem>
  245. <ListItem><Paragraph Style="{StaticResource Lp}">在被玩家看见的时候不能移动</Paragraph></ListItem>
  246. <ListItem><Paragraph Style="{StaticResource Lp}">需要在树中挖掘 Creaking Heart 才能击败</Paragraph></ListItem>
  247. <ListItem><Paragraph Style="{StaticResource Lp}">Creaking 所属的 Creaking Heart 会有粒子指引</Paragraph></ListItem>
  248. <ListItem><Paragraph Style="{StaticResource Lp}">挖下的 Creaking Heart 上下为 Pale 原木时能够重新激活,激活时才能生成 Creaking,但仅在破坏其本身时才能失活</Paragraph></ListItem>
  249. </List></ListItem>
  250. <ListItem><Paragraph Style="{StaticResource Lp}">Pale Oak(苍白橡木)木系列</Paragraph></ListItem>
  251. <ListItem><Paragraph Style="{StaticResource Lp}">Pale Carpet(苍白苔藓地毯)</Paragraph></ListItem>
  252. <ListItem><Paragraph Style="{StaticResource Lp}">Hanging moss(悬吊苔藓)</Paragraph></ListItem>
  253. </List><Paragraph Style="{StaticResource H2}">其它内容</Paragraph><List>
  254. <ListItem><Paragraph Style="{StaticResource Lp}">电影预热与幕后</Paragraph></ListItem>
  255. <ListItem><Paragraph Style="{StaticResource Lp}">村民新闻联动短片</Paragraph></ListItem>
  256. </List>
  257. </FlowDocument>
  258. </FlowDocumentScrollViewer>
  259. <!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  260. <TextBlock Text="最后更新: 2024-10-03" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
  261. </StackPanel> -->
  262. </StackPanel>
  263. </local:MyCard><local:MyCard Title="最新快照版 - 24w40a" CanSwap="True" IsSwaped="false" Style="{StaticResource Card}" >
  264. <StackPanel Style="{StaticResource ContentStack}">
  265. <local:MyHint Margin="0,4,0,8" IsWarn="False" Text="很多译名尚未确认,在此保留原文" /><Border Style="{StaticResource VersionImageBorder}">
  266. <Border.Background>
  267. <ImageBrush ImageSource="https://image.stapxs.cn/i/2024/10/03/24w40a-1170x500-1.jpg" Stretch="UniformToFill" />
  268. </Border.Background>
  269. <Image Source="https://image.stapxs.cn/i/2024/10/03/24w40a-1170x500-1.jpg" Opacity="0" Stretch="Fill"/>
  270. </Border>
  271. <Border Style="{StaticResource VersionTitleBorder}">
  272. <TextBlock Style="{StaticResource VersionTitleBlock}" Text="24w40a" />
  273. </Border><FlowDocumentScrollViewer >
  274. <FlowDocument>
  275. <Paragraph Style="{StaticResource H2}">实验性特性</Paragraph> <Paragraph>此项 Pale Garden 生物群系实验性特性可被 &quot;冬季小更新 <Italic>(Winter Drop)</Italic> &quot; 实验性特性开关启用。你可以在创建世界的实验性特性界面打开此开关。这些实验性特性除非被启用否则没有任何效果。你可以在<Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://www.minecraft.net/en-us/article/testing-new-minecraft-features/feature-toggles-java-edition">此处</local:MyTextButton></Underline>找到更多关于实验性开关的信息。</Paragraph> <Paragraph>我们喜欢听见你们对新的 Pale Garden 群系和新敌对生物 Creaking 的反馈。</Paragraph> <Paragraph>Creaking 反馈链接:<Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://aka.ms/mccreakingfeedback">https://aka.ms/mccreakingfeedback</local:MyTextButton></Underline></Paragraph> <Paragraph>Pale Garden 反馈链接:<Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://aka.ms/mcpalegardenfeedback">https://aka.ms/mcpalegardenfeedback</local:MyTextButton></Underline></Paragraph><Paragraph Style="{StaticResource H3}">冬季小更新</Paragraph><List>
  276. <ListItem><Paragraph Style="{StaticResource Lp}">增加了 Pale Garden 生物群系,苍白橡树,苍白苔藓块,苍白覆地苔藓,苍白垂藤以及苍白橡树系列</Paragraph></ListItem>
  277. <ListItem><Paragraph Style="{StaticResource Lp}">增加了 Creaking 生物,Creaking 刷怪蛋和 Creaking Heart 方块</Paragraph></ListItem>
  278. </List><Paragraph Style="{StaticResource H4}">Pale Garden</Paragraph> <Paragraph>Pale Garden 是一个黑森林的生物群系变种,拥有以下独特特性:</Paragraph><List>
  279. <ListItem><Paragraph Style="{StaticResource Lp}">苍白橡树在此生成</Paragraph></ListItem>
  280. <ListItem><Paragraph Style="{StaticResource Lp}">苍白苔藓块与苍白覆地苔藓在此处地面生成</Paragraph></ListItem>
  281. <ListItem><Paragraph Style="{StaticResource Lp}">苍白垂藤在苍白橡树树叶悬挂生成</Paragraph></ListItem>
  282. <ListItem><Paragraph Style="{StaticResource Lp}">动物不会在 Pale Garden 生物群系自然生成</Paragraph></ListItem>
  283. <ListItem><Paragraph Style="{StaticResource Lp}">新的生物群系拥有独特的环境音效</Paragraph></ListItem>
  284. <ListItem><Paragraph Style="{StaticResource Lp}">Creaking Heart 方块在苍白橡树中生成</Paragraph></ListItem>
  285. </List><Paragraph Style="{StaticResource H4}">苍白橡树</Paragraph><List>
  286. <ListItem><Paragraph Style="{StaticResource Lp}">苍白橡树树叶掉落苍白橡树树苗,可以 2x2 种植长成苍白橡树</Paragraph></ListItem>
  287. <ListItem><Paragraph Style="{StaticResource Lp}">苍白橡树原木可以被制成苍白橡树系列:</Paragraph><List>
  288. <ListItem><Paragraph Style="{StaticResource Lp}">门</Paragraph></ListItem>
  289. <ListItem><Paragraph Style="{StaticResource Lp}">栅栏</Paragraph></ListItem>
  290. <ListItem><Paragraph Style="{StaticResource Lp}">栅栏门</Paragraph></ListItem>
  291. <ListItem><Paragraph Style="{StaticResource Lp}">木板</Paragraph></ListItem>
  292. <ListItem><Paragraph Style="{StaticResource Lp}">告示牌</Paragraph></ListItem>
  293. <ListItem><Paragraph Style="{StaticResource Lp}">悬挂告示牌</Paragraph></ListItem>
  294. <ListItem><Paragraph Style="{StaticResource Lp}">台阶</Paragraph></ListItem>
  295. <ListItem><Paragraph Style="{StaticResource Lp}">楼梯</Paragraph></ListItem>
  296. <ListItem><Paragraph Style="{StaticResource Lp}">活板门</Paragraph></ListItem>
  297. <ListItem><Paragraph Style="{StaticResource Lp}">木头</Paragraph></ListItem>
  298. <ListItem><Paragraph Style="{StaticResource Lp}">去皮原木</Paragraph></ListItem>
  299. <ListItem><Paragraph Style="{StaticResource Lp}">去皮木头</Paragraph></ListItem>
  300. <ListItem><Paragraph Style="{StaticResource Lp}">按钮</Paragraph></ListItem>
  301. <ListItem><Paragraph Style="{StaticResource Lp}">压力板</Paragraph></ListItem>
  302. <ListItem><Paragraph Style="{StaticResource Lp}">船</Paragraph></ListItem>
  303. <ListItem><Paragraph Style="{StaticResource Lp}">运输船</Paragraph></ListItem>
  304. </List></ListItem>
  305. </List><Paragraph Style="{StaticResource H4}">苍白苔藓块</Paragraph> <Paragraph>苍白苔藓块在 Pale Garden 生物群系自然生成</Paragraph><Paragraph Style="{StaticResource H4}">苍白覆地苔藓</Paragraph> <Paragraph>苍白覆地苔藓在 Pale Garden 生物群系自然生成,独特特性:</Paragraph><List>
  306. <ListItem><Paragraph Style="{StaticResource Lp}">当放置时,苍白覆地苔藓沿着紧挨着的任何方块的实心面生长两个方块</Paragraph></ListItem>
  307. <ListItem><Paragraph Style="{StaticResource Lp}">苍白覆地苔藓撒上骨粉可以在紧挨着的任何方块的所有实心面上长满</Paragraph></ListItem>
  308. </List><Paragraph Style="{StaticResource H4}">苍白垂藤</Paragraph> <Paragraph>苍白垂藤在 Pale Garden 生物群系的苍白橡树树叶下悬挂生成</Paragraph><List>
  309. <ListItem><Paragraph Style="{StaticResource Lp}">苍白垂藤不会接受随机刻生长,但可以撒骨粉向下生长</Paragraph></ListItem>
  310. </List><Paragraph Style="{StaticResource H4}">Creaking 生物</Paragraph> <Paragraph>如果 Creaking Heart 方块在苍白橡树中生成,Creaking 生物会在夜晚的 Pale Garden 生物群系生成。游戏中特性:</Paragraph><List>
  311. <ListItem><Paragraph Style="{StaticResource Lp}">当玩家盯着它时它不会移动</Paragraph></ListItem>
  312. <ListItem><Paragraph Style="{StaticResource Lp}">Creaking 免疫伤害</Paragraph></ListItem>
  313. <ListItem><Paragraph Style="{StaticResource Lp}">当击中该生物时,会显示一串粒子踪迹连接该生物和与生物连接的 Creaking Heart</Paragraph></ListItem>
  314. <ListItem><Paragraph Style="{StaticResource Lp}">当 Creaking 连接的 Creaking Heart 被破坏时,Creaking 会消失</Paragraph></ListItem>
  315. <ListItem><Paragraph Style="{StaticResource Lp}">其生成不会被光照等级所影响,而是基于昼夜循环,白天消失晚上出现</Paragraph></ListItem>
  316. <ListItem><Paragraph Style="{StaticResource Lp}">Creaking 不能乘船</Paragraph></ListItem>
  317. <ListItem><Paragraph Style="{StaticResource Lp}">由 Creaking Heart 生成的 Creaking 不能通过传送门传送</Paragraph></ListItem>
  318. <ListItem><Paragraph Style="{StaticResource Lp}">Creaking 刷怪蛋会生成一只不连接 Creaking Heart 的 Creaking。Creaking 将会在昼夜、保存和加载时一直存在,并且会受到攻击带来的或其它来源的伤害。它拥有一点(半颗心)的生命值</Paragraph></ListItem>
  319. <ListItem><Paragraph Style="{StaticResource Lp}">被 Creaking Heart 生成的 Creaking 不能使用刷怪蛋生成,也不能被指令生成。它只能像 Creaking Heart 方块的一部分那样存在。</Paragraph></ListItem>
  320. <ListItem><Paragraph Style="{StaticResource Lp}">戴有雕刻南瓜的玩家盯着 Creaking 不会阻止其移动</Paragraph></ListItem>
  321. </List><Paragraph Style="{StaticResource H4}">Creaking Heart</Paragraph> <Paragraph>Creaking Heart 是一个“活着”的方块,在苍白橡树中生成,所有的面都被苍白橡树原木所遮盖。当夜幕降临时,它可以生成一只 Creaking,它被放置于正好对齐的两个苍白橡树原木方块中间。</Paragraph><List>
  322. <ListItem><Paragraph Style="{StaticResource Lp}">在夜晚激活,在白天失活</Paragraph></ListItem>
  323. <ListItem><Paragraph Style="{StaticResource Lp}">当 Creaking 被玩家击中时会发送一串粒子链接其与 Creaking</Paragraph></ListItem>
  324. <ListItem><Paragraph Style="{StaticResource Lp}">当 Creaking Heart 被破坏时,与其连接的 Creaking 也会消失</Paragraph></ListItem>
  325. </List><Paragraph Style="{StaticResource H4}">用于 Pale Garden 环境音效的新系统</Paragraph> <Paragraph>在 Pale Garden 中环境音效并不源自生物群系设置而是产生于在生物群系中的方块
  326. * 当苍白垂藤接触到苍白橡树原木以及苍白橡树树叶时散发微小的环境音效
  327. * 当夜晚时并且六面全被原木遮盖,Creaking Heart 方块会散发一系列的怪异恐怖的音效</Paragraph><Paragraph Style="{StaticResource H2}">更改</Paragraph><List>
  328. <ListItem><Paragraph Style="{StaticResource Lp}">收纳袋染色配方现在由染料解锁而非未染色的收纳袋物品解锁</Paragraph></ListItem>
  329. <ListItem><Paragraph Style="{StaticResource Lp}">潜影盒与收纳袋配方在试图对其染相同颜色时不再生效</Paragraph></ListItem>
  330. <ListItem><Paragraph Style="{StaticResource Lp}">增加了一个无障碍选项使指向的方块边线更加可见</Paragraph></ListItem>
  331. </List><Paragraph Style="{StaticResource H3}">Realms</Paragraph><List>
  332. <ListItem><Paragraph Style="{StaticResource Lp}">若适用,Realms 主界面会显示 Realm 中最新活动的世界的游戏模式</Paragraph></ListItem>
  333. </List><Paragraph Style="{StaticResource H2}">技术性更改</Paragraph><List>
  334. <ListItem><Paragraph Style="{StaticResource Lp}">数据包版本现在为 56</Paragraph></ListItem>
  335. <ListItem><Paragraph Style="{StaticResource Lp}">资源包版本现在为 40</Paragraph></ListItem>
  336. </List><Paragraph Style="{StaticResource H2}">数据包版本 56</Paragraph><List>
  337. <ListItem><Paragraph Style="{StaticResource Lp}">新的粒子效果:<TextBox Style="{StaticResource InlineCode}">block_crumble</TextBox> 和 <TextBox Style="{StaticResource InlineCode}">trail</TextBox></Paragraph></ListItem>
  338. </List><Paragraph Style="{StaticResource H3}">命令</Paragraph><List>
  339. <ListItem><Paragraph Style="{StaticResource Lp}">你再也无法通过 <TextBox Style="{StaticResource InlineCode}">ride</TextBox> 命令乘坐拴绳结、闪电束以及浮漂</Paragraph></ListItem>
  340. <ListItem><Paragraph Style="{StaticResource Lp}">增加了 <TextBox Style="{StaticResource InlineCode}">rotate</TextBox> 命令</Paragraph></ListItem>
  341. </List><Paragraph Style="{StaticResource H4}"><TextBox Style="{StaticResource InlineCode}">rotate</TextBox> 命令</Paragraph> <Paragraph>用于旋转实体的新命令</Paragraph> <Paragraph>语法:</Paragraph> <Paragraph><TextBox Style="{StaticResource InlineCode}">rotate &lt;目标&gt; &lt;角度&gt;</TextBox></Paragraph> <Paragraph><TextBox Style="{StaticResource InlineCode}">rotate &lt;目标&gt; facing &lt;朝向位置&gt;</TextBox></Paragraph> <Paragraph><TextBox Style="{StaticResource InlineCode}">rotate &lt;目标&gt; facing entity &lt;朝向目标&gt; [&lt;朝向锚点&gt;]</TextBox></Paragraph> <Paragraph>参数:</Paragraph><List>
  342. <ListItem><Paragraph Style="{StaticResource Lp}">目标:待旋转的实体</Paragraph></ListItem>
  343. <ListItem><Paragraph Style="{StaticResource Lp}">角度:两个旋转角度值表示垂直旋转和水平旋转角度</Paragraph><List>
  344. <ListItem><Paragraph Style="{StaticResource Lp}">可使用相对(<TextBox Style="{StaticResource InlineCode}">~</TextBox>)坐标符号以指定当前上下文的旋转角度</Paragraph></ListItem>
  345. </List></ListItem>
  346. <ListItem><Paragraph Style="{StaticResource Lp}">朝向位置:实体需要朝向的世界位置的坐标</Paragraph></ListItem>
  347. <ListItem><Paragraph Style="{StaticResource Lp}">朝向目标:实体需要朝向的实体</Paragraph></ListItem>
  348. <ListItem><Paragraph Style="{StaticResource Lp}">朝向锚点:决定实体朝向目标实体的那哪个锚点 - <TextBox Style="{StaticResource InlineCode}">feet</TextBox>(脚) 或 <TextBox Style="{StaticResource InlineCode}">eyes</TextBox>(眼)(默认为<TextBox Style="{StaticResource InlineCode}">feet</TextBox>)</Paragraph></ListItem>
  349. </List> <Paragraph>提示:参数拥有相同与<TextBox Style="{StaticResource InlineCode}">teleport</TextBox>命令相同的含义</Paragraph><Paragraph Style="{StaticResource H3}">附魔效果</Paragraph><List>
  350. <ListItem><Paragraph Style="{StaticResource Lp}">将效果类型 <TextBox Style="{StaticResource InlineCode}">damage_item</TextBox> 重命名为 <TextBox Style="{StaticResource InlineCode}">change_item_damage</TextBox>,现在同时支持负值</Paragraph></ListItem>
  351. </List><Paragraph Style="{StaticResource H3}">标签</Paragraph><Paragraph Style="{StaticResource H4}">物品标签</Paragraph><List>
  352. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">gaze_disguise_equipment</TextBox>:可以用与遮掩玩家,避免与其它生物进行视线交流的物品</Paragraph></ListItem>
  353. </List><Paragraph Style="{StaticResource H4}">粒子</Paragraph><List>
  354. <ListItem><Paragraph Style="{StaticResource Lp}">增加了 <TextBox Style="{StaticResource InlineCode}">block_crumble</TextBox> 粒子,拥有以下选项:</Paragraph><List>
  355. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">block_state</TextBox> - 粉碎的方块的方块状态</Paragraph></ListItem>
  356. </List></ListItem>
  357. <ListItem><Paragraph Style="{StaticResource Lp}">增加了 <TextBox Style="{StaticResource InlineCode}">trail</TextBox> 粒子,拥有以下选项:</Paragraph><List>
  358. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">color</TextBox> - 轨迹的颜色</Paragraph></ListItem>
  359. <ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">target</TextBox> - 轨迹要到达的目标位置</Paragraph></ListItem>
  360. </List></ListItem>
  361. </List><Paragraph Style="{StaticResource H2}">资源包版本 40</Paragraph> <Paragraph>增加了对新实验性特性更改的支持</Paragraph>
  362. </FlowDocument>
  363. </FlowDocumentScrollViewer>
  364. <Grid VerticalAlignment="Center" Margin="6,10,0,0" HorizontalAlignment="Right">
  365. <Grid.ColumnDefinitions >
  366. <ColumnDefinition Width="45"/>
  367. <ColumnDefinition />
  368. </Grid.ColumnDefinitions>
  369. <Path Grid.Column="0" Margin="8,0" Width="18" Height="18" Fill="{DynamicResource ColorBrush4}"
  370. Stretch="Uniform"
  371. 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"/>
  372. <TextBlock HorizontalAlignment="Right" Grid.Column="1" Text="最亮的信标、wuyuncheng-26" FontSize="14" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
  373. </Grid>
  374. <TextBlock Margin="0,2" Grid.Column="1" HorizontalAlignment="Right" Text="最后更新:2024-10-03" FontSize="12" Foreground="{DynamicResource ColorBrush4}"/>
  375. <WrapPanel Margin="-2,2" Orientation="Horizontal" VerticalAlignment="Center">
  376. <local:MyIconTextButton Text="启动" ToolTip="启动 24w40a" EventType="启动游戏"
  377. EventData="24w40a" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
  378. <local:MyIconTextButton Style="{StaticResource DownloadVersionButton}"
  379. LogoScale="0.85" Logo="{StaticResource DownloadIcon}"/>
  380. <local:MyIconTextButton Style="{StaticResource ServerJarDownloadButton}"
  381. LogoScale="1.05" EventData="https://piston-data.mojang.com/v1/objects/2e2e224520156be9bc7c76be8158af9825d873d9/server.jar" Logo="{StaticResource CloudIcon}" />
  382. <local:MyIconTextButton Text="WIKI" ToolTip="在 Minecraft Wiki 上查看该版本" EventType="打开网页"
  383. EventData="https://zh.minecraft.wiki/w/24w40a" LogoScale="1.05" Logo="{StaticResource WikiIcon}" />
  384. <local:MyIconTextButton Text="官网更新日志" ToolTip="在官网查看该版本更新日志" EventType="打开网页"
  385. EventData="https://minecraft.net/article/minecraft-snapshot-24w40a" LogoScale="0.85" Logo="{StaticResource CreeperIcon}" />
  386. </WrapPanel>
  387. <!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  388. <TextBlock Text="最后更新: 2024-10-03" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
  389. </StackPanel> -->
  390. </StackPanel>
  391. </local:MyCard><ContentControl Content="历 史 版 本" Template="{StaticResource Separator}"/><local:MyCard Title="最新正式版 - 1.21.1" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  392. <StackPanel Style="{StaticResource ContentStack}">
  393. <Border Style="{StaticResource VersionImageBorder}">
  394. <Border.Background>
  395. <ImageBrush ImageSource="https://image.stapxs.cn/i/2024/08/08/1.21.1_1170x500-1.jpg" Stretch="UniformToFill" />
  396. </Border.Background>
  397. <Image Source="https://image.stapxs.cn/i/2024/08/08/1.21.1_1170x500-1.jpg" Opacity="0" Stretch="Fill"/>
  398. </Border>
  399. <Border Style="{StaticResource VersionTitleBorder}">
  400. <TextBlock Style="{StaticResource VersionTitleBlock}" Text="1.21.1" />
  401. </Border><FlowDocumentScrollViewer >
  402. <FlowDocument>
  403. <Paragraph Style="{StaticResource H2}">更改</Paragraph><List>
  404. <ListItem><Paragraph Style="{StaticResource Lp}">增加了索西语与白俄罗斯语(拉丁)的支持</Paragraph></ListItem>
  405. <ListItem><Paragraph Style="{StaticResource Lp}">修复可能会被用于使服务器崩溃的关键漏洞</Paragraph></ListItem>
  406. </List>
  407. </FlowDocument>
  408. </FlowDocumentScrollViewer>
  409. <Grid VerticalAlignment="Center" Margin="6,10,0,0" HorizontalAlignment="Right">
  410. <Grid.ColumnDefinitions >
  411. <ColumnDefinition Width="45"/>
  412. <ColumnDefinition />
  413. </Grid.ColumnDefinitions>
  414. <Path Grid.Column="0" Margin="8,0" Width="18" Height="18" Fill="{DynamicResource ColorBrush4}"
  415. Stretch="Uniform"
  416. 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"/>
  417. <TextBlock HorizontalAlignment="Right" Grid.Column="1" Text="最亮的信标" FontSize="14" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
  418. </Grid>
  419. <TextBlock Margin="0,2" Grid.Column="1" HorizontalAlignment="Right" Text="最后更新:2024-10-03" FontSize="12" Foreground="{DynamicResource ColorBrush4}"/>
  420. <WrapPanel Margin="-2,2" Orientation="Horizontal" VerticalAlignment="Center">
  421. <local:MyIconTextButton Text="启动" ToolTip="启动 1.21.1" EventType="启动游戏"
  422. EventData="1.21.1" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
  423. <local:MyIconTextButton Style="{StaticResource DownloadVersionButton}"
  424. LogoScale="0.85" Logo="{StaticResource DownloadIcon}"/>
  425. <local:MyIconTextButton Style="{StaticResource ServerJarDownloadButton}"
  426. LogoScale="1.05" EventData="https://piston-data.mojang.com/v1/objects/59353fb40c36d304f2035d51e7d6e6baa98dc05c/server.jar" Logo="{StaticResource CloudIcon}" />
  427. <local:MyIconTextButton Text="WIKI" ToolTip="在 Minecraft Wiki 上查看该版本" EventType="打开网页"
  428. EventData="https://zh.minecraft.wiki/w/Java版1.21.1" LogoScale="1.05" Logo="{StaticResource WikiIcon}" />
  429. <local:MyIconTextButton Text="官网更新日志" ToolTip="在官网查看该版本更新日志" EventType="打开网页"
  430. EventData="https://minecraft.net/article/minecraft-java-edition-1-21-1" LogoScale="0.85" Logo="{StaticResource CreeperIcon}" />
  431. </WrapPanel>
  432. <!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  433. <TextBlock Text="最后更新: 2024-10-03" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
  434. </StackPanel> -->
  435. </StackPanel>
  436. </local:MyCard><local:MyCard Title="更多页面..." Margin="0,5">
  437. <StackPanel Margin="25,40,23,15">
  438. <Grid>
  439. <Grid.ColumnDefinitions>
  440. <ColumnDefinition Width="1*"/>
  441. <ColumnDefinition Width="100"/>
  442. </Grid.ColumnDefinitions>
  443. <local:MyComboBox x:Name="jumpbox" Height="30" SelectedIndex="0">
  444. <local:MyComboBoxItem Content="1.21存档"/>
  445. <local:MyComboBoxItem Content="1.20存档"/>
  446. <local:MyComboBoxItem Content="1.19存档"/>
  447. <local:MyComboBoxItem Content="1.18存档"/>
  448. <local:MyComboBoxItem Content="1.17存档"/>
  449. <local:MyComboBoxItem Content="愚人节版本存档"/>
  450. <local:MyComboBoxItem Content="输入..."/>
  451. </local:MyComboBox>
  452. <local:MyButton HorizontalAlignment="Center" Width="80"
  453. Grid.Column="1" Text="打开→" EventType="打开帮助"
  454. EventData="{Binding Path=Text,ElementName=jumpbox,StringFormat=https://news.bugjump.net/{0}.json}"/>
  455. </Grid>
  456. </StackPanel>
  457. </local:MyCard><ContentControl Content="周 边 新 闻" Template="{StaticResource Separator}"/><local:MyCard Title="📢 关于反馈新闻主页相关问题的提示" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  458. <StackPanel Style="{StaticResource ContentStack}">
  459. <FlowDocumentScrollViewer >
  460. <FlowDocument>
  461. <Paragraph Style="{StaticResource H1}">📢 关于反馈新闻主页相关问题的提示</Paragraph> <Paragraph>很抱歉由于工作疏漏可能会导致新闻主页出现一些问题。
  462. 但有人往 PCL2 反馈提交新闻主页 Bug ...... 你交错地了!</Paragraph> <Paragraph>如果是 <Bold>由于加载新闻主页出现的问题</Bold>,请在 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage">我的 GitHub 仓库</local:MyTextButton></Underline> 交 Issue <Bold>而不是</Bold>在 PCL2 反馈交反馈(PCL2 不背锅)。
  463. 你可以点击新闻主页最下方反馈按钮提交反馈</Paragraph>
  464. </FlowDocument>
  465. </FlowDocumentScrollViewer>
  466. <!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  467. <TextBlock Text="最后更新: 2024-10-03" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
  468. </StackPanel> -->
  469. </StackPanel>
  470. </local:MyCard><local:MyCard Margin="0,10,0,14">
  471. <Border BorderBrush="{DynamicResource ColorBrush2}" Margin="-0.6" CornerRadius="5" BorderThickness="0,0,0,10">
  472. <StackPanel>
  473. <Grid Margin="26,20,20,2">
  474. <StackPanel>
  475. <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="0,0,0,4">
  476. <TextBlock FontSize="18" Foreground="{DynamicResource ColorBrush2}"><Bold>PCL2 新闻主页</Bold></TextBlock>
  477. <local:MyIconTextButton ColorType="Highlight" Margin="4,0" Text="0535100" ToolTip="当前 Commit 版本" EventType="打开网页"
  478. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/tree/0535100be9fa18a52efec5e6a627851df03e5f76"
  479. LogoScale="1.1" Logo="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z" />
  480. </StackPanel>
  481. <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="-4,0,0,10" Height="56">
  482. <Image Margin="2" Source="https://image.stapxs.cn/i/2024/05/24/LB.png"/>
  483. <Image Margin="2" Source="https://image.stapxs.cn/i/2024/05/24/PHB_2.png
  484. " />
  485. </StackPanel>
  486. <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="-8,0,0,10">
  487. <local:MyIconTextButton HorizontalAlignment="Left" Text="GitHub" ToolTip="前往新闻主页 GitHub 页面" EventType="打开网页"
  488. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage"
  489. LogoScale="1" Logo="M512 42.666667A464.64 464.64 0 0 0 42.666667 502.186667 460.373333 460.373333 0 0 0 363.52 938.666667c23.466667 4.266667 32-9.813333 32-22.186667v-78.08c-130.56 27.733333-158.293333-61.44-158.293333-61.44a122.026667 122.026667 0 0 0-52.053334-67.413333c-42.666667-28.16 3.413333-27.733333 3.413334-27.733334a98.56 98.56 0 0 1 71.68 47.36 101.12 101.12 0 0 0 136.533333 37.973334 99.413333 99.413333 0 0 1 29.866667-61.44c-104.106667-11.52-213.333333-50.773333-213.333334-226.986667a177.066667 177.066667 0 0 1 47.36-124.16 161.28 161.28 0 0 1 4.693334-121.173333s39.68-12.373333 128 46.933333a455.68 455.68 0 0 1 234.666666 0c89.6-59.306667 128-46.933333 128-46.933333a161.28 161.28 0 0 1 4.693334 121.173333A177.066667 177.066667 0 0 1 810.666667 477.866667c0 176.64-110.08 215.466667-213.333334 226.986666a106.666667 106.666667 0 0 1 32 85.333334v125.866666c0 14.933333 8.533333 26.88 32 22.186667A460.8 460.8 0 0 0 981.333333 502.186667 464.64 464.64 0 0 0 512 42.666667"/>
  490. <local:MyIconTextButton HorizontalAlignment="Left" Text="支持主页" ToolTip="前往爱发电赞助新闻主页" EventType="打开网页"
  491. EventData="https://afdian.com/a/Nattiden"
  492. LogoScale="1.2" Logo="M495.899049 634.906371c-17.304811 0-31.251971 13.947161-31.251971 31.251971S478.594238 697.410314 495.899049 697.410314c17.304811 0 31.251971-13.947161 31.251971-31.251972 0-17.304811-13.947161-31.251971-31.251971-31.251971zM790.855671 728.662285c-17.304811 0-31.251971 13.947161-31.251972 31.251971s13.947161 31.251971 31.251972 31.251972 31.251971-13.947161 31.251971-31.251972c0-17.04653-13.947161-30.993691-31.251971-31.251971z M1262.99289 719.622459c-13.430599-8.264984-28.927445-13.430599-44.68257-14.980284 34.867902-84.974368 57.080047-196.293374-18.596215-306.837537-115.193217-168.657333-280.75118-256.73107-491.766556-260.863562-60.179416-1.291404-130.948343 1.549685-205.849762 4.649054-87.040614 3.35765-203.008673 8.006703-281.526023 1.549684 15.755126-8.523265 32.543375-16.788249 47.007098-23.761829 55.530362-27.119479 98.921529-48.04022 84.457807-85.232649-7.748423-21.695583-30.218848-33.059937-67.411277-34.09306C206.624604-1.755689 37.967271 43.443443 7.748423 119.636265c-17.04653 42.874605-19.887618 125.524447 152.902206 198.876182 71.027208 30.218848 271.969635 66.894715 349.453861 74.643138 17.563091 1.549685 34.867902 5.165615 51.397871 11.364353-17.821372 11.622634-35.901025 24.02011-54.238959 36.417586-31.768533-18.079653-83.941245-39.516955-122.683358-13.172318-14.463722 9.298107-23.503549 25.053233-24.02011 42.358044-0.516562 21.179022 12.397476 42.099763 26.861198 58.629731-57.080047 45.715694-103.312302 89.881703-119.84227 123.974762-18.337934 41.841482-25.828075 110.544163 8.523265 177.438879 43.391167 84.974368 138.955046 144.120661 284.625391 176.147474 190.352916 41.583202 354.619476 4.132492 463.355674-53.205835 60.437697-32.026814 103.570583-69.994085 124.233043-103.828864 6.457019 2.066246 12.914038 4.132492 19.629338 6.198738 9.298107 2.841088 18.596214 5.682177 27.37776 8.781546 28.669164 10.072949 60.695977 8.523265 85.232649-3.61593l1.291403-0.774843c17.821372-9.039826 31.510252-25.053233 37.708991-44.166009 15.238565-51.139589-29.444006-79.033911-56.563486-96.08044z m-811.776412-239.684541l-17.30481 12.655757c-5.165615-5.165615-9.814669-11.106072-13.430599-17.563091 6.7153-2.066246 18.337934 0.258281 30.735409 4.907334zM1262.99289 798.139808c-1.291404 3.874211-4.132492 6.97358-9.298107 9.814669-10.33123 5.165615-25.569795 5.423896-39.258675 0.774842-9.298107-3.35765-19.371057-6.457019-29.444006-9.556388-18.596214-5.682177-49.848186-15.238565-55.788643-22.470426-9.814669-12.914038-28.152602-15.755126-41.32492-5.940457s-15.755126 28.152602-5.940458 41.324921c3.615931 4.390773 7.490142 8.264984 12.139196 11.622634-44.940851 62.245662-242.267348 186.220424-521.468844 125.007885-125.782728-27.636041-210.498815-77.742507-244.850155-145.412065-24.794952-48.815063-19.112776-98.921529-7.231861-126.299289 34.09306-71.027208 280.75118-234.518925 438.30244-327.241716 13.947161-8.264984 18.596214-26.344637 10.33123-40.291798s-27.119479-19.629337-40.291797-10.33123c-12.655757 7.490142-55.788643 33.059937-111.060725 68.186119-18.596214-12.655757-50.881309-27.894322-102.537459-33.059936-81.874999-8.264984-270.936512-44.42429-332.149051-70.252366C139.471608 245.418993 40.033517 196.34565 61.987381 141.073568c5.165615-12.914038 29.185725-33.576498 81.100157-53.464116 35.384463-13.430599 72.318611-22.470426 109.769321-27.119479l-11.622634 5.682176c-35.384463 17.304811-73.868296 36.417586-99.954652 59.146293-1.807965-1.033123-3.615931-2.324527-5.165615-3.874211-10.847792-11.622634-29.185725-12.397476-41.06664-1.291404l-0.516562 0.516561c-11.880915 11.106072-12.139195 29.702287-1.033123 41.583202 10.589511 11.106072 26.086356 19.371057 45.715694 25.569795 0.774842 0.258281 1.291404 0.516562 2.066246 0.774842 68.702681 21.179022 190.611197 18.596214 362.367899 11.622634 74.126577-2.841088 144.120661-5.682177 202.492111-4.649054 193.710566 3.874211 339.122631 80.841876 444.75946 235.552049 64.828469 95.047318 41.583202 188.544951 4.390773 269.903388-4.649054-3.615931-9.039826-7.748423-12.655757-12.139195-10.33123-12.397476-28.669164-14.463722-41.324921-4.649054-12.655757 10.072949-14.722003 28.669164-4.649054 41.324921 5.940457 7.490142 36.675867 42.874605 74.643138 39.775236h2.066246c1.291404-0.258281 2.324527 0 3.615931-0.258281 25.828075-4.649054 42.358044-3.615931 57.596608 6.198738 20.40418 12.914038 30.218848 20.40418 28.410883 26.861199z"/>
  493. <local:MyIconTextButton Text="CC BY-NC-SA 4.0" ToolTip="无特殊声明本主页文字内容使用该授权协议" EventType="打开网页"
  494. EventData="https://creativecommons.org/licenses/by-nc-sa/4.0/"
  495. LogoScale="1" Logo="M8.75.75V2h.985c.304 0 .603.08.867.231l1.29.736c.038.022.08.033.124.033h2.234a.75.75 0 0 1 0 1.5h-.427l2.111 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.006.005-.01.01-.045.04c-.21.176-.441.327-.686.45C14.556 10.78 13.88 11 13 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L12.178 4.5h-.162c-.305 0-.604-.079-.868-.231l-1.29-.736a.245.245 0 0 0-.124-.033H8.75V13h2.5a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.5V3.5h-.984a.245.245 0 0 0-.124.033l-1.289.737c-.265.15-.564.23-.869.23h-.162l2.112 4.692a.75.75 0 0 1-.154.838l-.53-.53.529.531-.001.002-.002.002-.006.006-.016.015-.045.04c-.21.176-.441.327-.686.45C4.556 10.78 3.88 11 3 11a4.498 4.498 0 0 1-2.023-.454 3.544 3.544 0 0 1-.686-.45l-.045-.04-.016-.015-.006-.006-.004-.004v-.001a.75.75 0 0 1-.154-.838L2.178 4.5H1.75a.75.75 0 0 1 0-1.5h2.234a.249.249 0 0 0 .125-.033l1.288-.737c.265-.15.564-.23.869-.23h.984V.75a.75.75 0 0 1 1.5 0Zm2.945 8.477c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L13 6.327Zm-10 0c.285.135.718.273 1.305.273s1.02-.138 1.305-.273L3 6.327Z" />
  496. </StackPanel>
  497. </StackPanel>
  498. <StackPanel HorizontalAlignment="Right" >
  499. <local:MyIconTextButton HorizontalAlignment="Left" Text="反馈" ToolTip="反馈新闻主页问题" EventType="打开网页"
  500. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new/choose"
  501. LogoScale="1" Logo="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0z M1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0z"/>
  502. <local:MyIconTextButton HorizontalAlignment="Left" Text="刷新" ToolTip="刷新新闻主页" EventType="刷新主页"
  503. LogoScale="0.9" Logo="M960 416V192l-73.056 73.056a447.712 447.712 0 0 0-373.6-201.088C265.92 63.968 65.312 264.544 65.312 512S265.92 960.032 513.344 960.032a448.064 448.064 0 0 0 415.232-279.488 38.368 38.368 0 1 0-71.136-28.896 371.36 371.36 0 0 1-344.096 231.584C308.32 883.232 142.112 717.024 142.112 512S308.32 140.768 513.344 140.768c132.448 0 251.936 70.08 318.016 179.84L736 416h224z"/>
  504. </StackPanel>
  505. </Grid>
  506. </StackPanel>
  507. </Border>
  508. </local:MyCard>
  509. </StackPanel>