
EverythingGames
Forge Modder-
Posts
388 -
Joined
-
Last visited
Everything posted by EverythingGames
-
Is it possible to overwrite another mod's textures?
EverythingGames replied to TheDoctorSoda's topic in Modder Support
Hi I believe that mods are loaded in alphabetical order according to their names (not modid's). This was always a trick to get arround certain mod incompatibility issues for the mod users. Correct me if I'm wrong. -
[1.8] Errors while trying to make an Item
EverythingGames replied to Hardc0r3Br0n3's topic in Modder Support
Nothing really. @coolAlias has tutorials on his GitHub repository, impressive I must say, though I dislike the way he registers his items and its renders. It's personal preference, really, if done correctly. -
[1.7.10] Display random message on Item Right Click
EverythingGames replied to laserflip's topic in Modder Support
Hi Make pre-made messages as strings, create a random int and switch the int. For whatever case the int was, display the message. Simple, really. -
Glad I could help! If you need anymore assistance, just let me know.
-
BTW if your item is not a sword or axe, you shouldn't be extending ItemSword or ItemAxe, even if those classes are an instance of the Item class(they extend Item). If your item is a plain old item, simply extend Item. You probably already know this, its just that I've seen so many people do this before!
-
Hi Create basic items in whatever class your using to register your items in, register your renders in your client proxy, set your item properties in your item constructor or registry, have your items extend ItemSword, ItemAxe, etc. Control what your item does by overriding the Item class' methods such as onItemRightClick(args). Basically all I told you to do was to create new items, plenty of tutorials on that out there. Hope it goes well for you!
-
Hi Actually you could find all the mobs in the game, look up all the sounds for them, save them somewhere, then load them whenever your interacting with that entity. I hope I'm not misunderstanding.
-
[SOLVED] [1.8] Override ItemRenderer Help
EverythingGames replied to EverythingGames's topic in Modder Support
Thanks everyone for the help, I'm just going to wait for the next Minecraft update, as they said they are majorly refactoring their code (probably removing obfuscated methods, params, etc.). Plus they are working on the rendering of a left hand so they must've cleared up the rendering code there. Nevertheless, I'll figure it out some way or another, again thanks for all the help, I'm going to close the topic by locking it and marking it as solved. -
[SOLVED] [1.8] Override ItemRenderer Help
EverythingGames replied to EverythingGames's topic in Modder Support
Knowing Java isn't the problem, I have that knowledge. Rendering on the other hand is something I need to learn more, rather a lot more, I myself am better with more functionality in code rather than the output in-game (rendering). Anyway, I really want this arm rendered with my model so bad! -
[SOLVED] [1.8] Override ItemRenderer Help
EverythingGames replied to EverythingGames's topic in Modder Support
Here's what I've tried: public class NewItemRenderer implements IFlexibleBakedModel { //Yes @Override public boolean isAmbientOcclusion() { return true; } //Yes @Override public boolean isGui3d() { return true; } @Override public boolean isBuiltInRenderer() { return false; //Built In Renderer? } @Override public TextureAtlasSprite getTexture() { return null; //Icon texture but 3D in first person? } @Override public ItemCameraTransforms getItemCameraTransforms() { return null; //Cannot return Transform Type? } @Override public List<BakedQuad> getFaceQuads(EnumFacing side) { return null; //Return? } @Override public List<BakedQuad> getGeneralQuads() { return null; //Return? } @Override public VertexFormat getFormat() { return null; //Return? } } I really appreciate your help! -
[SOLVED] [1.8] Override ItemRenderer Help
EverythingGames replied to EverythingGames's topic in Modder Support
Let's go back to what you said earlier - to render the arm with your model. My model is a .json item model, I need the arm to be rendered with it so that it appears the player is holding the item. Is this even possible with a .json model? Should I revert to techne and draw the model using regular code? It seems so simple, yet its not. -
[SOLVED] [1.8] Override ItemRenderer Help
EverythingGames replied to EverythingGames's topic in Modder Support
Instead of making the arm a part of my model, how would I go about stopping the arm from de-rendering when an item is held? This is done in the vanilla map, as the player is holding the map with the hands rendered both right and left. I know how to translate / rotate / scale the arm in first person, I just need to know how to "keep" the arm when I am holding my item. -
[SOLVED] [1.8] Override ItemRenderer Help
EverythingGames replied to EverythingGames's topic in Modder Support
Can this interface, when implemented, be used to render the arm while holding an item? I looked at the methods and I am a bit confused at what this interface is purposely for, I haven't really heard of this before. Sorry if I was unclear, and thanks so much for the reply, I haven't had much help on this subject. -
Hi How would you override the method renderItemInFirstPerson(float f) in the ItemRenderer class to render items differently?
-
[1.8] [UNSOLVED] GUI ArrayIndexOutOfBoundsException Error
EverythingGames replied to TheDogePwner's topic in Modder Support
Hi The problem is in your TileNuclearBoiler class. Some array is wrong there. -
[1.7.10] Showing player's arm while holding a specific item.
EverythingGames replied to mGamer426's topic in Modder Support
No problem man, I'm glad a I could help. With all the hype for this API because of some bigger mods using it I think I'll make some tutorials for it! -
Hi I am so close to getting this done, its just that I am stuck now and have been trying everything for over 8 hours. I have got my modified arm to render correctly, but when I switch to an item the arm's rendering is stopped and the item is then rendered. How does the map render the arms while still holding the item? What I want is for the arm and the item to be rendered together. What method causes the arm to stop rendering and start rendering the current equipped item? I believe its a function in the ItemRenderer class. Thanks all in advance!
-
[1.7.10] Showing player's arm while holding a specific item.
EverythingGames replied to mGamer426's topic in Modder Support
This dependency is not necessarily a bad one, though. It invokes the compatibility with other mods, that is just a mere one of its purposes. It is a very powerful and extremely useful API not only for third person, but for first person and compatibility issues as well. The vanilla renders are so complicated because I myself can't tell whether the first person render is controlled in the ItemRenderer class or the RenderPlayer / ModelPlayer class. Most fields and methods are private and there are too many obfuscated names that when this topic is brung up, there's usually no definate solution it seems like. I still want to try to do this in vanilla though! Wish me luck! -
Hi Look at the vanilla classes for the paintings if you haven't already, and I believe there is an error with your entity spawning code.
-
[1.7.10] Showing player's arm while holding a specific item.
EverythingGames replied to mGamer426's topic in Modder Support
If you want to replace the arm itself, extend the ModelPlayerBase and override its methods instead.