-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
No it would be a different world. I guess I didn't know exactly what you wanted to do. You want to through all worlds keep track of certain things? If so you will need to write to a file yourself. Forge doesn't have anything for universal persistence that I know of. Though you can use basic IO or JSON(GSON) for stuff that is loaded and saved once.
-
Wow. When did that become a thing? Also why did it become a thing? It seems a bit weird to have that in your mod during and post compilation. Is that something you would remove/exclude before compiling your mod since assets are packed into the jar file anyways?
-
Sounds like you want to use a capability. Probably a capability attached to the World.
-
assets Not Working but it's in the right section
Animefan8888 replied to TheThorneCorporation's topic in Modder Support
Just gonna recommend that you create and edit all of your project files in eclipse and if you want to copy files into your project drag and drop them into the eclipse package explorer. It saves you having to refresh the project. Also if you don't already get a JSON editor extension for eclipse from the eclipse marketplace. It is super helpful. -
This is not what you want to do. This is a much more complicated and horrible way to do what you want to do. Just make the model/blockstate files.
-
Sorry 1.7.10 forge is no longer supported here. Seeing as how it is 8 minecraft versions behind the current now.
-
[SOLVED] Minecraft won't load! || Modding Support 1.15.2
Animefan8888 replied to Anonomys's topic in Modder Support
On your github this is in your debug-1.log.gz file. This class I assume is the class for hm:chairsy does not have the facing property in it. And is causing this exception. Maybe fixing this will fix your error as it is the last thing in your debug-1.log.gz file. -
Assigning custom model location to item and block in 1.15
Animefan8888 replied to AntonBespoiasov's topic in Modder Support
You should make a model file for each even if they all point to the same stuff. This is for things like resource packs. If you make all of them point to one model then it becomes impossible for the user/resource pack maker to give each item their own texture/model. -
What diesieben said as well as if you want to automate this process you are going to have to write your own piece of code that generates those files. Which isn't that hard. You can take a look at this. I made this a while ago I don't recall if it still generates a proper blockstate, it probably doesn't, but the code should help you on your way.
-
You've come to the right place there is no tutorial out there that specific. Under what circumstances are you sending the packet? Why do you need the packet?
-
We aren't going to help you make things to make the game easier/bypass the servers kick settings for being AFK.
-
[1.14.4] How can I modify a mobs hostility?
Animefan8888 replied to skeddles's topic in Modder Support
You need to change the ai in each entity. Use the EntityJoinWorldEvent and modify EntityLiving#tasks(I think that's still the name) for the event entity. -
[1.14.4] Check if attack is fully charged
Animefan8888 replied to cinsiian's topic in Modder Support
You can't really do this because by the time the event is fired the value that determines if the hit was fully charged has already been changed. If I remember correctly. The only real way to do this is to attach a capability to players/entities that need it that tracks the cooldown just like vanilla does. -
(Forge API for 1.12.2) Remove lakes in specific biome
Animefan8888 replied to Valoeghese's topic in Modder Support
Dont multiply the chunk x and z coordinates by 16 you need to bit shift left by 4. -
[1.14.4] create ItemStack using registry name?
Animefan8888 replied to andGarrett's topic in Modder Support
The registry name is a resource location. You probably have it in String form in which case just pass it into the ResourceLocation constructor. -
Post what code you have tried.
-
How do you know this is true. Post all of your relevant code.
-
The event has a DamageSource field. The DamageSource has a method called getTrueSource which will return the Entity that caused the damage. Check if it is an instance of EntityPlayer.
-
[Solved!] [1.14.4] Item Requiring a Blockstate?
Animefan8888 replied to SimplyCmd's topic in Modder Support
Post your code preferably as a git repo -
(NEVERMIND) [1.14.4] Custom Entity not Rendering Texture
Animefan8888 replied to MineModder2000's topic in Modder Support
Ok? It's called copy and paste or if you dont like that it's called copy what's written. Also all of the rendering is done via a model which you can use any model that extends EntityModel which guess what PlayerModel does extend EntityModel. It's just the layers you have to worry about and the other functions. Also might not want to post the events. -
[1.14.4] ConcurrentModificationException looping through potions
Animefan8888 replied to Flytre's topic in Modder Support
Use an Iterator and a while loop. Also you should check if the PotionEffect has the particles so you are not changing them every tick. -
You'll also need to give it a registry name, but as long as you've made the FruitSeed class it should work.