DonBruce64 / MinecraftTransportSimulator

A Minecraft mod that adds planes and automobiles with realistic physics!
Other
107 stars 58 forks source link

[ENHANCEMENT] Make vehicle entities get an unique entity name. #1707

Closed TonySokachu closed 11 months ago

TonySokachu commented 11 months ago

Right now every MTS vehicles have an entity Identifier name that goes like this: entity.mts_entity.name(on 1.12.2) and mts.builder.existing(on 1.16.5). You can kill the vehicles by running: {"/kill @e[type=mts.builder.existing]"} but you can't summon them, because running "/summon mts.builder.existing" brings up an invisible fake entity. What i want and i'm sure more people are looking toward this feature is to be able to identify each vehicle by the name of their item: mts:packid.name ex. Item name: mts:warkvehicle.containerhandler entity name: mts:warkvehicle.containerhandler

I believe this would help servers in a big way. They could setup minigames, Races, Roleplays and so much more.

DonBruce64 commented 11 months ago

Can it be assumed what you actually want is a command to summon vehicles, not them having a unique name specificall?

TonySokachu commented 11 months ago

Can it be assumed what you actually want is a command to summon vehicles, not them having a unique name specificall?

Sorry for not responding. Yes but i requested entity names as you have multiple minecraft command, ex. kill, tp, execute if entity execute at, etc

DonBruce64 commented 11 months ago

They will not have unique names. IV registers vehicles as a single entity. Their JSON defines what they do. So no, you just get the basic names.

TonySokachu commented 11 months ago

So is the /summon command possible at least?

On Mon, Aug 28, 2023, 3:36 AM DonBruce64 @.***> wrote:

They will not have unique names. IV registers vehicles as a single entity. Their JSON defines what they do. So no, you just get the basic names.

— Reply to this email directly, view it on GitHub https://github.com/DonBruce64/MinecraftTransportSimulator/issues/1707#issuecomment-1694819466, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASAVN5X347I2VLSFADTHQ43XXPRYXANCNFSM6AAAAAA3YE7VME . You are receiving this because you authored the thread.Message ID: @.***>

DonBruce64 commented 11 months ago

If you use the right NBT, yes, you can summon a vehicle now. You don't need anything special for that.

TonySokachu commented 11 months ago

So whats the right NBG? How do we know what to put in in?

On Tue, Aug 29, 2023, 12:33 AM DonBruce64 @.***> wrote:

If you use the right NBT, yes, you can summon a vehicle now. You don't need anything special for that.

— Reply to this email directly, view it on GitHub https://github.com/DonBruce64/MinecraftTransportSimulator/issues/1707#issuecomment-1696442521, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASAVN5W7KYKRGT6ZLXOM32TXXUFBHANCNFSM6AAAAAA3YE7VME . You are receiving this because you authored the thread.Message ID: @.***>

DonBruce64 commented 11 months ago

I honestly have no clue. I don't mess with summon commands with NBT normally. Would ask one of the folks who is on servers regularly that do.

TonySokachu commented 11 months ago

So i'd have to do some research

On Wed, Aug 30, 2023, 5:58 AM DonBruce64 @.***> wrote:

I honestly have no clue. I don't mess with summon commands with NBT normally. Would ask one of the folks who is on servers regularly that do.

— Reply to this email directly, view it on GitHub https://github.com/DonBruce64/MinecraftTransportSimulator/issues/1707#issuecomment-1698414737, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASAVN5S4QJ547OG2JPQ4AH3XX2T5DANCNFSM6AAAAAA3YE7VME . You are receiving this because you authored the thread.Message ID: @.***>