|
|
@@ -11,41 +11,6 @@ xmlns:local="clr-namespace:PCL;assembly=Plain Craft Launcher 2">
|
|
|
<Style TargetType="TextBlock"><Setter Property="TextWrapping" Value="Wrap"/><Setter Property="HorizontalAlignment" Value="Left"/><Setter Property="FontSize" Value="14"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/></Style>
|
|
|
<Style TargetType="FlowDocument"><Setter Property="FontFamily" Value="Microsoft YaHei UI"/><Setter Property="FontSize" Value="14"/><Setter Property="TextAlignment" Value="Left"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush1}"/></Style>
|
|
|
<Style TargetType="FlowDocumentScrollViewer"><Setter Property="IsSelectionEnabled" Value="False"/><Setter Property="VerticalScrollBarVisibility" Value="Hidden"/><Setter Property="Margin" Value="0"/></Style>
|
|
|
-<Style x:Key="Quote" TargetType="Section"><Setter Property="BorderThickness" Value="5,0,0,0"/><Setter Property="BorderBrush" Value="{DynamicResource ColorBrush4}"/><Setter Property="Padding" Value="10,0"/><Setter Property="Margin" Value="0,12"/></Style>
|
|
|
-<Style x:Key="typedQuote" BasedOn="{StaticResource Quote}" TargetType="Section"><Setter Property="Padding" Value="10,2"/></Style>
|
|
|
-<Style x:Key="devnoteQuote" BasedOn="{StaticResource typedQuote}" TargetType="Section"><Setter Property="BorderBrush" Value="{StaticResource ColorBrush4}"/><Setter Property="Background" Value="{StaticResource ColorBrush6}"/></Style>
|
|
|
-<Style x:Key="VersionImageBorder" TargetType="Border"><Setter Property="HorizontalAlignment" Value="Center"/><Setter Property="BorderThickness" Value="4"/><Setter Property="VerticalAlignment" Value="Top"/><Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}"/><Setter Property="CornerRadius" Value="7"/><Setter Property="MaxHeight" Value="140"/></Style>
|
|
|
-<Style x:Key="H4" TargetType="Paragraph"><Setter Property="FontSize" Value="16"/><Setter Property="Margin" Value="0,10,0,1"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/></Style>
|
|
|
-<ControlTemplate x:Key="Separator" TargetType="ContentControl">
|
|
|
- <Grid Margin="0,10">
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="1*" />
|
|
|
- <ColumnDefinition Width="100" />
|
|
|
- <ColumnDefinition Width="1*" />
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
- <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
|
|
|
- <TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center" FontSize="15" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
|
|
|
- <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
|
|
|
- </Grid>
|
|
|
-</ControlTemplate>
|
|
|
-<sys:String x:Key="WikiIcon">
|
|
|
-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
|
|
|
-</sys:String>
|
|
|
-<Style x:Key="H3" TargetType="Paragraph"><Setter Property="FontSize" Value="18"/><Setter Property="Margin" Value="0,10,0,3"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/></Style>
|
|
|
-<Style x:Key="Lp" TargetType="Paragraph"><Setter Property="LineHeight" Value="16"/><Setter Property="TextIndent" Value="0"/></Style>
|
|
|
-<Style x:Key="VersionTitleBorder" TargetType="Border"><Setter Property="Margin" Value="0,-20,-1,-2"/><Setter Property="Background" Value="{DynamicResource ColorBrush3}"/><Setter Property="Width" Value="170"/><Setter Property="Height" Value="30"/><Setter Property="CornerRadius" Value="7"/><Setter Property="BorderThickness" Value="0,0,0,2"/><Setter Property="BorderBrush" Value="{DynamicResource ColorBrush2}"/></Style>
|
|
|
-<Style x:Key="Card" TargetType="local:MyCard"><Setter Property="Margin" Value="0,5"/></Style>
|
|
|
-<Style x:Key="ContentStack" TargetType="StackPanel"><Setter Property="Margin" Value="20,40,20,20"/></Style>
|
|
|
-<sys:String x:Key="LaunchIcon">
|
|
|
-M512 97C282.8 97 97 282.8 97 512s185.8 415 415 415 415-185.8
|
|
|
-415-415S741.2 97 512 97z m-1 759c-190.5 0-345-154.5-345-345s154.5-345
|
|
|
-345-345 345 154.5 345 345-154.5 345-345 345z M442.1 408.2L621.9 512
|
|
|
-442.1 615.8V408.2m-59.9-113.9c-5.2 0-10 4.2-10 10v415.4c0 5.8 4.8 10
|
|
|
-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
|
|
|
-295.7c-1.6-1-3.3-1.4-4.9-1.4z</sys:String>
|
|
|
-<Style x:Key="H2" TargetType="Paragraph"><Setter Property="FontSize" Value="22"/><Setter Property="Margin" Value="0,10,0,5"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/></Style>
|
|
|
-<Style x:Key="H5" TargetType="Paragraph"><Setter Property="FontSize" Value="14"/><Setter Property="Margin" Value="0,8,0,1"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush4}"/></Style>
|
|
|
-<Style x:Key="ServerJarDownloadButton" TargetType="local:MyIconTextButton"><Setter Property="Text" Value="服务端"/><Setter Property="ToolTip" Value="下载服务端"/><Setter Property="EventType" Value="下载文件"/></Style>
|
|
|
<sys:String x:Key="CloudIcon">
|
|
|
M480 224c43 0 84.7 11.6 120.6 33.5 34.6 21.1 62.5 50.9 80.6 86 10.4
|
|
|
20.1 30.6 33.3 53.2 34.6C796 381.6 853 407 895.2 449.7c41.7 42.1 64.6
|
|
|
@@ -58,6 +23,23 @@ 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.4 888.6 256.1 896H736c158.9 0 287.9-130.5 287.9-291.3
|
|
|
0-145.4-111.1-265.5-256.2-287.4-18.1-2.7-34.1-13-44.2-28.2C672.5
|
|
|
211.6 582.7 160 480 160z</sys:String>
|
|
|
+<sys:String x:Key="LaunchIcon">
|
|
|
+M512 97C282.8 97 97 282.8 97 512s185.8 415 415 415 415-185.8
|
|
|
+415-415S741.2 97 512 97z m-1 759c-190.5 0-345-154.5-345-345s154.5-345
|
|
|
+345-345 345 154.5 345 345-154.5 345-345 345z M442.1 408.2L621.9 512
|
|
|
+442.1 615.8V408.2m-59.9-113.9c-5.2 0-10 4.2-10 10v415.4c0 5.8 4.8 10
|
|
|
+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
|
|
|
+295.7c-1.6-1-3.3-1.4-4.9-1.4z</sys:String>
|
|
|
+<Style x:Key="Card" TargetType="local:MyCard"><Setter Property="Margin" Value="0,5"/></Style>
|
|
|
+<Style x:Key="H1" TargetType="Paragraph"><Setter Property="FontSize" Value="24"/><Setter Property="Margin" Value="0,10,0,10"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/></Style>
|
|
|
+<Style x:Key="ContentStack" TargetType="StackPanel"><Setter Property="Margin" Value="20,40,20,20"/></Style>
|
|
|
+<Style TargetType="local:MyImage" x:Key="VersionImage">
|
|
|
+ <Setter Property="Stretch" Value="UniformToFill" />
|
|
|
+ <Setter Property="VerticalAlignment" Value="Center" />
|
|
|
+</Style>
|
|
|
+
|
|
|
+<Style x:Key="DownloadVersionButton" TargetType="local:MyIconTextButton"><Setter Property="Text" Value="下载"/><Setter Property="ToolTip" Value="转到下载页面"/><Setter Property="EventType" Value="切换页面"/><Setter Property="EventData" Value="1|1"/></Style>
|
|
|
+<Style x:Key="VersionTitleBorder" TargetType="Border"><Setter Property="Margin" Value="0,-20,-1,-2"/><Setter Property="Background" Value="{DynamicResource ColorBrush3}"/><Setter Property="Width" Value="170"/><Setter Property="Height" Value="30"/><Setter Property="CornerRadius" Value="7"/><Setter Property="BorderThickness" Value="0,0,0,2"/><Setter Property="BorderBrush" Value="{DynamicResource ColorBrush2}"/></Style>
|
|
|
<Style TargetType="TextBox" x:Key="InlineCode">
|
|
|
<Setter Property="FontSize" Value="14" />
|
|
|
<Setter Property="IsReadOnly" Value="True" />
|
|
|
@@ -80,6 +62,9 @@ M480 224c43 0 84.7 11.6 120.6 33.5 34.6 21.1 62.5 50.9 80.6 86 10.4
|
|
|
<sys:String x:Key="CreeperIcon">
|
|
|
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
|
|
|
</sys:String>
|
|
|
+<sys:String x:Key="WikiIcon">
|
|
|
+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
|
|
|
+</sys:String>
|
|
|
<sys:String x:Key="DownloadIcon">
|
|
|
M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
|
|
|
0-14-6.3-14-14V664c0-5.5-4.5-10-10-10h-50c-5.5
|
|
|
@@ -103,34 +88,26 @@ M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
|
|
|
0-0.4-0.1-0.6-0.1-0.4-0.1-0.7-0.2-1.1-0.2-0.2
|
|
|
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
|
|
|
35.8-13.7 49.5 0L477 612.5V163c0-19.3 15.7-35 35-35s35 15.7 35 35z</sys:String>
|
|
|
-<Style x:Key="BlockCodeBorder" TargetType="Border"><Setter Property="Background" Value="{DynamicResource ColorBrush4}"/><Setter Property="Opacity" Value="0.8"/><Setter Property="CornerRadius" Value="5"/><Setter Property="Margin" Value="2"/></Style>
|
|
|
-<Style x:Key="DownloadVersionButton" TargetType="local:MyIconTextButton"><Setter Property="Text" Value="下载"/><Setter Property="ToolTip" Value="转到下载页面"/><Setter Property="EventType" Value="切换页面"/><Setter Property="EventData" Value="1|1"/></Style>
|
|
|
-<Style TargetType="TextBox" x:Key="BlockCode">
|
|
|
- <Setter Property="Foreground" Value="{DynamicResource ColorBrush1}" />
|
|
|
- <Setter Property="FontSize" Value="14" />
|
|
|
- <Setter Property="IsReadOnly" Value="True" />
|
|
|
- <Setter Property="FontFamily" Value="Consolas" />
|
|
|
- <Setter Property="TextWrapping" Value="Wrap" />
|
|
|
- <Setter Property="Template">
|
|
|
- <Setter.Value>
|
|
|
- <ControlTemplate TargetType="TextBox">
|
|
|
- <Border Background="{DynamicResource ColorBrush7}" Opacity="0.8" BorderBrush="{DynamicResource ColorBrush4}" BorderThickness="0" CornerRadius="0,0,5,5" Padding="16,8,16,12">
|
|
|
- <ScrollViewer x:Name="PART_ContentHost" Focusable="false" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" />
|
|
|
- </Border>
|
|
|
- </ControlTemplate>
|
|
|
- </Setter.Value>
|
|
|
- </Setter>
|
|
|
-</Style>
|
|
|
-<Style x:Key="H1" TargetType="Paragraph"><Setter Property="FontSize" Value="24"/><Setter Property="Margin" Value="0,10,0,10"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/></Style>
|
|
|
-<Style TargetType="local:MyImage" x:Key="VersionImage">
|
|
|
- <Setter Property="Stretch" Value="UniformToFill" />
|
|
|
- <Setter Property="VerticalAlignment" Value="Center" />
|
|
|
-</Style>
|
|
|
-
|
|
|
+<Style x:Key="Lp" TargetType="Paragraph"><Setter Property="LineHeight" Value="16"/><Setter Property="TextIndent" Value="0"/></Style>
|
|
|
+<Style x:Key="ServerJarDownloadButton" TargetType="local:MyIconTextButton"><Setter Property="Text" Value="服务端"/><Setter Property="ToolTip" Value="下载服务端"/><Setter Property="EventType" Value="下载文件"/></Style>
|
|
|
+<ControlTemplate x:Key="Separator" TargetType="ContentControl">
|
|
|
+ <Grid Margin="0,10">
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="1*" />
|
|
|
+ <ColumnDefinition Width="100" />
|
|
|
+ <ColumnDefinition Width="1*" />
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="0" />
|
|
|
+ <TextBlock Text="{TemplateBinding Content}" HorizontalAlignment="Center" FontSize="15" Foreground="{DynamicResource ColorBrush4}" Grid.Column="1" VerticalAlignment="Center" />
|
|
|
+ <Line X1="0" X2="100" Stroke="{DynamicResource ColorBrush4}" StrokeThickness="1.5" HorizontalAlignment="Center" Stretch="Fill" Grid.Column="2" />
|
|
|
+ </Grid>
|
|
|
+</ControlTemplate>
|
|
|
+<Style x:Key="H2" TargetType="Paragraph"><Setter Property="FontSize" Value="22"/><Setter Property="Margin" Value="0,10,0,5"/><Setter Property="FontWeight" Value="Bold"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush3}"/></Style>
|
|
|
<Style x:Key="VersionTitleBlock" TargetType="TextBlock"><Setter Property="HorizontalAlignment" Value="Center"/><Setter Property="TextAlignment" Value="Center"/><Setter Property="VerticalAlignment" Value="Center"/><Setter Property="Foreground" Value="{DynamicResource ColorBrush7}"/><Setter Property="Width" Value="180"/><Setter Property="TextWrapping" Value="Wrap"/><Setter Property="FontSize" Value="18"/></Style>
|
|
|
+<Style x:Key="VersionImageBorder" TargetType="Border"><Setter Property="HorizontalAlignment" Value="Center"/><Setter Property="BorderThickness" Value="4"/><Setter Property="VerticalAlignment" Value="Top"/><Setter Property="BorderBrush" Value="{DynamicResource ColorBrush3}"/><Setter Property="CornerRadius" Value="7"/><Setter Property="MaxHeight" Value="140"/></Style>
|
|
|
|
|
|
</StackPanel.Resources>
|
|
|
-<local:MyCard CanSwap="False" IsSwapped="false" Margin="0,-2,0,6">
|
|
|
+<local:MyCard CanSwap="False" IsSwaped="false" Margin="0,-2,0,6">
|
|
|
<Border Margin="0,0,0,0" Padding="2,8" BorderThickness="1" Background="{DynamicResource ColorBrush5}" CornerRadius="5" VerticalAlignment="Top" BorderBrush="{DynamicResource ColorBrush3}" Opacity="0.7">
|
|
|
<Grid Margin="10,0,0,0">
|
|
|
<TextBlock x:Name="NewsHint" FontWeight="Bold" FontSize="12" VerticalAlignment="Center" Foreground="#FF000000">
|
|
|
@@ -141,414 +118,57 @@ M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
|
|
|
</TextBlock>
|
|
|
</Grid>
|
|
|
</Border>
|
|
|
-</local:MyCard><local:MyCard Title="铜披风任务" CanSwap="True" IsSwapped="True" Style="{StaticResource Card}" >
|
|
|
+</local:MyCard><local:MyCard Title="自 2026 年起 Java 版将使用新的版本号系统" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
|
|
|
<StackPanel Style="{StaticResource ContentStack}">
|
|
|
<FlowDocumentScrollViewer >
|
|
|
<FlowDocument>
|
|
|
-<Paragraph Style="{StaticResource H3}">铜披风任务</Paragraph><Paragraph>随着铜器时代小更新的到来,Mojang 发布了一款新的铜披风。有以下三种方式可以获取:</Paragraph><List MarkerStyle="Decimal">
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在 10月13日 至 21日01:00 期间,在基岩版中放置一个铜傀儡像(可创造放置,会延迟发放)</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在 Twitch 或 Tiktok 上观看直播掉宝获得兑换码</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在 TwitchCon 线下活动获得兑换码</Paragraph></ListItem>
|
|
|
-</List><Paragraph>目前没有人通过第一个途径成功获取到,建议通过掉宝活动获取。</Paragraph>
|
|
|
+<Paragraph>因为现在 Mojang 不再发布大更新,而是每年四次小更新(drop),Mojang 更改了版本号系统:</Paragraph><Paragraph>正式版:<TextBox Style="{StaticResource InlineCode}">年份.drop序号</TextBox> 或 <TextBox Style="{StaticResource InlineCode}">年份.drop序号.修订号</TextBox>,如 <TextBox Style="{StaticResource InlineCode}">1.21.10 -> 25.3.1</TextBox>
|
|
|
+快照版:<TextBox Style="{StaticResource InlineCode}">年份.drop序号-snapshot-快照序号</TextBox></Paragraph><Paragraph>自明年开始实行</Paragraph>
|
|
|
</FlowDocument>
|
|
|
</FlowDocumentScrollViewer>
|
|
|
|
|
|
|
|
|
<!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
|
|
|
-<TextBlock Text="最后更新: 2025-10-14" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
+<TextBlock Text="最后更新: 2025-12-04" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
</StackPanel> -->
|
|
|
|
|
|
</StackPanel>
|
|
|
-</local:MyCard><local:MyCard Title="最新快照版 - 25w42a" CanSwap="True" IsSwapped="false" Style="{StaticResource Card}" >
|
|
|
+</local:MyCard><local:MyCard Title="最新预发布版 - 1.21.11-pre5" CanSwap="True" IsSwaped="false" Style="{StaticResource Card}" >
|
|
|
<StackPanel Style="{StaticResource ContentStack}">
|
|
|
<Border Style="{StaticResource VersionImageBorder}">
|
|
|
-<local:MyImage Source="https://dl.z.wiki/autoupload/fr/XTxqEIEXt3ek2iMfNVy0xHr9SBDGMOz2CzLFKIoBJwSyl5f0KlZfm6UsKj-HyTuv/20251015/7LYI/1170X500/image.png" FallbackSource="https://i0.hdslb.com/bfs/new_dyn/763ab8491d106d98434c00c07c74597a277543816.png" Style="{StaticResource VersionImage}"/>
|
|
|
+<local:MyImage Source="https://test.fukit.cn/autoupload/f/eVhYusBtjOJG2qfZ4rUTz9iO_OyvX7mIgxFBfDMDErs/20251204/49XQ/1170X500/image.png/webp" FallbackSource="https://i0.hdslb.com/bfs/new_dyn/763ab8491d106d98434c00c07c74597a277543816.png" Style="{StaticResource VersionImage}"/>
|
|
|
</Border>
|
|
|
<Border Style="{StaticResource VersionTitleBorder}">
|
|
|
-<TextBlock Style="{StaticResource VersionTitleBlock}" Text="25w42a" />
|
|
|
+<TextBlock Style="{StaticResource VersionTitleBlock}" Text="1.21.11-pre5" />
|
|
|
</Border><FlowDocumentScrollViewer >
|
|
|
<FlowDocument>
|
|
|
-<Paragraph Style="{StaticResource H2}">更改</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">水下生物群系雾的颜色以及雾的距离现在基于玩家在群系之间的位置混合,就像普通生物群系雾以及天空颜色那样</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">更新了“金光闪闪”进度以包含金矛以及金鹦鹉螺铠</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">当骑乘在僵尸马上的生物被移除,僵尸马可以被拴绳拴住</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">鹦鹉螺和僵尸鹦鹉螺在陆地上现在也可以被控制了</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">突进不再不兼容经验修补</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H2}">技术性更改</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">数据包版本现在为 90</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">资源包版本现在为 70.1</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H3}">Minecraft 服务端管理协议版本 1.1.0</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在网页浏览器中启用验证</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">当打开 WebSocket 连接时通过在 Sec-WebSocket-Protocol 头中传递 token 验证</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">例如:<TextBox Style="{StaticResource InlineCode}">Sec-WebSocket-Protocol: minecraft-v1, <token></TextBox></Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">以这种方式进行验证的请求会受到 Origin 头检查。为此需要在服务器端通过配置 management-server-allowed-origins 指定允许的来源。默认值为空,这意味着基于 Sec-WebSocket-Protocol 的验证实际上被禁用</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H2}">数据包版本 90</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">特定视觉效果以及游戏效果现在由环境属性控制</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H3}">命令</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">资源建议现在显示任何命名空间的结果,而不再仅为 minecraft</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H4}">stopwatch 的更改</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">更改了 id 参数的位置</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">例如: /stopwatch foo:bar create 现在为 /stopwatch create foo:bar</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">query 现在会返回被查询的数值,并接受一个新的 scale 参数</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">返回的数值会按该参数进行缩放并向下取整(截断)</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">scale 为可选,缺省时默认为 1</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">示例:/stopwatch query foo:bar 20 获取经过的刻数</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H3}">环境属性</Paragraph><Paragraph>环境属性提供了一种数据驱动的方式来控制多种视觉与游戏性系统。</Paragraph><Paragraph>每个环境属性控制一个特定的视觉或游戏效果:例如,<TextBox Style="{StaticResource InlineCode}">minecraft:visual/sky_color</TextBox> 控制天空的颜色,而 <TextBox Style="{StaticResource InlineCode}">minecraft:gameplay/water_evaporates</TextBox> 控制某位置是否可以放置水。</Paragraph><Section Style="{StaticResource devnoteQuote}">
|
|
|
- <Paragraph FontWeight="Bold">
|
|
|
- 开发者注释
|
|
|
- <Paragraph.Foreground>
|
|
|
- <Binding Path="BorderBrush" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=Section}" />
|
|
|
- </Paragraph.Foreground>
|
|
|
- </Paragraph>
|
|
|
-
|
|
|
-<Paragraph> 该系统及本次引入的许多属性应视为高度实验性,它们在后续快照与正式版本中仍可能发生显著变化。与此同时,一如既往,我们期待并欢迎你提出任何反馈或建议!</Paragraph>
|
|
|
-
|
|
|
-</Section><Paragraph Style="{StaticResource H4}">来源</Paragraph><Paragraph>环境属性的数值可由以下环境属性来源提供(按优先级从低到高列出):</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">维度</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">生物群系</Paragraph></ListItem>
|
|
|
-</List><Paragraph>环境属性的“有效”数值(即游戏中实际呈现的)将根据各来源的优先级,对它们提供的数值进行组合。</Paragraph><Paragraph>例如,以下情形:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">主世界维度提供 <TextBox Style="{StaticResource InlineCode}">sky_color = #00ff00</TextBox>(绿色)</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">平原生物群系提供 <TextBox Style="{StaticResource InlineCode}">sky_color = #ff0000</TextBox>(红色)</Paragraph></ListItem>
|
|
|
-</List><Paragraph>当玩家处于平原群系时,会看到红色的 <TextBox Style="{StaticResource InlineCode}">sky_color</TextBox>;而在主世界的其他位置,则看到绿色。</Paragraph><Paragraph>当某个环境属性来源提供一个环境属性时,它可以:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">覆盖该数值,如上例中平原生物群系覆盖了主世界的 <TextBox Style="{StaticResource InlineCode}">sky_color</TextBox></Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">对之前的数值应用一个修饰符(见下文“修饰符”章节)</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H4}">修饰符</Paragraph><Paragraph>如上例所述,一个环境属性来源可以直接覆盖某属性数值。然而,有时也希望对低优先级来源提供的数值施加一个修饰符,而非直接覆盖。</Paragraph><Paragraph>例如,以下情形:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">主世界维度提供 <TextBox Style="{StaticResource InlineCode}">water_fog_radius = 96.0</TextBox></Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">平原生物群系使用乘法修饰符(multiply 0.85)修改 <TextBox Style="{StaticResource InlineCode}">water_fog_radius</TextBox></Paragraph></ListItem>
|
|
|
-</List><Paragraph>当处于平原时,<TextBox Style="{StaticResource InlineCode}">water_fog_radius</TextBox> 解析为 <TextBox Style="{StaticResource InlineCode}">96.0 * 0.85 = 81.6</TextBox>;在主世界的任何其它群系则解析为 96.0。</Paragraph><Paragraph>可用的修饰符类型取决于环境属性的类型。最基础且每个环境属性都支持的修饰符是 override,它仅作为对前一个数值的覆盖。若来源未显式指定修饰符,则默认为 override。</Paragraph><Paragraph>所有可用修饰符及其行为的完整描述见下文“通用修饰符”章节。</Paragraph><Paragraph Style="{StaticResource H4}">插值</Paragraph><Paragraph>修饰符描述的是某来源提供的数值如何作用于先前来源的数值;而“插值”描述的是同一个来源内部多个数值之间的组合。插值发生在该来源的修饰符应用之后。</Paragraph><Paragraph>只有部分环境属性支持插值。支持插值可以在两个或多个数值之间平滑过渡,例如在两个生物群系之间移动时。</Paragraph><Paragraph>例如,以下情形:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">平原群系提供 <TextBox Style="{StaticResource InlineCode}">sky_color = #ff0000</TextBox>(红)</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">沙漠群系提供 <TextBox Style="{StaticResource InlineCode}">sky_color = #ffff00</TextBox>(黄)</Paragraph></ListItem>
|
|
|
-</List><Paragraph><TextBox Style="{StaticResource InlineCode}">sky_color</TextBox> 就是一个会基于位置平滑过渡的属性:在上述情形中,玩家从平原移动到沙漠时,天空颜色会逐渐从红转为黄。而其它属性,如 <TextBox Style="{StaticResource InlineCode}">water_evaporates</TextBox>,表示离散值,不会进行平滑过渡 —— 只考虑玩家所在精确位置的那个群系。</Paragraph><Paragraph>生物群系之间的平滑过渡基于相机周围 8 格半径内的生物群系。占据该半径更大体积且更接近相机的群系,对最终插值结果影响更大。</Paragraph><Paragraph Style="{StaticResource H4}">环境属性映射</Paragraph><Paragraph>维度类型与生物群系定义包含一个新的 <TextBox Style="{StaticResource InlineCode}">attributes</TextBox> 字段,允许它们定义环境属性。</Paragraph><Paragraph>该映射通常是一个对象,将环境属性 ID 映射到其对应取值,例如:</Paragraph><BlockUIContainer>
|
|
|
-<Border Style="{StaticResource BlockCodeBorder}" >
|
|
|
-<StackPanel Margin="0,2,0,0">
|
|
|
-<TextBlock Foreground="White" FontSize="14" Text="JSON" Margin="10,4"/>
|
|
|
-<TextBox Style="{StaticResource BlockCode}" Text=""attributes": {
"minecraft:visual/fog_color": "#ffaa00",
"minecraft:gameplay/water_evaporates": true
}"/>
|
|
|
-</StackPanel>
|
|
|
-</Border>
|
|
|
-</BlockUIContainer><Paragraph>像上面这样直接定义的值,总是假定使用 override 修饰符。</Paragraph><Paragraph>不过,也可以展开值对象以表达不同的修饰符,格式为一个对象,字段如下:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">modifier: 可选 字符串修饰符 ID,取决于属性类型(见下文“通用修饰符”)</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认:override</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">argument: 修饰符参数(格式取决于所选修饰符)</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">参数的使用方式也取决于修饰符类型</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-</List><Paragraph>例如,以下定义表示将 <TextBox Style="{StaticResource InlineCode}">water_fog_radius</TextBox> 乘以 85%:</Paragraph><BlockUIContainer>
|
|
|
-<Border Style="{StaticResource BlockCodeBorder}" >
|
|
|
-<StackPanel Margin="0,2,0,0">
|
|
|
-<TextBlock Foreground="White" FontSize="14" Text="JSON" Margin="10,4"/>
|
|
|
-<TextBox Style="{StaticResource BlockCode}" Text=""attributes": {
"minecraft:visual/water_fog_radius": {
"modifier": "multiply",
"argument": 0.85
}
}"/>
|
|
|
-</StackPanel>
|
|
|
-</Border>
|
|
|
-</BlockUIContainer><Paragraph Style="{StaticResource H4}">通用数据类型</Paragraph><Paragraph>以下数据类型会在环境属性系统的多个部分复用,后续章节会引用它们。</Paragraph><Paragraph Style="{StaticResource H5}">RGB 颜色</Paragraph><Paragraph>格式可以是以下之一:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">十六进制 RGB 颜色字符串,形式 <TextBox Style="{StaticResource InlineCode}">#rrggbb</TextBox></Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">浮点数组,3 个分量,范围 0 到 1,形式 <TextBox Style="{StaticResource InlineCode}">[r, g, b]</TextBox></Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">打包 RGB 整数</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">ARGB 颜色</Paragraph><Paragraph>格式可以是以下之一:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">十六进制 ARGB 颜色字符串,形式 <TextBox Style="{StaticResource InlineCode}">#aarrggbb</TextBox></Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">浮点数组,4 个分量,范围 0 到 1,形式 <TextBox Style="{StaticResource InlineCode}">[a, r, g, b]</TextBox></Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">打包 ARGB 整数</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">粒子选项</Paragraph><Paragraph>一个粒子的完整定义,包括任何特定类型属性(类似 <TextBox Style="{StaticResource InlineCode}">/particle</TextBox> 命令)。</Paragraph><Paragraph>例如:</Paragraph><BlockUIContainer>
|
|
|
-<Border Style="{StaticResource BlockCodeBorder}" >
|
|
|
-<StackPanel Margin="0,2,0,0">
|
|
|
-<TextBlock Foreground="White" FontSize="14" Text="JSON" Margin="10,4"/>
|
|
|
-<TextBox Style="{StaticResource BlockCode}" Text="{}{
"type": "minecraft:block_crumble",
"block_state": {
"Name": "minecraft:dirt"
}
}"/>
|
|
|
-</StackPanel>
|
|
|
-</Border>
|
|
|
-</BlockUIContainer><Paragraph Style="{StaticResource H4}">通用修饰符</Paragraph><Paragraph>每个环境属性都有一个特定的“值类型”,它描述数值必须如何定义、支持哪些修饰符,以及如何插值。有些类型非常专用,另一些则被多个属性复用。</Paragraph><Paragraph>虽然下表并不穷尽,但以下属性类型在很多环境属性中常用:</Paragraph><Paragraph Style="{StaticResource H5}">布尔修饰符</Paragraph><Paragraph>参数格式:布尔值</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">override</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">and</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">nand</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">or</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">nor</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">xor</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">xnor</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">浮点修饰符</Paragraph><Paragraph>参数格式:float</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">override</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">add</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">subtract</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">multiply</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">minimum</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">maximum</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">颜色修饰符</Paragraph><Paragraph>参数格式:RGB 颜色(<TextBox Style="{StaticResource InlineCode}">alpha_blend</TextBox> 例外)</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">override</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">add —— 分量逐项相加的颜色混合</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">subtract —— 分量逐项相减的颜色混合</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">multiply —— 分量逐项相乘的颜色混合</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">alpha_blend —— 常规的 α 混合(图像编辑软件常见)</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">参数格式:ARGB 颜色</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">当参数 α 为 1 时,行为等同 override(不进行混合)</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H4}">新的环境属性</Paragraph><Paragraph Style="{StaticResource H5}">minecraft:visual/fog_color</Paragraph><Paragraph>(相机未沉浸在其它介质时的)雾颜色。注意:最终数值还会受时间、天气与药水效果影响。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: RGB 颜色</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: #000000</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 颜色修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 是</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在摄像机的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了生物群系属性 effects.fog_color</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:visual/extra_fog</Paragraph><Paragraph>(相机未沉浸在其它介质时)控制是否使用稠密雾(如下界的那种)。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 布尔值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: false</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 布尔修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在摄像机的位置解析</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:visual/water_fog_color</Paragraph><Paragraph>在水下时的雾颜色。注意:最终数值还受时间、天气与药水效果影响。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: RGB 颜色</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: #050533</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 颜色修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 是</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在摄像机的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了生物群系属性 effects.water_fog_color</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:visual/water_fog_radius</Paragraph><Paragraph>从相机起始的距离,水下雾在该距离达到最大密度。
|
|
|
-注意:最终数值还受玩家在水下停留时长影响。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 非负浮点值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: 96.0</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 浮点修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 是</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在摄像机的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了生物群系标签 #has_closer_water_fog</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:visual/sky_color</Paragraph><Paragraph>天空颜色。仅在主世界天空中可见。注意:最终数值还受时间与天气影响。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: RGB 颜色</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: #000000</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 颜色修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 是</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在摄像机的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了生物群系属性 effects.sky_color</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:visual/cloud_opacity</Paragraph><Paragraph>云的不透明度。若为 0,云完全禁用,并且快乐恶魂在云层高度不会更快恢复生命。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 0 到 1 之间的浮点值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: 0.0</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 浮点修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 是</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在摄像机的位置或在快乐恶魂恢复生命的位置渲染</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:visual/cloud_height</Paragraph><Paragraph>所有云出现的高度。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 浮点值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: 192.33</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 浮点修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 是</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在摄像机的位置或在快乐恶魂恢复生命的位置渲染</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了维度类型属性 cloud_height</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:visual/default_dripstone_particle</Paragraph><Paragraph>当上方没有流体时,从钟乳石方块滴落的默认粒子。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 粒子选项</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: {type:"minecraft:dripping_dripstone_water"}</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: override</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在滴水石锥的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了维度类型属性 ultrawarm</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:visual/ambient_particles</Paragraph><Paragraph>控制在相机周围随机生成的环境粒子。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 含有下列字段的对象组成的列表</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">particle: 要生成粒子的粒子选项</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">probability: 0 到 1 的浮点数,在一次随机刻中若该方块为空则生成粒子的概率</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: []</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: override</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在摄像机的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了生物群系属性 effects.particle</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:audio/background_music</Paragraph><Paragraph>控制背景音乐的播放方式与曲目。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 含有下列字段的对象</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">default: 可选含有下列字段的对象:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">sound: 要播放的声音事件</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">min_delay: int,两次曲目之间的最小刻延迟</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">max_delay: int,两次曲目之间的最大刻延迟</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">replace_current_music: 可选布尔值,此曲目是否可替换当前正在播放的曲目</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: false</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">若未定义且未被其它值覆盖,则该属性激活期间不会开始播放音乐</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">underwater: 可选 对象,与 default 格式相同 —— 若存在且玩家在水下,则覆盖 default</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">creative: 可选 对象,与 default 格式相同 —— 若存在且玩家处于创造模式,则覆盖 default</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: {}</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: override</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在摄像机的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了生物群系属性 effects.music</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:audio/music_volume</Paragraph><Paragraph>音乐应播放的音量。任何正在播放的音乐会随着时间淡入/淡出至该值。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 0 到 1 之间的浮点值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: 1.0</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 浮点修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在摄像机的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了生物群系属性 effects.music_volume</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:audio/ambient_sounds</Paragraph><Paragraph>控制相机周围播放的环境音及其触发方式。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 含有下列字段的对象</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">loop: 可选 声音事件,持续循环播放的声音</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">mood: 对象,字段;基于周围黑暗程度随机播放的氛围声音</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">sound: 要播放的声音事件</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">tick_delay: int,两次氛围声音之间的刻数(假设光照等级为 0)</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">block_search_extent: int,用于采样光照等级的半径</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">offset: double,对播放位置应用的额外距离偏移</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">additions: 对象列表,字段;随机播放的附加声音</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">sound: 要播放的声音事件</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">tick_chance: 0 到 1 的浮点数,每刻播放给定声音的概率</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: {}</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: override</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在摄像机的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了生物群系属性 effects.ambient_sound、 effects.mood_sound 以及 effects.additions_sound</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:gameplay/can_start_raid</Paragraph><Paragraph>若为 false,拥有袭击之兆的玩家无法触发袭击。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 布尔值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: true</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 布尔修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在袭击将要开始的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了维度类型属性 has_raids</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:gameplay/water_evaporates</Paragraph><Paragraph>若为 true:无法用水桶放置水;融化的冰不会生成水;湿海绵放置后会变干;钟乳石不会从泥巴产生水。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 布尔值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: false</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 布尔修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在交互的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了维度类型属性 ultrawarm</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:gameplay/bed_rule</Paragraph><Paragraph>控制床是否可用于睡觉,以及是否可用于设置重生点。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 含有下列字段的对象</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">can_sleep: 取值之一:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">always —— 床总是可睡(前提:未被阻挡且附近无怪)</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">when_dark —— 仅在全局天空光照等级 < 4 时可睡</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">never —— 不可睡</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">can_set_spawn —— 同 can_sleep</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">explodes —— 可选布尔值,若为 true,交互时床会爆炸</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: false</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">error_message: 可选文本组件,玩家无法睡觉或设置重生点时显示的信息</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: {type:"can_sleep_when_dark",error_message:{translate:"block.minecraft.bed.no_sleep"}}</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: override</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在床头位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了维度类型属性 bed_works</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:gameplay/respawn_anchor_works</Paragraph><Paragraph>控制重生锚是否可用于设置重生(或实际重生)。若为 false,充能后会爆炸。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 布尔值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: false</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 布尔修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在重生锚的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了维度类型属性 respawn_anchor_works</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:gameplay/nether_portal_spawns_piglin</Paragraph><Paragraph>控制下界传送门方块是否会生成猪灵。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 布尔值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: false</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 布尔修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在随机一个下界传送门方块的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了维度类型属性 natural</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:gameplay/fast_lava</Paragraph><Paragraph>控制岩浆是否应流动得更快、更远,并在流动时对实体施加更强推力。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 布尔值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: false</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 布尔修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在整个维度位置解析,单个生物群系内无效</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了维度类型属性 ultrawarm</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:gameplay/increased_fire_burnout</Paragraph><Paragraph>控制火是否会比正常更快熄灭。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 布尔值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: false</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 布尔修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在火的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了维度类型属性 #increased_fire_burnout</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:gameplay/piglins_zombify</Paragraph><Paragraph>控制猪灵与疣猪兽是否会僵尸化。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 布尔值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: true</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 布尔修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在正在僵尸化的实体的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了维度类型属性 piglin_safe</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H5}">minecraft:gameplay/snow_golem_melts</Paragraph><Paragraph>控制雪傀儡是否应受到伤害(融化)。</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">值类型: 布尔值</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值: false</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">修饰符: 布尔修饰符</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">可插值: 否</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">在雪傀儡的位置解析</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">替代了生物群系标签 #snow_golem_melts</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H4}">维度类型</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">为维度新增 <TextBox Style="{StaticResource InlineCode}">attributes</TextBox> 字段以指定环境属性</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">格式信息参见“环境属性”章节</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">多个字段迁移为环境属性:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">注意:这些属性的形式可能与原字段不完全相同</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">ultrawarm -> minecraft:gameplay/water_evaporates, minecraft:gameplay/fast_lava, visual/default_dripstone_particle</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">bed_works -> minecraft:gameplay/bed_rule</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">respawn_anchor_works -> minecraft:gameplay/respawn_anchor_works</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">cloud_height -> minecraft:visual/cloud_height</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">piglin_safe -> minecraft:gameplay/piglins_zombify</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">has_raids -> minecraft:gameplay/can_start_raid</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">natural(注:未移除) -> minecraft:gameplay/nether_portal_spawns_piglin</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H4}">生物群系</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">为生物群系新增 <TextBox Style="{StaticResource InlineCode}">attributes</TextBox> 字段以指定环境属性</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">格式信息参见“环境属性”章节</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">注意:某些属性(如 gameplay/fast_lava)不按位置评估,因此不能在生物群系上设置</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}"><TextBox Style="{StaticResource InlineCode}">effects</TextBox> 下的多个子字段迁移为环境属性:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">注意:这些属性的形式可能与原字段不完全相同</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">fog_color -> minecraft:visual/fog_color</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">water_fog_color -> minecraft:visual/water_fog_color</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">sky_color -> minecraft:visual/sky_color</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">particle -> minecraft:visual/ambient_particles</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">ambient_sound, mood_sound, additions_sound -> minecraft:audio/ambient_sounds</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">music -> minecraft:audio/background_music</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">music_volume -> minecraft:audio/music_volume</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H3}">物品组件</Paragraph><Paragraph Style="{StaticResource H4}">minecraft:kinetic_weapon</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">新增字段:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">contact_cooldown_ticks: 整型,击中并与实体失去接触后再次可以命中的冷却刻数</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">默认值:10</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H4}">生物群系标签</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">移除 <TextBox Style="{StaticResource InlineCode}">#snow_golem_melts</TextBox> 与 <TextBox Style="{StaticResource InlineCode}">#increased_fire_burnout</TextBox> —— 由 <TextBox Style="{StaticResource InlineCode}">gameplay/snow_golem_melts</TextBox> 与 <TextBox Style="{StaticResource InlineCode}">gameplay/increased_fire_burnout</TextBox> 环境属性替代</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">移除 <TextBox Style="{StaticResource InlineCode}">#plays_underwater_music</TextBox> —— 由 <TextBox Style="{StaticResource InlineCode}">audio/background_music</TextBox> 环境属性中的 <TextBox Style="{StaticResource InlineCode}">only_underwater</TextBox> 字段替代</Paragraph></ListItem>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">移除 <TextBox Style="{StaticResource InlineCode}">#has_closer_water_fog</TextBox> —— 由 <TextBox Style="{StaticResource InlineCode}">visual/water_fog_radius</TextBox> 环境属性替代</Paragraph></ListItem>
|
|
|
-</List><Paragraph Style="{StaticResource H2}">资源包版本 70.1</Paragraph><Paragraph Style="{StaticResource H3}">音效</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">为鹦鹉螺新增音效事件:</Paragraph><List>
|
|
|
-<ListItem><Paragraph Style="{StaticResource Lp}">entity.nautilus.riding</Paragraph></ListItem>
|
|
|
-</List></ListItem>
|
|
|
-</List>
|
|
|
+<Paragraph>修复了一些漏洞</Paragraph>
|
|
|
</FlowDocument>
|
|
|
</FlowDocumentScrollViewer>
|
|
|
-<Grid VerticalAlignment="Center" Margin="6,10,0,0" HorizontalAlignment="Right">
|
|
|
-<Grid.ColumnDefinitions >
|
|
|
-<ColumnDefinition Width="45"/>
|
|
|
-<ColumnDefinition />
|
|
|
-</Grid.ColumnDefinitions>
|
|
|
-<Path Grid.Column="0" Margin="8,0" Width="18" Height="18" Fill="{DynamicResource ColorBrush4}"
|
|
|
- Stretch="Uniform"
|
|
|
- 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"/>
|
|
|
-<TextBlock HorizontalAlignment="Right" Grid.Column="1" Text="最亮的信标" FontSize="14" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
-</Grid>
|
|
|
-
|
|
|
-<TextBlock Margin="0,2" Grid.Column="1" HorizontalAlignment="Right" Text="最后更新:2025-10-14" FontSize="12" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
+<TextBlock Margin="0,2" Grid.Column="1" HorizontalAlignment="Right" Text="最后更新:2025-12-04" FontSize="12" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
<WrapPanel Margin="-2,2" Orientation="Horizontal" VerticalAlignment="Center">
|
|
|
|
|
|
-<local:MyIconTextButton Text="启动" ToolTip="启动 25w42a" EventType="启动游戏"
|
|
|
- EventData="25w42a" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
|
|
|
-
|
|
|
+<local:MyIconTextButton Text="启动" ToolTip="启动 1.21.11-pre5" EventType="启动游戏"
|
|
|
+ EventData="1.21.11-pre5" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
|
|
|
|
|
|
-<local:MyIconTextButton Style="{StaticResource DownloadVersionButton}"
|
|
|
- LogoScale="0.85" Logo="{StaticResource DownloadIcon}"/>
|
|
|
|
|
|
|
|
|
<local:MyIconTextButton Style="{StaticResource ServerJarDownloadButton}"
|
|
|
- LogoScale="1.05" EventData="https://piston-data.mojang.com/v1/objects/d9c6cfd4ba84f5080206259d2563f75796f14470/server.jar" Logo="{StaticResource CloudIcon}" />
|
|
|
+ LogoScale="1.05" EventData="https://piston-data.mojang.com/v1/objects/d62fa16c3bbb5c6809cbd45cd60f3396a9d543a3/server.jar" Logo="{StaticResource CloudIcon}" />
|
|
|
|
|
|
<local:MyIconTextButton Text="WIKI" ToolTip="在 Minecraft Wiki 上查看该版本" EventType="打开网页"
|
|
|
- EventData="https://zh.minecraft.wiki/w/25w42a" LogoScale="1.05" Logo="{StaticResource WikiIcon}" />
|
|
|
+ EventData="https://zh.minecraft.wiki/w/Java版1.21.11-pre5" LogoScale="1.05" Logo="{StaticResource WikiIcon}" />
|
|
|
<local:MyIconTextButton Text="官网更新日志" ToolTip="在官网查看该版本更新日志" EventType="打开网页"
|
|
|
- EventData="https://minecraft.net/article/minecraft-snapshot-25w42a" LogoScale="0.85" Logo="{StaticResource CreeperIcon}" />
|
|
|
+ EventData="https://minecraft.net/article/minecraft-1-21-11-pre-release-5" LogoScale="0.85" Logo="{StaticResource CreeperIcon}" />
|
|
|
</WrapPanel>
|
|
|
|
|
|
|
|
|
<!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
|
|
|
-<TextBlock Text="最后更新: 2025-10-14" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
+<TextBlock Text="最后更新: 2025-12-04" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
</StackPanel> -->
|
|
|
|
|
|
</StackPanel>
|
|
|
-</local:MyCard><ContentControl Content="历 史 版 本" Template="{StaticResource Separator}"/><local:MyCard Title="最新正式版 - 1.21.10" CanSwap="True" IsSwapped="True" Style="{StaticResource Card}" >
|
|
|
+</local:MyCard><ContentControl Content="历 史 版 本" Template="{StaticResource Separator}"/><local:MyCard Title="最新正式版 - 1.21.10" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
|
|
|
<StackPanel Style="{StaticResource ContentStack}">
|
|
|
<Border Style="{StaticResource VersionImageBorder}">
|
|
|
<local:MyImage Source="https://edgeone.51shazhu.com/autoupload/f/XTxqEIEXt3ek2iMfNVy0xHr9SBDGMOz2CzLFKIoBJwSyl5f0KlZfm6UsKj-HyTuv/20251010/Xt2z/1170X500/image.png" FallbackSource="https://i0.hdslb.com/bfs/new_dyn/763ab8491d106d98434c00c07c74597a277543816.png" Style="{StaticResource VersionImage}"/>
|
|
|
@@ -579,16 +199,13 @@ M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
|
|
|
<TextBlock HorizontalAlignment="Right" Grid.Column="1" Text="最亮的信标" FontSize="14" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
</Grid>
|
|
|
|
|
|
-<TextBlock Margin="0,2" Grid.Column="1" HorizontalAlignment="Right" Text="最后更新:2025-10-14" FontSize="12" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
+<TextBlock Margin="0,2" Grid.Column="1" HorizontalAlignment="Right" Text="最后更新:2025-12-04" FontSize="12" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
<WrapPanel Margin="-2,2" Orientation="Horizontal" VerticalAlignment="Center">
|
|
|
|
|
|
<local:MyIconTextButton Text="启动" ToolTip="启动 1.21.10" EventType="启动游戏"
|
|
|
EventData="1.21.10" LogoScale="0.85" Logo="{StaticResource LaunchIcon}" />
|
|
|
|
|
|
|
|
|
-<local:MyIconTextButton Style="{StaticResource DownloadVersionButton}"
|
|
|
- LogoScale="0.85" Logo="{StaticResource DownloadIcon}"/>
|
|
|
-
|
|
|
|
|
|
<local:MyIconTextButton Style="{StaticResource ServerJarDownloadButton}"
|
|
|
LogoScale="1.05" EventData="https://piston-data.mojang.com/v1/objects/95495a7f485eedd84ce928cef5e223b757d2f764/server.jar" Logo="{StaticResource CloudIcon}" />
|
|
|
@@ -601,7 +218,7 @@ M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
|
|
|
|
|
|
|
|
|
<!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
|
|
|
-<TextBlock Text="最后更新: 2025-10-14" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
+<TextBlock Text="最后更新: 2025-12-04" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
</StackPanel> -->
|
|
|
|
|
|
</StackPanel>
|
|
|
@@ -611,7 +228,7 @@ M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
|
|
|
Logo="https://tc-new.z.wiki/autoupload/f/XTxqEIEXt3ek2iMfNVy0xHr9SBDGMOz2CzLFKIoBJwSyl5f0KlZfm6UsKj-HyTuv/20250913/9NA0/300X300/pVQXQTx.png" Title="历史版本更新日志" Info="点击查看更多更新日志"
|
|
|
EventType="打开帮助" EventData="https://mcnews.meloong.com/VersionArchiveList.json" Type="Clickable" />
|
|
|
</StackPanel>
|
|
|
-</local:MyCard><ContentControl Content="周 边 新 闻" Template="{StaticResource Separator}"/><local:MyCard Title="📢 关于反馈新闻主页相关问题的提示" CanSwap="True" IsSwapped="True" Style="{StaticResource Card}" >
|
|
|
+</local:MyCard><ContentControl Content="周 边 新 闻" Template="{StaticResource Separator}"/><local:MyCard Title="📢 关于反馈新闻主页相关问题的提示" CanSwap="True" IsSwaped="True" Style="{StaticResource Card}" >
|
|
|
<StackPanel Style="{StaticResource ContentStack}">
|
|
|
<FlowDocumentScrollViewer >
|
|
|
<FlowDocument>
|
|
|
@@ -623,7 +240,7 @@ M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
|
|
|
|
|
|
|
|
|
<!--<StackPanel Margin="0,4,6,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center">
|
|
|
-<TextBlock Text="最后更新: 2025-10-14" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
+<TextBlock Text="最后更新: 2025-12-04" FontSize="12" VerticalAlignment="Center" Foreground="{DynamicResource ColorBrush4}"/>
|
|
|
</StackPanel> -->
|
|
|
|
|
|
</StackPanel>
|
|
|
@@ -634,8 +251,8 @@ M802 664v146c0 7.7-6.3 14-14 14H236c-7.7
|
|
|
<StackPanel>
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="0,0,0,4">
|
|
|
<TextBlock FontSize="18" Foreground="{DynamicResource ColorBrush2}"><Bold>PCL2 新闻主页</Bold></TextBlock>
|
|
|
- <local:MyIconTextButton ColorType="Highlight" Margin="4,0" Text="89a9409" ToolTip="当前 Commit 版本" EventType="打开网页"
|
|
|
- EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/tree/89a9409bab4d8a159bb884db9e3016ed3f63232b"
|
|
|
+ <local:MyIconTextButton ColorType="Highlight" Margin="4,0" Text="f8d6b62" ToolTip="当前 Commit 版本" EventType="打开网页"
|
|
|
+ EventData="https://github.com/Light-Beacon/PCL2-NewsHomepage/tree/f8d6b62b8808ec59bdddec1163c147113eccf0f4"
|
|
|
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" />
|
|
|
</StackPanel>
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="-4,0,0,10" Height="46">
|