-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
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.
-
[1.12] [Solved] Custom sound unable to play, "empty soundEvent"
Animefan8888 replied to Lyeoj's topic in Modder Support
No problem, and for reference on somethings forge has some documentation. Sounds are in this as well as a variety of other useful things. -
[1.12] [Solved] Custom sound unable to play, "empty soundEvent"
Animefan8888 replied to Lyeoj's topic in Modder Support
I believe the problem is the "/" after"apexmobs:" -
ResourceLocation not working, getting purple & black texture
Animefan8888 replied to Babbaj's topic in Modder Support
Is your resources folder marked as a source folder? -
ResourceLocation not working, getting purple & black texture
Animefan8888 replied to Babbaj's topic in Modder Support
Show an image of your package explorer. -
[1.11.2] EntityThrowable only Renders Partly?
Animefan8888 replied to HalestormXV's topic in Modder Support
Change (in your render class) to (from RenderSnowball) -
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.
-
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.
-
mirrorWorld.getBlockState() Gets from the mirror world. world.setBlockState(...) Sets a blockstate in the overworld Also IBlockStates are singletons so compare with ==
-
if (!world.isRemote) { WorldServer mirrorWorld = DimensionManager.getWorld(id); // Do stuff }
-
It has to be called from your @Mod class.
-
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.
-
Why? What you explained was that it just needs to load from an original copy of the world.
-
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.
-
What is the range of the regen? One chunk the whole world? A couple blocks?
-
Adding an Items IBakedModel to a custom Blocks IBakedModel
Animefan8888 replied to Animefan8888's topic in Modder Support
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. -
[1.11.2] Proper Way to Do SubItems Textures Issue
Animefan8888 replied to HalestormXV's topic in Modder Support
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. -
[1.11.2] Proper Way to Do SubItems Textures Issue
Animefan8888 replied to HalestormXV's topic in Modder Support
ModelLoader was the preferred method since JSON models were introduced. well a little after aka when forge implemented it. The ItemModelMesher is Minecrafts version. -
[1.11.2] Proper Way to Do SubItems Textures Issue
Animefan8888 replied to HalestormXV's topic in Modder Support
On line 173 of your eAngelusItems class you are using the ItemModelMesher use ModelLoader.setCustomModelResourceLocation instead. -
[1.11.2] Proper Way to Do SubItems Textures Issue
Animefan8888 replied to HalestormXV's topic in Modder Support
Post your new Main Mod class and your eAngelusItems class. -
[1.11.2] Proper Way to Do SubItems Textures Issue
Animefan8888 replied to HalestormXV's topic in Modder Support
You need to call registerRenders in preInit not in init.