-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
179 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/java/com/ianm1647/expandeddelight/ExpandedDelightConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.ianm1647.expandeddelight; | ||
|
||
import draylar.omegaconfig.api.Config; | ||
|
||
public class ExpandedDelightConfig implements Config { | ||
public boolean generateAsparagus = true; | ||
public boolean generateSweetPotatoes = true; | ||
public boolean generateChiliPeppers = true; | ||
public boolean generatePeanuts = true; | ||
public boolean generateCinnamonTrees = true; | ||
public boolean generateSaltOre = true; | ||
|
||
|
||
@Override | ||
public String getName() { | ||
return "expanded-delight"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/main/java/com/ianm1647/expandeddelight/item/JuiceItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.ianm1647.expandeddelight.item; | ||
|
||
import com.nhoryzon.mc.farmersdelight.item.ConsumableItem; | ||
import net.minecraft.item.Item; | ||
import net.minecraft.item.ItemStack; | ||
import net.minecraft.util.UseAction; | ||
|
||
public class JuiceItem extends ConsumableItem { | ||
public JuiceItem(Item.Settings settings) { | ||
super(settings); | ||
} | ||
|
||
public UseAction getUseAction(ItemStack stack) { | ||
return UseAction.DRINK; | ||
} | ||
} |
176 changes: 105 additions & 71 deletions
176
src/main/java/com/ianm1647/expandeddelight/registry/ItemRegistry.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters