Skip to content

Commit

Permalink
hide internal protected members
Browse files Browse the repository at this point in the history
  • Loading branch information
deirn committed Aug 6, 2024
1 parent ce6a8ac commit 77c4fb5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/api/java/mcp/mobius/waila/api/data/FluidData.java
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ public interface FluidDescriptionContext<T extends Fluid> {
@ApiStatus.OverrideOnly
public interface CauldronDescriptor {

@Nullable FluidData getCauldronFluidData(BlockState state);
@Nullable
FluidData getCauldronFluidData(BlockState state);

}

Expand Down Expand Up @@ -333,8 +334,10 @@ public interface PlatformTranslator<T> {

// -----------------------------------------------------------------------------------------------------------------------------------------------

/** @hidden */
protected abstract PlatformTranslator<Object> translator();

/** @hidden */
protected abstract void implAdd(Fluid fluid, DataComponentPatch data, double stored, double capacity);

}
1 change: 1 addition & 0 deletions src/api/java/mcp/mobius/waila/api/data/ItemData.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public ItemData ensureSpace(int length) {

// -----------------------------------------------------------------------------------------------------------------------------------------------

/** @hidden */
protected final ArrayList<ItemStack> items = new ArrayList<>();

}
5 changes: 5 additions & 0 deletions src/api/java/mcp/mobius/waila/api/data/ProgressData.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,13 @@ public ProgressData ensureOutputSpace(int length) {

// -----------------------------------------------------------------------------------------------------------------------------------------------

/** @hidden */
protected final ArrayList<ItemStack> input = new ArrayList<>();

/** @hidden */
protected final ArrayList<ItemStack> output = new ArrayList<>();

/** @hidden */
protected IntFunction<ItemStack> inventory;

@ApiStatus.Internal
Expand Down

0 comments on commit 77c4fb5

Please sign in to comment.