Everything posted by Animefan8888
-
Adding textures to items?
And once you have read it and possibly have questions come back and ask and I will answer.
-
[1.12.2]Recipes in 1.12.2
- Adding textures to items?
This is a link to my ModelRegistryEvent for a WIP mod if you trace it back you will see how it all comes together. I feel it might be easier than explaining it all to you with a back and forth.- Adding textures to items?
Who told you to do anything with those methods?- [1.12.2]Recipes in 1.12.2
First off this is a horrible modid Secondly is the folder path assets/bf/recipes? Edit: also is there any error in the log?- How can I add redstone components?
Does observedNeighborChange get called?- Adding textures to items?
You're passing a null item into setCustomModelResourceLocation.- Adding textures to items?
Patient: Ouch doctor it hurts Doctor: Where does it hurt. Patient: Right there Doctor: Where is there?- Adding textures to items?
Where are you calling ModelLoader.setCustom...- How can I add redstone components?
Could it possibly be the fact that the method swapBlock is called twice- Adding textures to items?
This isn't true forge will automatically append your mods modid as long as it is your mod that it is constructing, aka dont use static initializers.- Adding textures to items?
In your case 0, but some items have a magical number that allows you to differentiate between different states, or in some cases a "new item". Also dont disregard the advice of the other people especially DaemonUmbra. They know what they are talking about a lot of the time.- Adding textures to items?
If you use ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(getRegistryName(),...) then it will look for a file at assets/modid/models/item/registryname.json- Adding textures to items?
Do you have the import?- How can I add redstone components?
Define breaking. Post updated code, preferably the whole class.- Adding textures to items?
Simply put you need an item instance so new Item(...). Then you need to subscribe to the RegistryEvent.Register<Item> and register your item. Then subscribe to ModelRegistryEvent and call ModelLoader.setCustomModelResourceLocation(yourItemInstance, the metadata, and then the model location). The model location is a ModelResourceLocation. Typically it is instantiated by passing in your items registry name and then a string called inventory.- 1.10.2 Partially transparent block, forge multilayer isn't working
You are also not declaring your variants correctly in the blockstate json. Take a look at what Draco said earlier.- 1.10.2 Partially transparent block, forge multilayer isn't working
No use the name of this blockstate file.- 1.10.2 Partially transparent block, forge multilayer isn't working
Instead of backsplash_base and backsplash_bricks put the name of your blockstate file.- 1.10.2 Partially transparent block, forge multilayer isn't working
Then why are you referencing other blockstate jsons?- Exported Minecraft Mod > Can't join Multiplayer
This is not a forum to help out with non-forge projects seeing as how this is The Minecraft Forge Modding Support Fourm.- Creating subtitels
Then dont just say you're new to programming in general, it isn't clear what you mean. For items override Item#addInformation(). For blocks override Block#addInformation().- Exported Minecraft Mod > Can't join Multiplayer
Check this out.- [Unsolved][1.12.2] Problem on spawning one-per-player-entity spawned by item
Save its uuid- [Unsolved][1.12.2] Problem on spawning one-per-player-entity spawned by item
You're still not saving a reference to the entity, your creating a new entity every time. - Adding textures to items?
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.