Skip to content

Commit

Permalink
Bump kubejs
Browse files Browse the repository at this point in the history
  • Loading branch information
LLytho committed Jul 22, 2024
1 parent 6b26c3e commit 2ded8ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning].

- /

## [3.0.3] - 2024-07-22

- Bump kubejs version

## [3.0.2] - 2024-07-16

- Add quick way to negate simple `ItemFilter`s like tag or id filter by using `!`, e.g. `!#c:tools`
Expand Down Expand Up @@ -273,7 +277,9 @@ We are now on 1.18.2!
[unreleased]: https://github.com/AlmostReliable/lootjs/compare/1.18...HEAD

[3.0.2]: https://github.com/AlmostReliable/lootjs/releases/tag/v1.21-neoforge-3.0.2

[3.0.1]: https://github.com/AlmostReliable/lootjs/releases/tag/v1.21-neoforge-3.0.1

[3.0.0]: https://github.com/AlmostReliable/lootjs/releases/tag/v1.21-neoforge-3.0.0

[2.10.3]: https://github.com/AlmostReliable/lootjs/releases/tag/v1.18-2.10.3
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ modDescription = Modify loot through KubeJS.
# Common
minecraftVersion = 1.21
neoforgeVersion = 21.0.75-beta
kubejsVersion = 2100.7.0-build.79
kubejsVersion = 2100.7.0-build.96

# Github
githubUser = AlmostReliable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ public class BasicWrapper {
.of(HolderSet.class)
.withParams(TypeInfo.of(EntityType.class));

public static BlockFilter ofBlockFilter(Object o) {
public static BlockFilter ofBlockFilter(RegistryAccessContainer registries, Object o) {
if (o instanceof BlockFilter bf) {
return bf;
}

BlockStatePredicate bsp = BlockStatePredicate.of(o);
BlockStatePredicate bsp = BlockStatePredicate.of(registries, o);
return new BlockFilter() {
@NotNull
@Override
Expand Down

0 comments on commit 2ded8ea

Please sign in to comment.