Skip to content

Commit

Permalink
update dragonlib & small fix on creative tab
Browse files Browse the repository at this point in the history
  • Loading branch information
MarbleGateKeeper committed Apr 3, 2024
1 parent 4f8c52f commit b2d8bb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ parchment_version = 2023.07.23

# embedded dependency versions
mixin_extras_version = 0.2.0
create_dragon_lib_version = 1.4.2
create_dragon_lib_version = 1.4.3
create_dragon_lib_version_range = [1.4.1, 1.5.0)

# mandatory dependency versions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private List<Item> collectItems() {
while(var3.hasNext()) {
RegistryEntry<Item> entry = (RegistryEntry)var3.next();
Item item = entry.get();
if (!(item instanceof BlockItem)) {
if (!(item instanceof BlockItem) && !(item instanceof BucketItem)) {
items.add(item);
}
}
Expand All @@ -100,7 +100,7 @@ private List<Item> collectFluid() {
while(var3.hasNext()) {
RegistryEntry<ForgeFlowingFluid> entry = (RegistryEntry)var3.next();
ForgeFlowingFluid fluid = entry.get();
if (fluid.getBucket()!=Items.AIR) {
if (fluid.getBucket()!=Items.AIR && !items.contains(fluid.getBucket())) {
items.add(fluid.getBucket());
}
}
Expand All @@ -116,7 +116,6 @@ private static void filterAndOutput(CreativeModeTab.Output output, List<Item> it
if(item.toString().contains("guide")) continue;
if(item.toString().contains("blaze_burner")) continue;
if(item.toString().contains("creative_tab_icon")) continue;
if(item.toString().contains("pumpkin_pie")) continue;
output.accept(item);
}
if (Mods.isLoaded(Mods.FD))
Expand Down

0 comments on commit b2d8bb3

Please sign in to comment.