This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package your.package; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.HashSet; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Set; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package skygod; | |
import java.util.HashMap; | |
import java.util.Map; | |
import net.minestom.server.instance.block.Block; | |
public enum BlockMappings { | |
INSTANCE; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FontUtils { | |
/** | |
* This map is used to efficiently generate unicode symbols | |
*/ | |
private static final TreeMap<Integer, String> WHITE_SPACE_MAP = new TreeMap<>() {{ | |
put(-1, "\uF801"); | |
put(-2, "\uF802"); | |
put(-3, "\uF803"); | |
put(-4, "\uF804"); | |
put(-5, "\uF805"); |