Skip to content

Commit

Permalink
Add Beetroot
Browse files Browse the repository at this point in the history
  • Loading branch information
TWME-TW committed Dec 19, 2023
1 parent 595dd0a commit fd62b16
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/cm/ptks/craftflowers/flower/FlowerRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,13 @@ public class FlowerRegistry {
new AgingFlower(Material.CARROT, Messages.FLOWER.CARROT, Material.CARROTS, 7)
)));

registerFlower(new FlowerGroup(Material.BEETROOT,Messages.FLOWER.BEETROOT, Arrays.asList(
new AgingFlower(Material.BEETROOT,Messages.FLOWER.BEETROOT,Material.BEETROOTS,0),
new AgingFlower(Material.BEETROOT,Messages.FLOWER.BEETROOT,Material.BEETROOTS,1),
new AgingFlower(Material.BEETROOT,Messages.FLOWER.BEETROOT,Material.BEETROOTS,2),
new AgingFlower(Material.BEETROOT,Messages.FLOWER.BEETROOT,Material.BEETROOTS,3)
)));

registerFlower(new Flower(Material.PUMPKIN_SEEDS,Messages.FLOWER.ATTACHED_PUMPKIN_STEM,Material.ATTACHED_PUMPKIN_STEM));

registerFlower(new FlowerGroup(Material.PUMPKIN_SEEDS,Messages.FLOWER.PUMPKIN_STEM,Arrays.asList(
Expand Down
1 change: 1 addition & 0 deletions src/main/java/cm/ptks/craftflowers/languages/Messages.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ public final static class FLOWER {
public static final String WHEAT = "FLOWER.WHEAT";
public static final String POTATO = "FLOWER.POTATO";
public static final String CARROT = "FLOWER.CARROT";
public static final String BEETROOT = "FLOWER.BEETROOT";
public static final String ATTACHED_PUMPKIN_STEM = "FLOWER.ATTACHED_PUMPKIN_STEM";
public static final String PUMPKIN_STEM = "FLOWER.PUMPKIN_STEM";
public static final String ATTACHED_MELON_STEM = "FLOWER.ATTACHED_MELON_STEM";
Expand Down
7 changes: 7 additions & 0 deletions src/main/resources/lang/en_us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,13 @@ FLOWER:
CARROT_6: "§2Carrot"
CARROT_7: "§2Carrot"

BEETROOT: "§2Beetroot"
BEETROOT_AGE:
BEETROOT_0: "§2Beetroot"
BEETROOT_1: "§2Beetroot"
BEETROOT_2: "§2Beetroot"
BEETROOT_3: "§2Beetroot"

ATTACHED_PUMPKIN_STEM: "§2Attached Pumpkin Stem"

PUMPKIN_STEM: "§2Pumpkin Stem"
Expand Down
7 changes: 7 additions & 0 deletions src/main/resources/lang/zh_tw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,13 @@ FLOWER:
CARROT_6: "§2胡蘿蔔"
CARROT_7: "§2胡蘿蔔"

BEETROOT: "§2Beetroot"
BEETROOT_AGE:
BEETROOT_0: "§2Beetroot"
BEETROOT_1: "§2Beetroot"
BEETROOT_2: "§2Beetroot"
BEETROOT_3: "§2Beetroot"

ATTACHED_PUMPKIN_STEM: "§2Attached Pumpkin Stem"

PUMPKIN_STEM: "§2Pumpkin Stem"
Expand Down

0 comments on commit fd62b16

Please sign in to comment.