-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
It supports multipart models and there is a doc page for it here. And there is more information in the following pages after the intro. Might be this.
-
Wait, we are forgetting something pretty important. The Model Animation System.
-
He can just render the arm separately in one of the Render events when the player is holding his gun(s).
-
Are you capable of making your own "using animations"?(like eating or drinking).
-
There is a button somewhere on your IDE.
-
Take a full look at the damage handling by setting a breakpoint in the EntityArrow class that handles the collision and then damage handling(its in the update method).
-
So is the problem that the entity isn't getting the damage animation? That has to do with the damage value and how taking damage is handled on Entities.
-
Registering an Event class that extends EntityLiving
Animefan8888 replied to Siqhter's topic in Modder Support
Move this down below the instance of check and change the getEntity() to getTarget() -
Registering an Event class that extends EntityLiving
Animefan8888 replied to Siqhter's topic in Modder Support
What error? And you aren't checking if the entity that is being right clicked is a cow or not. And why are you storing them as fields in the class and not the method? -
Registering an Event class that extends EntityLiving
Animefan8888 replied to Siqhter's topic in Modder Support
The method isChild is public there is no need to extend the entity to use it. What event are you trying to use? What are you trying to accomplish from an end user perspective? -
[1.12.2] Getting Middle of Chunk from ChunkPos
Animefan8888 replied to unassigned's topic in Modder Support
Dont multiply use the bit shift operation instead. After doing so add 8.5 to get the middle. -
Registering an Event class that extends EntityLiving
Animefan8888 replied to Siqhter's topic in Modder Support
@Siqhter You cant create a new Events instance without passing in a parameter for the world. Why are you event extending EntityLiving? -
[1.12.2] [SOLVED] Problems With TileEntities and PropertyBools
Animefan8888 replied to Spacejet's topic in Modder Support
Dont do this, this is a static initializer you shouldn't do this with any IForgeRegistryEntry object. Ie anything that has a registry event. They should be initialized in the registryEvent where you register them. -
Registering an Event class that extends EntityLiving
Animefan8888 replied to Siqhter's topic in Modder Support
Post the whole class please. -
[1.12.2] [SOLVED] Problems With TileEntities and PropertyBools
Animefan8888 replied to Spacejet's topic in Modder Support
Did you remove this like voidwaker said? Where are you instantiating(calling the constructor) for them? Also you shouldn't have a BlockBase class when you instantiate them add them to the list like so list.add(new Block(...).set...); Or even RegistryObject registry = event.getRegistry registry.register(new Block(...).set...); -
Maybe, but not as user friendly.
-
[1.7.10] Creating Advanced GUI with ListBox
Animefan8888 replied to SKProCH's topic in Modder Support
Sorry but anything below 1.9 is no longer supported on this forum due to its age. Update if you wish to receive support here. -
[1.12.2] Cosmetic Item Hand Update Animation Cancel
Animefan8888 replied to Merthew's topic in Modder Support
A using animation is an animation that happens when the player holds down right click IE drinking, eating, using a bow. Matrix probably refers to rotation, translation, etc via a custom IBakedModel or TEISR. -
They should be lined up in the order you register them. There is no way to control the numerical Id. And you shouldn't be dealing with them anyways.
-
[1.12.2] Capability on server side world for client gui.
Animefan8888 replied to Merthew's topic in Modder Support
Do this in the RenderGameOverlayEvent. Instead of wherever else you are doing it. -
Yes, recipes are in a registry in 1.12 so just create the json for it like you would for a datapack.
-
Replace Grass Blocks in World Generation [1.12.2]
Animefan8888 replied to nov4e's topic in Modder Support
Blocks.GRASS.getDefaultState().withProperty... -
Render a block with 3dMax model(Or .obj file)
Animefan8888 replied to themaw's topic in Modder Support
I've figured it out. You are loading the model too early. You need to load the model later. Either move the loading into the render method and only load it once. Or move your TESR registration code to a later initialization event. -
Replace Grass Blocks in World Generation [1.12.2]
Animefan8888 replied to nov4e's topic in Modder Support
If I'm not mistaken you would have to handle it like you would handle it for ores, but you would just get the top BlockState in the chunk then if it is a grass block replace it. -
[1.12.2] how do i run code only on the client?
Animefan8888 replied to CNKManga's topic in Modder Support
Well first you shouldn't be registering your entities like that anymore, there is a registry event for them now. And this piece of code has to happen on both the server and has nothing to do with rendering.