Jump to content

[1.7.10] Integrating Forge Multipart into mod [Help with Gradle]


Enkey

Recommended Posts

Hey everyone,

 

I'm making a simple mod which adds blocks and I want to make them cuttable into microblocks using Forge Multipart. From my research I found that all I need to do is register the blocks using MicroMaterialRegistry#registerMaterial, but I'm not sure if that is true.

 

1. Problem [sOLVED] (CCL must be downloaded manualy)

I can't make the needed mods (CodeChickenCore, ForgeMultipart) to work inside eclipse. I followed a tutorial and downloaded the dev and src jars and put the dev jars into folder /eclipse/mods/ and the src jars into /lib folder in eclipse. I ran the Client inside eclipse and the mods were there and it was working, but then I added the dev jars as libraries (Java Build Path > Libraries > Add JARs) so I can make the microblocks. I ran Client again and when it's loading mods it says that CodeChickenCore is duplicate ([Client thread/ERROR]: Found a duplicate mod CodeChickenCore at [minecraft.jar, minecraft.jar])

 

I also tried putting the dev jars in /lib folder and adding them as libraries, but then it crashed because it couldn't find the mods

 

[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.NoClassDefFoundError: codechicken/lib/asm/CC_ClassWriter
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at codechicken.core.asm.MCPDeobfuscationTransformer$LoadPlugin.injectData(MCPDeobfuscationTransformer.java:57)
Exception in thread "main" [19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:119)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at GradleStart.main(Unknown Source)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.ClassNotFoundException: codechicken.lib.asm.CC_ClassWriter
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at java.lang.ClassLoader.loadClass(Unknown Source)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at java.lang.ClassLoader.loadClass(Unknown Source)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	... 6 more
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.NullPointerException
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	... 8 more

 

 

2. Problem [sOLVED] (you have to register the materials in Init phase not PreInit)

Because I couldn't try the code in eclipse I built my mod into JAR and put it in a modpack with the needed mods (CodeChickenCore, ForgeMultipart) and it crashed because of NullPointerException

 

---- Minecraft Crash Report ----
// Sorry 

Time: 23.7.15 12:09
Description: Initializing game

java.lang.NullPointerException: Initializing game
at codechicken.microblock.MicroMaterialRegistry$.registerMaterial(MicroMaterialRegistry.scala:135)
at codechicken.microblock.MicroMaterialRegistry.registerMaterial(MicroMaterialRegistry.scala)
at cz.enkey.enkeysbuildingblocks.multipart.MultipartRegistry.init(MultipartRegistry.java:12)
at cz.enkey.enkeysbuildingblocks.EnkeysBuildingBlocks.preInit(EnkeysBuildingBlocks.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Stacktrace:
at codechicken.microblock.MicroMaterialRegistry$.registerMaterial(MicroMaterialRegistry.scala:135)
at codechicken.microblock.MicroMaterialRegistry.registerMaterial(MicroMaterialRegistry.scala)
at cz.enkey.enkeysbuildingblocks.multipart.MultipartRegistry.init(MultipartRegistry.java:12)
at cz.enkey.enkeysbuildingblocks.EnkeysBuildingBlocks.preInit(EnkeysBuildingBlocks.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:878)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 318204720 bytes (303 MB) / 1094713344 bytes (1044 MB) up to 1908932608 bytes (1820 MB)
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2048m -XX:MaxPermSize=256m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1448 74 mods loaded, 74 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCH	mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
UCH	FML{7.10.99.99} [Forge Mod Loader] (modpack.jar) 
UCH	Forge{10.13.4.1448} [Minecraft Forge] (modpack.jar) 
UCH	appliedenergistics2-core{rv2-stable-10} [AppliedEnergistics2 Core] (minecraft.jar) 
UCH	CodeChickenCore{1.0.7.46} [CodeChicken Core] (minecraft.jar) 
UCH	NotEnoughItems{1.0.5.111} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.111-universal.jar) 
UCH	OpenComputers|Core{1.5.13.28} [OpenComputers (Core)] (minecraft.jar) 
UCH	appliedenergistics2{rv2-stable-10} [Applied Energistics 2] (appliedenergistics2-rv2-stable-10.jar) 
UCH	asielib{0.4.2} [asielib] (AsieLib-1.7.10-0.4.2.jar) 
UCH	Baubles{1.0.1.10} [baubles] (Baubles-1.7.10-1.0.1.10.jar) 
UCH	bdlib{1.9.0.94} [bD Lib] (bdlib-1.9.0.94-mc1.7.10.jar) 
UCH	BiomesOPlenty{2.1.0} [biomes O' Plenty] (BiomesOPlenty-1.7.10-2.1.0.1364-universal.jar) 
UCH	BuildCraft|Core{7.0.15} [buildCraft] (buildcraft-7.0.15.jar) 
UCH	Forestry{3.6.2.19} [Forestry for Minecraft] (forestry_1.7.10-3.6.2.19.jar) 
UCH	BinnieCore{2.0-pre14} [binnie Core] (binnie-mods-2.0-pre14.jar) 
UCH	Botany{2.0-pre14} [botany] (binnie-mods-2.0-pre14.jar) 
UCH	ExtraBees{2.0-pre14} [Extra Bees] (binnie-mods-2.0-pre14.jar) 
UCH	ExtraTrees{2.0-pre14} [Extra Trees] (binnie-mods-2.0-pre14.jar) 
UCH	Genetics{2.0-pre14} [Genetics] (binnie-mods-2.0-pre14.jar) 
UCH	Botania{r1.7-201} [botania] (Botania r1.7-201.jar) 
UCH	BuildCraft|Factory{7.0.15} [bC Factory] (buildcraft-7.0.15.jar) 
UCH	BuildCraft|Silicon{7.0.15} [bC Silicon] (buildcraft-7.0.15.jar) 
UCH	BuildCraft|Energy{7.0.15} [bC Energy] (buildcraft-7.0.15.jar) 
UCH	BuildCraft|Builders{7.0.15} [bC Builders] (buildcraft-7.0.15.jar) 
UCH	BuildCraft|Robotics{7.0.15} [bC Robotics] (buildcraft-7.0.15.jar) 
UCH	BuildCraft|Transport{7.0.15} [bC Transport] (buildcraft-7.0.15.jar) 
UCH	BuildCraft|Compat{7.0.9} [buildCraft Compat] (buildcraft-compat-7.0.9.jar) 
UCH	ForgeMultipart{1.2.0.345} [Forge Multipart] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar) 
UCH	MrTJPCoreMod{1.1.0.27} [MrTJPCore] (MrTJPCore-1.7.10-1.1.0.27-universal.jar) 
UCH	ProjRed|Core{4.7.0pre5.89} [ProjectRed Core] (ProjectRed-1.7.10-4.7.0pre5.89-Base.jar) 
UCH	ProjRed|Transmission{4.7.0pre5.89} [ProjectRed Transmission] (ProjectRed-1.7.10-4.7.0pre5.89-Integration.jar) 
UCH	OpenComputers{1.5.13.28} [OpenComputers] (OpenComputers-MC1.7.10-1.5.13.28-universal.jar) 
UCH	Railcraft{9.6.1.0} [Railcraft] (Railcraft_1.7.10-9.6.1.0.jar) 
UCH	Waila{1.5.10} [Waila] (Waila-1.5.10_1.7.10(1).jar) 
UCH	Mekanism{8.1.5} [Mekanism] (Mekanism-1.7.10-8.1.5.246.jar) 
UCH	computronics{1.5.5} [Computronics] (Computronics-1.7.10-1.5.5.jar) 
UCE	ebb{0.1} [Enkey's building blocks] (ebb-0.1.jar) 
UCH	Eln{50} [Electrical Age] (ElectricalAge_BETA-1.10_r50.jar) 
UCH	endercore{1.7.10-0.0.1.12_alpha} [EnderCore] (EnderCore-1.7.10-0.0.1.12_alpha.jar) 
UCH	extracells{2.2.73} [Extra Cells 2] (ExtraCells-1.7.10-2.2.73b129.jar) 
UCH	gendustry{1.5.2.107} [GenDustry] (gendustry-1.5.2.107-mc1.7.10.jar) 
UCH	LogisticsPipes{0.9.1.15} [Logistics Pipes] (logisticspipes-0.9.1.15.jar) 
UCH	Mantle{1.7.10-0.3.2.jenkins184} [Mantle] (Mantle-1.7.10-0.3.2.jar) 
UCH	masssound{1.1.1} [MassSound] (MassSound-1.7.10-1.1.1.jar) 
UCH	MekanismGenerators{8.1.5} [MekanismGenerators] (MekanismGenerators-1.7.10-8.1.5.246.jar) 
UCH	MekanismTools{8.1.5} [MekanismTools] (MekanismTools-1.7.10-8.1.5.246.jar) 
UCH	MineTweaker3{3.0.9B} [MineTweaker 3] (MineTweaker3-1.7.10-3.0.9C.jar) 
UCH	NEIAddons{1.12.10.33} [NEI Addons] (neiaddons-1.12.10.33-mc1.7.10.jar) 
UCH	NEIAddons|AppEng{1.12.10.33} [NEI Addons: Applied Energistics 2] (neiaddons-1.12.10.33-mc1.7.10.jar) 
UCH	NEIAddons|Botany{1.12.10.33} [NEI Addons: Botany] (neiaddons-1.12.10.33-mc1.7.10.jar) 
UCH	NEIAddons|Forestry{1.12.10.33} [NEI Addons: Forestry] (neiaddons-1.12.10.33-mc1.7.10.jar) 
UCH	NEIAddons|CraftingTables{1.12.10.33} [NEI Addons: Crafting Tables] (neiaddons-1.12.10.33-mc1.7.10.jar) 
UCH	NEIAddons|ExNihilo{1.12.10.33} [NEI Addons: Ex Nihilo] (neiaddons-1.12.10.33-mc1.7.10.jar) 
UCH	neiintegration{1.0.11} [NEI Integration] (NEIIntegration-MC1.7.10-1.0.11.jar) 
UCH	openglasses{1.0.46} [OC Glasses] (OpenGlasses-1.0.46.jar) 
UCH	openprinter{0.1.0.102} [OpenPrinter] (OpenPrinter-MC1.7.10-OC1.4-0.1.0.102.jar) 
UCH	ProjectBlue{1.1.4} [Project Blue] (ProjectBlue-1.1.4-mc1.7.10.jar) 
UCH	ProjRed|Transportation{4.7.0pre5.89} [ProjectRed Transportation] (ProjectRed-1.7.10-4.7.0pre5.89-Mechanical.jar) 
UCH	ProjRed|Exploration{4.7.0pre5.89} [ProjectRed Exploration] (ProjectRed-1.7.10-4.7.0pre5.89-World.jar) 
UCH	TConstruct{1.7.10-1.8.5.build957} [Tinkers' Construct] (TConstruct-1.7.10-1.8.5.jar) 
UCH	ProjRed|Compatibility{4.7.0pre5.89} [ProjectRed Compatibility] (ProjectRed-1.7.10-4.7.0pre5.89-Compat.jar) 
UCH	ProjRed|Integration{4.7.0pre5.89} [ProjectRed Integration] (ProjectRed-1.7.10-4.7.0pre5.89-Integration.jar) 
UCH	ProjRed|Fabrication{4.7.0pre5.89} [ProjectRed Fabrication] (ProjectRed-1.7.10-4.7.0pre5.89-Fabrication.jar) 
UCH	ProjRed|Illumination{4.7.0pre5.89} [ProjectRed Illumination] (ProjectRed-1.7.10-4.7.0pre5.89-Lighting.jar) 
UCH	ProjRed|Expansion{4.7.0pre5.89} [ProjectRed Expansion] (ProjectRed-1.7.10-4.7.0pre5.89-Mechanical.jar) 
UCH	StevesCarts{2.0.0.b18} [steve's Carts 2] (StevesCarts2.0.0.b18.jar) 
UCH	StevesFactoryManager{A93} [steve's Factory Manager] (StevesFactoryManagerA93.jar) 
UCH	wailaplugins{MC1.7.10-0.1.0-16} [WAILA Plugins] (WAILAPlugins-MC1.7.10-0.1.0-16.jar) 
UCH	wawla{1.3.1} [What Are We Looking At] (Wawla-1.3.1-1.7.10.jar) 
UCH	McMultipart{1.2.0.345} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar) 
UCH	ForgeRelocation{0.0.1.3} [ForgeRelocation] (ForgeRelocation-1.7.10-0.0.1.3-universal.jar) 
UCH	MCFrames{1.0} [MCFrames] (ForgeRelocation-1.7.10-0.0.1.3-universal.jar) 
UCH	RelocationFMP{0.0.1.2} [RelocationFMP] (ForgeRelocationFMP-1.7.10-0.0.1.2-universal.jar) 
UCH	ForgeMicroblock{1.2.0.345} [Forge Microblocks] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar) 
GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13397 Compatibility Profile Context 15.200.1046.0' Renderer: 'AMD Radeon HD 5800 Series'
AE2 Version: stable rv2-stable-10 for Forge 10.13.2.1291
Mantle Environment: Environment healthy.
TConstruct Environment: Environment healthy.
List of loaded APIs: 
	* appliedenergistics2|API (rv2) from appliedenergistics2-rv2-stable-10.jar
	* asielibAPI (1.1) from AsieLib-1.7.10-0.4.2.jar
	* asielibAPI|chat (1.0) from AsieLib-1.7.10-0.4.2.jar
	* asielibAPI|tile (1.0) from AsieLib-1.7.10-0.4.2.jar
	* asielibAPI|tool (1.1) from AsieLib-1.7.10-0.4.2.jar
	* Baubles|API (1.0.1.10) from Baubles-1.7.10-1.0.1.10.jar
	* BiomesOPlentyAPI (1.0.0) from BiomesOPlenty-1.7.10-2.1.0.1364-universal.jar
	* BotaniaAPI (56) from Botania r1.7-201.jar
	* BuildCraftAPI|blocks (1.0) from buildcraft-7.0.15.jar
	* BuildCraftAPI|blueprints (1.3) from buildcraft-7.0.15.jar
	* BuildCraftAPI|boards (2.0) from buildcraft-7.0.15.jar
	* BuildCraftAPI|core (1.0) from buildcraft-7.0.15.jar
	* BuildCraftAPI|crops (1.1) from buildcraft-7.0.15.jar
	* BuildCraftAPI|events (1.0) from buildcraft-7.0.15.jar
	* BuildCraftAPI|facades (1.1) from buildcraft-7.0.15.jar
	* BuildCraftAPI|filler (4.0) from buildcraft-7.0.15.jar
	* BuildCraftAPI|fuels (2.0) from buildcraft-7.0.15.jar
	* BuildCraftAPI|gates (4.1) from buildcraft-7.0.15.jar
	* BuildCraftAPI|items (1.1) from buildcraft-7.0.15.jar
	* BuildCraftAPI|library (2.0) from buildcraft-7.0.15.jar
	* BuildCraftAPI|power (1.3) from buildcraft-7.0.15.jar
	* BuildCraftAPI|recipes (3.0) from buildcraft-7.0.15.jar
	* BuildCraftAPI|robotics (2.1) from buildcraft-7.0.15.jar
	* BuildCraftAPI|statements (1.0) from Railcraft_1.7.10-9.6.1.0.jar
	* BuildCraftAPI|tablet (1.0) from buildcraft-7.0.15.jar
	* BuildCraftAPI|tiles (1.1) from Railcraft_1.7.10-9.6.1.0.jar
	* BuildCraftAPI|tools (1.0) from forestry_1.7.10-3.6.2.19.jar
	* BuildCraftAPI|transport (4.0) from Railcraft_1.7.10-9.6.1.0.jar
	* CoFHAPI (1.7.10R1.0.2) from ElectricalAge_BETA-1.10_r50.jar
	* CoFHAPI|energy (1.7.10R1.0.2) from ElectricalAge_BETA-1.10_r50.jar
	* CoFHAPI|inventory (1.7.10R1.0.1) from buildcraft-compat-7.0.9.jar
	* CoFHAPI|transport (1.7.10R1.0.1) from buildcraft-compat-7.0.9.jar
	* computronicsAPI (1.3) from Computronics-1.7.10-1.5.5.jar
	* computronicsAPI|chat (1.3) from Computronics-1.7.10-1.5.5.jar
	* computronicsAPI|multiperipheral (1.1) from Computronics-1.7.10-1.5.5.jar
	* computronicsAPI|tape (1.0) from Computronics-1.7.10-1.5.5.jar
	* ForestryAPI|apiculture (3.5.0) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|arboriculture (2.3.0) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|circuits (2.0.0) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|core (3.2.0) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|farming (1.1.0) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|food (1.1.0) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|fuels (2.0.1) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|genetics (3.3.0) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|hives (4.1.0) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|lepidopterology (1.1) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|mail (3.0.0) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|recipes (3.1.0) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|storage (3.0.0) from forestry_1.7.10-3.6.2.19.jar
	* ForestryAPI|world (1.1.0) from forestry_1.7.10-3.6.2.19.jar
	* ForgeRelocation|API (0.0.1.3) from ForgeRelocation-1.7.10-0.0.1.3-universal.jar
	* gendustryAPI (2.1.0) from gendustry-1.5.2.107-mc1.7.10.jar
	* IC2API (1.0) from Railcraft_1.7.10-9.6.1.0.jar
	* MekanismAPI|core (8.0.0) from Mekanism-1.7.10-8.1.5.246.jar
	* MekanismAPI|energy (8.0.0) from Mekanism-1.7.10-8.1.5.246.jar
	* MekanismAPI|gas (8.0.0) from Mekanism-1.7.10-8.1.5.246.jar
	* MekanismAPI|infuse (8.0.0) from Mekanism-1.7.10-8.1.5.246.jar
	* MekanismAPI|laser (8.0.0) from Mekanism-1.7.10-8.1.5.246.jar
	* MekanismAPI|reactor (8.0.0) from Mekanism-1.7.10-8.1.5.246.jar
	* MekanismAPI|recipe (8.0.0) from Mekanism-1.7.10-8.1.5.246.jar
	* MekanismAPI|transmitter (8.0.0) from Mekanism-1.7.10-8.1.5.246.jar
	* MekanismAPI|util (8.0.0) from Mekanism-1.7.10-8.1.5.246.jar
	* OpenComputersAPI|Component (5.5.2) from OpenComputers-MC1.7.10-1.5.13.28-universal.jar
	* OpenComputersAPI|Core (5.5.2) from OpenComputers-MC1.7.10-1.5.13.28-universal.jar
	* OpenComputersAPI|Driver (5.5.2) from OpenComputers-MC1.7.10-1.5.13.28-universal.jar
	* OpenComputersAPI|Driver|Item (5.5.2) from OpenComputers-MC1.7.10-1.5.13.28-universal.jar
	* OpenComputersAPI|Event (5.5.2) from OpenComputers-MC1.7.10-1.5.13.28-universal.jar
	* OpenComputersAPI|FileSystem (5.5.2) from OpenComputers-MC1.7.10-1.5.13.28-universal.jar
	* OpenComputersAPI|Internal (5.5.2) from OpenComputers-MC1.7.10-1.5.13.28-universal.jar
	* OpenComputersAPI|Machine (5.5.2) from OpenComputers-MC1.7.10-1.5.13.28-universal.jar
	* OpenComputersAPI|Manual (5.5.2) from OpenComputers-MC1.7.10-1.5.13.28-universal.jar
	* OpenComputersAPI|Network (5.5.2) from OpenComputers-MC1.7.10-1.5.13.28-universal.jar
	* OpenComputersAPI|Prefab (5.5.2) from OpenComputers-MC1.7.10-1.5.13.28-universal.jar
	* RailcraftAPI|bore (1.0.0) from Railcraft_1.7.10-9.6.1.0.jar
	* RailcraftAPI|carts (1.3.1) from Railcraft_1.7.10-9.6.1.0.jar
	* RailcraftAPI|core (1.3.0) from Railcraft_1.7.10-9.6.1.0.jar
	* RailcraftAPI|crafting (1.0.0) from Railcraft_1.7.10-9.6.1.0.jar
	* RailcraftAPI|electricity (1.6.0) from Railcraft_1.7.10-9.6.1.0.jar
	* RailcraftAPI|events (1.0.0) from Railcraft_1.7.10-9.6.1.0.jar
	* RailcraftAPI|fuel (1.0.0) from Railcraft_1.7.10-9.6.1.0.jar
	* RailcraftAPI|helpers (1.1.0) from Railcraft_1.7.10-9.6.1.0.jar
	* RailcraftAPI|items (1.0.0) from Railcraft_1.7.10-9.6.1.0.jar
	* RailcraftAPI|locomotive (1.0.1) from Railcraft_1.7.10-9.6.1.0.jar
	* RailcraftAPI|signals (1.3.0) from Railcraft_1.7.10-9.6.1.0.jar
	* RailcraftAPI|tracks (2.0.0) from Railcraft_1.7.10-9.6.1.0.jar
	* Thaumcraft|API (4.2.2.0) from Railcraft_1.7.10-9.6.1.0.jar
	* WailaAPI (1.2) from Waila-1.5.10_1.7.10(1).jar
Launched Version: 1.7.10-Forge10.13.4.1448-1.7.10
LWJGL: 2.9.1
OpenGL: AMD Radeon HD 5800 Series GL version 4.5.13397 Compatibility Profile Context 15.200.1046.0, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.

Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: On (16)

 

 

I tried to make it so it doesn't require the ForgeMultipart, but work with it when it's installed, and that is working well. Without any other mods it works great, but with ForgeMultipart it crashes.

 

Here is the important code:

 

Main Mod class:

 

package cz.enkey.enkeysbuildingblocks;

import org.apache.logging.log4j.Logger;

import net.minecraft.init.Blocks;
import cpw.mods.fml.common.Loader;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cz.enkey.enkeysbuildingblocks.init.BlocksInit;
import cz.enkey.enkeysbuildingblocks.utils.MultipartInterface;

@Mod(modid = EnkeysBuildingBlocks.MODID, name = EnkeysBuildingBlocks.NAME, version = EnkeysBuildingBlocks.VERSION, dependencies="after:ForgeMultipart")
public class EnkeysBuildingBlocks
{
    public static final String MODID = "ebb";
    public static final String VERSION = "0.1";
    public static final String NAME = "Enkey's building blocks";
    
    @Mod.Instance("EnkeysBuildingBlocks")
    public static EnkeysBuildingBlocks instance;
    
    public static Logger logger;

@Mod.EventHandler
public void preInit(FMLPreInitializationEvent event) {
	logger = event.getModLog();

	logger.info("Loading " + EnkeysBuildingBlocks.NAME + " version " + EnkeysBuildingBlocks.VERSION + ".");

	BlocksInit.init();

	if (Loader.isModLoaded("ForgeMultipart")){
		try {
			Class.forName("cz.enkey.enkeysbuildingblocks.multipart.MultipartRegistry").asSubclass(MultipartInterface.class).newInstance().init();
		} catch (InstantiationException e) {
			logger.error("Could not integrate Forge Multipart mod!");
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			logger.error("Could not integrate Forge Multipart mod!");
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			logger.error("Could not integrate Forge Multipart mod!");
			e.printStackTrace();
		};
	}

	logger.info(EnkeysBuildingBlocks.NAME + " version " + EnkeysBuildingBlocks.VERSION + " loaded Phase 1 successfully!");
}
    
    @EventHandler
public void init(FMLInitializationEvent event) {
	logger.info("Loading " + EnkeysBuildingBlocks.NAME + " version " + EnkeysBuildingBlocks.VERSION + " Phase 2.");

	logger.info(EnkeysBuildingBlocks.NAME + " version " + EnkeysBuildingBlocks.VERSION + " loaded Phase 2 successfully!");
}

@Mod.EventHandler
public void postInit(FMLPostInitializationEvent event) {
	logger.info("Loading " + EnkeysBuildingBlocks.NAME + " version " + EnkeysBuildingBlocks.VERSION + " Phase 3.");

	logger.info(EnkeysBuildingBlocks.NAME + " version " + EnkeysBuildingBlocks.VERSION + " loaded Phase 3 successfully!");
}
}

 

 

BlocksInit.java

 

package cz.enkey.enkeysbuildingblocks.init;

import cz.enkey.enkeysbuildingblocks.blocks.BrickWall;
import cz.enkey.enkeysbuildingblocks.blocks.Concrete;
import cz.enkey.enkeysbuildingblocks.blocks.MetalSheetWall;
import cz.enkey.enkeysbuildingblocks.utils.RegUtils;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;

public class BlocksInit {
public static Block brick_wall;
public static Block metal_sheet_wall;
public static Block concrete;

public static void init() {
	brick_wall = new BrickWall(); RegUtils.reg(brick_wall);
	metal_sheet_wall= new MetalSheetWall(); RegUtils.reg(metal_sheet_wall);
	concrete = new Concrete(); RegUtils.reg(concrete);
}
}

 

 

MultipartRegistry.java

 

package cz.enkey.enkeysbuildingblocks.multipart;

import codechicken.microblock.BlockMicroMaterial;
import codechicken.microblock.MicroMaterialRegistry;
import cz.enkey.enkeysbuildingblocks.init.BlocksInit;
import cz.enkey.enkeysbuildingblocks.utils.MultipartInterface;

public class MultipartRegistry implements MultipartInterface {

@Override
public void init(){
	MicroMaterialRegistry.registerMaterial(new BlockMicroMaterial(BlocksInit.brick_wall, 0), BlockMicroMaterial.materialKey(BlocksInit.brick_wall)); // here it crashes with NullPointerException (maybe brick_wall is null, but I am initializing it before this)
	MicroMaterialRegistry.registerMaterial(new BlockMicroMaterial(BlocksInit.metal_sheet_wall,0), BlockMicroMaterial.materialKey(BlocksInit.metal_sheet_wall));
	MicroMaterialRegistry.registerMaterial(new BlockMicroMaterial(BlocksInit.concrete,0), BlockMicroMaterial.materialKey(BlocksInit.concrete));
}
}

 

 

Any help is appriciated

 

Enkey

If someone helps you, click that thank you button ;)

 

EasyTessellator library: http://www.minecraftforge.net/forum/index.php/topic,14705.0.html

Link to comment
Share on other sites

Problem 1:

 

Duplicate mod error occurs only if you load mod twice. It can (and is) most likely occuring because you put the API into both /mods/ folder and add it as library to project.

What you need to do:

* When using mod as a library, do NOT put it into /mods/. You can put it ANYWHERE and then only thing you need is to reference it as library. When mod is declared as a library it will be loaded on startup and usable in your code.

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

As I said I already tried that

 

I also tried putting the dev jars in /lib folder and adding them as libraries, but then it crashed because it couldn't find the mods

 

 

[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: java.lang.NoClassDefFoundError: codechicken/lib/asm/CC_ClassWriter
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at codechicken.core.asm.MCPDeobfuscationTransformer$LoadPlugin.injectData(MCPDeobfuscationTransformer.java:57)
Exception in thread "main" [19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper.injectIntoClassLoader(CoreModManager.java:119)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at GradleStart.main(Unknown Source)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.ClassNotFoundException: codechicken.lib.asm.CC_ClassWriter
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at java.lang.ClassLoader.loadClass(Unknown Source)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at java.lang.ClassLoader.loadClass(Unknown Source)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	... 6 more
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.NullPointerException
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182)
[19:06:00] [main/INFO]: [java.lang.Throwable$WrappedPrintStream:println:-1]: 	... 8 more

 

I've put it only in /lib and linked it as Library and it crashed like that. Not sure why is it crashing though, it should work even without the mods.

If someone helps you, click that thank you button ;)

 

EasyTessellator library: http://www.minecraftforge.net/forum/index.php/topic,14705.0.html

Link to comment
Share on other sites

Okay I fixed it now, I didn't know that CCC won't download CCL automaticaly when it's not in /mods folder so I downloaded CCL manualy and added it the same way.

 

Now I need to solve the second problem with the code. I don't know if I am doing it right, I just went trough Mekanism code to see how he's doing it. I tried to find some tutorial on it, but I only found tutorials for making custom microblocks, but I only need the normal ones (Cover, Panel, Slab, etc.)

If someone helps you, click that thank you button ;)

 

EasyTessellator library: http://www.minecraftforge.net/forum/index.php/topic,14705.0.html

Link to comment
Share on other sites

why dont you use maven

	
maven { // the repo from which to get NEI and stuff 
		name 'CB Repo'
		url "http://chickenbones.net/maven/"
	}

	
        compile "codechicken:CodeChickenLib:1.7.10-1.1.3.138:dev"
compile "codechicken:CodeChickenCore:1.7.10-1.0.4.29:dev"
compile "codechicken:NotEnoughItems:1.7.10-1.0.3.74:dev"
compile "codechicken:ForgeMultipart:1.7.10-1.1.0.297:dev"

Link to comment
Share on other sites

Thanks, that kinda worked, but it only downloaded CCL and ForgeMultipart

 

I added this to build.gradle

maven {
            name 'CB Repo'
            url "http://chickenbones.net/maven/"
        }

 

compile "codechicken:CodeChickenLib:1.7.10-1.1.3.140:dev"
    compile "codechicken:CodeChickenLib:1.7.10-1.1.3.140:src"
    compile "codechicken:CodeChickenCore:1.7.10-1.0.7.46:dev"
    compile "codechicken:CodeChickenCore:1.7.10-1.0.7.46:src"
    compile "codechicken:NotEnoughItems:1.7.10-1.0.5.111:dev"
    compile "codechicken:ForgeMultipart:1.7.10-1.1.0.297:dev"
    compile "codechicken:ForgeMultipart:1.7.10-1.1.0.297:src"

 

and even no errors occured during gradle dependency downloading

D:\***\forge_1.7.10>gradlew --refresh-dependencies eclipse
****************************
Powered By MCP:
http://mcp.ocean-labs.de/
Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
MCP Data version : unknown
****************************
:eclipseClasspath
Download http://files.minecraftforge.net/maven/codechicken/CodeChickenLib/1.7.10-1.1.3.140/CodeChickenLib-1.7.10-1.1.3.140-dev.jar
Download http://files.minecraftforge.net/maven/codechicken/CodeChickenLib/1.7.10-1.1.3.140/CodeChickenLib-1.7.10-1.1.3.140-src.jar
Download http://files.minecraftforge.net/maven/codechicken/ForgeMultipart/1.7.10-1.1.0.297/ForgeMultipart-1.7.10-1.1.0.297-dev.jar
Download http://files.minecraftforge.net/maven/codechicken/ForgeMultipart/1.7.10-1.1.0.297/ForgeMultipart-1.7.10-1.1.0.297-src.jar
:eclipseJdt
:eclipseProject
:eclipse

BUILD SUCCESSFUL

If someone helps you, click that thank you button ;)

 

EasyTessellator library: http://www.minecraftforge.net/forum/index.php/topic,14705.0.html

Link to comment
Share on other sites

Do you have CCC and NEI in your Eclipse project anyway or are they missing? They may have been already been downloaded.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hello, I'm trying to modify the effects of native enchantments for bows and arrows in Minecraft. After using a decompilation tool, I found that the specific implementations of native bow and arrow enchantments (including `ArrowDamageEnchantment`, `ArrowKnockbackEnchantment`, `ArrowFireEnchantment`, `ArrowInfiniteEnchantment`, `ArrowPiercingEnchantment`) do not contain any information about the enchantment effects (such as the `getDamageProtection` function for `ProtectionEnchantment`, `getDamageBonus` function for `DamageEnchantment`, etc.). Upon searching for the base class of arrows, `AbstractArrow`, I found a function named setEnchantmentEffectsFromEntity`, which seems to be used to retrieve the enchantment levels of the tool held by a `LivingEntity` and calculate the specific values of the enchantment effects. However, after testing with the following code, I found that this function is not being called:   @Mixin(AbstractArrow.class) public class ModifyArrowEnchantmentEffects {     private static final Logger LOGGER = LogUtils.getLogger();     @Inject(         method = "setEnchantmentEffectsFromEntity",         at = @At("HEAD")     )     private void logArrowEnchantmentEffectsFromEntity(CallbackInfo ci) {         LOGGER.info("Arrow enchantment effects from entity");     } }   Upon further investigation, I found that within the onHitEntity method, there are several lines of code:               if (!this.level().isClientSide && entity1 instanceof LivingEntity) {                EnchantmentHelper.doPostHurtEffects(livingentity, entity1);                EnchantmentHelper.doPostDamageEffects((LivingEntity)entity1, livingentity);             }   These lines of code actually call the doPostHurt and doPostAttack methods of each enchantment in the enchantment list. However, this leads back to the issue because native bow and arrow enchantments do not implement these functions. Although their base class defines the functions, they are empty. At this point, I'm completely stumped and seeking assistance. Thank you.
    • I have been trying to make a server with forge but I keep running into an issue. I have jdk 22 installed as well as Java 8. here is the debug file  
    • it crashed again     What the console says : [00:02:03] [Server thread/INFO] [Easy NPC/]: [EntityManager] Server started! [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {iceandfire:fire_dragon_roost=true, iceandfire:fire_lily=true, iceandfire:spawn_dragon_skeleton_fire=true, iceandfire:lightning_dragon_roost=true, iceandfire:spawn_dragon_skeleton_lightning=true, iceandfire:ice_dragon_roost=true, iceandfire:ice_dragon_cave=true, iceandfire:lightning_dragon_cave=true, iceandfire:cyclops_cave=true, iceandfire:spawn_wandering_cyclops=true, iceandfire:spawn_sea_serpent=true, iceandfire:frost_lily=true, iceandfire:hydra_cave=true, iceandfire:lightning_lily=true, iceandfireixie_village=true, iceandfire:myrmex_hive_jungle=true, iceandfire:myrmex_hive_desert=true, iceandfire:silver_ore=true, iceandfire:siren_island=true, iceandfire:spawn_dragon_skeleton_ice=true, iceandfire:spawn_stymphalian_bird=true, iceandfire:fire_dragon_cave=true, iceandfire:sapphire_ore=true, iceandfire:spawn_hippocampus=true, iceandfire:spawn_death_worm=true} [00:02:03] [Server thread/INFO] [co.gi.al.ic.IceAndFire/]: {TROLL_S=true, HIPPOGRYPH=true, AMPHITHERE=true, COCKATRICE=true, TROLL_M=true, DREAD_LICH=true, TROLL_F=true} [00:02:03] [Server thread/INFO] [ne.be.lo.WeaponRegistry/]: Encoded Weapon Attribute registry size (with package overhead): 41976 bytes (in 5 string chunks with the size of 10000) [00:02:03] [Server thread/INFO] [patchouli/]: Sending reload packet to clients [00:02:03] [Server thread/WARN] [voicechat/]: [voicechat] Running in offline mode - Voice chat encryption is not secure! [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Using server-ip as bind address: 0.0.0.0 [00:02:03] [Server thread/WARN] [ModernFix/]: Dedicated server took 22.521 seconds to load [00:02:03] [VoiceChatServerThread/INFO] [voicechat/]: [voicechat] Voice chat server started at 0.0.0.0:25565 [00:02:03] [Server thread/WARN] [minecraft/SynchedEntityData]: defineId called for: class net.minecraft.world.entity.player.Player from class tschipp.carryon.common.carry.CarryOnDataManager [00:02:03] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@2941ffd5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 0 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 1 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 2 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 3 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 4 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 5 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 6 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 7 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 8 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 9 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 10 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 11 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 12 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 13 [00:02:10] [Netty Epoll Server IO #2/INFO] [Calio/]: Received acknowledgment for login packet with id 14 [00:02:19] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@ebc7ef2 [00:02:19] [Server thread/INFO] [minecraft/PlayerList]: ZacAdos[/90.2.17.162:49242] logged in with entity id 1062 at (-1848.6727005281205, 221.0, -3054.2468255848935) [00:02:19] [Server thread/ERROR] [ModernFix/]: Skipping entity ID sync for com.talhanation.smallships.world.entity.ship.Ship: java.lang.NoClassDefFoundError: net/minecraft/client/CameraType [00:02:19] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos joined the game [00:02:19] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:19] [Server thread/INFO] [se.mi.te.da.DataManager/]: Sending data to client: ZacAdos [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Received secret request of - Gloop - ZacAdos (17) [00:02:19] [Server thread/INFO] [voicechat/]: [voicechat] Sent secret to - Gloop - ZacAdos [00:02:21] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully authenticated player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Successfully validated connection of player cc56befd-d376-3526-a760-340713c478bd [00:02:22] [VoiceChatPacketProcessingThread/INFO] [voicechat/]: [voicechat] Player - Gloop - ZacAdos (cc56befd-d376-3526-a760-340713c478bd) successfully connected to voice chat stop [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping the server [00:02:34] [Server thread/INFO] [mo.pl.ar.ArmourersWorkshop/]: stop local service [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players [00:02:34] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: ZacAdos lost connection: Server closed [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: - Gloop - ZacAdos left the game [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Updating all forceload tickets for cc56befd-d376-3526-a760-340713c478bd [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (world): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [00:02:34] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage: All dimensions are saved [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopping IO worker... [00:02:34] [Server thread/INFO] [xa.pa.OpenPartiesAndClaims/]: Stopped IO worker! [00:02:34] [Server thread/INFO] [Calio/]: Removing Dynamic Registries for: net.minecraft.server.dedicated.DedicatedServer@7dc879e1 [MineStrator Daemon]: Checking server disk space usage, this could take a few seconds... [MineStrator Daemon]: Updating process configuration files... [MineStrator Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... [MineStrator Daemon]: Pulling Docker container image, this could take a few minutes to complete... [MineStrator Daemon]: Finished pulling Docker container image container@pterodactyl~ java -version openjdk version "17.0.10" 2024-01-16 OpenJDK Runtime Environment Temurin-17.0.10+7 (build 17.0.10+7) OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (build 17.0.10+7, mixed mode, sharing) container@pterodactyl~ java -Xms128M -Xmx6302M -Dterminal.jline=false -Dterminal.ansi=true -Djline.terminal=jline.UnsupportedTerminal -p libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar:libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/net/minecraftforge/JarJarFileSystems/0.3.16/JarJarFileSystems-0.3.16.jar --add-modules ALL-MODULE-PATH --add-opens java.base/java.util.jar=cpw.mods.securejarhandler --add-opens java.base/java.lang.invoke=cpw.mods.securejarhandler --add-exports java.base/sun.security.util=cpw.mods.securejarhandler --add-exports jdk.naming.dns/com.sun.jndi.dns=java.naming -Djava.net.preferIPv6Addresses=system -DignoreList=bootstraplauncher-1.1.2.jar,securejarhandler-2.1.4.jar,asm-commons-9.5.jar,asm-util-9.5.jar,asm-analysis-9.5.jar,asm-tree-9.5.jar,asm-9.5.jar,JarJarFileSystems-0.3.16.jar -DlibraryDirectory=libraries -DlegacyClassPath=libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar:libraries/org/ow2/asm/asm/9.5/asm-9.5.jar:libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar:libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar:libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar:libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar:libraries/net/minecraftforge/accesstransformers/8.0.4/accesstransformers-8.0.4.jar:libraries/org/antlr/antlr4-runtime/4.9.1/antlr4-runtime-4.9.1.jar:libraries/net/minecraftforge/eventbus/6.0.3/eventbus-6.0.3.jar:libraries/net/minecraftforge/forgespi/6.0.0/forgespi-6.0.0.jar:libraries/net/minecraftforge/coremods/5.0.1/coremods-5.0.1.jar:libraries/cpw/mods/modlauncher/10.0.8/modlauncher-10.0.8.jar:libraries/net/minecraftforge/unsafe/0.2.0/unsafe-0.2.0.jar:libraries/com/electronwill/night-config/core/3.6.4/core-3.6.4.jar:libraries/com/electronwill/night-config/toml/3.6.4/toml-3.6.4.jar:libraries/org/apache/maven/maven-artifact/3.8.5/maven-artifact-3.8.5.jar:libraries/net/jodah/typetools/0.8.3/typetools-0.8.3.jar:libraries/net/minecrell/terminalconsoleappender/1.2.0/terminalconsoleappender-1.2.0.jar:libraries/org/jline/jline-reader/3.12.1/jline-reader-3.12.1.jar:libraries/org/jline/jline-terminal/3.12.1/jline-terminal-3.12.1.jar:libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar:libraries/org/openjdk/nashorn/nashorn-core/15.3/nashorn-core-15.3.jar:libraries/net/minecraftforge/JarJarSelector/0.3.16/JarJarSelector-0.3.16.jar:libraries/net/minecraftforge/JarJarMetadata/0.3.16/JarJarMetadata-0.3.16.jar:libraries/net/minecraftforge/fmlloader/1.19.2-43.3.0/fmlloader-1.19.2-43.3.0.jar:libraries/net/minecraft/server/1.19.2-20220805.130853/server-1.19.2-20220805.130853-extra.jar:libraries/com/github/oshi/oshi-core/5.8.5/oshi-core-5.8.5.jar:libraries/com/google/code/gson/gson/2.8.9/gson-2.8.9.jar:libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:libraries/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar:libraries/com/mojang/authlib/3.11.49/authlib-3.11.49.jar:libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar:libraries/com/mojang/datafixerupper/5.0.28/datafixerupper-5.0.28.jar:libraries/com/mojang/javabridge/1.2.24/javabridge-1.2.24.jar:libraries/com/mojang/logging/1.0.0/logging-1.0.0.jar:libraries/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar:libraries/io/netty/netty-buffer/4.1.77.Final/netty-buffer-4.1.77.Final.jar:libraries/io/netty/netty-codec/4.1.77.Final/netty-codec-4.1.77.Final.jar:libraries/io/netty/netty-common/4.1.77.Final/netty-common-4.1.77.Final.jar:libraries/io/netty/netty-handler/4.1.77.Final/netty-handler-4.1.77.Final.jar:libraries/io/netty/netty-resolver/4.1.77.Final/netty-resolver-4.1.77.Final.jar:libraries/io/netty/netty-transport/4.1.77.Final/netty-transport-4.1.77.Final.jar:libraries/io/netty/netty-transport-classes-epoll/4.1.77.Final/netty-transport-classes-epoll-4.1.77.Final.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-x86_64.jar:libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-aarch_64.jar:libraries/io/netty/netty-transport-native-unix-common/4.1.77.Final/netty-transport-native-unix-common-4.1.77.Final.jar:libraries/it/unimi/dsi/fastutil/8.5.6/fastutil-8.5.6.jar:libraries/net/java/dev/jna/jna/5.10.0/jna-5.10.0.jar:libraries/net/java/dev/jna/jna-platform/5.10.0/jna-platform-5.10.0.jar:libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar:libraries/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar:libraries/org/apache/logging/log4j/log4j-api/2.17.0/log4j-api-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-core/2.17.0/log4j-core-2.17.0.jar:libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.17.0/log4j-slf4j18-impl-2.17.0.jar:libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar cpw.mods.bootstraplauncher.BootstrapLauncher --launchTarget forgeserver --fml.forgeVersion 43.3.0 --fml.mcVersion 1.19.2 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220805.130853 [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [00:02:42] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [00:02:43] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:43] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [00:02:44] [main/WARN] [ne.mi.ja.se.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [00:02:44] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection Latest log [29Mar2024 00:02:42.803] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 43.3.0, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] [29Mar2024 00:02:42.805] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.10 by Eclipse Adoptium; OS Linux arch amd64 version 6.1.0-12-amd64 [29Mar2024 00:02:43.548] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/container/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2363!/ Service=ModLauncher Env=SERVER [29Mar2024 00:02:43.876] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/fmlcore/1.19.2-43.3.0/fmlcore-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.3.0/javafmllanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.877] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.3.0/lowcodelanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:43.878] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /home/container/libraries/net/minecraftforge/mclanguage/1.19.2-43.3.0/mclanguage-1.19.2-43.3.0.jar is missing mods.toml file [29Mar2024 00:02:44.033] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select two dependency jars from JarJar which have the same identification: Mod File: and Mod File: . Using Mod File: [29Mar2024 00:02:44.034] [main/WARN] [net.minecraftforge.jarjar.selection.JarSelector/]: Attempted to select a dependency jar for JarJar which was passed in as source: resourcefullib. Using Mod File: /home/container/mods/resourcefullib-forge-1.19.2-1.1.24.jar [29Mar2024 00:02:44.034] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: Found 13 dependencies adding them to mods collection
    • I am unable to do that. Brigadier is a mojang library that parses commands.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.