package openonyx.features.render; import openonyx.events.TargetType; import openonyx.history.TabbedSettingGroup; public final class BoxesPart extends TabbedSettingGroup { public final BoxesPart2 enemy; public final BoxesPart2 mobs; public final BoxesPart2 team; public final BoxesPart2 self = new BoxesPart2("Self", false, -2562832, true); private BoxesPart() { super("Targets", TargetType.e); this.enemy = new BoxesPart2("Enemy", true, -3910337, true); this.team = new BoxesPart2("Team", false, -8585312, false); this.mobs = new BoxesPart2("Mobs", false, -3105793, false); } // $VF: Unable to simplify switch on enum // Please report this to the Vineflower issue tracker, at https://github.com/Vineflower/vineflower/issues with a copy of the class file (if you have the rights to distribute it!) public BoxesPart2 L(TargetType targetType) { switch (targetType) { case SELF: while (false) { } return this.self; case ENEMY: return this.enemy; case TEAM: return this.team; case MOBS: return this.mobs; default: throw new MatchException(null, null); } } }