Fixing small issues (#717)

* adding unix_time and convert_dat eto editor autocomplete

I never used it, and only realised rn when I needed it.

* updating npp docs too

* Fixes #690

Fixes #690

* Fixes #687

Fixes #687

* fixes #672

* adding comma to make it look gooder

* Update src/main/java/carpet/helpers/HopperCounter.java

* using alias to shorten code

* compacting wool code

* Fixing minor todos

* removing hit/hand garbage

* removing scoreboards garbage

* making sure I dont edit file accidentally

* fixing borken code and problem with pink and magenta showing same colour

* Change name of mod to, you know, actually be the name of the mod

* Reverting previous change because it is more descriptive of the actual mod

* Update src/main/java/carpet/script/api/WorldAccess.java

Co-authored-by: Ghoulboy78 <ghoulboy78@gmail.com>
Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2021-04-14 22:47:14 -03:00
1 parent eff3a1734e
commit b7252a3465
3 files changed
+33 -10

No files matched your search

+20
View File
@@ -21,6 +21,26 @@ import java.util.List;
public class WoolTool
{
private static final HashMap<MaterialColor,DyeColor> Material2Dye = new HashMap<>();
public static final HashMap<MaterialColor,String> Material2DyeName = new HashMap<MaterialColor, String>(){{
put(MaterialColor.WHITE, "w ");
put(MaterialColor.ORANGE, "#F9801D ");
put(MaterialColor.MAGENTA, "m ");
put(MaterialColor.LIGHT_BLUE, "t ");
put(MaterialColor.YELLOW, "y ");
put(MaterialColor.LAPIS, "l ");
put(MaterialColor.PINK, "#FFACCB ");
put(MaterialColor.GRAY, "f ");
put(MaterialColor.LIGHT_GRAY, "g ");
put(MaterialColor.CYAN, "c ");
put(MaterialColor.PURPLE, "p ");
put(MaterialColor.BLUE, "v ");
put(MaterialColor.BROWN, "#835432 ");
put(MaterialColor.GREEN, "e ");
put(MaterialColor.RED, "r ");
put(MaterialColor.BLACK, "k ");
}};
static
{
for (DyeColor color: DyeColor.values())