-
Notifications
You must be signed in to change notification settings - Fork 43
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
38 changed files
with
95 additions
and
1,486 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
83 changes: 0 additions & 83 deletions
83
src/main/java/net/id/paradiselost/commands/LoreCommand.java
This file was deleted.
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
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
31 changes: 7 additions & 24 deletions
31
src/main/java/net/id/paradiselost/items/ParadiseLostItemGroups.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 |
---|---|---|
@@ -1,36 +1,19 @@ | ||
package net.id.paradiselost.items; | ||
|
||
import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroup; | ||
import net.id.paradiselost.ParadiseLost; | ||
import net.id.paradiselost.blocks.ParadiseLostBlocks; | ||
import net.minecraft.item.ItemGroup; | ||
import net.minecraft.item.ItemStack; | ||
|
||
public class ParadiseLostItemGroups { | ||
public static final ItemGroup PARADISE_LOST_BUILDING_BLOCKS = build( | ||
ParadiseLost.locate("building_blocks"), | ||
() -> new ItemStack(ParadiseLostBlocks.HIGHLANDS_GRASS)); | ||
|
||
public static final ItemGroup PARADISE_LOST_DECORATIONS = build( | ||
ParadiseLost.locate("decorations"), | ||
() -> new ItemStack(ParadiseLostBlocks.CHERINE_LANTERN)); | ||
private static final ItemGroup ITEM_GROUP = FabricItemGroup.builder(ParadiseLost.locate("building_blocks")) | ||
.icon(() -> new ItemStack(ParadiseLostBlocks.HIGHLANDS_GRASS)) | ||
.entries((context, entries) -> { | ||
entries.add(ParadiseLostItems.LEVITA_BRICK); | ||
}).build(); | ||
|
||
public static final ItemGroup PARADISE_LOST_TOOLS = build( | ||
ParadiseLost.locate("tools"), | ||
() -> new ItemStack(ParadiseLostItems.OLVITE_PICKAXE)); | ||
|
||
public static final ItemGroup PARADISE_LOST_FOOD = build( | ||
ParadiseLost.locate("food"), | ||
() -> new ItemStack(ParadiseLostItems.BLACKCURRANT)); | ||
|
||
public static final ItemGroup PARADISE_LOST_RESOURCES = build( | ||
ParadiseLost.locate("resources"), | ||
() -> new ItemStack(ParadiseLostItems.CHERINE)); | ||
|
||
public static final ItemGroup PARADISE_LOST_MISC = build( | ||
ParadiseLost.locate("misc"), | ||
() -> new ItemStack(ParadiseLostItems.LORE_BOOK)); | ||
|
||
public static final ItemGroup PARADISE_LOST_WEARABLES = build( | ||
ParadiseLost.locate("wearables"), | ||
() -> new ItemStack(ParadiseLostItems.OLVITE_CHESTPLATE)); | ||
public static void init() {} | ||
} |
Oops, something went wrong.