mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-20 04:19:44 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
0cc3fa06c2
commit
655636b7e9
231 files changed
+10024
-8585
No files matched your search
@@ -1,22 +1,23 @@
|
||||
package modtweaker2.mods.tconstruct.commands;
|
||||
|
||||
import static modtweaker2.helpers.LogHelper.logPrinted;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import minetweaker.MineTweakerAPI;
|
||||
import minetweaker.api.player.IPlayer;
|
||||
import minetweaker.api.server.ICommandFunction;
|
||||
import tconstruct.library.TConstructRegistry;
|
||||
import tconstruct.library.tools.ToolMaterial;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import static modtweaker2.helpers.LogHelper.logPrinted;
|
||||
|
||||
public class MaterialLogger implements ICommandFunction {
|
||||
@Override
|
||||
public void execute(String[] arguments, IPlayer player) {
|
||||
MineTweakerAPI.logCommand(TConstructRegistry.toolMaterialStrings.entrySet().size() + " Materials:");
|
||||
for (Map.Entry<String, ToolMaterial> entry : TConstructRegistry.toolMaterialStrings.entrySet()) {
|
||||
MineTweakerAPI.logCommand(entry.getKey());
|
||||
}
|
||||
logPrinted(player);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void execute(String[] arguments, IPlayer player) {
|
||||
MineTweakerAPI.logCommand(TConstructRegistry.toolMaterialStrings.entrySet().size() + " Materials:");
|
||||
for (Map.Entry<String, ToolMaterial> entry : TConstructRegistry.toolMaterialStrings.entrySet()) {
|
||||
MineTweakerAPI.logCommand(entry.getKey());
|
||||
}
|
||||
logPrinted(player);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user