Skip to content

Commit

Permalink
Update Vehicle javadoc and Minecart classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMorpheus committed Jun 27, 2024
1 parent 2c1a89b commit bfdcc07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@

import org.spongepowered.api.entity.Entity;

/**
* An abstract representation of a Vehicle.
*/
public interface Vehicle extends Entity {

}
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@
*/
package org.spongepowered.api.entity.vehicle.minecart;

import org.spongepowered.api.entity.vehicle.Vehicle;

/**
* Represents a Minecart.
*/
public interface Minecart extends MinecartLike, Vehicle {
public interface Minecart extends MinecartLike {

}
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@
import org.spongepowered.api.data.Keys;
import org.spongepowered.api.data.value.Value;
import org.spongepowered.api.entity.Entity;
import org.spongepowered.api.entity.vehicle.Vehicle;
import org.spongepowered.math.vector.Vector3d;

/**
* An abstract representation of a Minecart.
*/
public interface MinecartLike extends Entity {
public interface MinecartLike extends Vehicle {

/**
* {@link Keys#IS_ON_RAIL}
Expand Down

0 comments on commit bfdcc07

Please sign in to comment.