Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package de.unicacity.cars;
- import org.bukkit.World;
- import org.bukkit.craftbukkit.v1_10_R1.CraftWorld;
- import net.minecraft.server.v1_10_R1.EntityMinecartRideable;
- public class EntityCar extends EntityMinecartRideable
- {
- public EntityCar(World world, double X, double Y, double Z) {
- super(((CraftWorld)world).getHandle());
- this.setPosition(X, Y, Z);
- }
- public void turnYaw(float degrees)
- {
- this.yaw = degrees;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement