类 AlignmentPrefixSupplier

  • 所有已实现的接口:
    PrefixSupplier

    public class AlignmentPrefixSupplier
    extends Object
    implements PrefixSupplier
    Fast petty prefix supplier

     [FMS Class Definer] [INFO] Class end gen.
     [ FMS Application ] [INFO] Internet port override: 25565
     [ FakeMineServer  ] [INFO] Starting fake server...
     [ FakeMineServer  ] [INFO] Server started on port: 25565
     [ FMS Application ] [INFO] Server Status Request... Modify Message
     [ FakeMineServer  ] [INFO] /127.0.0.1:60783 lost connection.
     [     NetWork     ] [WARNING] java.net.SocketTimeoutException: connect timed out
     [ FakeMineServer  ] [ INFO  ] Karlatemp lost connection.
     
    从以下版本开始:
    2.8
    • 构造器详细资料

      • AlignmentPrefixSupplier

        public AlignmentPrefixSupplier​(PrefixSupplier parent)
    • 方法详细资料

      • getEmpty

        protected static String getEmpty​(int length)
      • alignment

        protected String alignment​(int insert,
                                   String value)
      • doInsertLevel

        protected boolean doInsertLevel​(@Nullable
                                        Level l)
      • valueOf

        @NotNull
        protected String valueOf​(@Nullable
                                 Level lv)
      • getCharsFontWidth

        protected int getCharsFontWidth​(@NotNull
                                        String chars)
      • getAlignmentChars

        protected int getAlignmentChars​(AtomicInteger w,
                                        int sw)