mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-12 08:17:29 +00:00
sa
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user