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
[18:23:46] [Server thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue | |
[18:23:46] [Server thread/ERROR] [FML]: | |
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored | |
UCHI mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) | |
UCHI FML{8.0.99.99} [Forge Mod Loader] (forge-1.10.2-12.18.1.2092-universal.jar) | |
UCHI Forge{12.18.1.2092} [Minecraft Forge] (forge-1.10.2-12.18.1.2092-universal.jar) | |
UCHI spongeapi{5.1.0-SNAPSHOT-385344f} [SpongeAPI] (minecraft.jar) | |
UCHI sponge{1.10.2-2098-5.1.0-BETA-1814} [SpongeForge] (spongeforge-1.10.2-2098-5.1.0-BETA-1814.jar) | |
UCHI diagnostic{1.0} [Diagnostic] (diagnostic-1.0-SNAPSHOT.jar) | |
UCHI pjw{0.11.0} [ProjectWorlds] (projectworlds-5.0.0-0.11.0.jar) |
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
// Build script for Terrain Control for Sponge | |
plugins { | |
id 'org.spongepowered.plugin' version '0.6' | |
} | |
apply plugin: 'java' | |
// Project properties | |
archivesBaseName = "terraincontrol-sponge" |
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
sum = 0; | |
for i = 1 to n // O(n) | |
for j = 1 to i * i // O(n^2) | |
if j mod i == 0 // O(n) | |
for k = 1 to j // O(n) | |
sum ++; //O(n) | |
O(n*n^2*n*n) |
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
D:\Github\LevelUp>gradlew build | |
################################################# | |
ForgeGradle 2.2-SNAPSHOT-c438b06 | |
https://github.com/MinecraftForge/ForgeGradle | |
################################################# | |
Powered by MCP unknown | |
http://modcoderpack.com | |
by: Searge, ProfMobius, Fesh0r, | |
R4wk, ZeuX, IngisKahn, bspkrs |
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 org.waterpicker.chiselexclude; | |
import com.google.inject.Inject; | |
import net.foxdenstudio.sponge.foxguard.plugin.handler.BasicHandler; | |
import net.foxdenstudio.sponge.foxguard.plugin.object.factory.FGFactoryManager; | |
import org.slf4j.Logger; | |
import org.spongepowered.api.event.Listener; | |
import org.spongepowered.api.event.game.state.GamePostInitializationEvent; | |
import org.spongepowered.api.plugin.Plugin; | |
import org.spongepowered.api.plugin.Dependency; |
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
D:\Github\LevelUp>gradlew build | |
FAILURE: Build failed with an exception. | |
* Where: | |
Build file 'D:\Github\LevelUp\build.gradle' line: 48 | |
* What went wrong: | |
A problem occurred evaluating root project 'LevelUp'. |
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
D:\Github\Nucleus>gradlew build | |
######################## | |
## Powered by Blossom ## | |
######################## | |
:blossomSourceReplacementJava | |
:compileJava | |
Note: Writing plugin metadata to file:/D:/Github/Nucleus/build/classes/main/mcmod.info | |
D:\Github\Nucleus\build\sources\java\io\github\nucleuspowered\nucleus\argumentparsers\ItemAliasArgument.java:92: error: unreported exception X; must be caught or declared to be thrown | |
.orElseThrow(() -> args.createError(Nucleus.getNucleus().getMessageProvider().getTextMessageWithFormat("args.itemarg.orphanedarg", arg, id)))); |
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.inject.Inject; | |
import org.spongepowered.api.Sponge; | |
import org.spongepowered.api.block.BlockSnapshot; | |
import org.spongepowered.api.block.BlockState; | |
import org.spongepowered.api.block.BlockTypes; | |
import org.spongepowered.api.block.tileentity.TileEntityTypes; | |
import org.spongepowered.api.block.tileentity.carrier.Chest; | |
import org.spongepowered.api.data.key.Keys; | |
import org.spongepowered.api.data.type.DisguisedBlockTypes; | |
import org.spongepowered.api.entity.Entity; |
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
[03:48:53] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR. | |
[03:48:53] [main/INFO] [FML/]: Forge Mod Loader version 12.18.1.2073 for Minecraft 1.10.2 loading | |
[03:48:53] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_101, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_101 | |
[03:48:53] [main/DEBUG] [FML/]: Java classpath at launch is forge-1.10.2-12.18.1.2073-universal.jar | |
[03:48:53] [main/DEBUG] [FML/]: Java library path at launch is C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL; |
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 onChestDrops(DropItemEvent.Destruct event) { | |
event.getCause().first(BlockSnapshot.class) | |
.filter(e-> e.getState().getType() == BlockTypes.CHEST) | |
.ifPresent(e->event.setCancelled(true)); | |
} |