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 com.bringholm.magmaevent; | |
import com.bringholm.magmaevent.bukkitutils.BukkitReflectionUtils; | |
import jdk.internal.org.objectweb.asm.ClassReader; | |
import jdk.internal.org.objectweb.asm.ClassWriter; | |
import jdk.internal.org.objectweb.asm.Label; | |
import jdk.internal.org.objectweb.asm.Opcodes; | |
import jdk.internal.org.objectweb.asm.tree.*; | |
import tk.ivybits.agent.Tools; |
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 com.bringholm.featherteleport.bukkitutils; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Modifier; | |
public class BukkitReflectionUtils { | |
public static void modifyFinalField(Field field, Object target, Object newValue) { | |
try { | |
field.setAccessible(true); | |
Field modifierField = Field.class.getDeclaredField("modifiers"); |
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 com.bringholm.tntstep; | |
import com.google.common.collect.Lists; | |
import org.bukkit.Bukkit; | |
import org.bukkit.ChatColor; | |
import org.bukkit.Material; | |
import org.bukkit.block.Block; | |
import org.bukkit.block.BlockFace; | |
import org.bukkit.command.Command; | |
import org.bukkit.command.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
package com.bringholm.itemgenerator.bukkitutils; | |
import com.google.common.base.Charsets; | |
import com.google.common.collect.Maps; | |
import com.google.common.io.Files; | |
import org.apache.commons.lang.Validate; | |
import org.bukkit.Bukkit; | |
import org.bukkit.configuration.InvalidConfigurationException; | |
import org.bukkit.configuration.file.FileConfiguration; | |
import org.bukkit.configuration.file.YamlConfiguration; |
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 com.bringholm.itemsafe.bukkitutils; | |
import com.google.common.base.Charsets; | |
import com.google.common.collect.Maps; | |
import com.google.common.io.Files; | |
import org.apache.commons.lang.Validate; | |
import org.bukkit.Bukkit; | |
import org.bukkit.configuration.InvalidConfigurationException; | |
import org.bukkit.configuration.file.FileConfiguration; | |
import org.bukkit.configuration.file.YamlConfiguration; |
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 com.bringholm.enchantedfly; | |
import com.bringholm.enchantedfly.bukkitutils.TimeUtils; | |
import com.bringholm.enchantedfly.metrics.Metrics; | |
import com.google.common.collect.Maps; | |
import com.google.common.collect.Sets; | |
import org.bukkit.Bukkit; | |
import org.bukkit.ChatColor; | |
import org.bukkit.command.Command; | |
import org.bukkit.command.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
import com.google.common.collect.Lists; | |
import com.google.common.collect.Maps; | |
import com.mojang.authlib.GameProfile; | |
import io.netty.channel.*; | |
import org.bukkit.Bukkit; | |
import org.bukkit.entity.Player; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.HandlerList; | |
import org.bukkit.event.Listener; | |
import org.bukkit.event.player.PlayerLoginEvent; |
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
/** | |
* This code is licensed under the GNU GPLv3 as viewable on https://dev.bukkit.org/projects/easyelevator | |
* | |
* It was modified on the 27th of July 2017 by AlvinB | |
*/ | |
package me; | |
import java.io.File; | |
import org.bukkit.configuration.file.YamlConfiguration; |
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.bringholm.naturalsignshop.bukkitutils.ReflectUtil; | |
import com.google.common.collect.Maps; | |
import org.bukkit.Material; | |
import java.lang.reflect.Constructor; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Modifier; | |
import java.util.Map; |
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.google.common.collect.Maps; | |
import org.bukkit.block.BlockState; | |
import org.bukkit.entity.Entity; | |
import org.bukkit.inventory.ItemStack; | |
import java.io.*; | |
import java.lang.reflect.Constructor; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Modifier; |
OlderNewer