mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 14:34:36 +00:00
Compiles. Update JEI.
This commit is contained in:
1 parent
0af2d25a71
commit
d37518c9f4
85 files changed
+660
-483
No files matched your search
@@ -12,6 +12,7 @@ package vazkii.botania.client.render.entity;
|
||||
|
||||
import net.minecraft.client.renderer.entity.RenderManager;
|
||||
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
|
||||
import net.minecraft.network.datasync.DataParameter;
|
||||
import vazkii.botania.client.core.handler.MiscellaneousIcons;
|
||||
import vazkii.botania.common.entity.EntitySpark;
|
||||
|
||||
@@ -21,6 +22,10 @@ public class RenderSpark extends RenderSparkBase<EntitySpark> {
|
||||
super(renderManager);
|
||||
}
|
||||
|
||||
protected DataParameter<Integer> getInvisibilityParam() {
|
||||
return EntitySpark.INVISIBILITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TextureAtlasSprite getSpinningIcon(EntitySpark entity) {
|
||||
int upgrade = entity.getUpgrade().ordinal() - 1;
|
||||
|
||||
Reference in new issue
Block a user