Skip to content

Commit

Permalink
properly apply mineable tag
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC committed Nov 20, 2022
1 parent 048862e commit 7a57c22
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cool.furry.mc.forge.projectexpansion.block;
package cool.furry.mc.forge.projectexpansion.item;

import cool.furry.mc.forge.projectexpansion.Main;
import cool.furry.mc.forge.projectexpansion.util.Fuel;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cool.furry.mc.forge.projectexpansion.util;

import cool.furry.mc.forge.projectexpansion.block.BlockFuelItem;
import cool.furry.mc.forge.projectexpansion.item.BlockFuelItem;
import cool.furry.mc.forge.projectexpansion.item.ItemFuel;
import cool.furry.mc.forge.projectexpansion.registries.Blocks;
import cool.furry.mc.forge.projectexpansion.registries.Items;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,11 @@ public MutableComponent getEMCLinkEMCLimitComponent() {

private void register(RegistrationType reg) {
switch (reg) {
case MATTER -> { if (hasItem)itemMatter = Items.Registry.register(String.format("%s_matter", name), () -> new Item(new Item.Properties().tab(Main.tab).rarity(rarity))); }
case MATTER -> {
if (hasItem) {
itemMatter = Items.Registry.register(String.format("%s_matter", name), () -> new Item(new Item.Properties().tab(Main.tab).rarity(rarity)));
}
}

case COLLECTOR -> {
collector = Blocks.Registry.register(String.format("%s_collector", name), () -> new BlockCollector(this));
Expand Down

0 comments on commit 7a57c22

Please sign in to comment.