Skip to content

Commit

Permalink
Rename GrassPath to DirtPath
Browse files Browse the repository at this point in the history
Ref: History section on https://minecraft.wiki/w/Dirt_Path

Resolves #5633
  • Loading branch information
3gf8jv4dv committed Feb 10, 2025
1 parent aa7ee23 commit 9f6641c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Plain Craft Launcher 2/Modules/Minecraft/ModMinecraft.vb
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ ExitDataLoad:
Case McVersionState.Fabric
Logo = PathImage & "Blocks/Fabric.png"
Case McVersionState.OptiFine
Logo = PathImage & "Blocks/GrassPath.png"
Logo = PathImage & "Blocks/DirtPath.png"
Case McVersionState.LiteLoader
Logo = PathImage & "Blocks/Egg.png"
Case McVersionState.Fool
Expand Down
2 changes: 1 addition & 1 deletion Plain Craft Launcher 2/Modules/ModMain.vb
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ EndHint:
Dim Logo As String
If IsEvent Then
If EventType = "弹出窗口" Then
Logo = PathImage & "Blocks/GrassPath.png"
Logo = PathImage & "Blocks/DirtPath.png"
Else
Logo = PathImage & "Blocks/CommandBlock.png"
End If
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ Retry:
.Info = If(Entry.IsPreview, "测试版", "正式版") &
If(Entry.ReleaseTime = "", "", ",发布于 " & Entry.ReleaseTime) &
If(Entry.RequiredForgeVersion Is Nothing, ",不兼容 Forge", If(Entry.RequiredForgeVersion = "", "", ",推荐 Forge 版本:" & Entry.RequiredForgeVersion)),
.Logo = PathImage & "Blocks/GrassPath.png"
.Logo = PathImage & "Blocks/DirtPath.png"
}
AddHandler NewItem.Click, OnClick
'建立菜单
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="1*" />
</Grid.ColumnDefinitions>
<Image x:Name="ImgOptiFine" Margin="0,0,7,0" SnapsToDevicePixels="True" Height="18" RenderOptions.BitmapScalingMode="Linear" Source="pack://application:,,,/images/Blocks/GrassPath.png" />
<Image x:Name="ImgOptiFine" Margin="0,0,7,0" SnapsToDevicePixels="True" Height="18" RenderOptions.BitmapScalingMode="Linear" Source="pack://application:,,,/images/Blocks/DirtPath.png" />
<TextBlock x:Name="LabOptiFine" VerticalAlignment="Center" TextTrimming="CharacterEllipsis" Grid.Column="1" />
</Grid>
<Grid x:Name="BtnOptiFineClear" Height="30" Width="30" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,32,0" Background="{StaticResource ColorBrushSemiTransparent}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@
ElseIf SelectedLiteLoader IsNot Nothing Then
Return "pack://application:,,,/images/Blocks/Egg.png"
ElseIf SelectedOptiFine IsNot Nothing Then
Return "pack://application:,,,/images/Blocks/GrassPath.png"
Return "pack://application:,,,/images/Blocks/DirtPath.png"
Else
Return SelectedMinecraftIcon
End If
Expand Down
2 changes: 1 addition & 1 deletion Plain Craft Launcher 2/Pages/PageLink/PageLinkIoi.xaml.vb
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ Public Class PageLinkIoi
Dim Item As New MyListItem With {
.Title = DisplayName, .Height = 42, .Info = GetDescription(), .Tag = Me,
.Type = If(IsOwner, MyListItem.CheckType.None, MyListItem.CheckType.Clickable),
.Logo = "pack://application:,,,/images/Blocks/" & If(IsOwner, "GrassPath", "Grass") & ".png"}
.Logo = "pack://application:,,,/images/Blocks/" & If(IsOwner, "DirtPath", "Grass") & ".png"}
If IsOwner Then
'绑定图标按钮
Dim BtnEdit As New MyIconButton With {.Logo = Logo.IconButtonEdit, .LogoScale = 1, .ToolTip = "修改名称", .Tag = Me}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<local:MyComboBoxItem Content="命令方块" Tag="pack://application:,,,/images/Blocks/CommandBlock.png" />
<local:MyComboBoxItem Content="金块" Tag="pack://application:,,,/images/Blocks/GoldBlock.png" />
<local:MyComboBoxItem Content="草方块" Tag="pack://application:,,,/images/Blocks/Grass.png" />
<local:MyComboBoxItem Content="草径" Tag="pack://application:,,,/images/Blocks/GrassPath.png" />
<local:MyComboBoxItem Content="土径" Tag="pack://application:,,,/images/Blocks/DirtPath.png" />
<local:MyComboBoxItem Content="铁砧" Tag="pack://application:,,,/images/Blocks/Anvil.png" />
<local:MyComboBoxItem Content="红石块" Tag="pack://application:,,,/images/Blocks/RedstoneBlock.png" />
<local:MyComboBoxItem Content="红石灯(开)" Tag="pack://application:,,,/images/Blocks/RedstoneLampOn.png" />
Expand Down
2 changes: 1 addition & 1 deletion Plain Craft Launcher 2/Plain Craft Launcher 2.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@
<Resource Include="Images\Blocks\RedstoneBlock.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\Blocks\GrassPath.png" />
<Resource Include="Images\Blocks\DirtPath.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Images\Blocks\Egg.png" />
Expand Down
4 changes: 2 additions & 2 deletions Plain Craft Launcher 2/Resources/Custom.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@
<local:MyImage Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/GoldBlock.png"/>
<!-- 草方块 -->
<local:MyImage Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/Grass.png"/>
<!-- 草径 -->
<local:MyImage Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/GrassPath.png"/>
<!-- 土径 -->
<local:MyImage Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/DirtPath.png"/>
<!-- 铁砧 -->
<local:MyImage Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/Anvil.png"/>
<!-- 红石块 -->
Expand Down

0 comments on commit 9f6641c

Please sign in to comment.