Skip to content

Commit

Permalink
revert: remove the configurable recipe feature
Browse files Browse the repository at this point in the history
Closes #8
  • Loading branch information
Samarium150 committed Jul 29, 2021
1 parent e25f7fa commit 949feb0
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 445 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ The HUD for displaying the information of a found structure

We think the compass is too op, so we increase the crafting difficulty to balance it.

**v1.1.0**: Now you can change the config to use iron bars instead of dead corals
~~**v1.1.0**: Now you can change the config to use iron bars instead of dead corals~~
(deprecated in **v1.2.0** because of bug [#8](https://github.com/Samarium150/StructuresCompass/issues/8))

## Further Development

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
}
apply plugin: 'net.minecraftforge.gradle'

def baseVersion = '1.1.1'
def baseVersion = '1.2.0'
def minecraftVersion = '1.16.5'
version = "${minecraftVersion}-${baseVersion}" as Object
group = 'com.github.samarium150'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @deprecated This command is used for early development
* but could still be used in the game
*/
@SuppressWarnings("DeprecatedIsStillUsed")
@Deprecated
public final class GetCompass {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public final class StructuresCompassConfig {
public static final ForgeConfigSpec.ConfigValue<ArrayList<String>> blacklist;
public static final ForgeConfigSpec.DoubleValue maxDistance;
public static final ForgeConfigSpec.IntValue radius;
public static final ForgeConfigSpec.BooleanValue easyCrafting;
public static final ForgeConfigSpec.IntValue HUD_Level;

static {
Expand All @@ -34,10 +33,6 @@ public final class StructuresCompassConfig {
"If you think searching makes the server slow, decrease this one.")
.defineInRange("RealRadius", 64, 1 , 128);

easyCrafting = builder
.comment("\nEasy Crafting", "Using Iron bars instead of dead corals")
.define("EasyCrafting", false);

HUD_Level = builder
.comment("\nHUD information detail level.",
"0: Nothing.",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private static void sendTranslatedMessage(String translationKey, @Nonnull Player
}

/**
* Handle the right clicking event
* Handle the right-clicking event
* <p>
* On the server side, do nothing
* <p>
Expand Down
Loading

0 comments on commit 949feb0

Please sign in to comment.