News.xaml 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. <!-- <StackPanel xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:PCL2" > -->
  2. <StackPanel Margin="0,-10,0,0" xmlns:sys ="clr-namespace:System;assembly=mscorlib">
  3. <!--Animations Starts-->
  4. <StackPanel.Triggers>
  5. </StackPanel.Triggers>
  6. <StackPanel.Resources>
  7. <!--Styles Starts-->
  8. <Style TargetType="FlowDocumentScrollViewer" >
  9. <Setter Property="IsSelectionEnabled" Value="False"/>
  10. <Setter Property="VerticalScrollBarVisibility" Value="Hidden"/>
  11. <Setter Property="Margin" Value="0"/>
  12. </Style><Style TargetType="FlowDocument" >
  13. <Setter Property="FontFamily" Value="Microsoft YaHei UI"/>
  14. <Setter Property="FontSize" Value="14"/>
  15. <Setter Property="TextAlignment" Value="Left"/>
  16. </Style><Style TargetType="StackPanel" x:Key="ContentStack" >
  17. <Setter Property="Margin" Value="20,40,20,20"/>
  18. </Style><Style TargetType="local:MyCard" x:Key="Card" >
  19. <Setter Property="Margin" Value="0,5"/>
  20. </Style><Style TargetType="TextBox" x:Key="InlineCode">
  21. <Setter Property="FontSize" Value="14" />
  22. <Setter Property="IsReadOnly" Value="True" />
  23. <Setter Property="Margin" Value="2,0,2,-4" />
  24. <Setter Property="FontFamily" Value="Consolas"/>
  25. <Setter Property="Height" Value="18"/>
  26. <Setter Property="Template">
  27. <Setter.Value>
  28. <ControlTemplate TargetType="TextBox">
  29. <Border Background="{DynamicResource ColorBrush6}" Opacity="0.9"
  30. BorderBrush="{DynamicResource ColorBrush4}" BorderThickness="0"
  31. CornerRadius="5" Padding="4,0.2">
  32. <ScrollViewer x:Name="PART_ContentHost" Focusable="false"
  33. HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" />
  34. </Border>
  35. <ControlTemplate.Triggers>
  36. </ControlTemplate.Triggers>
  37. </ControlTemplate>
  38. </Setter.Value>
  39. </Setter>
  40. </Style><Style TargetType="Image" x:Key="InnerImage" >
  41. <Setter Property="MaxHeight" Value="500"/>
  42. <Setter Property="HorizontalAlignment" Value="Center"/>
  43. </Style><Style TargetType="TextBlock" >
  44. <Setter Property="TextWrapping" Value="Wrap"/>
  45. <Setter Property="HorizontalAlignment" Value="Left"/>
  46. <Setter Property="FontSize" Value="14"/>
  47. <Setter Property="Foreground" Value="Black"/>
  48. </Style><Style TargetType="List" >
  49. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  50. <Setter Property="Margin" Value="20,0,0,0"/>
  51. <Setter Property="MarkerStyle" Value="1"/>
  52. <Setter Property="Padding" Value="0"/>
  53. </Style><Style TargetType="ListItem" >
  54. <Setter Property="Foreground" Value="Black"/>
  55. <Setter Property="LineHeight" Value="22"/>
  56. </Style><Style TargetType="Paragraph" x:Key="H2" >
  57. <Setter Property="FontSize" Value="22"/>
  58. <Setter Property="Margin" Value="0,10,0,5"/>
  59. <Setter Property="FontWeight" Value="Bold"/>
  60. <Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/>
  61. </Style><Style TargetType="Paragraph" x:Key="H3" >
  62. <Setter Property="FontSize" Value="18"/>
  63. <Setter Property="Margin" Value="0,5,0,5"/>
  64. <Setter Property="FontWeight" Value="Bold"/>
  65. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  66. </Style><Style TargetType="Paragraph" x:Key="H4" >
  67. <Setter Property="FontSize" Value="16"/>
  68. <Setter Property="Margin" Value="0,3,0,5"/>
  69. <Setter Property="FontWeight" Value="Bold"/>
  70. <Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/>
  71. </Style><Style TargetType="Border" x:Key="Quote" >
  72. <Setter Property="BorderThickness" Value="5,0,0,0"/>
  73. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush4}"/>
  74. <Setter Property="Padding" Value="10,5"/>
  75. <Setter Property="Margin" Value="0,5"/>
  76. </Style><Style x:Key="imgTitle" TargetType="TextBlock">
  77. <Setter Property="FontSize" Value="14" />
  78. <Setter Property="Foreground" Value="#FF777777" />
  79. <Setter Property="HorizontalAlignment" Value="Center" />
  80. <Setter Property="Margin" Value="0,0,0,15" />
  81. </Style><sys:String x:Key="DownloadIcon">
  82. M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
  83. 0-14-6.3-14-14V664c0-5.5-4.5-10-10-10h-50c-5.5
  84. 0-10 4.5-10 10v170c0 33.1 26.9 60 60 60h600c33.1
  85. 0 60-26.9 60-60V664c0-5.5-4.5-10-10-10h-50c-5.5
  86. 0-10 4.5-10 10z M547 163v449.5l173.6-173.6c13.7-13.7
  87. 35.8-13.7 49.5 0 13.7 13.7 13.7 35.8 0 49.5L536.8
  88. 721.7c-0.4 0.4-0.8 0.8-1.3 1.2-0.2 0.2-0.4 0.4-0.6
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.2-0.2
  102. 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
  103. 35.8-13.7 49.5 0L477 612.5V163c0-19.3 15.7-35 35-35s35 15.7 35 35z</sys:String>
  104. <sys:String x:Key="LaunchIcon">
  105. M512 97C282.8 97 97 282.8 97 512s185.8 415 415 415 415-185.8
  106. 415-415S741.2 97 512 97z m-1 759c-190.5 0-345-154.5-345-345s154.5-345
  107. 345-345 345 154.5 345 345-154.5 345-345 345z M442.1 408.2L621.9 512
  108. 442.1 615.8V408.2m-59.9-113.9c-5.2 0-10 4.2-10 10v415.4c0 5.8 4.8 10
  109. 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
  110. 295.7c-1.6-1-3.3-1.4-4.9-1.4z</sys:String>
  111. <sys:String x:Key="CloudIcon">
  112. M480 224c43 0 84.7 11.6 120.6 33.5 34.6 21.1 62.5 50.9 80.6 86 10.4
  113. 20.1 30.6 33.3 53.2 34.6C796 381.6 853 407 895.2 449.7c41.7 42.1 64.6
  114. 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
  115. 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
  116. 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
  117. 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
  118. 69.4-138.7C368.1 244.6 422.6 224 480 224m0-64c-139.2 0-255.2 94.9-281.9
  119. 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
  120. 113.4 888.6 256.1 896H736c158.9 0 287.9-130.5 287.9-291.3
  121. 0-145.4-111.1-265.5-256.2-287.4-18.1-2.7-34.1-13-44.2-28.2C672.5
  122. 211.6 582.7 160 480 160z</sys:String><ControlTemplate x:Key="Separator" TargetType="ContentControl">
  123. <Grid Margin="0,10">
  124. <Grid.ColumnDefinitions>
  125. <ColumnDefinition Width="1*" />
  126. <ColumnDefinition Width="100" />
  127. <ColumnDefinition Width="1*" />
  128. </Grid.ColumnDefinitions>
  129. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
  130. <TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center" FontSize="15" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
  131. <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
  132. </Grid>
  133. </ControlTemplate><Style TargetType="local:MyIconTextButton" x:Key="DownloadVersionButton" >
  134. <Setter Property="Text" Value="下载"/>
  135. <Setter Property="ToolTip" Value="转到下载页面"/>
  136. <Setter Property="EventType" Value="切换页面"/>
  137. <Setter Property="EventData" Value="1|1"/>
  138. </Style><Style TargetType="local:MyIconTextButton" x:Key="ServerJarDownloadButton" >
  139. <Setter Property="Text" Value="服务端"/>
  140. <Setter Property="ToolTip" Value="下载服务端"/>
  141. <Setter Property="EventType" Value="下载文件"/>
  142. </Style><Style TargetType="local:MyButton" x:Key="LinkButtonBase" >
  143. <Setter Property="Margin" Value="0,0,5,5"/>
  144. <Setter Property="Height" Value="35"/>
  145. <Setter Property="Padding" Value="13,0"/>
  146. <Setter Property="EventType" Value="打开网页"/>
  147. </Style><Style TargetType="local:MyButton" x:Key="WikiLinkButton" BasedOn="{StaticResource LinkButtonBase}">
  148. <Setter Property="Grid.Column" Value="0"/>
  149. <Setter Property="Text" Value="Minecraft Wiki"/>
  150. </Style><Style TargetType="local:MyButton" x:Key="OfficalLinkButton" BasedOn="{StaticResource LinkButtonBase}">
  151. <Setter Property="Grid.Column" Value="2"/>
  152. <Setter Property="Text" Value="官网"/>
  153. </Style><Style TargetType="Border" x:Key="VersionImageBorder" >
  154. <Setter Property="HorizontalAlignment" Value="Center"/>
  155. <Setter Property="BorderThickness" Value="4"/>
  156. <Setter Property="VerticalAlignment" Value="Top"/>
  157. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}"/>
  158. <Setter Property="CornerRadius" Value="7"/>
  159. <Setter Property="MaxHeight" Value="150"/>
  160. </Style><Style TargetType="Border" x:Key="VersionTitleBorder" >
  161. <Setter Property="Margin" Value="0,-20,-1,10"/>
  162. <Setter Property="Background" Value="{DynamicResource ColorBrush3}"/>
  163. <Setter Property="Width" Value="190"/>
  164. <Setter Property="Height" Value="36"/>
  165. <Setter Property="CornerRadius" Value="7"/>
  166. <Setter Property="BorderThickness" Value="0,0,0,2"/>
  167. <Setter Property="BorderBrush" Value="{DynamicResource ColorBrush2}"/>
  168. </Style><Style TargetType="TextBlock" x:Key="VersionTitleBlock" >
  169. <Setter Property="HorizontalAlignment" Value="Center"/>
  170. <Setter Property="TextAlignment" Value="Center"/>
  171. <Setter Property="VerticalAlignment" Value="Center"/>
  172. <Setter Property="Foreground" Value="{DynamicResource ColorBrush7}"/>
  173. <Setter Property="Width" Value="180"/>
  174. <Setter Property="TextWrapping" Value="Wrap"/>
  175. <Setter Property="FontSize" Value="20"/>
  176. </Style>
  177. </StackPanel.Resources>
  178. <Border Margin="0,0,0,5" Padding="2,8" BorderThickness="1" Background="{DynamicResource ColorBrush5}" CornerRadius="5" VerticalAlignment="Top" BorderBrush="{DynamicResource ColorBrush3}" Opacity="0.7">
  179. <Grid Margin="10,0,0,0">
  180. <TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#FF000000">
  181. 📰 新闻主页由 Light Beacon (最亮的信标)制作与维护。
  182. </TextBlock>
  183. <TextBlock x:Name="Hint2" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#00000000">
  184. 📰 MCBBS 寄了,新闻主页将永久停用 MCBBS 链接
  185. </TextBlock>
  186. </Grid>
  187. </Border><local:MyCard Title="最新正式版 - 1.21" CanSwap="True" IsSwaped="false" Style="{StaticResource Card}" >
  188. <StackPanel Style="{StaticResource ContentStack}">
  189. <Border Style="{StaticResource VersionImageBorder}">
  190. <Border.Background>
  191. <ImageBrush ImageSource="https://image.stapxs.cn/i/2024/06/13/image.png" Stretch="UniformToFill" />
  192. </Border.Background>
  193. <Image Source="https://image.stapxs.cn/i/2024/06/13/image.png" Opacity="0" Stretch="Fill"/>
  194. </Border>
  195. <Border Style="{StaticResource VersionTitleBorder}">
  196. <TextBlock Style="{StaticResource VersionTitleBlock}" Text="1.21" />
  197. </Border><FlowDocumentScrollViewer >
  198. <FlowDocument>
  199. <Paragraph> 今天是绝妙的一天,因为今天是正式版星期四!并且这天和以往正式版发布日不同,本次发布更加特别,因为我们带来了Minecraft: Java 版 1.21,也被称作 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://zh.minecraft.wiki/w/棘巧试炼">棘巧试炼</local:MyTextButton></Underline> 更新!</Paragraph><Paragraph> 独自或和朋友一起步入危险的 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://zh.minecraft.wiki/w/试炼密室">试炼密室</local:MyTextButton></Underline> ,与新生物 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://zh.minecraft.wiki/w/旋风人">旋风人</local:MyTextButton></Underline> 较量,制造全新的强大武器—— <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://zh.minecraft.wiki/w/重锤">重锤</local:MyTextButton></Underline>!将 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://zh.minecraft.wiki/w/合成器">合成器</local:MyTextButton></Underline> 和 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://zh.minecraft.wiki/w/风弹">风弹</local:MyTextButton></Underline> 装入您巧妙的红石设计中,发现更多铜和凝灰岩制成的装饰方块,享受新的 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://zh.minecraft.wiki/w/画">画</local:MyTextButton></Underline>、<Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://zh.minecraft.wiki/w/音乐唱片">音乐唱片</local:MyTextButton></Underline> 以及更多内容!</Paragraph><Paragraph> 这还不是本次更新的全部内容,在技术性方面,棘巧试炼宣告了数据包的新纪元——数据驱动的魔咒、画和音乐唱片。通过本次更新,我们也同样对 <Underline><local:MyTextButton Margin="0,0,0,-2" EventType="打开网页" EventData="https://zh.minecraft.wiki/w/24w19a">24w19a</local:MyTextButton></Underline> 引入的区块加载进行了性能提升,相比之前系统减少了内存占用和 CPU 开销。</Paragraph><Paragraph Style="{StaticResource H2}">新特性</Paragraph><List>
  200. <ListItem><Paragraph>添加了新地下结构——试炼密室</Paragraph></ListItem>
  201. <ListItem><Paragraph>添加了两种新生物</Paragraph></ListItem>
  202. <ListItem><Paragraph>沼骸</Paragraph></ListItem>
  203. <ListItem><Paragraph>旋风人</Paragraph></ListItem>
  204. <ListItem><Paragraph>添加了新武器——重锤</Paragraph></ListItem>
  205. <ListItem><Paragraph>添加了三种重锤独有的魔咒</Paragraph></ListItem>
  206. <ListItem><Paragraph>致密魔咒</Paragraph></ListItem>
  207. <ListItem><Paragraph>破甲魔咒</Paragraph></ListItem>
  208. <ListItem><Paragraph>风爆魔咒</Paragraph></ListItem>
  209. <ListItem><Paragraph>添加了下列方块</Paragraph></ListItem>
  210. <ListItem><Paragraph>合成器</Paragraph></ListItem>
  211. <ListItem><Paragraph>试炼刷怪笼</Paragraph></ListItem>
  212. <ListItem><Paragraph>不祥试炼刷怪笼</Paragraph></ListItem>
  213. <ListItem><Paragraph>宝库</Paragraph></ListItem>
  214. <ListItem><Paragraph>不祥宝库</Paragraph></ListItem>
  215. <ListItem><Paragraph>凝灰岩新变种</Paragraph></ListItem>
  216. <ListItem><Paragraph>铜质新变种</Paragraph></ListItem>
  217. <ListItem><Paragraph>沉重核心</Paragraph></ListItem>
  218. <ListItem><Paragraph>添加了下列物品</Paragraph></ListItem>
  219. <ListItem><Paragraph>试炼探险家地图</Paragraph></ListItem>
  220. <ListItem><Paragraph>不祥之瓶</Paragraph></ListItem>
  221. <ListItem><Paragraph>风弹</Paragraph></ListItem>
  222. <ListItem><Paragraph>试炼钥匙</Paragraph></ListItem>
  223. <ListItem><Paragraph>不祥试炼钥匙</Paragraph></ListItem>
  224. <ListItem><Paragraph>旋风棒</Paragraph></ListItem>
  225. <ListItem><Paragraph>三种新陶片</Paragraph></ListItem>
  226. <ListItem><Paragraph>两种新旗帜图案</Paragraph></ListItem>
  227. <ListItem><Paragraph>两种锻造模板</Paragraph></ListItem>
  228. <ListItem><Paragraph>四种新药水及其对应的喷溅药水和滞留药水</Paragraph><List>
  229. <ListItem><Paragraph>虫蚀药水</Paragraph></ListItem>
  230. <ListItem><Paragraph>渗浆药水</Paragraph></ListItem>
  231. <ListItem><Paragraph>盘丝药水</Paragraph></ListItem>
  232. <ListItem><Paragraph>蓄风药水</Paragraph></ListItem>
  233. </List></ListItem>
  234. <ListItem><Paragraph>四种新药箭</Paragraph><List>
  235. <ListItem><Paragraph>虫蚀药箭</Paragraph></ListItem>
  236. <ListItem><Paragraph>渗浆药箭</Paragraph></ListItem>
  237. <ListItem><Paragraph>盘丝药箭</Paragraph></ListItem>
  238. <ListItem><Paragraph>蓄风药箭</Paragraph></ListItem>
  239. </List></ListItem>
  240. <ListItem><Paragraph>添加了三张由 Aaron Cherof 和 Lena Raine 创作的新音乐唱片</Paragraph></ListItem>
  241. <ListItem><Paragraph>添加了二十幅新画</Paragraph></ListItem>
  242. <ListItem><Paragraph>五幅由 Sarah Boeving 创作</Paragraph></ListItem>
  243. <ListItem><Paragraph>十五幅由 Kristoffer Zetterstrand 创作</Paragraph></ListItem>
  244. <ListItem><Paragraph>重新设计了不祥之兆以触发不祥事件</Paragraph></ListItem>
  245. <ListItem><Paragraph>添加了六种新状态效果</Paragraph></ListItem>
  246. <ListItem><Paragraph>寄生效果</Paragraph></ListItem>
  247. <ListItem><Paragraph>渗浆效果</Paragraph></ListItem>
  248. <ListItem><Paragraph>盘丝效果</Paragraph></ListItem>
  249. <ListItem><Paragraph>蓄风效果</Paragraph></ListItem>
  250. <ListItem><Paragraph>袭击之兆效果</Paragraph></ListItem>
  251. <ListItem><Paragraph>试炼之兆效果</Paragraph></ListItem>
  252. <ListItem><Paragraph>添加了九首由 Aaron Cherof,Kumi Tanioka 和 谷冈久美 创作的音乐曲目</Paragraph></ListItem>
  253. <ListItem><Paragraph>添加了八个新进度</Paragraph></ListItem>
  254. <ListItem><Paragraph>添加了四种洞穴环境音效</Paragraph></ListItem>
  255. <ListItem><Paragraph>船现在可以被拴绳拴住</Paragraph></ListItem>
  256. </List><Paragraph Style="{StaticResource H2}">结构</Paragraph><Paragraph Style="{StaticResource H3}">试炼密室</Paragraph><List>
  257. <ListItem><Paragraph>试炼密室是一个在主世界生成的新的结构,玩家可以在此探索,应对作战的挑战。</Paragraph></ListItem>
  258. <ListItem><Paragraph>由一些铜块和圆石组成,有多种大小。</Paragraph></ListItem>
  259. <ListItem><Paragraph>相对地,在地下深板岩层生成较多。</Paragraph></ListItem>
  260. <ListItem><Paragraph>类似于远古城市,正常生物不在其中自然生成。</Paragraph></ListItem>
  261. <ListItem><Paragraph>永远不会在深渊生物群系生成,但有可能覆盖深渊生物群系。</Paragraph></ListItem>
  262. <ListItem><Paragraph>每个试炼密室的布局都是程序性的,可能会包括陷阱、奖励箱和各种作战区域。</Paragraph></ListItem>
  263. <ListItem><Paragraph>走廊上排布了饰纹陶罐,里面装着隐藏的宝藏。</Paragraph></ListItem>
  264. <ListItem><Paragraph>供应桶可以在房间之间找到,为您提供方块和物品,帮助您进行试炼。</Paragraph></ListItem>
  265. <ListItem><Paragraph>需要经过挑战才能开启宝库。宝库中有许多高级附魔书和装备,也是获得三叉戟的难得机会。</Paragraph></ListItem>
  266. <ListItem><Paragraph>不祥宝库生成在一些更难接触的地方,提供更好的战利品,还有一些不详宝库特有的战利品。</Paragraph></ListItem>
  267. <ListItem><Paragraph>每个试炼密室包含试炼刷怪笼,生成近战生物、小型近战生物和远程攻击生物:</Paragraph></ListItem>
  268. <ListItem><Paragraph>近战生物:僵尸、尸壳、蜘蛛。</Paragraph></ListItem>
  269. <ListItem><Paragraph>小型近战生物:史莱姆、洞穴蜘蛛、小僵尸、蠹虫。</Paragraph></ListItem>
  270. <ListItem><Paragraph>远程攻击生物:骷髅、流浪者、沼骸</Paragraph></ListItem>
  271. <ListItem><Paragraph>每个试炼刷怪笼只生成每类生物中的一种,这些生物对于 同一个试炼密室中的 每个试炼刷怪笼是随机的。</Paragraph></ListItem>
  272. <ListItem><Paragraph>比如,一个试炼密室可能只生成僵尸、史莱姆和骷髅,而另一个试炼密室可能只生成蜘蛛、蠹虫和骷髅。</Paragraph></ListItem>
  273. <ListItem><Paragraph>例外是:在一些特定房间中的试炼刷怪笼,可能只生成旋风人。</Paragraph></ListItem>
  274. <ListItem><Paragraph>正式版本文章内容过长,其余部分将会在之后翻译,若需要可先见 Minecraft Wiki 或 新闻主页 1.21 更新日志存档</Paragraph></ListItem>
  275. </List>
  276. </FlowDocument>
  277. </FlowDocumentScrollViewer><GroupBox Header="阅读完整日志" BorderBrush="{DynamicResource ColorBrush3}" Margin="0,10,0,0">
  278. <Grid UseLayoutRounding="True" Margin="10,10,10,10">
  279. <Grid.ColumnDefinitions>
  280. <ColumnDefinition Width="20*"/>
  281. <ColumnDefinition Width="12*"/>
  282. </Grid.ColumnDefinitions>
  283. <local:MyButton Style="{StaticResource WikiLinkButton}" EventData="https://zh.minecraft.wiki/w/Java版1.21" ColorType="Highlight" />
  284. <local:MyButton Style="{StaticResource OfficalLinkButton}" EventData="https://minecraft.net/article/minecraft-java-edition-1-21"/>
  285. </Grid>
  286. </GroupBox><Grid Margin="0,10,6,0">
  287. <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
  288. <local:MyIconTextButton Text="启动" ToolTip="启动 1.21" EventType="启动游戏"
  289. EventData="1.21" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
  290. <local:MyIconTextButton Style="{StaticResource DownloadVersionButton}"
  291. LogoScale="0.85" Logo="{StaticResource DownloadIcon}"/>
  292. <local:MyIconTextButton Style="{StaticResource ServerJarDownloadButton}"
  293. LogoScale="1.05" EventData="https://piston-data.mojang.com/v1/objects/450698d1863ab5180c25d7c804ef0fe6369dd1ba/server.jar" Logo="{StaticResource CloudIcon}" />
  294. </StackPanel>
  295. </Grid>
  296. <StackPanel Margin="0,10,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
  297. <Path Margin="8,0" Width="18" Height="18" Fill="{DynamicResource ColorBrush5}"
  298. Stretch="Uniform"
  299. 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"/>
  300. <TextBlock Text="By 最亮的信标、WorldHim、柚子柚子" FontSize="14" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush5}"/>
  301. </StackPanel>
  302. </StackPanel>
  303. </local:MyCard><ContentControl Content="历 史 版 本" Template="{StaticResource Separator}"/><local:MyCard Title="更多页面..." Margin="0,5">
  304. <StackPanel Margin="25,40,23,15">
  305. <Grid>
  306. <Grid.ColumnDefinitions>
  307. <ColumnDefinition Width="1*"/>
  308. <ColumnDefinition Width="100"/>
  309. </Grid.ColumnDefinitions>
  310. <local:MyComboBox x:Name="jumpbox" Height="30" SelectedIndex="0">
  311. <local:MyComboBoxItem Content="1.21存档"/>
  312. <local:MyComboBoxItem Content="1.20存档"/>
  313. <local:MyComboBoxItem Content="1.19存档"/>
  314. <local:MyComboBoxItem Content="1.18存档"/>
  315. <local:MyComboBoxItem Content="1.17存档"/>
  316. <local:MyComboBoxItem Content="愚人节版本存档"/>
  317. <local:MyComboBoxItem Content="输入..."/>
  318. </local:MyComboBox>
  319. <local:MyButton HorizontalAlignment="Center" Width="80"
  320. Grid.Column="1" Text="打开→" EventType="打开帮助"
  321. EventData="{Binding Path=Text,ElementName=jumpbox,StringFormat=https://news.bugjump.net/{0}.json}"/>
  322. </Grid>
  323. </StackPanel>
  324. </local:MyCard><ContentControl Content="周 边 新 闻" Template="{StaticResource Separator}"/><local:MyCard Title="📢 关于反馈新闻主页相关问题的提示" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
  325. <StackPanel Style="{StaticResource ContentStack}">
  326. <FlowDocumentScrollViewer >
  327. <FlowDocument>
  328. <Paragraph> 很抱歉由于工作疏漏可能会导致新闻主页出现一些问题。
  329. 但有人往 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 不背锅)。
  330. 你可以点击新闻主页最下方反馈按钮提交反馈</Paragraph>
  331. </FlowDocument>
  332. </FlowDocumentScrollViewer>
  333. </StackPanel>
  334. </local:MyCard><local:MyCard Margin="0,10,0,20">
  335. <StackPanel>
  336. <Grid Margin="26,20,20,2">
  337. <StackPanel>
  338. <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="0,0,0,4">
  339. <TextBlock FontSize="18" Foreground="{DynamicResource ColorBrush2}"><Bold>PCL2 新闻主页</Bold></TextBlock>
  340. <local:MyIconTextButton ColorType="Highlight" Margin="4,0" Text="e155cb0" ToolTip="当前 Commit 版本" EventType="打开网页"
  341. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/tree/e155cb09a1d63fd063c59cf88bcb2067271b8044"
  342. 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" />
  343. </StackPanel>
  344. <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="-4,0,0,10" Height="56">
  345. <Image Margin="2" Source="https://image.stapxs.cn/i/2024/05/24/LB.png"/>
  346. <Image Margin="2" Source="https://image.stapxs.cn/i/2024/05/24/PHB_2.png
  347. " />
  348. </StackPanel>
  349. <StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="-8,0,0,10">
  350. <local:MyIconTextButton HorizontalAlignment="Left" Text="GitHub" ToolTip="前往新闻主页 GitHub 页面" EventType="打开网页"
  351. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage"
  352. 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"/>
  353. <local:MyIconTextButton HorizontalAlignment="Left" Text="支持主页" ToolTip="前往爱发电赞助新闻主页" EventType="打开网页"
  354. EventData="https://afdian.net/a/Nattiden"
  355. 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"/>
  356. <local:MyIconTextButton Text="CC BY-NC-SA 4.0" ToolTip="无特殊声明本主页文字内容使用该授权协议" EventType="打开网页"
  357. EventData="https://creativecommons.org/licenses/by-nc-sa/4.0/"
  358. 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" />
  359. </StackPanel>
  360. </StackPanel>
  361. <StackPanel HorizontalAlignment="Right" >
  362. <local:MyIconTextButton HorizontalAlignment="Left" Text="反馈" ToolTip="反馈新闻主页问题" EventType="打开网页"
  363. EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/issues/new/choose"
  364. 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"/>
  365. <local:MyIconTextButton HorizontalAlignment="Left" Text="刷新" ToolTip="刷新新闻主页" EventType="刷新主页"
  366. 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"/>
  367. </StackPanel>
  368. </Grid>
  369. <Border Background="{DynamicResource ColorBrush2}" Height="10" CornerRadius="0,0,8,8"/>
  370. </StackPanel>
  371. </local:MyCard>
  372. </StackPanel>