#Turn any build into a vehicle
1 messages · Page 1 of 1 (latest)
HOW
WHAT
Turn any build into a vehicle
"it's pretty simple actually" -MumboJumbo
Yeah
holy shit
is there a limit of size? and did you hard code each block or..?
did you use righthand bones to display the blocks?
Is each block an entity?
I've seen something like this, but for ship😮
Can you show more?
Can you cease this charade of mystery, the people must know
we shall know the truth
1 entity for 1 block
good idea but if the player make a vehicule with 300 blocks ☠️
Cmon you can tell us. Some of us are adults :)
With this, true boats become a reality
Not like the yee-yee shrunken paddle-driven cardboard boxes we have now
Alright I feel like I should specify some things. 1. Each block MUST be their own entity to properly maintain the collision of a block. 2. Yes this will most likely kill your device. I'm making a limit on how big it can be. gonna have different options. 3. If the ship or whatever you built is not being used, it will automatically turn back into blocks.
The point is so you can make a build, have the build turn into a vehicle, and then back to a build
Currently, how big you can build and where in the world is hard coded. I'm working on making it to where you can build it wherever
ah okay, gl
How are you rendering each block? Are they holding the block as an item
some guy made something like this before, i think phantom frames it was called?
it was a custom item frame which could display blocks placed in it
@ripe mason who made these phantom frames was kind enough to let us know that they used entities which held the block in their hand
I did that trick when trying to make custom falling blocks
It was fun throwing grass in the air
yeah, i used this method to make a scuffed item physics add-on with scripts
@vapid salmonso how exactly are you making the blocks work?
Guess he lost it ||the issue|| again
Are you using the stackable component or barrier blocks?
So it's barriers
Man why won't you tell us 😭
Nice to see another attack helicopter, anyway is there a way I could get a beta of this?
Also real flying end ships when?
When I can figure out how to make it buildable anywhere lol. Rn I need specific coordinates
issue is trying to get the north-west corner while making it user friendly
Boat runtime_identifier maybe?
Ah heck no!
or shulker xd
Those don't work well without supporting blocks
Shulker
what about the blocks rotation
@vapid salmon what do cross shaped blocks look like?
what about block permutations in stairs, slabs and such?
they work but are set in one direction
you could make a smooth elevator with these collisions
Imma do it now
😄
with execute command maybe you can detect block properties
and detect block rotation
if my memory is not bad, is
execute if block ~ ~ ~ minecraft:log[PROPERTY]
let me check from a wiki
check here
the state is minecraft:facing_direction
ok cool. I'll take a look
@vapid salmon Beta APIs?
yea
you can use .remove() since 1.20.30 so that entities will not have that kill effect and sound
Im using the beta apis but the stable version
1.4.0-beta.1.20.10-stable
.remove() isn't showing in the typings
👍
Will you be able to move it like a horse like in this video in the future?
Would be much cooler than ui
woah!
(Not my addon btw)
what addon is it?
Someone making 'Eureka!' for Minecraft bedrock?
Gimme this addon!
Iirc it's called mhafy boat, just search mhafy
Can you give me his discord invite? His mcpedl links aren't showing up
Go to modbay
Alright
Yes. Still working on that
Ayo, I can't wait for the eureka and create mod port lmao
It doesn't seem to work. Is this updated to the most current version?
¯\_(ツ)_/¯
Fixed it. To get this to work on 1.20.10+ just change a 3 to a 4
working on that, lol
@vapid salmon when we'll be able to test it
i want source code! just to increase my knowledge
he is converting blocks into a static entity
Apparently the entity is solid while moving unlike Mahfy's ship.
This was the challenging part of the code
how so
Cuz I had to figure out how to give the build very specific hitboxes without ruining the size and shape of them
oh
using runtime identifier
u can do that
example: boat, shulker
But there's issues with both of these options. (Shulkers teleport when they aren't connected to a block, boats aren't fully solid)
Bedrock entity code weird.
the teleportation thing be fixed
my english it's not my best srry, i mean, u can fix that
the teleport
how
if the entitys are solid and the boat is moving the player will fly off the boat, I suggested that he applys negative knockback on the player though I don't know if that would work, and he said but that wouldn't allow them to jump on the boat
You don't technically fly off the ship, you ride on an entity.
Which is connected to the ship.
yeah, but if he were to remove that, add collision and let people walk on the boat while moving they would fly off
Yeah that would make sense. Just make walls I guess.
I wonder if he making the entitys pull on the player using applyImpulse prevent that
like would make them not fly off the boat
Idk. Mahfy just uses rideable entities to prevent that