Жидкость

Версия Minecraft
1.12.2
Здравствуйте. Поскольку новых туториалов я не нашёл, а те что нашёл не сработали прошу помощи.
Код:
public class FluidOil extends Fluid {

    public FluidOil() {
        
        super("oil", new ResourceLocation("techos:blocks/oil_still"), new ResourceLocation("techos:blocks/oil_flowing"), 0x000000);
        
    }

}
Код:
public class BlockOil extends BlockFluidClassic {

    public BlockOil() {
        
        super(FluidsInit.OIL, Material.LAVA);
        
        this.setDensity(5);
        this.setMaxScaledLight(1);
        this.setTemperature(30);
        this.setRegistryName("oil");
        
    }

}

Код:
public class FluidsInit {
    
    public static final Fluid OIL = new FluidOil();
    
    public static void registerFluids() {
        
        setRegister(OIL);
        
    }
    
    public static void registerRenders() {
        
           setRender(BlocksInit.OIL, "oil");
          
       }

       @SideOnly(Side.CLIENT)
       public static void setRender(Block block, String variant) {
          
           ModelResourceLocation loc = new ModelResourceLocation("techos:fluid", variant);
          
           Item item = Item.getItemFromBlock(block);

           ModelBakery.registerItemVariants(item);
           ModelLoader.setCustomMeshDefinition(item, stack -> loc);
           ModelLoader.setCustomStateMapper(block, new StateMapperBase() {
              
               protected ModelResourceLocation getModelResourceLocation(IBlockState state) {
                  
                   return loc;
                  
               }
              
           });
          
       }
    
    private static void setRegister(Fluid fluid) {
        
        FluidRegistry.registerFluid(fluid);
        
    }
    
}
Код:
public class BlocksInit {
    
    public static final Block COPPER_ORE = new BlockCopperOre();
    public static final BlockFluidClassic OIL = new BlockOil();
    
    public static void registerBlocks() {
        
        setRegister(COPPER_ORE);
        setRegister(OIL);
        
    }
    
    @SideOnly(Side.CLIENT)
    public static void registerRenders() {
        
        setRender(COPPER_ORE);
        
    }

    private static void setRegister(Block block) {
        
        ForgeRegistries.BLOCKS.register(block);
        ForgeRegistries.ITEMS.register(new ItemBlock(block).setRegistryName(block.getRegistryName()));
        
    }

    @SideOnly(Side.CLIENT)
    private static void setRender(Block block) {
        
        Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(block), 0, new ModelResourceLocation(block.getRegistryName(), "inventory"));

    }

}

Прошу помочь с параметрами для жидкости, такими как плотность и преграждение света, ибо не знаю сколько что даст.

Не судите строго, первый раз ведь.
 
Краш-лог
Working Directory: C:\Users\Aliesenon\Documents\GitHub\Techos
Gradle User Home: C:\Users\Aliesenon\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 2.14
Java Home: C:\Program Files\Java\jdk1.8.0_201
JVM Arguments: None
Program Arguments: None
Build Scans Enabled: false
Offline Mode Enabled: false
Gradle Tasks: runClient

