This file contains 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 me.YourName.tutorial.utils; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import org.bukkit.Bukkit; | |
import org.bukkit.Location; | |
import org.bukkit.entity.Player; |
This file contains 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
{ | |
"team_claims": [ | |
{ | |
"owning_team": "Xetha", | |
"maxX": 10, | |
"minX": -10, | |
"maxY": 256, | |
"minY": 0, | |
"maxZ": 10, | |
"minZ": -10, |
This file contains 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 CommandContext<T extends CommandSender> { | |
} |
This file contains 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
/** | |
* Created by Ryan on 11/2/2014 | |
* <p/> | |
* Project: NameTahg | |
* | |
* About: This is a minified version of NameTahg. This contains everything needed in one class. | |
* You can then shade this class into your plugin for any of your needs with ease. | |
* Enjoy, rbrick :) | |
*/ | |
public class NameTahgMinified { |
This file contains 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
/** | |
* Created by Ryan on 11/2/2014 | |
* <p/> | |
* Project: Phenomenon | |
* | |
* About: Various reflection utilities created by @rbrick(Ryan) | |
*/ | |
public class Reflection { | |
private static String VERSION = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3]; |
This file contains 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 me.rbrickis.testing; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import java.util.List; | |
import org.bukkit.Bukkit; | |
import org.bukkit.Location; | |
import org.bukkit.entity.Entity; |
This file contains 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
import com.breakmc.kitpvp.AbstractKit | |
import com.breakmc.kitpvp.Action | |
import com.breakmc.kitpvp.utils.Utils | |
import org.bukkit.ChatColor | |
import org.bukkit.Material | |
import org.bukkit.inventory.ItemStack | |
import org.bukkit.potion.PotionEffect | |
public class Archer extends AbstractKit { |
This file contains 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 interface Binder<B, T> { | |
Binder<B, T> bind(B bind); | |
void to(T to); | |
} |
This file contains 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 Hello { | |
public static void main(String[] args) { | |
Grid grid = new Grid(9); | |
int fixedGridSize = grid.getSize() - 1; | |
for (int i = 0; i < grid.getSize(); i++) { | |
grid.set(i, i, 1); | |
grid.set(i, fixedGridSize - i, 1); |
This file contains 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
import javax.crypto.Cipher; | |
import java.nio.ByteBuffer; | |
import java.security.GeneralSecurityException; | |
import java.security.KeyFactory; | |
import java.security.KeyPair; | |
import java.security.KeyPairGenerator; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.PrivateKey; | |
import java.security.PublicKey; | |
import java.security.SecureRandom; |
OlderNewer