auracore/src/main/java/com/jadarstudios/developercapes/cape/AbstractCape.java
Timo Ley d9a56272f7
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
fix: structure nodes sometimes generate at bedrock
2023-02-07 19:18:28 +01:00

42 lines
903 B
Java

/**
* DeveloperCapes by Jadar
* License: MIT License
* (https://raw.github.com/jadar/DeveloperCapes/master/LICENSE)
* version 4.0.0.x
*/
package com.jadarstudios.developercapes.cape;
import net.minecraft.client.renderer.texture.ITextureObject;
import net.minecraft.util.ResourceLocation;
/**
* Abstract Implementation of ICape used within Dev. Capes
*
* @author jadar
*/
public abstract class AbstractCape implements ICape {
protected String name;
protected ITextureObject texture;
protected ResourceLocation location;
public AbstractCape(String name) {
this.name = name;
}
public AbstractCape() {}
@Override
public String getName() {
return name;
}
@Override
public ITextureObject getTexture() {
return this.texture;
}
@Override
public ResourceLocation getLocation() {
return this.location;
}
}