Skip to content

Commit

Permalink
Remove Expanded Storage compatibility
Browse files Browse the repository at this point in the history
Expanded Storage was removed from modrinth, which makes it impossible
to use modrinths maven to maintain this compatibility
  • Loading branch information
DrexHD committed Feb 10, 2024
1 parent 531ebf5 commit c162a41
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 38 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Tatar Translation (Thanks to Amirhan-Taipovjan-Greatest-I)
- Prevent raid spawning

### Removed
- Expanded Storage compatibility

## [1.5.1] - 2024-01-17
### Added
- `vanish_on_join` meta key
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
- Bluemap support
- Dynmap support
- Hide sleep status
- Expanded Storage compatibility
- Exclude vanished players from player count
- Prevents block interactions (pressure plates, dripleaf, tripwire, farmland, redstone ore, sculk sensor/shrieker and turtle egg)
- Prevents player vibrations (sculk sensor/shrieker and warden)
Expand Down
2 changes: 0 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ dependencies {
implementation shadow("org.spongepowered:configurate-hocon:${project.configurate_hocon_version}")

// Mod compat

modCompileOnly "maven.modrinth:styled-chat:${project.styled_chat_version}"
modCompileOnly "maven.modrinth:expanded-storage:${project.expanded_storage_version}"
compileOnly "com.github.BlueMap-Minecraft:BlueMapAPI:${project.bluemap_api_version}"
compileOnly "us.dynmap:DynmapCoreAPI:${project.dynmap_api_version}"
}
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ player_data_api_version=0.4.0+1.20.3
translations_version=2.2.0+1.20.3-rc1
configurate_hocon_version=4.1.2
# Compat
expanded_storage_version=12.0.0
bluemap_api_version=v2.5.1
styled_chat_version=2.4.0+1.20.3
dynmap_api_version=3.5

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package me.drex.vanish.util;

import net.fabricmc.loader.api.FabricLoader;
import org.objectweb.asm.tree.ClassNode;
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
Expand All @@ -10,8 +9,6 @@

public class VanishMixinConfigPlugin implements IMixinConfigPlugin {

public static final boolean EXPANDED_STORAGE = FabricLoader.getInstance().isModLoaded("expandedstorage");

@Override
public void onLoad(String mixinPackage) {

Expand All @@ -24,7 +21,7 @@ public String getRefMapperConfig() {

@Override
public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
return EXPANDED_STORAGE || !mixinClassName.startsWith("me.drex.vanish.mixin.compat.expandedstorage");
return true;
}

@Override
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/vanish.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"SleepStatusMixin",
"VanishedServerPlayerMixin",
"WardenMixin",
"compat.expandedstorage.ContainerMixin",
"interaction.ChunkMapMixin",
"interaction.FallOnBlockMixin",
"interaction.InsideBlockMixin",
Expand Down

1 comment on commit c162a41

@HowardZHY
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe time to revert this, someone else continued Expanded Storage

Please sign in to comment.