package com.yolp900.itsjustacharm.reference; import com.yolp900.itsjustacharm.api.IJCConstants; import net.minecraft.util.ResourceLocation; public enum LibParticles { ConstructionTableConstruction("ConstructionTableConstruction"), Levitator("Levitator"), Levitate("Levitate"); private ResourceLocation texture; LibParticles(String texture) { this(new ResourceLocation(IJCConstants.MOD_ID, "particles/" + texture)); } LibParticles(ResourceLocation texture) { this.texture = texture; } public ResourceLocation getTexture() { return texture; } }