#Change entity speed
1 messages · Page 1 of 1 (latest)
So like when you click or use that item, it decreases the entity speed?
That's how it should be, but it doesn't work that way
Maybe add a component groups with different movement speed of the entity
Example:
"hc:normal_speed": {
"minecraft:movement": {
"value": 0.025
}
},
"hc:decrease_speed1": {
"minecraft:movement": {
"value": 0.02
}
},
"hc:decrease_speed2": {
"minecraft:movement": {
"value": 0.015
}
},
"hc:decrease_speed3": {
"minecraft:movement": {
"value": 0.010
}
},
"hc:decrease_speed4": {
"minecraft:movement": {
"value": 0.005
}
},
"hc:decrease_speed5": {
"minecraft:movement": {
"value": 0.0
}
},
Well, I thought so, but then it turns out that I can't use the item indefinitely?
Wdym? Do it disappears after you consume it?
Did you use "minecraft:on_use" component on the item? Or did you add a scoreboard to count how many the player clicked the item?
I just want a person to be able to craft an infinite number of items, and if you use this item on my mob, its speed will decrease by 0.05 and its HP by 2. And so you can use it indefinitely
no. This item is just blank
Got it. Tell me what's the default movement speed of the entity and the max of decreasing it's speed
default - 0.1, decrease speed - 0.005
and the health?
2 hearts
@eager magnet
@eager magnet