This commit is contained in:
Quantumlyy committed 2024-01-21 20:55:01 +01:00
1 parent b0116884f1
commit e2080bc542
2 files changed
+2 -9

No files matched your search

@@ -62,14 +62,11 @@ public class BlockApiamancersDrainer extends BlockContainer {
.getAspects()[0];
((TileEntityApiamancersDrainerCommon) tile).setAspect(tLocked);
// TODO: improve text
player.addChatMessage(
new ChatComponentTranslation("Producing " + tLocked.getLocalizedDescription()));
}
} else {
((TileEntityApiamancersDrainerCommon) tile).setAspect(null);
// TODO: improve text
player.addChatMessage(new ChatComponentTranslation("Cleared production specifier"));
}
world.markBlockForUpdate(x, y, z);
@@ -32,12 +32,8 @@ public class TileEntityApiamancersDrainerGT extends TileEntityApiamancersDrainer
+ e.getValue())
.collect(Collectors.joining(EnumChatFormatting.RESET + ", " + EnumChatFormatting.RESET));
return new String[] { //
EnumChatFormatting.DARK_PURPLE + "Apiamancer's Drainer" + EnumChatFormatting.RESET, //
aspect != null ? "Attuned: " + aspect.getName() : "Not attuned", //
"Stored Essentia:", //
aspects //
};
return new String[] { EnumChatFormatting.DARK_PURPLE + "Apiamancer's Drainer" + EnumChatFormatting.RESET,
aspect != null ? "Attuned: " + aspect.getName() : "Not attuned", "Stored Essentia:", aspects };
}
@Override