Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinhong11 committed Oct 12, 2024
1 parent 41153cd commit 04b75c8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.mmmjjkx</groupId>
<artifactId>BetterChests</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0</version>
<packaging>jar</packaging>

<name>BetterChests</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ public class BCItemStacks {
public static final ItemStack LOCATION_RECORDER = new CustomItemStack(Material.COMPASS, "&aLocation Recorder", "&bShift + Right-click to record location", "&bRight-click to open the corresponding machine");
public static final ItemStack CHEST_COLOR_CHANGER = new CustomItemStack(Material.AMETHYST_SHARD, "&aChest Color Changer", "&aRight-click to change the color of the BC chest", "&aShift + Right-click to cycle through colors", "", "&dCurrent color: &6NoColor", "", LoreBuilder.powerCharged(0, 200));

public static final ItemStack CHEST_DISASSEMBLER = new CustomItemStack(Material.YELLOW_CONCRETE, "&cChest Disassembler", LoreBuilder.powerBuffer(128), LoreBuilder.powerPerSecond(16));
public static final ItemStack CHEST_DISASSEMBLER = new CustomItemStack(Material.YELLOW_CONCRETE, "&cChest Disassembler", "&e&lDisassemble BC chests", LoreBuilder.powerBuffer(128), LoreBuilder.powerPerSecond(16));
}
2 changes: 1 addition & 1 deletion src/main/java/me/mmmjjkx/betterChests/items/BCItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

public class BCItems {
public static final LocationRecorder LOCATION_RECORDER = new LocationRecorder(
new SlimefunItemStack("LOCATION_RECORDER", BCItemStacks.LOCATION_RECORDER),
new SlimefunItemStack("BC_LOCATION_RECORDER", BCItemStacks.LOCATION_RECORDER),
RecipeType.ENHANCED_CRAFTING_TABLE,
new ItemStack[]{
null, SlimefunItems.SYNTHETIC_SAPPHIRE.clone(), null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import io.github.thebusybiscuit.slimefun4.api.items.SlimefunItemStack;
import io.github.thebusybiscuit.slimefun4.api.recipes.RecipeType;
import io.github.thebusybiscuit.slimefun4.core.attributes.RecipeDisplayItem;
import me.mmmjjkx.betterChests.BCGroups;
import me.mmmjjkx.betterChests.items.BCItems;
import me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer;
Expand All @@ -13,7 +14,7 @@
import java.util.ArrayList;
import java.util.List;

public class ChestDisassembler extends AContainer {
public class ChestDisassembler extends AContainer implements RecipeDisplayItem {
public ChestDisassembler(SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe) {
super(BCGroups.MAIN, item, recipeType, recipe);

Expand Down Expand Up @@ -108,7 +109,7 @@ protected void registerDefaultRecipes() {
}

@Override
public List<ItemStack> getDisplayRecipes() {
public @NotNull List<ItemStack> getDisplayRecipes() {
List<ItemStack> items = new ArrayList<>();

List<MachineRecipe> recipes = getMachineRecipes();
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: BetterChests
version: '1.0-SNAPSHOT'
version: '${project.version}'
main: me.mmmjjkx.betterChests.BetterChests
api-version: '1.18'
depend: ["Slimefun"]
depend: ["Slimefun"]
author: "mmmjjkx"

0 comments on commit 04b75c8

Please sign in to comment.