Skip to content

Commit

Permalink
update: github wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
sakurawald committed Jul 7, 2024
1 parent 8b90fd3 commit f620f09
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Introduction
# Description
Fuji is a minecraft mod that provides many essential and useful modules for vanilla survival.

> **_If minecraft gets updated, you can mail [email protected] for fuji update reminder._**
Expand Down
2 changes: 1 addition & 1 deletion fuji-fabric.wiki
15 changes: 12 additions & 3 deletions src/main/java/io/github/sakurawald/Fuji.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents;
import net.fabricmc.loader.api.FabricLoader;
import net.minecraft.server.MinecraftServer;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.Logger;

import java.nio.file.Path;


// TODO: placeholder module (placeholder api)

// TODO: specific command module
Expand All @@ -25,11 +25,20 @@
// TODO: command warmup module
// TODO: /spawn module
// TODO: /tppos module
// TODO: playtime(every/for) rewards and rank like module
// TODO: playtime(every/for) rewards module
// TODO: rank module

// TODO: a light-weight way to implement chat module

// TODO: revert some custom events

// TODO: delete ./github images

// TODO: remove fabric-api dep

public class Fuji implements ModInitializer {
public static final String MOD_ID = "fuji";
public static final Logger LOGGER = LogUtil.createLogger("Fuji");
public static final Logger LOGGER = LogUtil.createLogger(StringUtils.capitalize(MOD_ID));
public static final Path CONFIG_PATH = FabricLoader.getInstance().getConfigDir().resolve(MOD_ID).toAbsolutePath();
public static MinecraftServer SERVER;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ private Component resolvePositionTag(ServerPlayerEntity player, Component compon
}
String dim_display_name;

// TODO: insert `pos` in resource world will throw error
if (MessageUtil.ofString(player, dim_name) != null) {
dim_display_name = MessageUtil.ofString(player, dim_name);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

public class SpecializedCommand {

// TODO: a language parser is needed here (supports some expressions solver)
// TODO: require a DSL here

private static final String RANDOM_PLAYER = "!random_player!";
private static final String ALL_PLAYER = "!all_player!";
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/github/sakurawald/util/LogUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

@UtilityClass
public class LogUtil {

public static Logger createLogger(String name) {
Logger logger = LogManager.getLogger(name);
try {
Expand Down

0 comments on commit f620f09

Please sign in to comment.