Minecraftのチャットが来たらMacの通知を表示する奴
- Minecraftを起動する
./minecraftalert.sh ~/Library/Application\ Support/minecraft/logs/latest.log
の用に、引数としてログファイルを指定して起動する- 何も出ないが、ターミナルはそのままにしておけば新しいチャットが来た時に通知が来る
- 閉じるときは
control+C
で終了させる
import org.bukkit.Material; | |
public final class Materials { | |
private Materials() {} | |
public static Material AIR_BLOCK = Material.AIR; | |
public static Material STONE = Material.STONE; | |
public static Material GRASS = Material.GRASS; | |
public static Material DIRT = Material.DIRT; |
/* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2016 misterT2525 | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
/* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2016 misterT2525 | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
I hereby claim:
To claim this, I am signing this object: