Jump to content

[1.12] Armour problem (I think)


The_SlayerMC

Recommended Posts

I have a crash and the only thing it relates too is the armour, cant see why it would crash

 

https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/items/ItemModArmor.java

 

I register my items [url=https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/JourneyItems.java]here[/url]

 

	[19:25:31] [main/FATAL] [FML]: Suppressed additional 1618 model loading errors for domain essence
[19:25:32] [main/INFO] [FML]: Applying holder lookups
[19:25:32] [main/INFO] [FML]: Holder lookups applied
[19:25:32] [main/INFO] [Journey Into the Light]: [Journey Into the Light] Loading world generator
[19:25:33] [main/INFO] [FML]: Injecting itemstacks
[19:25:33] [main/INFO] [FML]: Itemstack injection complete
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:sapphire Value: net.slayer.api.item.ItemMod@4308744c
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:sapphire Value: net.journey.items.ItemModArmor@21f1f60e
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:sapphire Value: net.journey.items.ItemModArmor@157e14f2
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:sapphire Value: net.journey.items.ItemModArmor@3116e9f2
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:crystalflake Value: net.slayer.api.item.ItemMod@43fe325e
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:crystalflake Value: net.journey.items.ItemModArmor@31f575aa
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:crystalflake Value: net.journey.items.ItemModArmor@4bea0314
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:crystalflake Value: net.journey.items.ItemModArmor@7a96e17e
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:snakeskin Value: net.slayer.api.item.ItemMod@2ee17b74
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:snakeskin Value: net.journey.items.ItemModArmor@36072e34
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:snakeskin Value: net.journey.items.ItemModArmor@66604e6f
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:snakeskin Value: net.journey.items.ItemModArmor@4f944ff5
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:hellstone Value: net.journey.items.ItemModArmor@33a7a5ca
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:hellstone Value: net.journey.items.ItemModArmor@6cc1da7b
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:hellstone Value: net.journey.items.ItemModArmor@439a0f0
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:flairium Value: net.journey.items.ItemModArmor@6444bf53
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:flairium Value: net.journey.items.ItemModArmor@634a3a2
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:flairium Value: net.journey.items.ItemModArmor@4fc3bdb4
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:celestium Value: net.journey.items.ItemModArmor@7afaf602
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:celestium Value: net.journey.items.ItemModArmor@5970734c
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:celestium Value: net.journey.items.ItemModArmor@b8c4bcb
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:lunium Value: net.journey.items.ItemModArmor@36bef8fb
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:lunium Value: net.journey.items.ItemModArmor@6c8e0773
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:lunium Value: net.journey.items.ItemModArmor@5b5db3a
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:shadium Value: net.journey.items.ItemModArmor@15be8dc4
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:shadium Value: net.journey.items.ItemModArmor@997a59f
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:shadium Value: net.journey.items.ItemModArmor@2250d39c
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:gorbite Value: net.journey.items.ItemModArmor@5b6606fd
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:gorbite Value: net.journey.items.ItemModArmor@3e5a40e7
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:gorbite Value: net.journey.items.ItemModArmor@380567a7
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:orbadite Value: net.journey.items.ItemModArmor@6873c7e6
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:orbadite Value: net.journey.items.ItemModArmor@4c2ff77
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:orbadite Value: net.journey.items.ItemModArmor@17e99817
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:flame Value: net.journey.items.ItemModArmor@29963f9a
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:flame Value: net.journey.items.ItemModArmor@3abc4498
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:flame Value: net.journey.items.ItemModArmor@61ce4af8
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:twilight Value: net.journey.items.ItemModArmor@42d060f1
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:twilight Value: net.journey.items.ItemModArmor@1a9064b7
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:twilight Value: net.journey.items.ItemModArmor@91a7497
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:leapers Value: net.journey.items.ItemModArmor@595f803
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:leapers Value: net.journey.items.ItemModArmor@1cb991da
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:leapers Value: net.journey.items.ItemModArmor@46ddf016
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:treehuggers Value: net.journey.items.ItemModArmor@188f4ec3
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:treehuggers Value: net.journey.items.ItemModArmor@7c78688b
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:treehuggers Value: net.journey.items.ItemModArmor@117e7b16
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:charskull Value: net.journey.items.ItemModArmor@51959e46
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:charskull Value: net.journey.items.ItemModArmor@6e9698cf
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:charskull Value: net.journey.items.ItemModArmor@cd2f8c0
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:bronzed Value: net.journey.items.ItemModArmor@33b92d63
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:bronzed Value: net.journey.items.ItemModArmor@69339b3b
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:bronzed Value: net.journey.items.ItemModArmor@723c6a25
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:goldite Value: net.journey.items.ItemModArmor@590cdb9a
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:goldite Value: net.journey.items.ItemModArmor@2c9369c3
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:goldite Value: net.journey.items.ItemModArmor@3def5336
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:corbark Value: net.journey.items.ItemModArmor@63112b
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:corbark Value: net.journey.items.ItemModArmor@3789bd95
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:corbark Value: net.journey.items.ItemModArmor@70382eb1
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:darkly Value: net.journey.items.ItemModArmor@77db957b
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:darkly Value: net.journey.items.ItemModArmor@6c32da37
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:darkly Value: net.journey.items.ItemModArmor@21624bde
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:depths Value: net.journey.items.ItemModArmor@28a80cb0
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:depths Value: net.journey.items.ItemModArmor@523198f0
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:depths Value: net.journey.items.ItemModArmor@613e05d3
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:enlightener Value: net.journey.items.ItemModArmor@13fd5aaa
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:enlightener Value: net.journey.items.ItemModArmor@4d55b63d
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:enlightener Value: net.journey.items.ItemModArmor@5c5432d9
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:firebound Value: net.journey.items.ItemModArmor@1e418480
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:firebound Value: net.journey.items.ItemModArmor@7e452d2b
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:firebound Value: net.journey.items.ItemModArmor@37a1ac0
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:frostbitten Value: net.journey.items.ItemModArmor@73a91b68
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:frostbitten Value: net.journey.items.ItemModArmor@24d25c43
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:frostbitten Value: net.journey.items.ItemModArmor@772dfe03
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:hollow Value: net.journey.items.ItemModArmor@5a9ee776
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:hollow Value: net.journey.items.ItemModArmor@6c988822
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:hollow Value: net.journey.items.ItemModArmor@74ddae54
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:lightstone Value: net.journey.items.ItemModArmor@6ceb953
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:lightstone Value: net.journey.items.ItemModArmor@2e3fe830
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:lightstone Value: net.journey.items.ItemModArmor@37095cad
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:livegreen Value: net.journey.items.ItemModArmor@5dd1526e
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:livegreen Value: net.journey.items.ItemModArmor@cfe4f8c
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:livegreen Value: net.journey.items.ItemModArmor@716f968a
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:starlight Value: net.journey.items.ItemModArmor@3b577709
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:starlight Value: net.journey.items.ItemModArmor@452bddc0
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:starlight Value: net.journey.items.ItemModArmor@48fdd829
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:bloodcrust Value: net.journey.items.ItemModArmor@34fa61ad
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:bloodcrust Value: net.journey.items.ItemModArmor@2fa46f2f
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:bloodcrust Value: net.journey.items.ItemModArmor@9bec662
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:blazehorn Value: net.journey.items.ItemModArmor@779af906
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:blazehorn Value: net.journey.items.ItemModArmor@7b4b2dcd
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:blazehorn Value: net.journey.items.ItemModArmor@4396910
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:bleedrock Value: net.journey.items.ItemModArmor@642c407d
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:bleedrock Value: net.journey.items.ItemModArmor@46ab3c70
[19:25:33] [main/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: essence:bleedrock Value: net.journey.items.ItemModArmor@915ac5c
[19:25:33] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: ---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.
	Time: 7/3/18 7:25 PM
Description: Initializing game
	java.lang.RuntimeException: One of more entry values did not copy to the correct id. Check log for details!
    at net.minecraftforge.registries.ForgeRegistry.sync(ForgeRegistry.java:547)
    at net.minecraftforge.registries.GameData.loadRegistry(GameData.java:494)
    at net.minecraftforge.registries.GameData.freezeData(GameData.java:229)
    at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:753)
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:329)
    at net.minecraft.client.Minecraft.init(Minecraft.java:581)
    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(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)
    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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:25)
	
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
	-- Head --
Thread: Client thread
Stacktrace:
    at net.minecraftforge.registries.ForgeRegistry.sync(ForgeRegistry.java:547)
    at net.minecraftforge.registries.GameData.loadRegistry(GameData.java:494)
    at net.minecraftforge.registries.GameData.freezeData(GameData.java:229)
    at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:753)
    at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:329)
    at net.minecraft.client.Minecraft.init(Minecraft.java:581)
	-- Initialization --
Details:
Stacktrace:
    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(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)
    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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:25)
	-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_171, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 729555752 bytes (695 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.4.2705 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 |
    |:------ |:--------- |:------------ |:-------------------------------- |:--------- |
    | UCHIJA | minecraft | 1.12.2       | minecraft.jar                    | None      |
    | UCHIJA | mcp       | 9.42         | minecraft.jar                    | None      |
    | UCHIJA | FML       | 8.0.99.99    | forgeSrc-1.12.2-14.23.4.2705.jar | None      |
    | UCHIJA | forge     | 14.23.4.2705 | forgeSrc-1.12.2-14.23.4.2705.jar | None      |
    | UCHIJA | essence   | 1.2          | bin                              | None      |
	    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'Intel' Version: '4.4.0 - Build 22.20.16.4708' Renderer: 'Intel(R) HD Graphics 630'
    Launched Version: 1.12.2
    LWJGL: 2.9.4
    OpenGL: Intel(R) HD Graphics 630 GL version 4.4.0 - Build 22.20.16.4708, Intel
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
	    Using VBOs: Yes
    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)
    CPU: 8x Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
[19:25:33] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# D:\Development\Minecraft\Forge\1.12\.\crash-reports\crash-2018-07-03_19.25.33-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
 
	
Edited by The_SlayerMC

Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods

Link to comment
Share on other sites

You are getting this: 

java.lang.RuntimeException: One of more entry values did not copy to the correct id. Check log for details!

 

In the github issue, moosegold mentions this error: 

Quote

Just tried with two items on my resource domain. It gave the error 'One of more entry values did not copy to the correct id. Check log for details!'
There was also this message:
Registered override did not have an associated owner object. Name: petarmormod:testing Type: net.minecraft.item.Item Value: com.moosegold.petarmormod.Item.Test2@14eaec27
I don't see anything in the log, but here it is...

 

Link to comment
Share on other sites

2 hours ago, The_SlayerMC said:

I have a crash and the only thing it relates too is the armour, cant see why it would crash

First off, Code Style Issue number 1

And all objects that have a RegistryEvent need to be initialized in the registry event as it is called prior to preInit.

Model binding also has an event ModelRegistryEvent.

Edited by Animefan8888

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

25 minutes ago, Animefan8888 said:

And all objects that have a RegistryEvent need to be initialized in the registry event as it is called prior to preInit.

Model binding also has an event ModelRegistryEvent.

Actually, all registry events are fired just after preInit (by preInit, I assume we're talking about mods' FMLPreInitializationEvent handlers being called).  So preInit handlers cannot assume that anything (blocks, items, sounds, models...) will be registered.  Any mod code that deals with anything in the registry should be done in init (FMLInitializationEvent) or later.

 

18 minutes ago, The_SlayerMC said:

Another question.

 

whats the replacement for  IExtendedEntityProperties

Capabilities.  See https://mcforge.readthedocs.io/en/latest/datastorage/capabilities/, in particular https://mcforge.readthedocs.io/en/latest/datastorage/capabilities/#migrating-from-iextendedentityproperties

Edited by desht
Link to comment
Share on other sites

24 minutes ago, desht said:

Actually, all registry events are fired just after preInit (by preInit, I assume we're talking about mods' FMLPreInitializationEvent handlers being called).

My bad, it was like that in 1.10, so I had assumed it carried over.?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

can not for the life of me get the in game textures to render, and moving this to pre init makes the model loaders load 1 every second on start up

 

https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/client/RenderHandler.java

 

[00:02:40] [main/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `summoning table`, expected `essence`. This could be a intended override, but in most cases indicates a broken mod.
	

 

has this got anything to do with it?

Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods

Link to comment
Share on other sites

26 minutes ago, The_SlayerMC said:

can not for the life of me get the in game textures to render, and moving this to pre init makes the model loaders load 1 every second on start up

Do these have your modid and then a colon at the start of them?

JourneyItems.itemNames
JourneyBlocks.blockName

 

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

3 hours ago, The_SlayerMC said:

setRegistryName(SlayerAPI.MOD_ID, name);

The answer is no, because you add them with this

JourneyItems.itemNames.add(name);

And then you call

setRegistryName(SlayerAPI.MOD_ID, name);

 

So "name" doesn't have your modid.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

By the way, if your slayer.api package is meant to ship separately so that other mod authors can write plugin mods, your API will crash:
https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/slayer/api/item/ItemMod.java#L36

It has a hard reference to your journey package.

 

What is this even used for?

https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/JourneyItems.java#L153

 

You should setup and use a gitignore file, these files:

https://github.com/TheSlayerMC/Journey-1.12/blob/master/main/java/net/journey/._JITL.java

are useless and not necessary to include in your repo.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

So wait, you made a change, it "didn't work" so you undid that change?

 

Also, why are you setting your item's registry name prefix for the Journey mod's items to the API mod's modid?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

the api isnt a actual api, ive just used it for years now and named it that, its more of a file that has a bunch of usefull methods

 

and i just made a change then and only some items are starting to show textures, 

https://github.com/TheSlayerMC/Journey-1.12/commit/7f1d2f198ce33698487643cda0cf285562c5efff 

 

but on that note, no blocks are showing up in game at all, theyre getting called in the log as registering but nothing in game, registered the same as the items and they work

Edited by The_SlayerMC

Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods

Link to comment
Share on other sites

10 hours ago, The_SlayerMC said:

and i just made a change then and only some items are starting to show textures, 

Do the assets have the registry name as their file names?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Try this in your class:

@Override
    public String getArmorTexture(ItemStack stack, Entity entity, EntityEquipmentSlot slot, String type) {
        if (slot != EntityEquipmentSlot.LEGS) {
            return modid+":textures/models/armor/"+ArmorName+"_layer_1.png";
        }else {
            return modid+":textures/models/armor/"+ArmorName+"_layer_2.png";
        }
    }

In layer_1.png there are the legs and in layer_2.png everything else of the nomal Minecraft armor.

Edited by _Cruelar_
Totally missed the point sorry

My Projects:

Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming)

 

Important:

As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts

Link to comment
Share on other sites

15 minutes ago, The_SlayerMC said:

do the .png files have to be all lower case now?

Yes. All assets need to be lowercase, except for the special scenario with the lang file.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

30 minutes ago, Animefan8888 said:

Yes. All assets need to be lowercase, except for the special scenario with the lang file.

Alright, so why wouldnt the blocks show up if they're getting registered the same as the items? theyre set to creative tabs but they have nothing in them but doesnt crash which makes me think its only something minor causing it

Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods

Link to comment
Share on other sites

2 minutes ago, The_SlayerMC said:

Alright, so why wouldnt the blocks show up if they're getting registered the same as the items? theyre set to creative tabs but they have nothing in them but doesnt crash which makes me think its only something minor causing it

What is happening exactly? Are the blocks not being textured, is it only in the world or is it happening in the inventory as well? Are their models loading? Are they in the game can you /give them to yourself?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

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



×
×
  • Create New...

Important Information

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