This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
ForgeGradle 2.3-SNAPSHOT-3996470
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP
http://modcoderpack.com
by: Searge, ProfMobius, R4wk, ZeuX
Fesh0r, IngisKahn, bspkrs, LexManos
#################################################
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources
:classes
:jar
:getVersionJson
:extractNatives SKIPPED
:extractUserdev UP-TO-DATE
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 218/1305 16%
Current status: 905/1305 69%
Current status: 1065/1305 81%
Current status: 1074/1305 82%
Current status: 1142/1305 87%
:makeStart
:runClient
[03:58:16] [main/INFO] [GradleStart]: username: Aliesenon
[03:58:16] [main/INFO] [GradleStart]: Extra: []
[03:58:16] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Aliesenon/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --username, Aliesenon, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[03:58:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[03:58:16] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[03:58:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[03:58:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[03:58:16] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
[03:58:16] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_201, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.8.0_201\jre
[03:58:17] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
[03:58:17] [main/ERROR] [FML]: Full: C:\Users\Aliesenon\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
[03:58:17] [main/ERROR] [FML]: Trimmed: c:/users/aliesenon/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
[03:58:17] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[03:58:17] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
2019-02-15 03:58:19,413 main WARN Disabling terminal, you're running in an unsupported environment.
[03:58:19] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[03:58:19] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[03:58:19] [main/INFO] [FML]: Searching C:\Users\Aliesenon\Documents\GitHub\Techos\run\.\mods for mods
[03:58:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[03:58:19] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[03:58:19] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[03:58:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[03:58:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[03:58:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[03:58:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[03:58:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[03:58:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[03:58:22] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[03:58:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[03:58:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[03:58:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[03:58:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[03:58:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[03:58:23] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[03:58:25] [main/INFO] [minecraft/Minecraft]: Setting user: Aliesenon
[03:58:44] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[03:58:44] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
[03:58:47] [main/INFO] [FML]: -- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_201, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 731437840 bytes (697 MB) / 905969664 bytes (864 MB) up to 1073741824 bytes (1024 MB)
JVM Flags: 7 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Xmx1G
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.5058' Renderer: 'Intel(R) HD Graphics 400'
[03:58:47] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
[03:58:47] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[03:58:48] [main/INFO] [FML]: Replaced 1036 ore ingredients
[03:58:49] [main/INFO] [FML]: Searching C:\Users\Aliesenon\Documents\GitHub\Techos\run\.\mods for mods
[03:58:51] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 708239054 nanos
[03:58:54] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[03:58:55] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, techos] at CLIENT
[03:58:55] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, techos] at SERVER
[03:58:57] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Techos
[03:58:59] [main/INFO] [FML]: Processing ObjectHolder annotations
[03:58:59] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[03:58:59] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[03:58:59] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[03:58:59] [main/INFO] [FML]: Configured a dormant chunk cache size of 25
[03:58:59] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[03:58:59] [main/WARN] [FML]: ****************************************
[03:58:59] [main/WARN] [FML]: * Failed attempt to create a FluidStack for an unregistered Fluid oil (type com.aliesenon.techos.common.fluids.FluidOil)
[03:58:59] [main/WARN] [FML]: * at net.minecraftforge.fluids.FluidStack.<init>(FluidStack.java:53)
[03:58:59] [main/WARN] [FML]: * at net.minecraftforge.fluids.BlockFluidClassic.<init>(BlockFluidClassic.java:61)
[03:58:59] [main/WARN] [FML]: * at com.aliesenon.techos.common.blocks.BlockOil.<init>(BlockOil.java:12)
[03:58:59] [main/WARN] [FML]: * at com.aliesenon.techos.init.BlocksInit.<clinit>(BlocksInit.java:19)
[03:58:59] [main/WARN] [FML]: * at com.aliesenon.techos.common.CommonProxy.preInit(CommonProxy.java:16)
[03:58:59] [main/WARN] [FML]: * at com.aliesenon.techos.client.ClientProxy.preInit(ClientProxy.java:17)...
[03:58:59] [main/WARN] [FML]: ****************************************
[03:58:59] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: ---- Minecraft Crash Report ----
// Ouch. That hurt :(

Time: 2/15/19 3:58 AM
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Techos (techos)
Caused by: java.lang.ExceptionInInitializerError
at com.aliesenon.techos.common.CommonProxy.preInit(CommonProxy.java:16)
at com.aliesenon.techos.client.ClientProxy.preInit(ClientProxy.java:17)
at com.aliesenon.techos.Techos.preInit(Techos.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:626)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
at com.google.common.eventbus.EventBus.post(EventBus.java:217)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:627)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
at net.minecraft.client.Minecraft.init(Minecraft.java:513)
at net.minecraft.client.Minecraft.run(Minecraft.java:421)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:25)
Caused by: java.lang.IllegalArgumentException: Cannot create a fluidstack from an unregistered fluid
at net.minecraftforge.fluids.FluidStack.<init>(FluidStack.java:54)
at net.minecraftforge.fluids.BlockFluidClassic.<init>(BlockFluidClassic.java:61)
at com.aliesenon.techos.common.blocks.BlockOil.<init>(BlockOil.java:12)
at com.aliesenon.techos.init.BlocksInit.<clinit>(BlocksInit.java:19)
... 50 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_201, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 733170448 bytes (699 MB) / 939524096 bytes (896 MB) up to 1073741824 bytes (1024 MB)
JVM Flags: 7 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Xmx1G
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2768 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

| State | ID | Version | Source | Signature |
|:----- |:--------- |:------------ |:-------------------------------- |:--------- |
| UCH | minecraft | 1.12.2 | minecraft.jar | None |
| UCH | mcp | 9.42 | minecraft.jar | None |
| UCH | FML | 8.0.99.99 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCH | forge | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCEE | techos | 0.0.0 | techos-0.0.0.jar | None |

Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.5058' Renderer: 'Intel(R) HD Graphics 400'
[03:58:59] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Aliesenon\Documents\GitHub\Techos\run\.\crash-reports\crash-2019-02-15_03.58.59-client.txt
:runClient FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_201\bin\java.exe'' finished with non-zero exit value -1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2 mins 10.938 secs
Краш-лог:
Working Directory: C:\Users\Aliesenon\Documents\GitHub\Techos
Gradle User Home: C:\Users\Aliesenon\.gradle
Gradle Distribution: Gradle wrapper from target build
Gradle Version: 2.14
Java Home: C:\Program Files\Java\jdk1.8.0_201
JVM Arguments: None
Program Arguments: None
Build Scans Enabled: false
Offline Mode Enabled: false
Gradle Tasks: runClient

This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-3996470        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJava
:processResources
:classes
:jar
:getVersionJson
:extractNatives SKIPPED
:extractUserdev UP-TO-DATE
:getAssetIndex UP-TO-DATE
:getAssets
Current status: 218/1305   16%
Current status: 905/1305   69%
Current status: 1065/1305   81%
Current status: 1074/1305   82%
Current status: 1142/1305   87%
:makeStart
:runClient
[03:58:16] [main/INFO] [GradleStart]: username: Aliesenon
[03:58:16] [main/INFO] [GradleStart]: Extra: []
[03:58:16] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Aliesenon/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --username, Aliesenon, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[03:58:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[03:58:16] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[03:58:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[03:58:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[03:58:16] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
[03:58:16] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_201, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.8.0_201\jre
[03:58:17] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
[03:58:17] [main/ERROR] [FML]: Full: C:\Users\Aliesenon\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
[03:58:17] [main/ERROR] [FML]: Trimmed: c:/users/aliesenon/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
[03:58:17] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[03:58:17] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
2019-02-15 03:58:19,413 main WARN Disabling terminal, you're running in an unsupported environment.
[03:58:19] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[03:58:19] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[03:58:19] [main/INFO] [FML]: Searching C:\Users\Aliesenon\Documents\GitHub\Techos\run\.\mods for mods
[03:58:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[03:58:19] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[03:58:19] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[03:58:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[03:58:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[03:58:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[03:58:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[03:58:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[03:58:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[03:58:22] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[03:58:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[03:58:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[03:58:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[03:58:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[03:58:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[03:58:23] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[03:58:25] [main/INFO] [minecraft/Minecraft]: Setting user: Aliesenon
[03:58:44] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
[03:58:44] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
[03:58:47] [main/INFO] [FML]: -- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Windows 7 (amd64) version 6.1
	Java Version: 1.8.0_201, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 731437840 bytes (697 MB) / 905969664 bytes (864 MB) up to 1073741824 bytes (1024 MB)
	JVM Flags: 7 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Xmx1G
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: 
	Loaded coremods (and transformers): 
	GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.5058' Renderer: 'Intel(R) HD Graphics 400'
[03:58:47] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
[03:58:47] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[03:58:48] [main/INFO] [FML]: Replaced 1036 ore ingredients
[03:58:49] [main/INFO] [FML]: Searching C:\Users\Aliesenon\Documents\GitHub\Techos\run\.\mods for mods
[03:58:51] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 708239054 nanos
[03:58:54] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[03:58:55] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, techos] at CLIENT
[03:58:55] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, techos] at SERVER
[03:58:57] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Techos
[03:58:59] [main/INFO] [FML]: Processing ObjectHolder annotations
[03:58:59] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[03:58:59] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[03:58:59] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[03:58:59] [main/INFO] [FML]: Configured a dormant chunk cache size of 25
[03:58:59] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[03:58:59] [main/WARN] [FML]: ****************************************
[03:58:59] [main/WARN] [FML]: * Failed attempt to create a FluidStack for an unregistered Fluid oil (type com.aliesenon.techos.common.fluids.FluidOil)
[03:58:59] [main/WARN] [FML]: *  at net.minecraftforge.fluids.FluidStack.<init>(FluidStack.java:53)
[03:58:59] [main/WARN] [FML]: *  at net.minecraftforge.fluids.BlockFluidClassic.<init>(BlockFluidClassic.java:61)
[03:58:59] [main/WARN] [FML]: *  at com.aliesenon.techos.common.blocks.BlockOil.<init>(BlockOil.java:12)
[03:58:59] [main/WARN] [FML]: *  at com.aliesenon.techos.init.BlocksInit.<clinit>(BlocksInit.java:19)
[03:58:59] [main/WARN] [FML]: *  at com.aliesenon.techos.common.CommonProxy.preInit(CommonProxy.java:16)
[03:58:59] [main/WARN] [FML]: *  at com.aliesenon.techos.client.ClientProxy.preInit(ClientProxy.java:17)...
[03:58:59] [main/WARN] [FML]: ****************************************
[03:58:59] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: ---- Minecraft Crash Report ----
// Ouch. That hurt :(

Time: 2/15/19 3:58 AM
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Techos (techos)
Caused by: java.lang.ExceptionInInitializerError
	at com.aliesenon.techos.common.CommonProxy.preInit(CommonProxy.java:16)
	at com.aliesenon.techos.client.ClientProxy.preInit(ClientProxy.java:17)
	at com.aliesenon.techos.Techos.preInit(Techos.java:29)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:626)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:218)
	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:196)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:135)
	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:627)
	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
	at net.minecraft.client.Minecraft.init(Minecraft.java:513)
	at net.minecraft.client.Minecraft.run(Minecraft.java:421)
	at net.minecraft.client.main.Main.main(Main.java:118)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:25)
Caused by: java.lang.IllegalArgumentException: Cannot create a fluidstack from an unregistered fluid
	at net.minecraftforge.fluids.FluidStack.<init>(FluidStack.java:54)
	at net.minecraftforge.fluids.BlockFluidClassic.<init>(BlockFluidClassic.java:61)
	at com.aliesenon.techos.common.blocks.BlockOil.<init>(BlockOil.java:12)
	at com.aliesenon.techos.init.BlocksInit.<clinit>(BlocksInit.java:19)
	... 50 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Windows 7 (amd64) version 6.1
	Java Version: 1.8.0_201, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 733170448 bytes (699 MB) / 939524096 bytes (896 MB) up to 1073741824 bytes (1024 MB)
	JVM Flags: 7 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Xmx1G
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: MCP 9.42 Powered by Forge 14.23.5.2768 5 mods loaded, 5 mods active
	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

	| State | ID        | Version      | Source                           | Signature |
	|:----- |:--------- |:------------ |:-------------------------------- |:--------- |
	| UCH   | minecraft | 1.12.2       | minecraft.jar                    | None      |
	| UCH   | mcp       | 9.42         | minecraft.jar                    | None      |
	| UCH   | FML       | 8.0.99.99    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
	| UCH   | forge     | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
	| UCEE  | techos    | 0.0.0        | techos-0.0.0.jar                 | None      |

	Loaded coremods (and transformers): 
	GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 20.19.15.5058' Renderer: 'Intel(R) HD Graphics 400'
[03:58:59] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Aliesenon\Documents\GitHub\Techos\run\.\crash-reports\crash-2019-02-15_03.58.59-client.txt
:runClient FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_201\bin\java.exe'' finished with non-zero exit value -1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2 mins 10.938 secs
3,005
192
592

timaxa007

Модератор
5,831
409
672
@Aliesenon, нет, краш-лог говорит, что не удаётся создать fluidstack из-за того что жидкость не зарегистрирована. Класс есть FluidOil, но нету её регистрации.
И вроде не устарел, ты просто не увидел:
и в ServerProxy, в метод preInit() до регистрации блоков такой код:
Либо ты где-то не дописал, либо у тебя не так работает.
 
Последнее редактирование:

timaxa007

Модератор
5,831
409
672
То что ты процитировал это рендер.
И что такое флюид стак? Про айтемстак я немного знаю.
Примерно также по смыслу, типа место Item используеться Fluid, хранить сколько милиБаккетов, NBT и что-то ещё.
 
Сверху