mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-05-28 19:53:37 +02:00
31 lines
965 B
Java
31 lines
965 B
Java
/*
|
|
* This file ("ItemFireworkBoxMinecart.java") is part of the Actually Additions mod for Minecraft.
|
|
* It is created and owned by Ellpeck and distributed
|
|
* under the Actually Additions License to be found at
|
|
* http://ellpeck.de/actaddlicense
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
*
|
|
* © 2015-2016 Ellpeck
|
|
*/
|
|
|
|
package de.ellpeck.actuallyadditions.mod.items;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.entity.EntityFireworkBoxMinecart;
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.entity.item.EntityMinecart;
|
|
import net.minecraft.world.World;
|
|
|
|
public class ItemFireworkBoxMinecart extends ItemMinecartAA{
|
|
|
|
public ItemFireworkBoxMinecart(String name){
|
|
super(name);
|
|
}
|
|
|
|
@Override
|
|
public EntityMinecart createCart(World world, double x, double y, double z){
|
|
EntityMinecart entity = new EntityFireworkBoxMinecart(world);
|
|
entity.setPosition(x, y, z);
|
|
return entity;
|
|
}
|
|
}
|