Skip to content

Commit

Permalink
make some constructors private instead
Browse files Browse the repository at this point in the history
  • Loading branch information
screret committed Aug 16, 2024
1 parent 151c4fa commit 6a318d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ public class FluidProperty implements IMaterialProperty<FluidProperty>, FluidSto
@Setter
private FluidStorageKey primaryKey = null;

@ApiStatus.Internal
public FluidProperty(@NotNull FluidStorageImpl storage, @Nullable FluidStorageKey primaryKey) {
private FluidProperty(@NotNull FluidStorageImpl storage, @Nullable FluidStorageKey primaryKey) {
this.storage = storage;
this.primaryKey = primaryKey;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ public FluidStorageImpl() {
this.map = new Object2ObjectOpenHashMap<>();
}

@ApiStatus.Internal
public FluidStorageImpl(Map<FluidStorageKey, FluidEntry> map) {
private FluidStorageImpl(Map<FluidStorageKey, FluidEntry> map) {
this.map = map;
}

Expand Down

0 comments on commit 6a318d8

Please sign in to comment.