Skip to content

Commit

Permalink
Added cat default variants
Browse files Browse the repository at this point in the history
  • Loading branch information
nyuppo committed Apr 19, 2024
1 parent af2c40c commit ce2bb25
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions src/main/java/com/github/nyuppo/config/Variants.java
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,24 @@ public static String[] splitVariant(String namespacedVariant) {
)));

defaultVariants = new HashMap<EntityType<?>, ArrayList<MobVariant>>();
defaultVariants.put(EntityType.CAT, new ArrayList<>(List.of(
new MobVariant(new Identifier("all_black"), 1)
.addModifier(new MoonPhaseModifier(0.9f)),
new MobVariant(new Identifier("black"), 1),
new MobVariant(new Identifier("british_shorthair"), 1),
new MobVariant(new Identifier("calico"), 1),
new MobVariant(new Identifier("jellie"), 1),
new MobVariant(new Identifier("persian"), 1),
new MobVariant(new Identifier("ragdoll"), 1),
new MobVariant(new Identifier("red"), 1),
new MobVariant(new Identifier("siamese"), 1),
new MobVariant(new Identifier("tabby"), 1),
new MobVariant(new Identifier("white"), 1),
new MobVariant(MoreMobVariants.id("doug"), 1),
new MobVariant(MoreMobVariants.id("gray_tabby"), 1),
new MobVariant(MoreMobVariants.id("handsome"), 1),
new MobVariant(MoreMobVariants.id("tortoiseshell"), 1)
)));
defaultVariants.put(EntityType.CHICKEN, new ArrayList<>(List.of(
new MobVariant(MoreMobVariants.id("midnight"), 1),
new MobVariant(MoreMobVariants.id("amber"), 2),
Expand Down Expand Up @@ -431,13 +449,6 @@ public static String[] splitVariant(String namespacedVariant) {
.addModifier(new BreedingResultModifier(MoreMobVariants.id("striped"), MoreMobVariants.id("woods"), 0.5d))

)));
/*
new MobVariant(MoreMobVariants.id("german_shepherd"), 1)
.addModifier(new BreedingResultModifier(
MoreMobVariants.id("husky"),
MoreMobVariants.id("jupiter"),
0.5))
*/
defaultVariants.put(EntityType.ZOMBIE, new ArrayList<>(List.of(
new MobVariant(MoreMobVariants.id("alex"), 2),
new MobVariant(MoreMobVariants.id("ari"), 1),
Expand Down

0 comments on commit ce2bb25

Please sign in to comment.