Class Vehicles.VehicleComponent

java.lang.Object
net.risingworld.api.definitions.Vehicles.VehicleComponent
Enclosing class:
Vehicles

public final class Vehicles.VehicleComponent extends Object
  • Field Details

    • id

      public short id
    • name

      public String name
      Name of the component
    • type

      public Vehicles.Component type
    • optional

      public boolean optional
      If true, the vehicle can also operate without this component
    • relateditem

      public Items.ItemDefinition relateditem
      Item that represents this component
    • compatiblevehicles

      public Vehicles.VehicleDefinition[] compatiblevehicles
      Array of compatible vehicles
  • Method Details

    • synchronize

      public void synchronize()