Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. This is very important, don't use the ItemModelMesher, instead use the ModelLoader.setCustomModelResourceLocation. Second register your models in the ModelRegistryEvent. Third you can call ModelLoader.setCustomModelResourceLocation for the item * the max metadata and append a string that correlates to the sub item/metadata.
  2. No problem, and for reference on somethings forge has some documentation. Sounds are in this as well as a variety of other useful things.
  3. I believe the problem is the "/" after"apexmobs:"
  4. Is your resources folder marked as a source folder?
  5. Show an image of your package explorer.
  6. Change (in your render class) to (from RenderSnowball)
  7. Then I believe that your particleTexture field is null when you access it in your constructor.
  8. Where are you initializing ParticleManu?
  9. I'm not sure if you need to create your own IResourceManager for this(I don't really think you do, but I may be mistaken), but you can get a IResourceManager instance like so. Minecraft.getMinecraft().getResourceManager();
  10. Then again you could just make a json writer for yourself. I already made a BlockState writer. It does both the forge and vanilla BlockState jsons.
  11. No problem. I can't speak for others, but I am on here because I like helping people debug their code and help them with ideas somewhat. So you are not wasting my time.
  12. mirrorWorld.getBlockState() Gets from the mirror world. world.setBlockState(...) Sets a blockstate in the overworld Also IBlockStates are singletons so compare with ==
  13. if (!world.isRemote) { WorldServer mirrorWorld = DimensionManager.getWorld(id); // Do stuff }
  14. It has to be called from your @Mod class.
  15. Then you could probably just do DimensionManager.registerDimension(id, DimensionType.OVERWORLD), I am not sure, but that will make the WorldProvider the same so it might.
  16. Why? What you explained was that it just needs to load from an original copy of the world.
  17. Instead of creating a mirror dimension/World instance, I would say use WorldSaveDatat and the chunk loading event. On a chunks first load load the chunk into nbt and then put that nbt in a Map<ChunkPos, NBTTagCompound(or some other nbt thing)>. Then save all of this in WorldSaveData to the disk. And load it when the world loads back into the map. The map should be static and only changed and accessed on the Server side. Then you can access the Map in your Blocks class and change the Blocks according to the NBT.
  18. What is the range of the regen? One chunk the whole world? A couple blocks?
  19. I have found the fantastic called shapers which is contained in the ItemModelMesher#shapers which I had to get via reflection. i found it by looking at how GuiContainer displays items in the GUI. I then use the information to look up in a blockstate json which I will proceed to store within a map. Now the one last problem I have run into is that for non ItemBlock models I cannot apply a TRSRTransformation. So I post here in hopes that I get an answer to how I can scale it, rotate it, and translate it.
  20. No problem, I'm currently working on a way to get the in code models so I can display them on my Block so I am spending a lot of time crawling around the code, and that in it of itself is requiring a huge amount of patience I never new I had.
  21. ModelLoader was the preferred method since JSON models were introduced. well a little after aka when forge implemented it. The ItemModelMesher is Minecrafts version.
  22. On line 173 of your eAngelusItems class you are using the ItemModelMesher use ModelLoader.setCustomModelResourceLocation instead.
  23. Post your new Main Mod class and your eAngelusItems class.
  24. You need to call registerRenders in preInit not in init.
×
×
  • Create New...

Important Information

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