use of buildcraft.core.lib.client.model.PerspAwareModelBase in project BuildCraft by BuildCraft.
the class LensPluggableModel method create.
public static PerspAwareModelBase create(ItemLens lensItem, int meta) {
LensPluggable lens = new LensPluggable(new ItemStack(lensItem, 1, meta));
ImmutableList.Builder<BakedQuad> quads = ImmutableList.builder();
VertexFormat format = DefaultVertexFormats.ITEM;
quads.addAll(INSTANCE.bakeCutout(lens.isFilter, EnumFacing.EAST, format));
quads.addAll(INSTANCE.bakeTransclucent(lens.dyeColor, lens.isFilter, EnumFacing.EAST, format));
return new PerspAwareModelBase(format, quads.build(), spriteLensCutout, getBlockTransforms());
}
use of buildcraft.core.lib.client.model.PerspAwareModelBase in project BuildCraft by BuildCraft.
the class ModelPowerAdapter method create.
public static PerspAwareModelBase create() {
ImmutableList.Builder<BakedQuad> quads = ImmutableList.builder();
VertexFormat format = DefaultVertexFormats.ITEM;
quads.addAll(INSTANCE.bakeCutout(EnumFacing.EAST, format));
return new PerspAwareModelBase(format, quads.build(), spritePowerAdapter, getBlockTransforms());
}
use of buildcraft.core.lib.client.model.PerspAwareModelBase in project BuildCraft by BuildCraft.
the class PlugPluggableModel method create.
public static PerspAwareModelBase create() {
ImmutableList.Builder<BakedQuad> quads = ImmutableList.builder();
VertexFormat format = DefaultVertexFormats.ITEM;
quads.addAll(INSTANCE.bakeCutout(EnumFacing.SOUTH, format));
return new PerspAwareModelBase(format, quads.build(), spritePlug, getPluggableTransforms());
}
use of buildcraft.core.lib.client.model.PerspAwareModelBase in project BuildCraft by BuildCraft.
the class RobotStationModel method createItemModel.
public PerspAwareModelBase createItemModel() {
ImmutableList.Builder<BakedQuad> quads = ImmutableList.builder();
VertexFormat format = DefaultVertexFormats.ITEM;
quads.addAll(INSTANCE.bakeCutout(EnumRobotStationState.Available, EnumFacing.SOUTH, format));
return new PerspAwareModelBase(format, quads.build(), baseSprite, getPluggableTransforms());
}
Aggregations