Skip to content

Commit d936f70

Browse files
Port to 1.21.2 (Expected to support 1.21.3)
1 parent 4c38c73 commit d936f70

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

common/src/main/java/me/pandamods/pandalib/client/render/PLRenderType.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@
1717
import net.minecraft.Util;
1818
import net.minecraft.client.renderer.RenderType;
1919
import net.minecraft.resources.ResourceLocation;
20+
import net.minecraft.util.TriState;
2021

2122
import java.util.function.Function;
2223

2324
public class PLRenderType extends RenderType {
2425
public static final Function<ResourceLocation, RenderType> CUTOUT_MESH_ENTITY = Util.memoize((resourceLocation) -> {
2526
CompositeState compositeState = CompositeState.builder()
2627
.setShaderState(RENDERTYPE_ENTITY_CUTOUT_SHADER)
27-
.setTextureState(new TextureStateShard(resourceLocation, false, false))
28+
.setTextureState(new TextureStateShard(resourceLocation, TriState.FALSE, false))
2829
.setTransparencyState(NO_TRANSPARENCY).setLightmapState(LIGHTMAP).setOverlayState(OVERLAY)
2930
.createCompositeState(true);
3031
return create("cutout_mesh_entity", DefaultVertexFormat.NEW_ENTITY, VertexFormat.Mode.TRIANGLES, 1536,

common/src/main/java/me/pandamods/pandalib/resource/AssimpResources.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ public static Animation getAnimation(ResourceLocation resourceLocation) {
6565
}
6666

6767
@Override
68-
public @NotNull CompletableFuture<Void> reload(PreparationBarrier preparationBarrier, ResourceManager resourceManager,
69-
ProfilerFiller preparationsProfiler, ProfilerFiller reloadProfiler,
70-
Executor backgroundExecutor, Executor gameExecutor) {
68+
public CompletableFuture<Void> reload(PreparationBarrier preparationBarrier, ResourceManager resourceManager,
69+
Executor backgroundExecutor, Executor gameExecutor) {
7170
List<AIScene> scenes = new ObjectArrayList<>();
7271

7372
Map<ResourceLocation, Model> models = new Object2ObjectOpenHashMap<>();

gradle.properties

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ java_version = 21
33

44
#### Minecraft ####
55

6-
minecraft_version = 1.21
6+
minecraft_version = 1.21.2
77
supported_mod_loaders = fabric,neoforge
88

9-
fabric_version = 0.16.4
10-
fabric_api_version = 0.102.0+1.21
11-
fabric_version_range = >=1.21 <1.22
9+
fabric_version = 0.16.9
10+
fabric_api_version = 0.106.1+1.21.2
11+
fabric_version_range = >=1.21.2 <1.22
1212

13-
neoforge_version = 21.0.167
14-
neoforge_version_range = [1.21,1.22)
13+
neoforge_version = 21.2.1-beta
14+
neoforge_version_range = [1.21.2,1.22)
1515

1616
parchment_minecraft_version = 1.21
17-
parchment_version = 2024.07.28
17+
parchment_version = 2024.11.10
1818

1919
#### Mod ####
2020

@@ -40,18 +40,18 @@ project_github_repo = PandaMods-Dev/PandaLib
4040
## publishing ##
4141
publishing_dry_run = false
4242

43-
publishing_minecraft_version = 1.21
43+
publishing_minecraft_version = 1.21.2
4444

4545
# Uncomment the next line to publish to versions in the range of 'publishing_minecraft_version'
4646
# and 'publishing_latest_minecraft_version'
47-
publishing_latest_minecraft_version = 1.21.1
47+
publishing_latest_minecraft_version = 1.21.3
4848

4949
# 0 = STABLE | 1 = BETA | 2 = ALPHA
5050
publishing_release_type = 1
5151

5252
#### Mods Dependencies ####
53-
deps_modmenu_version = 11.0.1
54-
deps_architectury_version = 13.0.8
53+
deps_modmenu_version = 12.0.0-beta.1
54+
deps_architectury_version = 14.0.4
5555

5656
#### Dependencies ####
5757
deps_lwjgl_version = 3.3.3

0 commit comments

Comments
 (0)