-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
Cannot seem to override default entity sounds
Animefan8888 replied to MrChoke's topic in Modder Support
Don't do that. You do it exactly the same as you would for a resource pack. Put your sounds in assets.minecraft.sounds.folder.yourfile.ogg -
[1.12] Player control riding custom entity
Animefan8888 replied to Spaceboy Ross's topic in Modder Support
You've provided no such class. -
[1.12] Player control riding custom entity
Animefan8888 replied to Spaceboy Ross's topic in Modder Support
That's ridiculous, that means you are not storing your Items in variables anywhere(I assume). -
Cannot seem to override default entity sounds
Animefan8888 replied to MrChoke's topic in Modder Support
An extra if statement or two means nothing in the grand scale of an application. Yes that is what happens. If your intent is to replace the default sounds on load, then use your mod as a resource pack. Because it is one. -
Cannot seem to override default entity sounds
Animefan8888 replied to MrChoke's topic in Modder Support
You'd be wrong. However, most registries prevent modification, the only one I know of that allows removal is the IRecipe registry. Also there used to be a substitution alias system for Items and Blocks, however I knew there where some problems with it. Not sure if they worked the kinks out or just threw it in the trash to be started again. The solution to your problem is simple. Use this /*** * Raised when the SoundManager tries to play a normal sound. * * If you return null from this function it will prevent the sound from being played, * you can return a different entry if you want to change the sound being played. */ public class PlaySoundEvent extends SoundEvent -
[1.12] Player control riding custom entity
Animefan8888 replied to Spaceboy Ross's topic in Modder Support
Why are you comparing the unlocalized names of your Items and not the Items themselves? -
Cannot seem to override default entity sounds
Animefan8888 replied to MrChoke's topic in Modder Support
I'm not sure what this means. -
Then it is a bug and you cant do anything about it. Plus nowadays most normal players aren't going to use /give, they will use jei, creative mode, or a legit method of receiving the item.
-
Item Generated by ItemBlock's Model Does Not Render
Animefan8888 replied to Belial's topic in Modder Support
Post this blockstate, and show your log as well as where you register your ItemBlock models. -
I assume that the texture isn't in the right place on the entity, since you are using the vanilla models you will need to make it look like a skin for a player if you have not done this already. If you have please provide a picture of what you mean. Apply a rotation to it then, there is even a method in ModelRendered(bipedHead, etc) called renderWithRotation. And if that doesnt work use a GL rotation call.
-
The solution is to make them not null.
-
You want to change the texture for the player and edit the scale. Ok. Editing the scale is easy enough as you already found out. But you cant bind the texture you want because it is bound in the vanilla code you dont have access to. So you have to cancel the vanilla rendering which you have done and then render the player yourself with your own code, using your texture.
-
I hope the tutorial didn't tell you to set those fields to null...
-
Write the code.
-
You're causing an infinite loop of code by calling event.getRenderer().doRender.
-
Define not working
-
Define not working.
-
You did one of the three things I said.