generated from tilera/1710mod
feat: add virtual aspects
This commit is contained in:
parent
6079bace94
commit
659b498a49
|
@ -24,7 +24,7 @@ apply from: './gradle/scripts/mixins.gradle'
|
|||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
||||
version = "1.2.0"
|
||||
version = "1.3.0"
|
||||
group= "dev.tilera"
|
||||
archivesBaseName = "auracore"
|
||||
|
||||
|
|
|
@ -20,6 +20,8 @@ public class Aspects {
|
|||
public static final Aspect FLOWER = new Aspect("flos", 0xFFFF40, new Aspect[] {Aspect.PLANT, Aspects.SOIL}, new ResourceLocation("auracore", "textures/aspects/flos.png"), 1);
|
||||
public static final Aspect FUNGUS = new Aspect("fungus", 16246215, new Aspect[] {Aspect.PLANT, Aspect.TREE}, new ResourceLocation("auracore", "textures/aspects/fungus.png"), 1);
|
||||
|
||||
public static final Aspect VIS = new VirtualAspect("vis", 9896128, new ResourceLocation("thaumcraft", "textures/aspects/praecantatio.png"), 1);
|
||||
|
||||
public static void load() {}
|
||||
|
||||
}
|
||||
|
|
13
src/main/java/dev/tilera/auracore/api/VirtualAspect.java
Normal file
13
src/main/java/dev/tilera/auracore/api/VirtualAspect.java
Normal file
|
@ -0,0 +1,13 @@
|
|||
package dev.tilera.auracore.api;
|
||||
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import thaumcraft.api.aspects.Aspect;
|
||||
|
||||
public class VirtualAspect extends Aspect {
|
||||
|
||||
public VirtualAspect(String tag, int color, ResourceLocation image, int blend) {
|
||||
super(tag, color, null, image, blend);
|
||||
Aspect.aspects.remove(tag);
|
||||
}
|
||||
|
||||
}
|
|
@ -18,4 +18,5 @@ tc.aspect.carus=Expensive, Precious, Valuable
|
|||
tc.aspect.imperito=Control, Command, Dominate
|
||||
tc.aspect.solum=Soil, Ground, Foundation
|
||||
tc.aspect.flos=Flower, Bloom, Blossom
|
||||
tc.aspect.fungus=Mushroom, Toadstool, Fungi
|
||||
tc.aspect.fungus=Mushroom, Toadstool, Fungi
|
||||
tc.aspect.vis=Vis
|
Loading…
Reference in a new issue