Everything posted by Animefan8888
-
[1.12][SOLVED] Meta Items / Variants
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"
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"
I believe the problem is the "/" after"apexmobs:"
-
ResourceLocation not working, getting purple & black texture
Is your resources folder marked as a source folder?
-
ResourceLocation not working, getting purple & black texture
Show an image of your package explorer.
-
[1.11.2] EntityThrowable only Renders Partly?
Change (in your render class) to (from RenderSnowball)
-
[1.12] [Solved] Adding Custom Particle Effects with Custom Texture
Then I believe that your particleTexture field is null when you access it in your constructor.
-
[1.12] [Solved] Adding Custom Particle Effects with Custom Texture
And where do you call that at?
-
[1.12] [Solved] Adding Custom Particle Effects with Custom Texture
Where are you initializing ParticleManu?
-
[1.12] [Solved] Adding Custom Particle Effects with Custom Texture
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();
-
Creating Mirror dimension of Overworld
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.
-
Creating Mirror dimension of Overworld
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.
-
Creating Mirror dimension of Overworld
mirrorWorld.getBlockState() Gets from the mirror world. world.setBlockState(...) Sets a blockstate in the overworld Also IBlockStates are singletons so compare with ==
-
Creating Mirror dimension of Overworld
if (!world.isRemote) { WorldServer mirrorWorld = DimensionManager.getWorld(id); // Do stuff }
-
Creating Mirror dimension of Overworld
It has to be called from your @Mod class.
-
Creating Mirror dimension of Overworld
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.
-
Creating Mirror dimension of Overworld
Why? What you explained was that it just needs to load from an original copy of the world.
-
Creating Mirror dimension of Overworld
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.
-
Creating Mirror dimension of Overworld
What is the range of the regen? One chunk the whole world? A couple blocks?
-
Adding an Items IBakedModel to a custom Blocks IBakedModel
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
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
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
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
Post your new Main Mod class and your eAngelusItems class.
-
[1.11.2] Proper Way to Do SubItems Textures Issue
You need to call registerRenders in preInit not in init.
IPS spam blocked by CleanTalk.