-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
Question about healthbar rendering [1.12.2]
Animefan8888 replied to theishiopian's topic in Modder Support
It's based on the update counter multiplied by 312871. -
Question about healthbar rendering [1.12.2]
Animefan8888 replied to theishiopian's topic in Modder Support
There is a single one unfortunately but it only happens when the health is less than or equal to 4(2 hearts). Which I assume you won't influence you too much and they also apply a seed to the random before rendering the health so it should always result in the same value. -
How to give 3D models to vanilla armors? [1.12.2]
Animefan8888 replied to Leggerrr's topic in Modder Support
-
Question about healthbar rendering [1.12.2]
Animefan8888 replied to theishiopian's topic in Modder Support
No but it doesn't seem like their motion is random. There are no calls to rand.next... You can replicate the math it all seems to be focused on the updateCounter field which is accessible Minecraft.getInstance().ingameGUI.getUpdateCounter() -
[FIXED - 1.12.2]Exception loading model for variant
Animefan8888 replied to Altyrah's topic in Modder Support
It's not finding your model file. Did you refresh your workspace after creating the file? How did you setup your workspace? Is your resources folder a source folder? -
How to give 3D models to vanilla armors? [1.12.2]
Animefan8888 replied to Leggerrr's topic in Modder Support
That won't remove them from the game entirely instead override their registry entry. By registering an Item with the same registry name. -
Rendering an overlay over the health bar [1.12.2]
Animefan8888 replied to theishiopian's topic in Modder Support
What you are doing seems appropriate. Can you post your image you are trying to render. And have you refreshed your workspace since you added it. -
Rendering an overlay over the health bar [1.12.2]
Animefan8888 replied to theishiopian's topic in Modder Support
Switch your barWidth to a constant. -
Rendering an overlay over the health bar [1.12.2]
Animefan8888 replied to theishiopian's topic in Modder Support
Instead do mc.getTextureManager().bindTexture(...) -
Rendering an overlay over the health bar [1.12.2]
Animefan8888 replied to theishiopian's topic in Modder Support
My bad. Try removing your translate call. -
Post your latest.log file it's found under run/logs You shouldn't use this interface. It is above all useless. All Items have Models. Replace this line with registerItemRenderer
-
Rendering an overlay over the health bar [1.12.2]
Animefan8888 replied to theishiopian's topic in Modder Support
Have you confirmed that your render code is executing? Is the event being called? Is the event ever have the exact fields (Does the Post event ever fire with ElementType.HEALTH)? -
No entity health is synced to the other side.
-
You would have to give it a set of all Blocks. TileEntities can have more than one block.
- 1 reply
-
- 1
-
It being able to pick up loot is never sent to the client it is all handled on the server. Then the server tells the client which Item Entities are removed. RenderWorldLastEvent is a client only event.
-
Post your code.
-
MC 1.14.4 Getting certain values from existing blocks
Animefan8888 replied to winnetrie's topic in Modder Support
Create class. public SomeBlock(Properties properties) { super(properties.hardnessAndResistance(hardness, resistance)); } -
Any living entity animation guide ? 1.12.2
Animefan8888 replied to Temps Pi's topic in Modder Support
That's up to you. Is it's use fullness worth having a dependency that users will have to download and install? Jabelar has a tutorial on animation entities here. Not sure how old it is, but it should be essentially the same thing.- 1 reply
-
- 1
-
The IBlockState is saved as an integer 0-15 on disk. It is called metadata(meta for short). The return value returns an IBlockState with the property FACING with the EnumFacing value determined by the meta interpreted as the horizontal index.
-
How to make block facing direction that i'm facing 1.12.2
Animefan8888 replied to Anonomys's topic in Modder Support
No we do not just give out code. Do you know Java? -
Trying to load custom model on a extended tnt block.
Animefan8888 replied to DeaSTl's topic in Modder Support
Ok. This points to assets/eib/stupid_tnt You probably want it to point to assets/eib/textures/blocks/stupid_tnt.png Am I right? If so new ResourceLocation("modid:textures/blocks/stupid_tnt.png") -
Trying to load custom model on a extended tnt block.
Animefan8888 replied to DeaSTl's topic in Modder Support
You need a ResourceLocation that points to the texture for your TNT.