Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Update to Minecraft 1.16.4 #304

Open
wants to merge 1 commit into
base: 1.16_forge
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
/.metadata/
/.settings/
/libs/
/logs/

# File Extensions
*.psd
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ group = "mcp.mobius.waila"
archivesBaseName = "Hwyla-forge"

minecraft {
mappings channel: "snapshot", version: "20200723-1.16.1"
mappings channel: "snapshot", version: "20201028-1.16.3"

runs {
client {
Expand Down Expand Up @@ -160,10 +160,10 @@ curseforge {
changelog = getChangelogText()
releaseType = 'release'

addGameVersion "1.16.1"
addGameVersion "1.16.4"
addGameVersion "Forge"

addArtifact sourcesJar
addArtifact apiJar
}
}
}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
org.gradle.daemon=false
org.gradle.jvmargs=-Xmx3G

mc_version=1.16.2
forge_version=33.0.0
mc_version=1.16.4
forge_version=35.0.1

waila_version=1.10.11
curse_id=253449
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void appendBody(List<ITextComponent> tooltip, IDataAccessor accessor, IPl

if (config.get(PluginMinecraft.CONFIG_JUKEBOX) && accessor.getBlock() == Blocks.JUKEBOX) {
if (accessor.getServerData().contains("record"))
tooltip.add(new TranslationTextComponent("record.nowPlaying", ITextComponent.Serializer.func_240643_a_(accessor.getServerData().getString("record"))));
tooltip.add(new TranslationTextComponent("record.nowPlaying", ITextComponent.Serializer.getComponentFromJsonLenient(accessor.getServerData().getString("record"))));
else
tooltip.add(new TranslationTextComponent("tooltip.waila.empty"));
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/mcp/mobius/waila/gui/GuiOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void render(MatrixStack matrixStack, int mouseX, int mouseY, float partia
return;

List<IReorderingProcessor> tooltip = Arrays.asList(new StringTextComponent(title).func_241878_f());
tooltip.addAll(font.func_238425_b_(new TranslationTextComponent(value.getDescription()), 200));
tooltip.addAll(font.trimStringToWidth(new TranslationTextComponent(value.getDescription()), 200));
renderTooltip(matrixStack, tooltip, mouseX, mouseY);
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/META-INF/mods.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"modLoader": "javafml",
"loaderVersion": "[33,)",
"loaderVersion": "[35,)",
"issueTrackerURL": "https://github.com/TehNut/Hwyla/issues",
"displayURL": "https://github.com/TehNut/Hwyla",
"authors": "TehNut, ProfMobius",
Expand All @@ -18,14 +18,14 @@
{
"modId": "forge",
"mandatory": true,
"versionRange": "[33.0.0,)",
"versionRange": "[35.0.0,)",
"ordering": "NONE",
"side": "BOTH"
},
{
"modId": "minecraft",
"mandatory": true,
"versionRange": "[1.16.2,)",
"versionRange": "[1.16.4,)",
"ordering": "NONE",
"side": "BOTH"
}
Expand Down