Everything posted by Asweez
-
[1.7.10] EntityPotion Particles?
Oh ok I looked into the code for playAuxSFX and it will actually spawn those particles along with playing the sound. Just look at how it spawns the potion effect particles in RenderGlobal to see how to spawn them yourself.
-
[1.7.10] EntityPotion Particles?
Umm, that block of code plays a sound effect. That doesn't define any textures. Textures would be defined in the Renderer for your entity. Look at how snowballs render to see how that works. As for custom sounds, look up how to use custom sounds in your mod. Then on the onImpact method of your EntityThrowable play that sound.
-
Using CTMLib
No one is just going to give you code for your mod. You have to write the code.
-
Using External Libraries in my mod
That doesn't work either...
-
Beginning forge modding
Two pointers: 1) I suggest that you learn how to make basic mods first and learn all of the basics before you start all of this stuff because you will probably be lost otherwise. It is extremely helpful to have experience. 2) What exactly are you trying to do with your clearlag function? Be specific in what you are trying to do so we can help you. And just to be clear, this is not a forum where people will just give you code and essentially make your mod for you, we help to you to figure it out yourself.
-
Using External Libraries in my mod
Ok I've done some more testing and tweaking, but still no luck. I found that the error is that shadowJar can't find Gradle's JavaPlugin class. Here is my build.gradle, what am I doing wrong?
-
Using External Libraries in my mod
Is the relocate necessary? If so, how do I know the name of the thing I relocate, because the jar you relocate (relocate 'name') is not the same as the maven identifier.
-
Using External Libraries in my mod
So when I build it, I get this error: Here is my build.grade: Not sure what the error is.
-
Using External Libraries in my mod
Bump
-
Using External Libraries in my mod
Is this the maven identifier? compile group: 'edu.cmu.sphinx', name: 'sphinx4-core', version:'5prealpha-SNAPSHOT' compile group: 'edu.cmu.sphinx', name: 'sphinx4-data', version:'5prealpha-SNAPSHOT'
-
Using External Libraries in my mod
Thanks! What is the maven identifier?
-
Using External Libraries in my mod
So just throwing the libs into the folder then compressing it and renaming to make it a jar didn't work, if there was another way that I was supposed to do it let me know. As for shadowJar, does the example from Edit 2 show and example of how to use shadowJar? I can't interpret the stuff in build.gradle, it just makes no sense to me, so could you explain it? Thanks
-
Using External Libraries in my mod
No it's not a @Mod, and I want to include it in my compiled mod.
-
[1.9] Entity only first spawned entity visible
Look at the Minecraft fireball and how that renders, that should give you an good idea of how to render your fireball.
-
Using External Libraries in my mod
Ok I did that, but still nothing. I right clicked on Minecraft, then Properties, then added JARs to libraries, under Java Build Path. I have a libs folder in my root folder and both jar files are there, but I get the same error. Would I possibly need to add anything in the mcmod file? What am I doing wrong?
-
Using External Libraries in my mod
Bump
-
Using External Libraries in my mod
Tried doing that, didn't work. Still get NoClassDefFound error
-
Using External Libraries in my mod
Do I reference those things by putting them in the java build path for Minecraft?
-
Using External Libraries in my mod
Do you mean the folder that contains src/main or the src/main/Java/com/stuffandthings?
-
Using External Libraries in my mod
The thing is that there are so many required classes that I have to basically copy the entire library. But several of the necessary classes need Apache Commons math classes. So I would have to use those too (and those use a bunch of stuff from the rest of the math library). But if I add this sphinx core and data jar files to the java build path, everything works fine. So do I copy all those classes into my project or is there another way?
-
Using External Libraries in my mod
I use Sphinx4 in my mod and I don't know how to get it to be included in the builded jar file for my mod. Whenever I run the jar I get a NoClassDefFoundError for one of the classes from the library. How do I make my mod reference the jar and build it with the mod?
-
Give an Item to the Player when they spawn
I want to give the player an item when they first join a world and not any time after that, but there doesn't seem to be an event for that. EntityConstructing event is called before the player's inventory is initialized, so I can't add anything to that. PlayerLoggedIn is called every time they log in, not only the first time. How do I do this?
-
[1.7.10]Flipping an entity with RenderLivingEvent
Oh ok
-
[1.7.10]Flipping an entity with RenderLivingEvent
Could I just have an isFlipped property in the IExtendedEntityProperties that is set to true when the entity has the potion and false when is doesn't? Then the client would get the isFlipped property and determine whether or not to flip it.
-
Attack Selected Entity
But how does the player specify which entity to attack through the AI?
IPS spam blocked by CleanTalk.