mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 03:15:28 +00:00
29 lines
1.0 KiB
Java
29 lines
1.0 KiB
Java
/*******************************************************************************
|
|
* Copyright (c) 2011-2014 SirSengir.
|
|
* All rights reserved. This program and the accompanying materials
|
|
* are made available under the terms of the GNU Lesser Public License v3
|
|
* which accompanies this distribution, and is available at
|
|
* http://www.gnu.org/licenses/lgpl-3.0.txt
|
|
*
|
|
* Various Contributors including, but not limited to:
|
|
* SirSengir (original work), CovertJaguar, Player, Binnie, MysteriousAges
|
|
******************************************************************************/
|
|
package forestry.lepidopterology.genetics;
|
|
|
|
import forestry.api.lepidopterology.IButterflyCocoonProvider;
|
|
|
|
public class DefaultCocoonProvider implements IButterflyCocoonProvider {
|
|
|
|
private String cocoonType;
|
|
|
|
public DefaultCocoonProvider(String cocoonType) {
|
|
this.cocoonType = cocoonType;
|
|
}
|
|
|
|
@Override
|
|
public String getCocoonTexture(int age) {
|
|
return "textures/blocks/lepidopterology/cocoons/" + cocoonType + "_" + age + ".png";
|
|
}
|
|
|
|
}
|