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
GriefDefender { | |
# Used to define a group of custom flags for players/admins. | |
# Each group defined will be displayed in the flag GUI for users. | |
# Groups can have the following settings : | |
# enabled=<true|false>: Whether the group is enabled. | |
# admin-group=<true|false>: Whether this group is considered for admin use only. | |
# hover=<text>: The hover text to be displayed when hovering over group name in GUI. | |
# title=<text>: The title text to be used for TAB display. | |
# value=<true|false>: This is used to set a default value for the flag definition. It is only used in conjunction with 'override=<type>, default=<type> settings. | |
# contexts=["key=value"]: A list of optional definition contexts that will be applied to all permissions. |
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
/************************************************************************************************************************************************************************************************************************************************************************************************/ | |
[21:04:46] [Server thread/ERROR] [Sponge]: /* Unexpected World Change Detected */ | |
[21:04:46] [Server thread/ERROR] [Sponge]: /************************************************************************************************************************************************************************************************************************************************************************************************/ | |
[21:04:46] [Server thread/ERROR] [Sponge]: /* Sponge's tracking s |
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 file is part of SpongeAPI, licensed under the MIT License (MIT). | |
* | |
* Copyright (c) SpongePowered <https://www.spongepowered.org> | |
* Copyright (c) contributors | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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
[21:42:33] [pool-3-thread-7/ERROR] [Sponge/sponge]: Detected attempt to add entity 'EntityItem['item.item.Great Ball'/13886, l='world', x=518.50, y=72.32, z=68.26]' to tracker asynchronously. | |
This is very bad as it can cause ConcurrentModificationException's during a server tick. | |
Skipping... | |
[21:42:33] [pool-3-thread-7/INFO] [STDOUT/sponge]: [org.spongepowered.common.event.tracking.CauseStack:pop:76]: ASYNC CAUSETRACKER POP!! | |
[21:42:33] [pool-3-thread-7/INFO] [STDOUT/sponge]: [org.spongepowered.common.event.tracking.CauseStack:pop:78]: Found trace java.lang.Thread.getStackTrace(Thread.java:1552) | |
[21:42:33] [pool-3-thread-7/INFO] [STDOUT/sponge]: [org.spongepowered.common.event.tracking.CauseStack:pop:78]: Found trace org.spongepowered.common.event.tracking.CauseStack.pop(CauseStack.java:77) | |
[21:42:33] [pool-3-thread-7/INFO] [STDOUT/sponge]: [org.spongepowered.common.event.tracking.CauseStack:pop:78]: Found trace org.spongepowered.common.event.tracking.CauseTracker.completePhase(CauseTracker.java:170) | |
[21:42 |
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
private EventBus getForgeEventBus(Class<?> clazz) { | |
if (OreGenEvent.class.isAssignableFrom(clazz)) { | |
return MinecraftForge.ORE_GEN_BUS; | |
} else if (WorldTypeEvent.class.isAssignableFrom(clazz) | |
|| BiomeEvent.class.isAssignableFrom(clazz) | |
|| DecorateBiomeEvent.class.isAssignableFrom(clazz) | |
|| InitMapGenEvent.class.isAssignableFrom(clazz) | |
|| InitNoiseGensEvent.class.isAssignableFrom(clazz) | |
|| PopulateChunkEvent.class.isAssignableFrom(clazz) | |
|| SaplingGrowTreeEvent.class.isAssignableFrom(clazz)) { |
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
entity-collisions { | |
# If enabled, newly discovered entities/blocks will be added to this config with a default value. | |
auto-populate=false | |
# Default max collisions used for all entities/blocks unless overidden. | |
defaults { | |
blocks=8 | |
entities=8 | |
} | |
# Max amount of entities any given entity or block can collide with. This improves performance when there are more than 8 entities on top of eachother such as a 1x1 spawn pen. Set to 0 to disable. | |
max-entities-within-aabb=8 |
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 void detectAndSendChanges() | |
{ | |
for (int i = 0; i < this.inventorySlots.size(); ++i) | |
{ | |
ItemStack itemstack = ((Slot)this.inventorySlots.get(i)).getStack(); | |
ItemStack itemstack1 = (ItemStack)this.inventoryItemStacks.get(i); | |
if (!ItemStack.areItemStacksEqual(itemstack1, itemstack)) | |
{ | |
itemstack1 = itemstack == null ? null : itemstack.copy(); |
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 file is part of SpongeAPI, licensed under the MIT License (MIT). | |
* | |
* Copyright (c) SpongePowered <https://www.spongepowered.org> | |
* Copyright (c) contributors | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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 file is part of Sponge, licensed under the MIT License (MIT). | |
* | |
* Copyright (c) SpongePowered.org <http://www.spongepowered.org> | |
* Copyright (c) contributors | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
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 file is part of Sponge, licensed under the MIT License (MIT). | |
* | |
* Copyright (c) SpongePowered.org <http://www.spongepowered.org> | |
* Copyright (c) contributors | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |