Created
July 7, 2015 02:05
-
-
Save ElvishJerricco/c8f243d1a616a95ce5b5 to your computer and use it in GitHub Desktop.
Hit effects for PartBase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class PartBase<E extends Enum<E> & IEnumPartFactory> | |
extends TMultiPart implements JIconHitEffects { | |
... | |
@Override | |
public Cuboid6 getBounds() { | |
return getRenderBounds(); | |
} | |
@Override | |
public IIcon getBreakingIcon(Object subPart, int side) { | |
return getBrokenIcon(side); | |
} | |
@Override | |
public void addHitEffects(MovingObjectPosition hit, EffectRenderer effectRenderer) { | |
IconHitEffects.addHitEffects(this, hit, effectRenderer); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment