This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <key name="Software"> | |
| <key name="ConEmu"> | |
| <key name=".Vanilla" modified="2017-08-04 13:44:44" build="170730"> | |
| <value name="StartType" type="hex" data="02"/> | |
| <value name="CmdLine" type="string" data=""/> | |
| <value name="StartTasksFile" type="string" data=""/> | |
| <value name="StartTasksName" type="string" data="{Shells::cmd}"/> | |
| <value name="StartFarFolders" type="hex" data="00"/> | |
| <value name="StartFarEditors" type="hex" data="00"/> |
This file contains hidden or 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.minidigger.test.test; | |
| /* | |
| This program is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. | |
| This program is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
This file contains hidden or 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 java.lang.reflect.Constructor; | |
| import java.lang.reflect.InvocationTargetException; | |
| import java.lang.reflect.Method; | |
| import org.bukkit.Bukkit; | |
| import org.bukkit.Location; | |
| import org.bukkit.util.Vector; | |
| /** | |
| * Small util to load and save structures<br> |
This file contains hidden or 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 net.minecraft.server.v1_10_R1.Block; | |
| import net.minecraft.server.v1_10_R1.BlockPosition; | |
| import net.minecraft.server.v1_10_R1.Blocks; | |
| import net.minecraft.server.v1_10_R1.ChunkCoordIntPair; | |
| import net.minecraft.server.v1_10_R1.DefinedStructure; | |
| import net.minecraft.server.v1_10_R1.DefinedStructureInfo; | |
| import net.minecraft.server.v1_10_R1.DefinedStructureManager; | |
| import net.minecraft.server.v1_10_R1.EnumBlockMirror; | |
| import net.minecraft.server.v1_10_R1.EnumBlockRotation; | |
| import net.minecraft.server.v1_10_R1.MinecraftKey; |
This file contains hidden or 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
| List<Player> list = Bukkit.getOnlinePlayers().stream().filter(p -> !p.hasPermission("premium.kick")).collect(Collectors.toList()); | |
| ThreadLocalRandom.current().ints(5, 0, list.size()).iterate(0, i -> i + 1).forEach(list.get(i).kickPlayer(Lang.PREM_KICK_MSG)); |
This file contains hidden or 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 java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import org.bukkit.Bukkit; | |
| import org.bukkit.Color; | |
| import org.bukkit.Material; | |
| import org.bukkit.enchantments.Enchantment; | |
| import org.bukkit.event.EventHandler; | |
| import org.bukkit.event.Listener; |
NewerOlder