Upload files to "src/openonyx/features/render"
This commit is contained in:
1 parent
237fe3da04
commit
5ddac858eb
5 files changed
+333
No files matched your search
@@ -0,0 +1,38 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user