#How to convert

1 messages · Page 1 of 1 (latest)

zealous urchin
#

Witam, musisz stworzyć resourcepack, do którego dodasz model pojazdu potem w konfiguracji wtyczki ustawiasz stworzony przez siebie pojazd

vivid pendant
#

aha

#

co w sytuacji gdy nie działa pojazd dodany w plikach pluginu?

zealous urchin
#

to pewnie źle coś skonfigurowałes

vivid pendant
#

owner please dont delete this post

sinful pulsar
#

Ok

vivid pendant
#

is not done

vivid pendant
zealous urchin
vivid pendant
#

a XD

#

własny txt

#

nie doczytałem

vivid pendant
#

how im name folder with my textures car?

#

@sinful pulsar

#

can you help?

vivid pendant
#

o co chodzi

#
[01:09:22 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'vehicle' in plugin MTVehicles v2.5.3
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchCommand(CraftServer.java:987) ~[paper-1.20.1.jar:git-Paper-196]
at org.bukkit.craftbukkit.v1_20_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[paper-1.20.1.jar:git-Paper-196]
at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:265) ~[paper-1.20.1.jar:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:324) ~[?:?]
at net.minecraft.commands.Commands.performCommand(Commands.java:308) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2354) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$21(ServerGamePacketListenerImpl.java:2314) ~[?:?]
at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1338) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1315) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1308) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1286) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1174) ~[paper-1.20.1.jar:git-Paper-196]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.20.1.jar:git-Paper-196]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because "skins" is null
at nl.mtvehicles.core.infrastructure.vehicle.VehicleUtils.createAndGetItemByUUID(VehicleUtils.java:193) ~[MTVehicles.jar:?]
at nl.mtvehicles.core.commands.vehiclesubs.VehicleGiveCar.execute(VehicleGiveCar.java:37) ~[MTVehicles.jar:?]
at nl.mtvehicles.core.infrastructure.models.MTVSubCommand.onExecute(MTVSubCommand.java:54) ~[MTVehicles.jar:?]
at nl.mtvehicles.core.commands.VehicleSubCommandManager.execute(VehicleSubCommandManager.java:69) ~[MTVehicles.jar:?]
at nl.mtvehicles.core.infrastructure.models.MTVCommand.onCommand(MTVCommand.java:21) ~[MTVehicles.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
... 23 more
#
# ---- WARNING! ----
# Do NOT edit this file if you already have vehicles in game (this does not apply to prices). A critical bug might occur.
#
# Should you need help or have any questions, contact us:
# https://mtvehicles.nl

voertuigen:
  - name: "tak" # Name of the vehicle category
    vehicleType: CAR # See info below...
    skinItem: DIAMOND_HOE
    itemDamage: 1300 # This is the damage you chose earlier, but undivided by 1562!
    benzineEnabled: true # Whether this vehicle needs fuel to operate
    kofferbakEnabled: true # Whether this vehicle has a trunk
    hornEnabled: true # Whether horn can be used
    maxHealth: 250.0 # Maximum health of vehicle - used if vehicleDamage is enabled in config.yml
    acceleratieSpeed: 0.012 # Acceleration speed
    maxSpeed: 0.67 # Maximum speed
    brakingSpeed: 0.03 # Braking speed
    aftrekkenSpeed: 0.005 # Friction
    rotateSpeed: 8 # Rotation speed
    maxSpeedBackwards: 0.35 # Maximum speed backwards
    seats:
  - x: 0.0
    y: -1.0
    z: 0.0
  - x: -1.0
    y: -1.0
    z: 0.0
    cars:
  - name: "My blue custom vehicle" # Name of the colour variant
    SkinItem: DIAMOND_HOE
    itemDamage: 1300 # Damage=Texture used by the vehicle
    uuid: ABC12345 # UNIQUE UUID
  - name: "My yellow custom vehicle"
    SkinItem: DIAMOND_HOE
    itemDamage: 1301
    uuid: CBA54321
zealous urchin