Skip to content

Commit

Permalink
Bump Forge to 1.14.3
Browse files Browse the repository at this point in the history
Guess it's time for another release?
  • Loading branch information
SquidDev committed Jun 26, 2019
1 parent f1e551b commit 6ea8ca9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
mod_version=1.83.1

# Minecraft properties
mc_version=1.14.2
forge_version=26.0.55
mappings_version=20190621-1.14.2
mc_version=1.14.3
forge_version=27.0.3
mappings_version=20190626-1.14.3
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.StringTextComponent;
import net.minecraft.util.text.TranslationTextComponent;
import net.minecraft.world.GameRules;
import net.minecraft.world.ServerWorld;

import javax.annotation.Nonnull;
Expand Down Expand Up @@ -63,7 +64,7 @@ public void sendMessage( @Nonnull ITextComponent textComponent )
@Override
public boolean shouldReceiveFeedback()
{
return getWorld().getGameRules().getBoolean( "sendCommandFeedback" );
return getWorld().getGameRules().getBoolean( GameRules.SEND_COMMAND_FEEDBACK );
}

@Override
Expand All @@ -75,7 +76,7 @@ public boolean shouldReceiveErrors()
@Override
public boolean allowLogging()
{
return getWorld().getGameRules().getBoolean( "commandBlockOutput" );
return getWorld().getGameRules().getBoolean( GameRules.COMMAND_BLOCK_OUTPUT );
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ public ITextComponent getName()
{
return hasCustomName()
? new StringTextComponent( label )
: new TranslationTextComponent(getBlockState().getBlock().getTranslationKey());
: new TranslationTextComponent( getBlockState().getBlock().getTranslationKey() );
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ public ITextComponent getCustomName()
@Override
public ITextComponent getName()
{
return customName != null ? customName : new TranslationTextComponent(getBlockState().getBlock().getTranslationKey());
return customName != null ? customName : new TranslationTextComponent( getBlockState().getBlock().getTranslationKey() );
}

@Nonnull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ public ITextComponent getCustomName()
@Override
public ITextComponent getName()
{
return customName != null ? customName : new TranslationTextComponent(getBlockState().getBlock().getTranslationKey());
return customName != null ? customName : new TranslationTextComponent( getBlockState().getBlock().getTranslationKey() );
}

@Override
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
modLoader="javafml"
loaderVersion="[26,)"
loaderVersion="[27,28)"

issueTrackerURL="https://github.com/SquidDev-CC/CC-Tweaked/issues"
displayURL="https://github.com/SquidDev-CC/CC-Tweaked"
Expand All @@ -19,6 +19,6 @@ CC: Tweaked is a fork of ComputerCraft, adding programmable computers, turtles a
[[dependencies.computercraft]]
modId="forge"
mandatory=true
versionRange="[26,)"
versionRange="[27,28)"
ordering="NONE"
side="BOTH"

0 comments on commit 6ea8ca9

Please sign in to comment.