Everything posted by Animefan8888
-
Rendering ModelBase items
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.
-
Rendering ModelBase items
Wait, we are forgetting something pretty important. The Model Animation System.
-
Rendering ModelBase items
He can just render the arm separately in one of the Render events when the player is holding his gun(s).
-
Rendering ModelBase items
Are you capable of making your own "using animations"?(like eating or drinking).
-
Arrows not always hitting players
There is a button somewhere on your IDE.
-
Arrows not always hitting players
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).
-
Arrows not always hitting players
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
Move this down below the instance of check and change the getEntity() to getTarget()
-
Registering an Event class that extends EntityLiving
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
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
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
@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
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
Post the whole class please.
-
[1.12.2] [SOLVED] Problems With TileEntities and PropertyBools
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...);
-
Rendering ModelBase items
Maybe, but not as user friendly.
-
[1.7.10] Creating Advanced GUI with ListBox
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
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.
-
Custom ID Start
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.
Do this in the RenderGameOverlayEvent. Instead of wherever else you are doing it.
-
Remove Recipes From Other mods 1.12.2
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]
Blocks.GRASS.getDefaultState().withProperty...
-
Render a block with 3dMax model(Or .obj file)
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]
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?
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.
IPS spam blocked by CleanTalk.