Skip to content

Commit

Permalink
fix: required mod checker
Browse files Browse the repository at this point in the history
  • Loading branch information
sakurawald committed Jul 18, 2024
1 parent 4b1cba8 commit 694fa4d
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 48 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx8G
org.gradle.parallel=true

# mod properties
mod_version=1.2.8
mod_version=1.2.9
maven_group=io.github.sakurawald
archives_base_name=fuji

Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/github/sakurawald/Fuji.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

// TODO: a lisp-like DSL (parser and code-walker) for specific command with context and placeholders (%fuji:play_time_total%).
// TODO: refactor command facility (selector, aop, options, parser)
// TODO: add native shell support command

// TODO: a program to generate module reference DAG
// TODO: a program to generate config json with documentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static List<String> getPackagePath(Class<?> rootPackageClass, String clas
public static boolean isRequiredModsInstalled(List<String> packagePath) {
String basePackagePath = packagePath.getFirst();

if (basePackagePath.equals("better_info") || basePackagePath.equals("fake_player_manager")) {
if (basePackagePath.equals("carpet")) {
return FabricLoader.getInstance().isModLoaded("carpet");
}

Expand Down
90 changes: 45 additions & 45 deletions src/main/resources/fuji.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,62 +4,62 @@
"compatibilityLevel": "JAVA_17",
"plugin": "io.github.sakurawald.module.mixin.ModuleMixinConfigPlugin",
"mixins": [
"_internal.low_level.MinecraftServerMixin",
"_internal.low_level.ServerPlayerEntityMixin",
"_internal.low_level.SimpleRegistryMixin",
"_internal.low_level.UserCacheMixin",
"afk.PlayerListMixin",
"afk.ServerPlayerMixin",
"anti_build.BlockMixin",
"anti_build.EntityMixin",
"command_warmup.ServerPlayNetworkHandler",
"anti_build.ServerPlayerInteractionManagerMixin",
"back.ServerPlayerMixin",
"sit.InteractModifierMixin",
"whitelist.UserWhiteListMixin",
"teleport_warmup.ServerPlayerMixin",
"command_interactive.SignBlockMixin",
"color.sign.SignBlockEntityMixin",
"works.HopperBlockEntityMixin",
"disabler.chat_speed_disabler.ServerGamePacketListenerImplMixin",
"carpet.better_info.InfoCommandMixin",
"carpet.fake_player_manager.PlayerCommandMixin",
"carpet.fake_player_manager.PlayerListMixin",
"disabler.max_player_disabler.DedicatedPlayerManagerMixin",
"resource_world.ServerWorldMixin",
"command_rewrite.ServerPlayNetworkHandlerMixin",
"_internal.low_level.UserCacheMixin",
"skin.PlayerListMixin",
"placeholder.ServerPlayNetworkHandlerMixin",
"anti_build.BlockMixin",
"color.sign.ServerPlayerEntityMixin",
"afk.ServerPlayerMixin",
"command_toolbox.seen.PlayerListMixin",
"_internal.low_level.MinecraftServerMixin",
"nickname.ServerPlayerEntityMixin",
"carpet.fake_player_manager.PlayerMixin",
"chat.PlayerListMixin",
"chat.RegistryLoaderMixin",
"motd.ServerQueryNetworkHandlerMixin",
"afk.PlayerListMixin",
"resource_world.MinecraftServerMixin",
"newbie_welcome.PlayerListMixin",
"command_toolbox.reply.MsgCommandMixin",
"multi_obsidian_platform.EndPortalBlockMixin",
"resource_world.EndGatewayBlockEntityMixin",
"placeholder.PlayerEntityMixin",
"chat.ServerGamePacketListenerImplMixin",
"system_message.ComponentMixin",
"disabler.move_speed_disabler.ServerGamePacketListenerImplMixin",
"color.anvil.AnvilScreenHandlerMixin",
"color.sign.ServerPlayerEntityMixin",
"color.sign.SignBlockEntityMixin",
"_internal.low_level.ServerPlayerEntityMixin",
"carpet.fake_player_manager.PlayerCommandMixin",
"op_protect.ServerPlayNetworkHandlerMixin",
"command_cooldown.CommandsMixin",
"command_interactive.SignBlockMixin",
"command_permission.CommandNodeAccessor",
"command_rewrite.ServerPlayNetworkHandlerMixin",
"skin.ServerLoginNetworkHandlerMixin",
"resource_world.WorldGenSettingsMixin",
"command_spy.CommandsMixin",
"command_toolbox.reply.MsgCommandMixin",
"command_toolbox.seen.PlayerListMixin",
"command_warmup.ServerPlayNetworkHandler",
"deathlog.ServerPlayerMixin",
"disabler.chat_speed_disabler.ServerGamePacketListenerImplMixin",
"disabler.max_player_disabler.DedicatedPlayerManagerMixin",
"disabler.move_speed_disabler.ServerGamePacketListenerImplMixin",
"resource_world.DimensionOptionsMixin",
"pvp.PvpToggleMixin",
"multiplier.ServerPlayerMixin",
"back.ServerPlayerMixin",
"functional.enchantment.EnchantmentScreenHandlerMixin",
"language.ServerPlayerMixin",
"motd.ServerQueryNetworkHandlerMixin",
"multi_obsidian_platform.EndPortalBlockMixin",
"multiplier.ServerPlayerMixin",
"newbie_welcome.PlayerListMixin",
"nickname.ServerPlayerEntityMixin",
"op_protect.ServerPlayNetworkHandlerMixin",
"placeholder.PlayerEntityMixin",
"placeholder.ServerPlayNetworkHandlerMixin",
"pvp.PvpToggleMixin",
"resource_world.DimensionOptionsMixin",
"resource_world.EndGatewayBlockEntityMixin",
"resource_world.MinecraftServerMixin",
"resource_world.ServerWorldMixin",
"resource_world.WorldGenSettingsMixin",
"sit.InteractModifierMixin",
"skin.PlayerListMixin",
"skin.ServerLoginNetworkHandlerMixin",
"system_message.ComponentMixin",
"teleport_warmup.ServerPlayerMixin",
"chat.PlayerListMixin",
"_internal.low_level.SimpleRegistryMixin",
"top_chunks.ThreadedAnvilChunkStorageMixin",
"whitelist.UserWhiteListMixin",
"works.HopperBlockEntityMixin"
"command_permission.CommandNodeAccessor",
"anti_build.EntityMixin",
"carpet.fake_player_manager.PlayerListMixin",
"chat.RegistryLoaderMixin"
],
"injectors": {
"defaultRequire": 1
Expand Down

0 comments on commit 694fa4d

Please sign in to comment.