Skip to content

Instantly share code, notes, and snippets.

@ElvishJerricco
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ElvishJerricco/989073382e5872d30cbf to your computer and use it in GitHub Desktop.
Save ElvishJerricco/989073382e5872d30cbf to your computer and use it in GitHub Desktop.
Starting to implement Storage Part.
public class StoragePart extends PartBase<PartFactoryPeripherals> {
private ForgeDirection direction;
public StoragePart(ForgeDirection direction) {
this.direction = direction;
}
@Override
public PartFactoryPeripherals getPartConstructor() {
return PartFactoryPeripherals.Storage;
}
@Override
public Iterable<Cuboid6> getCollisionBoxes() {
// TODO:
return Collections.emptyList();
}
@Override
public IIcon getBrokenIcon(int side) {
// TODO:
return null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment