Files
SeedCracker-1.14.4/src/main/java/kaptainwutax/seedcracker/render/Cube.java
T
2019-12-31 19:47:06 -05:00

27 lines
581 B
Java

package kaptainwutax.seedcracker.render;
import net.minecraft.client.util.math.Vector4f;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Vec3i;
public class Cube extends Cuboid {
public Cube() {
this(BlockPos.ORIGIN, new Vector4f(1.0f, 1.0f, 1.0f, 1.0f));
}
public Cube(BlockPos pos) {
this(pos, new Vector4f(1.0f, 1.0f, 1.0f, 1.0f));
}
public Cube(BlockPos pos, Vector4f color) {
super(pos, new Vec3i(1, 1, 1), color);
}
@Override
public BlockPos getPos() {
return this.start;
}
}