Skip to content

Commit

Permalink
Fixed minor API errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocelot5836 committed Nov 22, 2024
1 parent f0c6e72 commit 6869eaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static RenderStateShard.OutputStateShard outputState(Supplier<AdvancedFbo> frame
* @param patchVertices The number of vertices per patch
* @return A new patch state
*/
static PatchStateShard patchState(int patchVertices) {
static RenderStateShard patchState(int patchVertices) {
return new PatchStateShard(patchVertices);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public record PatchesLayer(int patchVertices) implements RenderTypeLayer {

public static final MapCodec<PatchesLayer> CODEC = Codec.intRange(1, Integer.MAX_VALUE)
.fieldOf("patch_vertices")
.fieldOf("patchVertices")
.xmap(PatchesLayer::new, PatchesLayer::patchVertices);

@Override
Expand Down

0 comments on commit 6869eaa

Please sign in to comment.