-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix failing builds due to Vintagium (#2521)
- Loading branch information
1 parent
ec6b70e
commit 6734d8c
Showing
4 changed files
with
37 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/api/java/me/jellysquid/mods/sodium/client/render/chunk/passes/BlockRenderPass.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package me.jellysquid.mods.sodium.client.render.chunk.passes; | ||
|
||
/** | ||
* Adapted and minimized from <a href="https://github.com/Asek3/sodium-1.12/blob/12.x/forge/src/main/java/me/jellysquid/mods/sodium/client/render/chunk/passes/BlockRenderPass.java">BlockRenderPass.java</a> | ||
*/ | ||
public enum BlockRenderPass { | ||
; | ||
|
||
public static BlockRenderPass[] VALUES; | ||
public static int COUNT; | ||
} |
14 changes: 14 additions & 0 deletions
14
src/api/java/me/jellysquid/mods/sodium/client/util/BufferSizeUtil.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package me.jellysquid.mods.sodium.client.util; | ||
|
||
import net.minecraft.util.BlockRenderLayer; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
/** | ||
* Adapted and minimized from <a href="https://github.com/Asek3/sodium-1.12/blob/12.x/forge/src/main/java/me/jellysquid/mods/sodium/client/util/BufferSizeUtil.java">BufferSizeUtil.java</a> | ||
*/ | ||
public class BufferSizeUtil { | ||
|
||
public static final Map<BlockRenderLayer, Integer> BUFFER_SIZES = new HashMap<>(); | ||
} |
12 changes: 12 additions & 0 deletions
12
src/api/java/me/jellysquid/mods/sodium/client/util/EnumUtil.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package me.jellysquid.mods.sodium.client.util; | ||
|
||
import net.minecraft.util.BlockRenderLayer; | ||
|
||
/** | ||
* Adapted and minimized from <a href="https://github.com/Asek3/sodium-1.12/blob/12.x/forge/src/main/java/me/jellysquid/mods/sodium/client/util/EnumUtil.java">EnumUtil.java</a> | ||
*/ | ||
public class EnumUtil { | ||
|
||
public static BlockRenderLayer[] LAYERS = BlockRenderLayer.values(); | ||
|
||
} |