[ci skip] spotlessApply with the new settings

This commit is contained in:
Raven Szewczyk committed 2023-01-30 13:37:30 +00:00
1 parent 0cc3fa06c2
commit 655636b7e9
231 files changed
+10024 -8585

No files matched your search

@@ -6,21 +6,31 @@ import minetweaker.api.player.IPlayer;
import minetweaker.api.server.ICommandFunction;
import thaumcraft.api.aspects.Aspect;
public class AspectLogger implements ICommandFunction{
public class AspectLogger implements ICommandFunction {
@Override
public void execute(String[] arguments, IPlayer player) {
for(Aspect aspect : Aspect.getPrimalAspects()) {
MineTweakerAPI.logCommand("<aspect:" + aspect.getName() + "> // " + aspect.getLocalizedDescription());
}
for(Aspect aspect : Aspect.getCompoundAspects()) {
MineTweakerAPI.logCommand("<aspect:" + aspect.getName() + "> // " + aspect.getLocalizedDescription() + " [<aspect:" + aspect.getComponents()[0].getName() + ">, <aspect:" + aspect.getComponents()[1].getName() + ">]");
}
for (Aspect aspect : Aspect.getPrimalAspects()) {
MineTweakerAPI.logCommand("<aspect:" + aspect.getName() + "> // " + aspect.getLocalizedDescription());
}
for (Aspect aspect : Aspect.getCompoundAspects()) {
MineTweakerAPI.logCommand(
"<aspect:" + aspect.getName()
+ "> // "
+ aspect.getLocalizedDescription()
+ " [<aspect:"
+ aspect.getComponents()[0].getName()
+ ">, <aspect:"
+ aspect.getComponents()[1].getName()
+ ">]");
}
if (player != null) {
player.sendChat(MineTweakerImplementationAPI.platform.getMessage("List generated; see minetweaker.log in your minecraft dir"));
player.sendChat(
MineTweakerImplementationAPI.platform
.getMessage("List generated; see minetweaker.log in your minecraft dir"));
}
}
}