Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ jobs:
with:
java-version: 21
java-vendor: temurin
use-self-runner: false
use-self-runner: false
check-formatting: true
18 changes: 18 additions & 0 deletions .github/workflows/check-local-changes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check Local Changes

on:
pull_request:
types:
- synchronize
- opened

jobs:
check-local-changes:
name: Check Local Changes
uses: ApexStudios-Dev/.github/.github/workflows/_check-local-changes.yml@master
secrets: inherit
with:
java-version: 21
java-vendor: temurin
use-self-runner: false
check-formatting: true
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id("apex-conventions.neoforge") version "0.1.82"
id("apex-conventions.maven-publishing") version "0.1.82"
id("apex-conventions.neoforge") version "0.1.83"
id("apex-conventions.maven-publishing") version "0.1.83"
id("apex-conventions.immaculate") version "0.1.83"
}

group = "dev.apexstudios"
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/apexstudios/registree/api/Registree.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
import net.neoforged.neoforge.registries.NeoForgeRegistries;
import org.apache.commons.lang3.ArrayUtils;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.Nullable;
import org.jspecify.annotations.Nullable;

/// Base interface for all Registree types
///
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@org.jspecify.annotations.NullMarked
package dev.apexstudios.registree.api.holder;
2 changes: 2 additions & 0 deletions src/main/java/dev/apexstudios/registree/api/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@org.jspecify.annotations.NullMarked
package dev.apexstudios.registree.api;
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
import net.neoforged.neoforge.registries.DeferredHolder;
import net.neoforged.neoforge.registries.RegisterEvent;
import org.apache.commons.lang3.function.Consumers;
import org.jetbrains.annotations.Nullable;
import org.jspecify.annotations.Nullable;

public class SimpleRegistree implements Registree {
protected final String namespace;
Expand All @@ -77,7 +77,8 @@ public class SimpleRegistree implements Registree {
private final Set<ResourceKey<? extends Registry<?>>> registered = Sets.newHashSet();
private final Set<ResourceKey<? extends Registry<?>>> finalized = Sets.newHashSet();
private boolean frozen = false;
@Nullable private IEventBus modBus = null;
@Nullable
private IEventBus modBus = null;
private Consumer<IEventBus> delayedEventRegistration = Consumers.nop();

public SimpleRegistree(String namespace) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@org.jspecify.annotations.NullMarked
package dev.apexstudios.registree.impl;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@org.jspecify.annotations.NullMarked
package dev.apexstudios.registree.impl.type;
Loading