Skip to content

Instantly share code, notes, and snippets.

View Materials.java
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;
View keybase.md

Keybase proof

I hereby claim:

  • I am misterT2525 on github.
  • I am mistert2525 (https://keybase.io/mistert2525) on keybase.
  • I have a public key whose fingerprint is 6675 5DD5 4117 9E53 E5CC CB58 31DD B7F7 F000 B3F1

To claim this, I am signing this object:

@misterT2525
misterT2525 / README.md
Last active Nov 9, 2016
Minecraftのチャットが来たらMacの通知を表示する奴 詳しくはREADME.md参照
View README.md

Mineraft Alert

Minecraftのチャットが来たらMacの通知を表示する奴

使い方

  1. Minecraftを起動する
  2. ./minecraftalert.sh ~/Library/Application\ Support/minecraft/logs/latest.logの用に、引数としてログファイルを指定して起動する
  3. 何も出ないが、ターミナルはそのままにしておけば新しいチャットが来た時に通知が来る
  4. 閉じるときはcontrol+Cで終了させる
View CompatibleSound.java
/*
* 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
View ItemCooldownUtil.java
/*
* 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