#mod-dev-talk Tuesday 27 July 2021
91 messages6 people
- S
- J07:02The game can find the textures fine, and it is creating a block entity, so that's where I was stuck
- S07:08Will pr to your fork in a minute
- J
- S
- J
- S
- J
- S
- J
- S
- JWhen it jumps, it has a y velocity and a horizontal velocity (the first bit I sent). Then it just follows that trajectory. You could work out the landing position with a quadratic and calculate it that way12:26But basically, generic movement speed is (pretty much) directly proportional to jump distance
- S12:27But it doesn't seem to be a quadratic
- J
- S
- J
- S
- J
- S
- J
about this far(edited)if (size < 4) { this.getAttributeInstance(EntityAttributes.GENERIC_MOVEMENT_SPEED).setBaseValue(0.2F+0.1F*(float)i); } else { this.getAttributeInstance(EntityAttributes.GENERIC_MOVEMENT_SPEED).setBaseValue(0.6 + 0.02 * (float)(i - 4)); }13:24I made a swet size 30ish and it never jumped more than ten ish blocks(edited) - S
- J13:30I only changed the horizontal velocity
- S
- J
- S
- J
- S
- J13:36SlimeMoveControl isn't that complicated really, could also just make a custom SwetMoveControl
- S13:37In bed rn, but I'll work out exactly what to do tomorrow
- J
- S
- J
- A
- J
- A
- J
- A
Replying toJack PapelOkay I might be an idiot but I thought this symbol was a checkout scanner
I only just realized that that is what it is supposed to be19:18a mixer that is - J
- A
- A
Replying toJack PapelImagining it as a checkout gun is so much cooler when going to the mixed in class
Since when are checkout guns cool - J
- H
- A
- J19:21Since it's so blurred
- A19:21why do it be so crusty
- J
- A
- J
- S
- S
Replying toArchanumWoot Solly gonna solve the jumping space trash issue!! :yay:
Not solving. That would require actual pathfinding. Just improving(edited)


