Skip to content

Commit

Permalink
build: updated deps & changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Jun 5, 2024
1 parent 31c437a commit 379d6b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@

public class ModItems {
public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(FTBFilterSystemAPI.MOD_ID, Registries.ITEM);
public static final RegistrySupplier<Item> SMART_FILTER = ITEMS.register("smart_filter", SmartFilterItem::new);

public static final DeferredRegister<CreativeModeTab> TABS = DeferredRegister.create(FTBFilterSystemAPI.MOD_ID, Registries.CREATIVE_MODE_TAB);
public static final RegistrySupplier<CreativeModeTab> CREATIVE_TAB = RegistrarManager.get(FTBFilterSystemAPI.MOD_ID)
.get(Registries.CREATIVE_MODE_TAB)
.register(new ResourceLocation(FTBFilterSystemAPI.MOD_ID, "default"), ModItems::buildDefaultTab);

public static final RegistrySupplier<Item> SMART_FILTER = ITEMS.register("smart_filter", SmartFilterItem::new);

public static Item.Properties defaultProps() {
return new Item.Properties();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@

public class SmartFilterItem extends Item {
public SmartFilterItem() {
super(ModItems.defaultProps());
// .component(ModDataComponents.FILTER_STRING.get(), ""));
super(ModItems.defaultProps()
.component(ModDataComponents.FILTER_STRING.get(), "")
);
}

public static String getFilterString(ItemStack filterStack) {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ mod_version=2.1.0
maven_group=dev.ftb.mods
curseforge_id=943925

architectury_version=12.0.28
architectury_version=12.1.3

fabric_loader_version=0.15.10
fabric_api_version=0.97.8+1.20.6

forge_version=49.0.31

neoforge_version=20.6.48-beta
neoforge_version=20.6.100-beta
neoforge_loader_version=1

jei_version=17.3.0.49

0 comments on commit 379d6b2

Please sign in to comment.