Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
Draft 1.20.3 Cosmetic Selections
Browse files Browse the repository at this point in the history
  • Loading branch information
gmitch215 committed Dec 9, 2023
1 parent 2cc1221 commit fbb2cf6
Showing 1 changed file with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
package me.gamercoder215.starcosmetics.wrapper.cosmetics;

import com.google.common.collect.ImmutableMap;
import me.gamercoder215.starcosmetics.api.cosmetics.*;
import me.gamercoder215.starcosmetics.util.selection.CosmeticSelection;

import java.util.List;
import java.util.Map;

import static me.gamercoder215.starcosmetics.wrapper.cosmetics.CosmeticSelections.getForVersion;
import static me.gamercoder215.starcosmetics.wrapper.cosmetics.CosmeticSelections.join;

final class CosmeticSelections1_20_R3 implements CosmeticSelections {

private static final Map<Cosmetic, List<CosmeticSelection<?>>> SELECTIONS = ImmutableMap.<Cosmetic, List<CosmeticSelection<?>>>builder()
.put(BaseTrail.PROJECTILE_TRAIL, getForVersion(BaseTrail.PROJECTILE_TRAIL, "1_20"))
.put(BaseTrail.GROUND_TRAIL, getForVersion(BaseTrail.GROUND_TRAIL, "1_20"))
.put(BaseTrail.SOUND_TRAIL, getForVersion(BaseTrail.SOUND_TRAIL, "1_20"))

.put(BaseShape.ALL, getForVersion(BaseShape.ALL, "1_20"))

.put(BaseHat.NORMAL, getForVersion(BaseHat.NORMAL, "1_20"))
.put(BaseHat.ANIMATED, getForVersion(BaseHat.ANIMATED, "1_20"))

.put(BaseGadget.INSTANCE, getForVersion(BaseGadget.INSTANCE, "1_20"))

.put(BaseCape.NORMAL, getForVersion(BaseCape.NORMAL, "1_20"))
.put(BaseCape.ANIMATED, getForVersion(BaseCape.ANIMATED, "1_20"))
.build();

@Override
public Map<Cosmetic, List<CosmeticSelection<?>>> getAllSelections() {
return SELECTIONS;
}

}

0 comments on commit fbb2cf6

Please sign in to comment.