Skip to content

Commit

Permalink
remove deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Oct 29, 2024
1 parent 1ab1c0a commit f98b9ee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,6 @@ public static RandomSource getRandom() {
return RANDOM_SOURCE;
}

/**
* @deprecated Use {@link #addRegistryEntries(CreativeModeTab.ItemDisplayParameters, CreativeModeTab.Output, RegistryHandler)} instead
*/
@Deprecated(since = "0.105.0", forRemoval = true)
public static <T extends ItemLike> void addRegistryEntries(CreativeModeTab.Output collector, RegistryHandler<T> itemProvider) {
itemProvider.stream().forEach(supplier -> collector.accept(supplier.get()));
}

@Deprecated(forRemoval = true, since = "0.502.0-alpha.1")
public static CreativeModeTab.Builder newBuilder() {
return HELPER.newCreativeTabBuilder();
}

public static CreativeModeTab.Builder newBuilder(Component title) {
return HELPER.newCreativeTabBuilder(title);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@

public interface SparkweaveHelperService {

/**
* @deprecated use {@link SparkweaveHelperService#newCreativeTabBuilder(Component)}
*/
@Deprecated(forRemoval = true, since = "0.502.0-alpha.1")
default CreativeModeTab.Builder newCreativeTabBuilder() {
return newCreativeTabBuilder(Component.literal("SPARKWEAVE: please use the creative tab builder that takes a title component!"));
}

/**
* @see dev.upcraft.sparkweave.api.item.CreativeTabHelper
*/
Expand Down

0 comments on commit f98b9ee

Please sign in to comment.