PageRenderTime 303ms queryTime 55ms sortTime 0ms getByIdsTime 82ms findMatchingLines 49ms

100+ results results for 'minecraft logger.getlogger' (303 ms)

Not the results you expected?
Chat_PermissionsExC.java https://gitlab.com/MineYourMind/Vault | Java | 393 lines
                    
34public class Chat_PermissionsExC extends Chat {
                    
35    private static final Logger log = Logger.getLogger("Minecraft");
                    
36    private final String name = "PermissionsEx_Chat";
                    
                
Economy_Craftconomy3.java https://gitlab.com/MineYourMind/Vault | Java | 327 lines
                    
42public class Economy_Craftconomy3 extends AbstractEconomy {
                    
43	private static final Logger log = Logger.getLogger("Minecraft");
                    
44	private final String name = "Craftconomy3";
                    
                
CustomAnimation.java https://bitbucket.org/Freso/mcpatcher.git | Java | 328 lines
                    
3import com.prupe.mcpatcher.*;
                    
4import net.minecraft.src.ResourceLocation;
                    
5import org.lwjgl.opengl.GL11;
                    
14public class CustomAnimation implements Comparable<CustomAnimation> {
                    
15    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.CUSTOM_ANIMATIONS, "Animation");
                    
16
                    
124        int h = MCPatcherUtils.getIntProperty(properties, "h", 0);
                    
125        if (dstName.toString().startsWith("minecraft:textures/atlas/")) {
                    
126            logger.error("%s: animations cannot have a target of %s", dstName);
                    
                
WorldGuardCommands.java https://gitlab.com/igserfurtmcschulserver/CustomWorldGuard | Java | 296 lines
                    
1/*
                    
2 * WorldGuard, a suite of tools for Minecraft
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
27import com.google.common.util.concurrent.MoreExecutors;
                    
28import com.sk89q.minecraft.util.commands.*;
                    
29import com.sk89q.worldguard.bukkit.ConfigurationManager;
                    
59
                    
60    private static final Logger log = Logger.getLogger(WorldGuardCommands.class.getCanonicalName());
                    
61
                    
87        LoggerToChatHandler handler = null;
                    
88        Logger minecraftLogger = null;
                    
89        
                    
92            handler.setLevel(Level.ALL);
                    
93            minecraftLogger = Logger.getLogger("com.sk89q.worldguard");
                    
94            minecraftLogger.addHandler(handler);
                    
                
PostHttp.java https://bitbucket.org/vkorolik/twoleanfour-client.git | Java | 107 lines
                    
1package net.minecraft.src;
                    
2
                    
100            {
                    
101                Logger.getLogger("Minecraft").log(Level.SEVERE, (new StringBuilder()).append("Could not post to ").append(par0URL).toString(), exception);
                    
102            }
                    
                
SessionManager.java https://gitlab.com/Skull3x/WorldEdit | Java | 336 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
63    private static final ListeningExecutorService executorService = MoreExecutors.listeningDecorator(EvenMoreExecutors.newBoundedCachedThreadPool(0, 1, 5));
                    
64    private static final Logger log = Logger.getLogger(SessionManager.class.getCanonicalName());
                    
65    private final Timer timer = new Timer();
                    
                
Economy_BOSE7.java https://gitlab.com/MineYourMind/Vault | Java | 305 lines
                    
35public class Economy_BOSE7 extends AbstractEconomy {
                    
36    private static final Logger log = Logger.getLogger("Minecraft");
                    
37
                    
                
Economy_eWallet.java https://gitlab.com/MineYourMind/Vault | Java | 253 lines
                    
35public class Economy_eWallet extends AbstractEconomy {
                    
36    private static final Logger log = Logger.getLogger("Minecraft");
                    
37
                    
                
RegionUpdater.java https://gitlab.com/igserfurtmcschulserver/CustomWorldGuard | Java | 341 lines
                    
1/*
                    
2 * WorldGuard, a suite of tools for Minecraft
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
46
                    
47    private static final Logger log = Logger.getLogger(RegionUpdater.class.getCanonicalName());
                    
48    private final DataSourceConfig config;
                    
                
Economy_TAEcon.java https://gitlab.com/MineYourMind/Vault | Java | 259 lines
                    
35public class Economy_TAEcon extends AbstractEconomy {
                    
36	private static final Logger log = Logger.getLogger("Minecraft");
                    
37	
                    
                
ICBMCore.java https://bitbucket.org/darkguardsman/icbm.git | Java | 255 lines
                    
29
                    
30import net.minecraft.block.Block;
                    
31import net.minecraft.item.Item;
                    
31import net.minecraft.item.Item;
                    
32import net.minecraft.item.ItemStack;
                    
33import net.minecraftforge.common.Configuration;
                    
33import net.minecraftforge.common.Configuration;
                    
34import net.minecraftforge.common.MinecraftForge;
                    
35import net.minecraftforge.oredict.OreDictionary;
                    
35import net.minecraftforge.oredict.OreDictionary;
                    
36import net.minecraftforge.oredict.ShapedOreRecipe;
                    
37import net.minecraftforge.oredict.ShapelessOreRecipe;
                    
100
                    
101    public static final Logger LOGGER = Logger.getLogger(Reference.NAME);
                    
102
                    
                
SnapshotCommands.java https://gitlab.com/Skull3x/WorldEdit | Java | 272 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
23
                    
24import com.sk89q.minecraft.util.commands.Command;
                    
25import com.sk89q.minecraft.util.commands.CommandContext;
                    
25import com.sk89q.minecraft.util.commands.CommandContext;
                    
26import com.sk89q.minecraft.util.commands.CommandPermissions;
                    
27import com.sk89q.worldedit.*;
                    
45
                    
46    private static final Logger logger = Logger.getLogger("Minecraft.WorldEdit");
                    
47    private static final DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss z");
                    
                
YAMLDatabase.java https://github.com/talmor/worldguard.git | Java | 301 lines
                    
47    
                    
48    private static Logger logger = Logger.getLogger("Minecraft.WorldGuard");
                    
49    
                    
                
BukkitPainting.java https://gitlab.com/Skull3x/WorldEdit | Java | 110 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
37
                    
38    private static final Logger log = Logger.getLogger(BukkitPainting.class.getCanonicalName());
                    
39
                    
                
Economy_XPBank.java https://gitlab.com/MineYourMind/Vault | Java | 389 lines
                    
40
                    
41    private static final Logger log = Logger.getLogger("Minecraft");
                    
42
                    
                
Closer.java https://gitlab.com/Skull3x/WorldEdit | Java | 258 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
37
                    
38    private static final Logger logger = Logger.getLogger(Closer.class.getCanonicalName());
                    
39
                    
                
Colorizer.java https://bitbucket.org/Freso/mcpatcher.git | Java | 211 lines
                    
3import com.prupe.mcpatcher.*;
                    
4import net.minecraft.src.Potion;
                    
5import net.minecraft.src.ResourceLocation;
                    
9public class Colorizer {
                    
10    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.CUSTOM_COLORS);
                    
11
                    
                
MobRandomizer.java https://bitbucket.org/SevenBits/mcpatcher.git | Java | 204 lines
                    
6import com.prupe.mcpatcher.mal.biome.BiomeAPI;
                    
7import net.minecraft.src.Entity;
                    
8import net.minecraft.src.EntityLivingBase;
                    
8import net.minecraft.src.EntityLivingBase;
                    
9import net.minecraft.src.NBTTagCompound;
                    
10import net.minecraft.src.ResourceLocation;
                    
19public class MobRandomizer {
                    
20    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.RANDOM_MOBS);
                    
21    private static final LinkedHashMap<String, ResourceLocation> cache = new LinkedHashMap<String, ResourceLocation>();
                    
                
Fuels.java https://gitlab.com/MineYourMind/MineTweaker3 | Java | 375 lines
                    
21import minetweaker.api.liquid.ILiquidStack;
                    
22import minetweaker.api.minecraft.MineTweakerMC;
                    
23import net.minecraftforge.fluids.Fluid;
                    
23import net.minecraftforge.fluids.Fluid;
                    
24import net.minecraftforge.fluids.FluidStack;
                    
25import stanhebben.zenscript.annotations.ZenClass;
                    
119			} catch (InstantiationException ex) {
                    
120				Logger.getLogger(Fuels.class.getName()).log(Level.SEVERE, null, ex);
                    
121			} catch (IllegalAccessException ex) {
                    
121			} catch (IllegalAccessException ex) {
                    
122				Logger.getLogger(Fuels.class.getName()).log(Level.SEVERE, null, ex);
                    
123			} catch (IllegalArgumentException ex) {
                    
123			} catch (IllegalArgumentException ex) {
                    
124				Logger.getLogger(Fuels.class.getName()).log(Level.SEVERE, null, ex);
                    
125			} catch (InvocationTargetException ex) {
                    
                
KzedMap.java https://github.com/wing7777/dynmap.git | Java | 344 lines
                    
20public class KzedMap extends MapType {
                    
21    protected static final Logger log = Logger.getLogger("Minecraft");
                    
22    protected static final String LOG_PREFIX = "[dynmap] ";
                    
                
HeroSneak.java https://github.com/SquallSeeD31/HeroSneak.git | Java | 295 lines
                    
36	
                    
37	private static final Logger log = Logger.getLogger("Minecraft");
                    
38    private static PermissionHandler Permissions = null;
                    
                
EssentialsProtectEntityListener.java https://github.com/tobias1222/Essentials.git | Java | 368 lines
                    
8import java.util.logging.Logger;
                    
9import net.minecraft.server.ChunkPosition;
                    
10import net.minecraft.server.Packet60Explosion;
                    
250			{
                    
251				Logger.getLogger("Minecraft").log(Level.SEVERE, null, ex);
                    
252			}
                    
                
Main.java https://bitbucket.org/pluginmakers/mysqlilogin.git | Java | 213 lines
                    
24	
                    
25	static Logger log = Logger.getLogger("minecraft");
                    
26
                    
                
Chat_GroupManager.java https://gitlab.com/MineYourMind/Vault | Java | 367 lines
                    
37
                    
38    private static final Logger log = Logger.getLogger("Minecraft");
                    
39    private final String name = "GroupManager - Chat";
                    
                
PermissionEntity.java https://gitlab.com/Slind/PermissionsEx | Java | 539 lines
                    
135		if (this.isDebug()) {
                    
136			Logger.getLogger("Minecraft").info("User " + this.getName() + " checked for \"" + permission + "\", " + (expression == null ? "no permission found" : "\"" + expression + "\" found"));
                    
137		}
                    
                
Util.java https://github.com/BodyshotzVG/Essentials.git | Java | 545 lines
                    
37	}
                    
38	private final static Logger logger = Logger.getLogger("Minecraft");
                    
39
                    
                
RenderPass.java https://bitbucket.org/SevenBits/mcpatcher.git | Java | 342 lines
                    
5import com.prupe.mcpatcher.mal.block.RenderPassAPI;
                    
6import net.minecraft.src.*;
                    
7import org.lwjgl.opengl.GL11;
                    
11public class RenderPass {
                    
12    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.BETTER_GLASS);
                    
13
                    
                
ft.java https://github.com/kpfile/Minecraft-Server-Mod.git | Java | 358 lines
                    
9import java.util.logging.Logger;
                    
10import net.minecraft.server.MinecraftServer;
                    
11
                    
13
                    
14    public static Logger a = Logger.getLogger("Minecraft");
                    
15    public List b = new ArrayList();
                    
15    public List b = new ArrayList();
                    
16    private MinecraftServer c;
                    
17    private hg d;
                    
26
                    
27    public ft(MinecraftServer paramMinecraftServer) {
                    
28        this.c = paramMinecraftServer;
                    
28        this.c = paramMinecraftServer;
                    
29        this.i = paramMinecraftServer.a("banned-players.txt");
                    
30        this.j = paramMinecraftServer.a("banned-ips.txt");
                    
                
RegionContainerImpl.java https://gitlab.com/igserfurtmcschulserver/CustomWorldGuard | Java | 273 lines
                    
1/*
                    
2 * WorldGuard, a suite of tools for Minecraft
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
47
                    
48    private static final Logger log = Logger.getLogger(RegionContainerImpl.class.getCanonicalName());
                    
49    private static final int LOAD_ATTEMPT_INTERVAL = 1000 * 30;
                    
                
SaveHandler.java https://bitbucket.org/vkorolik/twoleanfour-client-autotool.git | Java | 261 lines
                    
4
                    
5package net.minecraft.src;
                    
6
                    
10
                    
11// Referenced classes of package net.minecraft.src:
                    
12//            IPlayerFileData, ISaveHandler, MinecraftException, CompressedStreamTools, 
                    
19
                    
20    private static final Logger field_1003_a = Logger.getLogger("Minecraft");
                    
21    private final File field_22099_b;
                    
78                {
                    
79                    throw new MinecraftException("The save is being accessed from another location, aborting");
                    
80                }
                    
88        {
                    
89            throw new MinecraftException("Failed to check session lock, aborting");
                    
90        }
                    
                
FlatFileLocationsManager.java https://github.com/rcwidower/commandbook.git | Java | 242 lines
                    
40    
                    
41    private static final Logger logger = Logger.getLogger("Minecraft.CommandBook");
                    
42    
                    
                
WorldGuardCommands.java https://github.com/talmor/worldguard.git | Java | 147 lines
                    
30
                    
31import com.sk89q.minecraft.util.commands.Command;
                    
32import com.sk89q.minecraft.util.commands.CommandContext;
                    
32import com.sk89q.minecraft.util.commands.CommandContext;
                    
33import com.sk89q.minecraft.util.commands.CommandException;
                    
34import com.sk89q.minecraft.util.commands.CommandPermissions;
                    
63        LoggerToChatHandler handler = null;
                    
64        Logger minecraftLogger = null;
                    
65        
                    
68            handler.setLevel(Level.ALL);
                    
69            minecraftLogger = Logger.getLogger("Minecraft");
                    
70            minecraftLogger.addHandler(handler);
                    
82        } finally {
                    
83            if (minecraftLogger != null) {
                    
84                minecraftLogger.removeHandler(handler);
                    
                
ConfigurationManager.java https://gitlab.com/igserfurtmcschulserver/CustomWorldGuard | Java | 296 lines
                    
1/*
                    
2 * WorldGuard, a suite of tools for Minecraft
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
51
                    
52    private static final Logger log = Logger.getLogger(ConfigurationManager.class.getCanonicalName());
                    
53
                    
                
SchematicCommands.java https://gitlab.com/Skull3x/WorldEdit | Java | 353 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
21
                    
22import com.sk89q.minecraft.util.commands.Command;
                    
23import com.sk89q.minecraft.util.commands.CommandContext;
                    
23import com.sk89q.minecraft.util.commands.CommandContext;
                    
24import com.sk89q.minecraft.util.commands.CommandException;
                    
25import com.sk89q.minecraft.util.commands.CommandPermissions;
                    
71    private static final int SCHEMATICS_PER_PAGE = 9;
                    
72    private static final Logger log = Logger.getLogger(SchematicCommands.class.getCanonicalName());
                    
73    private final WorldEdit worldEdit;
                    
                
FlatFilePermissionsResolver.java https://gitlab.com/Skull3x/WorldEdit | Java | 248 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
39
                    
40    private static final Logger log = Logger.getLogger(FlatFilePermissionsResolver.class.getCanonicalName());
                    
41
                    
                
PermissionManager.java https://github.com/NuclearW/PermissionsEx.git | Java | 454 lines
                    
39    public final static int TRANSIENT_PERMISSION = 0;
                    
40    protected static final Logger logger = Logger.getLogger("Minecraft");
                    
41    protected Map<String, PermissionUser> users = new HashMap<String, PermissionUser>();
                    
                
RenderPass.java https://bitbucket.org/prupe/mcpatcher.git | Java | 343 lines
                    
8import com.prupe.mcpatcher.mal.resource.*;
                    
9import net.minecraft.src.*;
                    
10import org.lwjgl.opengl.GL11;
                    
14public class RenderPass {
                    
15    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.BETTER_GLASS);
                    
16
                    
                
EventBus.java https://gitlab.com/Skull3x/WorldEdit | Java | 229 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
49
                    
50    private final Logger logger = Logger.getLogger(EventBus.class.getCanonicalName());
                    
51
                    
                
Util.java https://github.com/Lithixium/HawkEye.git | Java | 329 lines
                    
40	
                    
41	private static final Logger log = Logger.getLogger("Minecraft");
                    
42	private static int maxLength = 105;
                    
                
Economy_GoldenChestEconomy.java https://gitlab.com/MineYourMind/Vault | Java | 247 lines
                    
34public class Economy_GoldenChestEconomy extends AbstractEconomy {
                    
35    private static final Logger log = Logger.getLogger("Minecraft");
                    
36    
                    
                
TileLoader.java https://bitbucket.org/prupe/mcpatcher.git | Java | 334 lines
                    
8import com.prupe.mcpatcher.mal.resource.TexturePackChangeHandler;
                    
9import net.minecraft.src.*;
                    
10
                    
17public class TileLoader {
                    
18    private static final MCLogger logger = MCLogger.getLogger("Tilesheet");
                    
19
                    
42        try {
                    
43            maxSize = Minecraft.getMaxTextureSize();
                    
44        } catch (NoSuchMethodError e) {
                    
                
XMPPManager.java https://github.com/BodyshotzVG/Essentials.git | Java | 388 lines
                    
35{
                    
36	private static final Logger LOGGER = Logger.getLogger("Minecraft");
                    
37	private final transient EssentialsConf config;
                    
                
Economy_DigiCoin.java https://gitlab.com/MineYourMind/Vault | Java | 251 lines
                    
35public class Economy_DigiCoin extends AbstractEconomy {
                    
36    private static final Logger log = Logger.getLogger("Minecraft");
                    
37
                    
                
CSVDatabase.java https://github.com/talmor/worldguard.git | Java | 348 lines
                    
50public class CSVDatabase extends AbstractProtectionDatabase {
                    
51    private static Logger logger = Logger.getLogger("Minecraft.WorldGuard");
                    
52
                    
                
PermissionsResolverManager.java https://gitlab.com/Skull3x/WorldEdit | Java | 307 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
87    private YAMLProcessor config;
                    
88    private Logger logger = Logger.getLogger(getClass().getCanonicalName());
                    
89    private List<Class<? extends PermissionsResolver>> enabledResolvers = new ArrayList<Class<? extends PermissionsResolver>>();
                    
                
mcMMO.java https://github.com/krinsdeath/mcMMO.git | Java | 303 lines
                    
59	static File versionFile = new File(maindirectory + File.separator + "VERSION");
                    
60	public static final Logger log = Logger.getLogger("Minecraft"); 
                    
61	
                    
                
EssentialsConf.java https://github.com/BodyshotzVG/Essentials.git | Java | 277 lines
                    
23{
                    
24	private static final Logger LOGGER = Logger.getLogger("Minecraft");
                    
25	private transient File configFile;
                    
163			{
                    
164				Logger.getLogger(EssentialsConf.class.getName()).log(Level.SEVERE, null, ex);
                    
165			}
                    
                
CustomAnimation.java https://bitbucket.org/prupe/mcpatcher.git | Java | 331 lines
                    
7import com.prupe.mcpatcher.mal.tile.IconAPI;
                    
8import net.minecraft.src.ResourceLocation;
                    
9import org.lwjgl.opengl.GL11;
                    
18public class CustomAnimation implements Comparable<CustomAnimation> {
                    
19    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.CUSTOM_ANIMATIONS, "Animation");
                    
20
                    
127        int h = properties.getInt("h", 0);
                    
128        if (dstName.toString().startsWith("minecraft:textures/atlas/")) {
                    
129            properties.error("animations cannot have a target of %s", dstName);
                    
                
FontUtils.java https://bitbucket.org/prupe/mcpatcher.git | Java | 255 lines
                    
8import com.prupe.mcpatcher.mal.resource.TexturePackChangeHandler;
                    
9import net.minecraft.src.FontRenderer;
                    
10import net.minecraft.src.ResourceLocation;
                    
17public class FontUtils {
                    
18    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.HD_FONT);
                    
19
                    
                
CommandsManager.java https://gitlab.com/Slind/PermissionsEx | Java | 255 lines
                    
42
                    
43	protected static final Logger logger = Logger.getLogger("Minecraft");
                    
44	protected Map<String, Map<CommandSyntax, CommandBinding>> listeners = new LinkedHashMap<String, Map<CommandSyntax, CommandBinding>>();
                    
                
SimpleTips.java https://github.com/keithlawless/Tips--Bukkit-Plugin-.git | Java | 333 lines
                    
40    private static String version = "SimpleTips v1.1 by keithlawless";
                    
41    Logger log = Logger.getLogger("Minecraft");
                    
42
                    
                
MessageLog.java https://gitlab.com/Slind/Launcher | Java | 313 lines
                    
1/*
                    
2 * SK's Minecraft Launcher
                    
3 * Copyright (C) 2010-2014 Albert Pham <http://www.sk89q.com> and contributors
                    
31
                    
32    private static final Logger rootLogger = Logger.getLogger("");
                    
33    
                    
                
Economy_Essentials.java https://gitlab.com/MineYourMind/Vault | Java | 318 lines
                    
38public class Economy_Essentials extends AbstractEconomy {
                    
39    private static final Logger log = Logger.getLogger("Minecraft");
                    
40
                    
                
TTT.java https://bitbucket.org/DreTaX/ttt.git | Java | 1180 lines
                    
60
                    
61	public static Logger log = Logger.getLogger("Minecraft");
                    
62	public static TTT plugin = new TTT();
                    
                
EssentialsUpgrade.java https://github.com/BodyshotzVG/Essentials.git | Java | 669 lines
                    
29{
                    
30	private final static Logger LOGGER = Logger.getLogger("Minecraft");
                    
31	private final transient IEssentials ess;
                    
                
Essentials.java https://github.com/BodyshotzVG/Essentials.git | Java | 686 lines
                    
50	public static final int BUKKIT_VERSION = 1060;
                    
51	private static final Logger LOGGER = Logger.getLogger("Minecraft");
                    
52	private transient ISettings settings;
                    
                
GiveTo.java https://github.com/lithium3141/CraftBukkit-GiveTo.git | Java | 426 lines
                    
39public class GiveTo extends JavaPlugin {
                    
40	private final Logger log = Logger.getLogger("Minecraft");
                    
41	private Configuration config;
                    
                
PermissionsCommand.java https://gitlab.com/Slind/PermissionsEx | Java | 395 lines
                    
44
                    
45	protected static final Logger logger = Logger.getLogger("Minecraft");
                    
46	protected CommandsManager manager;
                    
                
CommandBookPlayerListener.java https://github.com/Noobidoo/commandbook.git | Java | 219 lines
                    
56public class CommandBookPlayerListener extends PlayerListener {
                    
57    protected static final Logger logger = Logger.getLogger("Minecraft.CommandBook");
                    
58    protected final static Pattern namePattern = Pattern.compile(
                    
                
EssentialsPlayerListener.java https://github.com/BodyshotzVG/Essentials.git | Java | 490 lines
                    
34{
                    
35	private static final Logger LOGGER = Logger.getLogger("Minecraft");
                    
36	private final transient Server server;
                    
                
Chat_mChatSuite.java https://gitlab.com/MineYourMind/Vault | Java | 284 lines
                    
36public class Chat_mChatSuite extends Chat {
                    
37    private static final Logger log = Logger.getLogger("Minecraft");
                    
38    private final String name = "mChatSuite";
                    
                
GlowServer.java https://gitlab.com/StoneGroup/StoneCore | Java | 1320 lines
                    
19import net.glowstone.command.glowstone.GlowstoneCommand;
                    
20import net.glowstone.command.minecraft.*;
                    
21import net.glowstone.constants.GlowEnchantment;
                    
102     */
                    
103    public static final Logger logger = Logger.getLogger("Minecraft");
                    
104    /**
                    
284        // test advancement
                    
285        GlowAdvancement advancement = new GlowAdvancement(NamespacedKey.minecraft("test"), null);
                    
286        advancement.addCriterion("minecraft:test/criterion");
                    
382                System.out.println("Bukkit version:    " + GlowServer.class.getPackage().getSpecificationVersion());
                    
383                System.out.println("Minecraft version: " + GAME_VERSION + " protocol " + PROTOCOL_VERSION);
                    
384                return null;
                    
                
CommandBookPlugin.java https://github.com/Noobidoo/commandbook.git | Java | 1381 lines
                    
59import com.sk89q.jinglenote.JingleNoteManager;
                    
60import com.sk89q.minecraft.util.commands.*;
                    
61import com.sk89q.worldedit.blocks.BlockID;
                    
77     */
                    
78    protected static final Logger logger = Logger.getLogger("Minecraft.CommandBook");
                    
79    
                    
                
timerank.java https://github.com/Specops343/Time-Rank.git | Java | 1404 lines
                    
46	static File times = new File(mainDirectory+File.separator+"Time.dat");
                    
47	public Logger log = Logger.getLogger("Minecraft");
                    
48	public PermissionHandler permissionHandler;
                    
                
TravelGatesUtils.java https://github.com/Ghomerr/TravelGates.git | Java | 820 lines
                    
20{
                    
21	private static final Logger _LOGGER = Logger.getLogger("Minecraft");
                    
22
                    
                
TravelGates.java https://github.com/Ghomerr/TravelGates.git | Java | 1684 lines
                    
53{
                    
54	private static final Logger _LOGGER = Logger.getLogger(TravelGatesConstants.MINECRAFT);
                    
55
                    
                
FlatFileBanDatabase.java https://github.com/rcwidower/commandbook.git | Java | 277 lines
                    
51    
                    
52    protected static final Logger logger = Logger.getLogger("Minecraft.CommandBook");
                    
53    
                    
54    protected final Logger auditLogger
                    
55            = Logger.getLogger("Minecraft.CommandBook.Bans");
                    
56    
                    
                
mod_ServerCurrency.java https://bitbucket.org/Mikerman50/currency_update1.2.5.git | Java | 180 lines
                    
4
                    
5package net.minecraft.src;
                    
6
                    
6
                    
7import net.minecraft.client.Minecraft;
                    
8import net.minecraft.src.forge.*;
                    
8import net.minecraft.src.forge.*;
                    
9import net.minecraft.src.forge.Configuration;
                    
10import java.util.*;
                    
24    public static String versionNumber = "0.52 MCPC";
                    
25    public static Logger logger = Logger.getLogger("Minecraft");
                    
26    public static mod_ServerCurrency instance;
                    
117        ModLoader.registerTileEntity(TileEntityCoiner.class, "Coiner");
                    
118        MinecraftForge.setGuiHandler(instance, new GuiHandlerCurrency());}
                    
119 //       ModLoader.RegisterGUI(this, coinerGUI);
                    
                
GSBlockListener.java https://github.com/smickles/GoldStandard.git | Java | 151 lines
                    
103					if (gsp == null){
                    
104						Logger.getLogger("Minecraft").info("[GoldStandard] Null player tried to sell!");
                    
105						return;
                    
                
ChatBlock.java https://github.com/FreezyExp/PreciousStones.git | Java | 886 lines
                    
27     */
                    
28    public static final Logger log = Logger.getLogger("Minecraft");
                    
29
                    
                
Physix.java https://bitbucket.org/Indeleble/newworld.git | Java | 732 lines
                    
27
                    
28	Logger log = Logger.getLogger("Minecraft");
                    
29	PluginDescriptionFile pdf = this.getDescription();
                    
                
FactionsPlayerListener.java https://github.com/dotblank/Factions.git | Java | 644 lines
                    
136			String nonColoredMsg = ChatColor.stripColor(String.format(nonColoredMsgFormat, talkingPlayer.getDisplayName(), msg));
                    
137			Logger.getLogger("Minecraft").info(nonColoredMsg);
                    
138		}
                    
                
Chat_bPermissions2.java https://gitlab.com/MineYourMind/Vault | Java | 264 lines
                    
34public class Chat_bPermissions2 extends Chat {
                    
35    private static final Logger log = Logger.getLogger("Minecraft");
                    
36    private final String name = "bInfo";
                    
                
PermissionUser.java https://gitlab.com/Slind/PermissionsEx | Java | 993 lines
                    
59		if (this.isDebug()) {
                    
60			Logger.getLogger("Minecraft").info("[PermissionsEx] User " + this.getName() + " initialized");
                    
61		}
                    
                
MainShell.java https://gitlab.com/Slind/MCUpdater | Java | 593 lines
                    
52import org.mcupdater.mojang.AssetManager;
                    
53import org.mcupdater.mojang.MinecraftVersion;
                    
54import org.mcupdater.settings.Profile;
                    
111		display = Display.getDefault();
                    
112		this.baseLogger = Logger.getLogger("MCUpdater");
                    
113		baseLogger.setLevel(Level.ALL);
                    
                
MCUpdater.java https://gitlab.com/Slind/MCUpdater | Java | 1309 lines
                    
74import org.mcupdater.mojang.Library;
                    
75import org.mcupdater.mojang.MinecraftVersion;
                    
76import org.w3c.dom.Document;
                    
134	{
                    
135		apiLogger = Logger.getLogger("MCU-API");
                    
136		apiLogger.setLevel(Level.ALL);
                    
140		{
                    
141			MCFolder = new File(System.getenv("APPDATA")).toPath().resolve(".minecraft");
                    
142			archiveFolder = new File(System.getenv("APPDATA")).toPath().resolve(".MCUpdater");
                    
146		{
                    
147			MCFolder = new File(System.getProperty("user.home")).toPath().resolve("Library").resolve("Application Support").resolve("minecraft");
                    
148			archiveFolder = new File(System.getProperty("user.home")).toPath().resolve("Library").resolve("Application Support").resolve("MCUpdater");
                    
153		{
                    
154			MCFolder = new File(System.getProperty("user.home")).toPath().resolve(".minecraft");
                    
155			archiveFolder = new File(System.getProperty("user.home")).toPath().resolve(".MCUpdater");
                    
                
GriefPrevention.java https://gitlab.com/Slind/GriefPrevention | Java | 812 lines
                    
1/*
                    
2    GriefPrevention Server Plugin for Minecraft
                    
3    Copyright (C) 2012 Ryan Hamshire
                    
69	//for logging to the console and log file
                    
70	private static Logger log = Logger.getLogger("Minecraft");
                    
71	
                    
                
NetServerHandler.java https://bitbucket.org/vkorolik/twoleanfour-client-autotool.git | Java | 818 lines
                    
4
                    
5package net.minecraft.src;
                    
6
                    
9import java.util.logging.Logger;
                    
10import net.minecraft.server.MinecraftServer;
                    
11
                    
11
                    
12// Referenced classes of package net.minecraft.src:
                    
13//            NetHandler, ICommandListener, IntHashMap, NetworkManager, 
                    
29
                    
30    public static Logger field_20_a = Logger.getLogger("Minecraft");
                    
31    public NetworkManager field_19_b;
                    
32    public boolean field_18_c;
                    
33    private MinecraftServer field_17_d;
                    
34    private EntityPlayerMP field_16_e;
                    
                
ServerConfigurationManager.java https://bitbucket.org/vkorolik/twoleanfour-client.git | Java | 730 lines
                    
4
                    
5package net.minecraft.src;
                    
6
                    
9import java.util.logging.Logger;
                    
10import net.minecraft.server.MinecraftServer;
                    
11
                    
11
                    
12// Referenced classes of package net.minecraft.src:
                    
13//            PlayerManager, PropertyManager, WorldServer, ISaveHandler, 
                    
23
                    
24    public static Logger field_925_a = Logger.getLogger("Minecraft");
                    
25    public List field_924_b;
                    
25    public List field_924_b;
                    
26    private MinecraftServer field_923_c;
                    
27    private PlayerManager field_922_d[];
                    
                
ConsoleCommandHandler.java https://bitbucket.org/vkorolik/twoleanfour-client.git | Java | 486 lines
                    
4
                    
5package net.minecraft.src;
                    
6
                    
8import java.util.logging.Logger;
                    
9import net.minecraft.server.MinecraftServer;
                    
10
                    
10
                    
11// Referenced classes of package net.minecraft.src:
                    
12//            ServerCommand, ICommandListener, ServerConfigurationManager, WorldServer, 
                    
19
                    
20    private static Logger field_22117_a = Logger.getLogger("Minecraft");
                    
21    private MinecraftServer field_22116_b;
                    
22
                    
23    public ConsoleCommandHandler(MinecraftServer p_i461_1_)
                    
24    {
                    
                
MinecraftServer.java https://bitbucket.org/vkorolik/twoleanfour-client.git | Java | 743 lines
                    
4
                    
5package net.minecraft.server;
                    
6
                    
22import net.minecraft.src.AxisAlignedBB;
                    
23import net.minecraft.src.ChunkCoordinates;
                    
24import net.minecraft.src.ChunkProviderServer;
                    
24import net.minecraft.src.ChunkProviderServer;
                    
25import net.minecraft.src.ConsoleCommandHandler;
                    
26import net.minecraft.src.ConsoleLogManager;
                    
40import net.minecraft.src.RConThreadQuery;
                    
41import net.minecraft.src.ServerCommand;
                    
42import net.minecraft.src.ServerConfigurationManager;
                    
60
                    
61    public static Logger field_6038_a = Logger.getLogger("Minecraft");
                    
62    public static HashMap field_6037_b = new HashMap();
                    
                
Control.java https://github.com/Travo97/Permissions.git | Java | 1113 lines
                    
49
                    
50    public static final Logger log = Logger.getLogger("Minecraft");
                    
51
                    
                
MultiversePortals.java https://github.com/VibroAxe/Multiverse-Portals.git | Java | 361 lines
                    
56
                    
57    private static final Logger log = Logger.getLogger("Minecraft");
                    
58    private static final String logPrefix = "[Multiverse-Portals] ";
                    
                
replicator.java https://bitbucket.org/insanj/replicator.git | Java | 1066 lines
                    
23 * REPLICATOR world on the insanj servers:
                    
24 * 	       minecraft.insanj.com
                    
25 * 
                    
53	//Sets the console, the "listeners", and such.
                    
54	private static final Logger log = Logger.getLogger("Minecraft");
                    
55	public PermissionHandler permissionHandler;
                    
                
OreMagnet.java https://bitbucket.org/insanj/oremagnet.git | Java | 525 lines
                    
59	
                    
60	private static final Logger log = Logger.getLogger("Minecraft");
                    
61	private final OreListener blockListener = new OreListener(this);
                    
                
SpleefData.java https://github.com/mrsheen/minecraft-hey0-plugins.git | Java | 296 lines
                    
14	static Server world = etc.getServer();
                    
15	static final Logger log = Logger.getLogger("Minecraft");
                    
16	
                    
                
PromotionCommands.java https://gitlab.com/Slind/PermissionsEx | Java | 178 lines
                    
109			sender.sendMessage("User " + user.getName() + " promoted to " + targetGroup.getName() + " group");
                    
110			Logger.getLogger("Minecraft").info("User " + user.getName() + " has been promoted to " + targetGroup.getName() + " group on " + targetGroup.getRankLadder() + " ladder by " + promoterName);
                    
111		} catch (RankingException e) {
                    
112			sender.sendMessage(ChatColor.RED + "Promotion error: " + e.getMessage());
                    
113			Logger.getLogger("Minecraft").severe("Ranking Error (" + promoterName + " > " + e.getTarget().getName() + "): " + e.getMessage());
                    
114		}
                    
153			sender.sendMessage("User " + user.getName() + " demoted to " + targetGroup.getName() + " group");
                    
154			Logger.getLogger("Minecraft").info("User " + user.getName() + " has been demoted to " + targetGroup.getName() + " group on " + targetGroup.getRankLadder() + " ladder by " + demoterName);
                    
155		} catch (RankingException e) {
                    
156			sender.sendMessage(ChatColor.RED + "Demotion error: " + e.getMessage());
                    
157			Logger.getLogger("Minecraft").severe("Ranking Error (" + demoterName + " demotes " + e.getTarget().getName() + "): " + e.getMessage());
                    
158		}
                    
                
Persistence.java https://github.com/elBukkit/PersistencePlugin.git | Java | 445 lines
                    
33
                    
34    private static final Logger log              = Logger.getLogger("Minecraft");
                    
35
                    
38     * 
                    
39     * Currently, this is hard-coded to the Minecraft server logger.
                    
40     * 
                    
                
ThumbsApply.java https://github.com/Todkommt/ThumbsApply.git | Java | 286 lines
                    
70		instance = this;
                    
71		log = Logger.getLogger("Minecraft");
                    
72		setupPermissions();
                    
273	    } catch (IOException ex) {
                    
274	        Logger.getLogger(JavaPlugin.class.getName()).log(Level.SEVERE, "Could not save config to " + localizationFile, ex);
                    
275	    }
                    
                
Skills.java https://github.com/krinsdeath/mcMMO.git | Java | 409 lines
                    
26{
                    
27	protected static final Logger log = Logger.getLogger("Minecraft");
                    
28	
                    
                
PlayerProfile.java https://github.com/krinsdeath/mcMMO.git | Java | 1157 lines
                    
23{
                    
24    protected final Logger log = Logger.getLogger("Minecraft");
                    
25    
                    
                
Commands.java https://github.com/krinsdeath/mcMMO.git | Java | 942 lines
                    
34	//Setup some vars
                    
35	public static final Logger log = Logger.getLogger("Minecraft"); 
                    
36	public static boolean xpevent = false;
                    
                
m.java https://github.com/krinsdeath/mcMMO.git | Java | 464 lines
                    
20{
                    
21	public static final Logger log = Logger.getLogger("Minecraft"); 
                    
22	/*
                    
                
DedicatedServer.java https://gitlab.com/Meteor-MC/plugins | Java | 671 lines
                    
1package net.minecraft.server;
                    
2
                    
4import com.mojang.authlib.GameProfileRepository;
                    
5import com.mojang.authlib.minecraft.MinecraftSessionService;
                    
6import com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService;
                    
29
                    
30public class DedicatedServer extends MinecraftServer implements IMinecraftServer {
                    
31
                    
44    // CraftBukkit start - Signature changed
                    
45    public DedicatedServer(joptsimple.OptionSet options, DataConverterManager dataconvertermanager, YggdrasilAuthenticationService yggdrasilauthenticationservice, MinecraftSessionService minecraftsessionservice, GameProfileRepository gameprofilerepository, UserCache usercache) {
                    
46        super(options, Proxy.NO_PROXY, dataconvertermanager, yggdrasilauthenticationservice, minecraftsessionservice, gameprofilerepository, usercache);
                    
98        // CraftBukkit start - TODO: handle command-line logging arguments
                    
99        java.util.logging.Logger global = java.util.logging.Logger.getLogger("");
                    
100        global.setUseParentHandlers(false);
                    
120        thread.start();
                    
121        DedicatedServer.LOGGER.info("Starting minecraft server version 1.10.2");
                    
122        if (Runtime.getRuntime().maxMemory() / 1024L / 1024L < 512L) {
                    
                
GoldStandard.java https://github.com/smickles/GoldStandard.git | Java | 690 lines
                    
49	public iConomy iConomy = null;
                    
50	private static Logger log = Logger.getLogger("Minecraft");
                    
51	private static Server bukkitServer = null;
                    
                
SkyRenderer.java https://bitbucket.org/prupe/mcpatcher.git | Java | 435 lines
                    
7import com.prupe.mcpatcher.mal.tessellator.TessellatorAPI;
                    
8import net.minecraft.src.Minecraft;
                    
9import net.minecraft.src.ResourceLocation;
                    
9import net.minecraft.src.ResourceLocation;
                    
10import net.minecraft.src.Tessellator;
                    
11import net.minecraft.src.World;
                    
16public class SkyRenderer {
                    
17    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.BETTER_SKIES);
                    
18
                    
41                if (enable) {
                    
42                    World world = Minecraft.getInstance().theWorld;
                    
43                    if (world != null) {
                    
55        } else {
                    
56            int worldType = Minecraft.getInstance().theWorld.worldProvider.getWorldType();
                    
57            WorldEntry newEntry = getWorldEntry(worldType);
                    
                
TexturePackAPI.java https://bitbucket.org/prupe/mcpatcher.git | Java | 556 lines
                    
5import com.prupe.mcpatcher.MCPatcherUtils;
                    
6import net.minecraft.src.*;
                    
7
                    
19
                    
20    public static final String DEFAULT_NAMESPACE = "minecraft";
                    
21
                    
32    public static void scheduleTexturePackRefresh() {
                    
33        Minecraft.getInstance().scheduleTexturePackRefresh();
                    
34    }
                    
89            }
                    
90            jar = Minecraft.class.getResourceAsStream(path);
                    
91            if (jar == null) {
                    
264        private ResourcePack getTexturePack() {
                    
265            Minecraft minecraft = Minecraft.getInstance();
                    
266            if (minecraft == null) {
                    
                
ColorMap.java https://bitbucket.org/prupe/mcpatcher.git | Java | 732 lines
                    
9import com.prupe.mcpatcher.mal.util.WeightedIndex;
                    
10import net.minecraft.src.BiomeGenBase;
                    
11import net.minecraft.src.IBlockAccess;
                    
11import net.minecraft.src.IBlockAccess;
                    
12import net.minecraft.src.ResourceLocation;
                    
13
                    
17abstract public class ColorMap implements IColorMap {
                    
18    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.CUSTOM_COLORS);
                    
19
                    
                
MipmapHelper.java https://bitbucket.org/prupe/mcpatcher.git | Java | 497 lines
                    
9import com.prupe.mcpatcher.mal.tile.IconAPI;
                    
10import net.minecraft.src.ResourceLocation;
                    
11import net.minecraft.src.TextureAtlasSprite;
                    
31public class MipmapHelper {
                    
32    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.MIPMAP);
                    
33
                    
                
FancyDial.java https://bitbucket.org/prupe/mcpatcher.git | Java | 668 lines
                    
11import com.prupe.mcpatcher.mal.util.InputHandler;
                    
12import net.minecraft.src.*;
                    
13import org.lwjgl.input.Keyboard;
                    
24public class FancyDial {
                    
25    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.CUSTOM_ANIMATIONS, "Animation");
                    
26
                    
90        }
                    
91        String name = IconAPI.getIconName(icon).replaceFirst("^minecraft:items/", "");
                    
92        if (icon instanceof TextureClock && name.equals("compass")) { // 1.5 bug
                    
                
TileOverride.java https://bitbucket.org/prupe/mcpatcher.git | Java | 467 lines
                    
11import com.prupe.mcpatcher.mal.tile.TileLoader;
                    
12import net.minecraft.src.Block;
                    
13import net.minecraft.src.IBlockAccess;
                    
13import net.minecraft.src.IBlockAccess;
                    
14import net.minecraft.src.Icon;
                    
15import net.minecraft.src.ResourceLocation;
                    
23abstract class TileOverride implements ITileOverride {
                    
24    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.CONNECTED_TEXTURES, "CTM");
                    
25
                    
                
ColorizeBlock.java https://bitbucket.org/prupe/mcpatcher.git | Java | 579 lines
                    
169        waterBlock = BlockAPI.getFixedBlock("minecraft:flowing_water");
                    
170        staticWaterBlock = BlockAPI.getFixedBlock("minecraft:water");
                    
171
                    
200        IColorMap colorMap = ColorMap.loadVanillaColorMap(DEFAULT_GRASSCOLOR, SWAMPGRASSCOLOR);
                    
201        registerColorMap(colorMap, DEFAULT_GRASSCOLOR, "minecraft:grass:snowy=false minecraft:tallgrass:1,2:type=tall_grass,fern minecraft:double_plant:2,3:variant=double_grass,double_fern");
                    
202        colorMap = ColorMap.loadVanillaColorMap(DEFAULT_FOLIAGECOLOR, SWAMPFOLIAGECOLOR);
                    
202        colorMap = ColorMap.loadVanillaColorMap(DEFAULT_FOLIAGECOLOR, SWAMPFOLIAGECOLOR);
                    
203        registerColorMap(colorMap, DEFAULT_FOLIAGECOLOR, "minecraft:leaves:0,4,8,12:variant=oak minecraft:vine");
                    
204        registerColorMap(PINECOLOR, "minecraft:leaves:1,5,9,13:variant=spruce");
                    
221    private static void reloadWaterColors(PropertiesFile properties) {
                    
222        waterColorMap = registerColorMap(WATERCOLOR, "minecraft:flowing_water minecraft:water");
                    
223        if (waterColorMap == null) {
                    
224            waterColorMap = new ColorMap.Water();
                    
225            registerColorMap(waterColorMap, null, "minecraft:flowing_water minecraft:water");
                    
226        }
                    
                
SpoutClient.java https://bitbucket.org/kingbowser/hysteria-spoutcraft.git | Java | 615 lines
                    
49
                    
50import net.minecraft.client.Minecraft;
                    
51import net.minecraft.src.Entity;
                    
102	private final KeyBindingManager bindingManager = new SimpleKeyBindingManager();
                    
103	private final Logger log = Logger.getLogger(SpoutClient.class.getName());
                    
104	private final ServerManager serverManager = new ServerManager();
                    
131	private TexturePacksDatabaseModel textureDatabaseModel = new TexturePacksDatabaseModel();
                    
132	private String addonFolder = Minecraft.getMinecraftDir() + File.separator + "addons";
                    
133	private final WidgetManager widgetManager = new SimpleWidgetManager();
                    
429		if (Minecraft.theMinecraft.theWorld != null) {
                    
430			Minecraft.theMinecraft.theWorld.doColorfulStuff();
                    
431			inWorldTicks++;
                    
466		}
                    
467		Minecraft.theMinecraft.sndManager.stopMusic();
                    
468		PacketDecompressionThread.endThread();
                    
                
ProtectedBlockJDBC.java https://github.com/BodyshotzVG/Essentials.git | Java | 426 lines
                    
17{
                    
18	protected static final Logger LOGGER = Logger.getLogger("Minecraft");
                    
19	protected final transient ComboPooledDataSource cpds;
                    
                
PropertyHandler.java https://github.com/Travo97/Permissions.git | Java | 212 lines
                    
42
                    
43    private static final Logger log = Logger.getLogger("Minecraft");
                    
44    private Properties properties;
                    
68        try {
                    
69            this.properties.store(new FileOutputStream(this.fileName), "Minecraft Properties File");
                    
70        } catch (IOException ex) {
                    
                
RemoteAdmin.java https://github.com/coolblinger/RemoteAdmin.git | Java | 249 lines
                    
24public class RemoteAdmin extends JavaPlugin {
                    
25	public final Logger log = Logger.getLogger("Minecraft");
                    
26	final RemoteAdminServer server = new RemoteAdminServer(this);
                    
                
ForgeWorld.java https://gitlab.com/Skull3x/WorldEdit | Java | 442 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
48import javax.annotation.Nullable;
                    
49import net.minecraft.block.Block;
                    
50import net.minecraft.block.BlockLeaves;
                    
50import net.minecraft.block.BlockLeaves;
                    
51import net.minecraft.block.BlockOldLeaf;
                    
52import net.minecraft.block.BlockOldLog;
                    
52import net.minecraft.block.BlockOldLog;
                    
53import net.minecraft.block.BlockPlanks;
                    
54import net.minecraft.block.state.IBlockState;
                    
54import net.minecraft.block.state.IBlockState;
                    
55import net.minecraft.entity.EntityList;
                    
56import net.minecraft.entity.item.EntityItem;
                    
                
PlatformManager.java https://gitlab.com/Skull3x/WorldEdit | Java | 466 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
67
                    
68    private static final Logger logger = Logger.getLogger(PlatformManager.class.getCanonicalName());
                    
69
                    
                
CommandManager.java https://gitlab.com/Skull3x/WorldEdit | Java | 350 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
22import com.google.common.base.Joiner;
                    
23import com.sk89q.minecraft.util.commands.CommandException;
                    
24import com.sk89q.minecraft.util.commands.CommandLocals;
                    
24import com.sk89q.minecraft.util.commands.CommandLocals;
                    
25import com.sk89q.minecraft.util.commands.CommandPermissionsException;
                    
26import com.sk89q.minecraft.util.commands.WrappedCommandException;
                    
97    public static final Pattern COMMAND_CLEAN_PATTERN = Pattern.compile("^[/]+");
                    
98    private static final Logger log = Logger.getLogger(CommandManager.class.getCanonicalName());
                    
99    private static final Logger commandLog = Logger.getLogger(CommandManager.class.getCanonicalName() + ".CommandLog");
                    
                
WorldEdit.java https://gitlab.com/Skull3x/WorldEdit | Java | 870 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
88
                    
89    public static final Logger logger = Logger.getLogger(WorldEdit.class.getCanonicalName());
                    
90
                    
                
EditSession.java https://gitlab.com/Skull3x/WorldEdit | Java | 1327 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
100
                    
101    private static final Logger log = Logger.getLogger(EditSession.class.getCanonicalName());
                    
102
                    
                
CommandsManager.java https://gitlab.com/Skull3x/WorldEdit | Java | 591 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
19
                    
20package com.sk89q.minecraft.util.commands;
                    
21
                    
65    protected static final Logger logger =
                    
66            Logger.getLogger(CommandsManager.class.getCanonicalName());
                    
67
                    
                
WorldEditPlugin.java https://gitlab.com/Skull3x/WorldEdit | Java | 477 lines
                    
1/*
                    
2 * WorldEdit, a Minecraft world manipulation toolkit
                    
3 * Copyright (C) sk89q <http://www.sk89q.com>
                    
79
                    
80    private static final Logger log = Logger.getLogger(WorldEditPlugin.class.getCanonicalName());
                    
81    public static final String CUI_PLUGIN_CHANNEL = "WECUI";
                    
                
BukkitContrib.java https://github.com/Nightgunner5/BukkitContrib.git | Java | 270 lines
                    
124		CustomPacket.addClassMapping();
                    
125		Logger.getLogger("Minecraft").info("BukkitContrib " + this.getDescription().getVersion() + " has been initialized");
                    
126	}
                    
                
ConsoleFrame.java https://bitbucket.org/dotblank/westeroscraftlauncher.git | Java | 514 lines
                    
53/*
                    
54 * SK's Minecraft Launcher
                    
55 * Copyright (C) 2010, 2011 Albert Pham <http://www.sk89q.com>
                    
123	private static final long serialVersionUID = 1L;
                    
124	private static final Logger rootLogger = Logger.getLogger("launcher");
                    
125	private Process trackProc;
                    
                
UpdateThread.java https://bitbucket.org/dotblank/westeroscraftlauncher.git | Java | 637 lines
                    
147		while (!valid.get()) {
                    
148			boolean minecraftUpdate = isMinecraftUpdateAvailable(build);
                    
149			boolean spoutcraftUpdate = minecraftUpdate || isSpoutcraftUpdateAvailable(build);
                    
150
                    
151			if (minecraftUpdate) {
                    
152				updateMinecraft(build);
                    
392		}
                    
393		stateChanged("Checking for Minecraft update...", 100F / steps);
                    
394		File nativesDir = new File(Launcher.getGameUpdater().getBinDir(), "natives");
                    
402		stateChanged("Checking for Minecraft update...", 200F / steps);
                    
403		File minecraft = new File(Launcher.getGameUpdater().getBinDir(), "minecraft.jar");
                    
404		if (!minecraft.exists()) {
                    
452
                    
453		final Minecraft minecraft = build.getMinecraft();
                    
454		final String minecraftMD5 = minecraft.getMd5();
                    
                
UserData.java https://github.com/tobias1222/Essentials.git | Java | 809 lines
                    
18	private final EssentialsConf config;
                    
19	private static final Logger logger = Logger.getLogger("Minecraft");
                    
20
                    
                
AcceptRulesMain.java https://github.com/rigor789/AcceptRules.git | Java | 126 lines
                    
13public class AcceptRulesMain extends JavaPlugin {
                    
14	Logger Log = Logger.getLogger("Minecraft");
                    
15	public static AcceptRulesMain plugin;	
                    
                
TexturePackAPI.java https://bitbucket.org/SevenBits/mcpatcher.git | Java | 278 lines
                    
3import com.prupe.mcpatcher.mal.resource.ResourceLocationWithSource;
                    
4import net.minecraft.client.Minecraft;
                    
5import net.minecraft.src.*;
                    
15public class TexturePackAPI {
                    
16    private static final MCLogger logger = MCLogger.getLogger("Texture Pack");
                    
17
                    
17
                    
18    public static final String DEFAULT_NAMESPACE = "minecraft";
                    
19    public static final String MCPATCHER_SUBDIR = "mcpatcher/";
                    
49    public static ResourceManager getResourceManager() {
                    
50        return Minecraft.getInstance().getResourceManager();
                    
51    }
                    
83            }
                    
84            jar = Minecraft.class.getResourceAsStream(path);
                    
85            if (jar == null) {
                    
                
Chat_iChat.java https://gitlab.com/MineYourMind/Vault | Java | 273 lines
                    
35
                    
36	private static final Logger log = Logger.getLogger("Minecraft");
                    
37	private final String name = "iChat";
                    
                
WorldGuardPlugin.java https://github.com/talmor/worldguard.git | Java | 817 lines
                    
47import com.sk89q.bukkit.migration.PermissionsResolverManager;
                    
48import com.sk89q.minecraft.util.commands.CommandException;
                    
49import com.sk89q.minecraft.util.commands.CommandPermissionsException;
                    
71     */
                    
72    static final Logger logger = Logger.getLogger("Minecraft.WorldGuard");
                    
73    
                    
154        if (configuration.suppressTickSyncWarnings) {
                    
155            Logger.getLogger("Minecraft").setFilter(
                    
156                    new TickSyncDelayLoggerFilter());
                    
157        } else {
                    
158            Filter filter = Logger.getLogger("Minecraft").getFilter();
                    
159            if (filter != null && filter instanceof TickSyncDelayLoggerFilter) {
                    
159            if (filter != null && filter instanceof TickSyncDelayLoggerFilter) {
                    
160                Logger.getLogger("Minecraft").setFilter(null);
                    
161            }
                    
                
WorldGuardEntityListener.java https://github.com/talmor/worldguard.git | Java | 887 lines
                    
84     */
                    
85    private static final Logger logger = Logger.getLogger("Minecraft.WorldGuard");
                    
86
                    
                
PluginLoader.java https://github.com/kpfile/Minecraft-Server-Mod.git | Java | 274 lines
                    
13import java.util.logging.Logger;
                    
14import net.minecraft.server.MinecraftServer;
                    
15
                    
33    }
                    
34    private static final Logger log = Logger.getLogger("Minecraft");
                    
35    private static final Object lock = new Object();
                    
43     */
                    
44    public PluginLoader(MinecraftServer server) {
                    
45        properties = new PropertiesFile("server.properties");
                    
                
Economy_CurrencyCore.java https://gitlab.com/MineYourMind/Vault | Java | 304 lines
                    
38    private Currency currency;
                    
39    private static final Logger log = Logger.getLogger("Minecraft");
                    
40    private final Plugin plugin;
                    
                
CTMUtils.java https://bitbucket.org/Freso/mcpatcher.git | Java | 325 lines
                    
3import com.prupe.mcpatcher.*;
                    
4import net.minecraft.src.*;
                    
5
                    
8public class CTMUtils {
                    
9    private static final MCLogger logger = MCLogger.getLogger(MCPatcherUtils.CONNECTED_TEXTURES, "CTM");
                    
10
                    
                
Economy_MineConomy.java https://gitlab.com/MineYourMind/Vault | Java | 272 lines
                    
39public class Economy_MineConomy extends AbstractEconomy {
                    
40    private static final Logger log = Logger.getLogger("Minecraft");
                    
41
                    
                
MinersHelmet.java https://github.com/mrsheen/minecraft-hey0-plugins.git | Java | 174 lines
                    
2import java.util.logging.Logger;
                    
3import net.minecraft.server.MinecraftServer;
                    
4import java.util.ArrayList;
                    
11
                    
12	static final Logger log = Logger.getLogger("Minecraft");
                    
13	static MinecraftServer mcworld = etc.getMCServer();
                    
                
 

Source

Language