更换至 Gradle
This commit is contained in:
		
							
								
								
									
										37
									
								
								src/main/scala/com/ilummc/tlib/resources/TLocaleSender.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								src/main/scala/com/ilummc/tlib/resources/TLocaleSender.java
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,37 @@
 | 
			
		||||
package com.ilummc.tlib.resources;
 | 
			
		||||
 | 
			
		||||
import org.bukkit.command.CommandSender;
 | 
			
		||||
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @Author sky
 | 
			
		||||
 * @Since 2018-05-12 13:58
 | 
			
		||||
 */
 | 
			
		||||
public interface TLocaleSender {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 发送信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param sender 发送目标
 | 
			
		||||
     * @param args   参数
 | 
			
		||||
     */
 | 
			
		||||
    void sendTo(CommandSender sender, String... args);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 获取文本
 | 
			
		||||
     *
 | 
			
		||||
     * @param args 参数
 | 
			
		||||
     * @return 文本
 | 
			
		||||
     */
 | 
			
		||||
    String asString(String... args);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 获取文本集合
 | 
			
		||||
     *
 | 
			
		||||
     * @param args 参数
 | 
			
		||||
     * @return 文本集合
 | 
			
		||||
     */
 | 
			
		||||
    List<String> asStringList(String... args);
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user