-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
Yes, what you have there is the problem. Its against basic object oriented programming. The values you pass in to the register function aren't an instance of your Seed classes they aren't even the same instance. The code should look something like registerItems(event) event.getRegistry().register(BLACKBERRY_SEED = new FruitSeed(...)); ...
-
Your resource file structure is incorrect. you have assets/FruitBushes/... you cannot have any capitals in your resources. Why does this method even exist? When you initialize them in the event like you are supposed to. This likely messes things up somewhere. Oh fuck...what...what is this? Let's talk a bit here...First you create your seeds and store the values in the static fields at the top of the class. Good good. Then you proceed to register completely different instances and expect them to work. You didn't even use the same classes for these items. Also this totals up to 3 initializations of those items. Once in the init method called from preInit(not the proper way to do it), secondly in the registry event, and thirdly right below the second time... I have one really important suggestion. And it will help you a long way into programming. Don't start learning with making a mod. You should learn the basics of programming(kinda looks like you have to an extent). Then you should learn the language you will be writing in; in this case Java. You can do both of those at the same time. The reason I say this is that learning to program by immediately jumping in to using an API, especially Forge is not something anyone can do and is incredibly hard. I don't want you to be discouraged by this. If you want to make a mod, or if you want to learn how to program and make your own game(s) you should start small. Watch/read some tutorials on programming. Experiment by making small programs like pong, a calculator, tic-tac-toe, etc.
-
(NEVERMIND) [1.14.4] Custom Entity not Rendering Texture
Animefan8888 replied to MineModder2000's topic in Modder Support
Well only if the Client has failed to retrieve the texture associated with that account. If you look at the method you'll notice it passes it off to AbstractClientPlayerEntity#getLocationSkin which checks to see if it has the NetworkPlayerInfo and if it does it retrieves the skin from that object. You can replicate this. -
[1.12.2] Prevent time out when debugging multiplayer
Animefan8888 replied to Hunternif's topic in Modder Support
You can't stay in debug mode for a long time though you should be able to extend the time out time via the server.properties file. -
(NEVERMIND) [1.14.4] Custom Entity not Rendering Texture
Animefan8888 replied to MineModder2000's topic in Modder Support
Just look at the getEntityTexture method. That will get you the texture. -
(NEVERMIND) [1.14.4] Custom Entity not Rendering Texture
Animefan8888 replied to MineModder2000's topic in Modder Support
Look at the vanilla files. You'll notice that they need more than "minecraft" and "creeper" Take a look at PlayerRenderer. -
Collisions seem to be faulty with custom mob.
Animefan8888 replied to Androbean's topic in Modder Support
You forgot to call the super. -
(NEVERMIND) [1.14.4] Custom Entity not Rendering Texture
Animefan8888 replied to MineModder2000's topic in Modder Support
I don't think that's a texture in vanilla minecraft. This could either point to assets/minecraft/textures/player.png Or assets/minecraft/textures/entity/player.png Both of which I dont think exist. -
[1.14.4] World with custom ItemEntity stuck at loading screen
Animefan8888 replied to Wurst's topic in Modder Support
Nothing that stands out completely there would you mind posting the entirety of your EntityItemNoDespawn and Your Register<EntityType> event method. -
[1.14.4] iterate through resource locations?
Animefan8888 replied to andGarrett's topic in Modder Support
Since both blocks and therefore item blocks have 3D models and items can also be 3D; it would make more since for your buttons to hold an ItemStack and then render the ItemStack on top of the button. -
[1.14.4] iterate through resource locations?
Animefan8888 replied to andGarrett's topic in Modder Support
Let's take a step back what exactly are you trying to do. End user perspective thing. -
[1.14.4] World with custom ItemEntity stuck at loading screen
Animefan8888 replied to Wurst's topic in Modder Support
We need to see the whole log. Also what DavidM said about your mod I'd. It's not something you should consider. It's really just an action you need to take. -
I believe there is an event called RenderGameOverlayEvent. Where you can render your fires texture on the screen.
-
[1.14-newer] deprecated method onBlockActivated
Animefan8888 replied to matt1999rd's topic in Modder Support
I'm sure it does(look in the class or use your IDE to override) if it doesn't then yes use the deprecated one. -
set player attack speed not working
Animefan8888 replied to NoHaxJustLegit's topic in Modder Support
Try setting it on both the client and server. Aka remove !world.isRemote -
set player attack speed not working
Animefan8888 replied to NoHaxJustLegit's topic in Modder Support
That's because you are adding to the speed every tick... Instead of changing the base value with setBaseValue add a modifier to it. -
[1.14.4] Remove vanilla recipes and advancements
Animefan8888 replied to Yanny7's topic in Modder Support
It sounds like you'll have to remove it via code if forge is overriding your overriden recipes. -
No it's not possible. You would have to change many fundamental things in minecraft in order for it to work.
- 1 reply
-
- 1
-
[1.14.4] [SOLVED] Prevent Custom Configs From Being Removed
Animefan8888 replied to saxon564's topic in Modder Support
No it doesn't because building doesnt include the config file that is only generated when the mod runs and it isn't there. I think the only way around this is to make it an array that is there for all of your entities. Basically it cant look all fancy like it does now. Unless I'm missing something. Or of course you can always create your own system to load these. -
[1.12.2] bukkit like scheduler for forge?
Animefan8888 replied to JoelGodOfWar's topic in Modder Support
Not that I know of but you can subscribe to the ServerTickEvent and count the ticks yourself.