Ultimate Car Mod

Ultimate Car Mod

14M Downloads

Summon car with name/tag

simpelMIC opened this issue ยท 6 comments

commented

Is it possible to summon a random car with a name or a Tag?
These are the commands I've tested:
/summon car:car ~ ~ ~ {CustomName:"car"}
/summon car:car ~ ~ ~ {Tags: ["car"]}
This spawns a car. But the car is invisible and when you destroy it, it doesn't drop anything.
This also happens with "Team" and "Score".

commented

You can't summon cars with names. You also can't summon cars with NBT data if you don't supply any car parts in the NBT.
Just /summon car without NBT spawns a random car.

commented

Look at the NBT data of an existing car.

commented

Ok how can you supply car parts?

commented

How exactly can I look at NBT Data from an entity?
Sry if it's a stupid question...

commented

/data get entity @e[type=car:car,limit=1,sort=nearest] gives you the data of the closest car

commented

Thx I'll try it