}
private void drawContainer(Target<?> target, String trash, VectorXYZ pos){
if ("clothes".equals(trash)) {
target.drawBox(new ImmutableMaterial(Lighting.FLAT, new Color(0.82f, 0.784f, 0.75f)),
pos,
faceVector, 2, 1, 1);
} else { // "paper" || "white_glass" || "coloured_glass"
float width = 1.5f;
float height = 1.6f;
Material colourFront = null;
Material colourBack = null;
if ("paper".equals(trash)) {
colourFront = new ImmutableMaterial(Lighting.FLAT, Color.BLUE);
colourBack = new ImmutableMaterial(Lighting.FLAT, Color.BLUE);
} else if ("white_glass".equals(trash)) {
colourFront = new ImmutableMaterial(Lighting.FLAT, Color.WHITE);
colourBack = new ImmutableMaterial(Lighting.FLAT, Color.WHITE);
} else { // "coloured_glass"
colourFront = new ImmutableMaterial(Lighting.FLAT, new Color(0.18f, 0.32f, 0.14f));
colourBack = new ImmutableMaterial(Lighting.FLAT, new Color(0.39f, 0.15f, 0.11f));
}
target.drawBox(STEEL,
pos,
faceVector, height, width, width);