#Instructions
After creating the screenshot.sh
file you shoud:
- Assign a Key to the screenshot.sh file
package se.wendt.statoil.mastercard; | |
import java.util.ArrayList; | |
import java.util.concurrent.CountDownLatch; | |
import redis.clients.jedis.Jedis; | |
import redis.clients.jedis.JedisPubSub; | |
public class JedisTest { |
package com.comphenix.example; | |
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import org.bukkit.Bukkit; | |
import org.bukkit.inventory.Inventory; | |
import org.bukkit.inventory.ItemStack; | |
import org.bukkit.util.io.BukkitObjectInputStream; |
package net.darkseraphim.test; | |
import com.comphenix.protocol.PacketType; | |
import com.comphenix.protocol.ProtocolLibrary; | |
import com.comphenix.protocol.events.PacketAdapter; | |
import com.comphenix.protocol.events.PacketContainer; | |
import com.comphenix.protocol.events.PacketEvent; | |
import com.comphenix.protocol.wrappers.EnumWrappers; | |
import com.comphenix.protocol.wrappers.PlayerInfoData; | |
import com.comphenix.protocol.wrappers.WrappedGameProfile; |
#Instructions
After creating the screenshot.sh
file you shoud:
import com.google.gson.*; | |
import org.bukkit.Bukkit; | |
import org.bukkit.Location; | |
import org.bukkit.World; | |
import java.lang.reflect.Type; | |
/** | |
* A gson adapter for {@link org.bukkit.Location}. | |
* <p> |
// The function we want to find the minimums of | |
// https://i.imgur.com/GG6uXvD.png | |
const getValue = (m, n) => m * m + n * n; | |
// The sampling interval (in ℝ^2) | |
let mStart = 0; | |
let nStart = 0; | |
let mEnd = 1; | |
let nEnd = 1; |
public enum BooleanFieldEnum { | |
// 2000 enum constants | |
private final boolean set; | |
BooleanFieldEnum() { | |
// Compute value on class loading, doesn't affect benchmark results | |
this.set = ThreadLocalRandom.current().nextBoolean(); | |
} | |