Everything posted by Asweez
-
Can't get Item model to work
The item is staying as a purple and black box. How do I fix it? Main: Item: ClientProxy: JSON file: test.json Path:
-
Making a new health bar
But I did 10.88 damage with my sword and the console printed out a whole number when I used entity#getHealth
- Making a new health bar
-
Making a new health bar
I want to make a new health bar that is a bar instead of hearts. I was wondering if/how I could make the health go down in smaller increments(than half hearts) because my sword does varying damage and it isn't always in half heart increments.
-
Doing more damage based on NBT
Awesome that worked thanks!
-
Doing more damage based on NBT
I'm trying to make my item do more damage than normal based on its NBT. This is what I've been trying but it makes all the entities in the world freeze. What am I doing wrong and how do I make my item do more damage based on NBT?
-
Revamp the health system
But doest the heart system run on 1-20? That would mean the only numbers being displayed are 50, 100, 150 etc. I don't want it to be multiples of 50
-
Revamp the health system
I want to turn the health system into numbers rather than hearts, for example 1000 HP instead of 10 hearts. How would I do this?
-
Making a block emit purple circles
I have a block that I want to emit a purple circle that expands out from the block every second or so. How would I do that?
-
Adding hit points to an entity
First, sorry for the barrage of questions, but I'm trying to learn as much as I can about this stuff to become a better modder. I have a vehicle that is just an entity. I want it to to have hit points that will go down when things do damage and eventually destroy that vehicle. How do I add this?
-
Two bullets shot from different points
Thanks. 1) how would I make a new vector orthogonal to the players vector? 2) would I make two new vectors orthogonal to the second vector at each end to figure out where to spawn the bullets?
-
Rotating a vector
I have some projectiles that I want to fire all at once. I want one to fire straight and the others to fire at angles from the player. I'm assuming I should use vectors to calculate these angles but I'm not sure what I do with those vectors (exactly) to rotate them so my projectiles can fire. How would I do this?
-
Two functions for one key
I have a key Z that I want to do one thing if the player is riding an entity and another if they aren't. Right now the key won't do anything, whether the player is riding an Entity or not. How do I fix this?
-
Two bullets shot from different points
I have a gun that I want to shoot two bullets: one to a little bit to the left of the player and one a bit to the right. How would I do that?
-
Two riders in one vehicle
How would I make the second rider mount my vehicle and become a second riddenBy entity?
-
Making my entity not sink in water
Is there a way to do this?
-
Multiple things happening when space is pressed
Check where
-
Multiple things happening when space is pressed
Well I did that, but then Minecraft won't jump because the vehicle jump key is registered for space instead of player jump. Is there a way around this?
-
Multiple things happening when space is pressed
I want my vehicle to "jump" when the player presses space. Would I do it with Keyboard#isKeyDown() or make a new key bind for the space key?
-
Two riders in one vehicle
Would it be possible to have two people riding one entity? (Only one would control the vehicle, the other just sits in there.)
-
Making my bullet headshot
I have a custom bullet that I want to do more damage if it head shots what it hits. How would I do so?
-
Vehicles
I want to make a vehicle that a player can ride in, shoot bullets with, and will auto jump one block. However, I have no clue where to start. Any ideas?
-
Projectile Firing faster than once per tick
Can you please give a code example because I don't know which numbers and methods to use and it's very confusing
-
Projectile Firing faster than once per tick
So I've been trying what you said and I just don't get how to do this. Could someone please give a code example of how to multiply a vector and combine that with an Entity's position please?
-
Render a cube with a texture
Of course I did
IPS spam blocked by CleanTalk.