21w15a - Just a singular mapping update.

This commit is contained in:
modmuss50 2021-04-14 18:33:20 +01:00
parent 82d2b1c3ac
commit 4114fbdc82
3 changed files with 6 additions and 6 deletions

View file

@ -19,8 +19,8 @@ plugins {
def ENV = System.getenv() def ENV = System.getenv()
class Globals { class Globals {
static def baseVersion = "0.32.7" static def baseVersion = "0.32.8"
static def mcVersion = "21w14a" static def mcVersion = "21w15a"
static def yarnVersion = "+build.1" static def yarnVersion = "+build.1"
static def loaderVersion = "0.10.5+build.213" static def loaderVersion = "0.10.5+build.213"
static def preRelease = true static def preRelease = true
@ -37,7 +37,7 @@ def getSubprojectVersion(project, version) {
if (grgit == null) { if (grgit == null) {
return version + "+nogit" return version + "+nogit"
} }
MixinModelLoader
def latestCommits = grgit.log(paths: [project.name], maxCommits: 1) def latestCommits = grgit.log(paths: [project.name], maxCommits: 1)
if (latestCommits.isEmpty()) { if (latestCommits.isEmpty()) {

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-models-v0" archivesBaseName = "fabric-models-v0"
version = getSubprojectVersion(project, "0.2.1") version = getSubprojectVersion(project, "0.2.2")
moduleDependencies(project, [ moduleDependencies(project, [
'fabric-api-base' 'fabric-api-base'

View file

@ -39,7 +39,7 @@ import net.fabricmc.fabric.impl.client.model.ModelLoadingRegistryImpl;
public abstract class MixinModelLoader implements ModelLoaderHooks { public abstract class MixinModelLoader implements ModelLoaderHooks {
// this is the first one // this is the first one
@Shadow @Shadow
public static ModelIdentifier MISSING; public static ModelIdentifier MISSING_ID;
@Shadow @Shadow
private ResourceManager resourceManager; private ResourceManager resourceManager;
@Shadow @Shadow
@ -75,7 +75,7 @@ public abstract class MixinModelLoader implements ModelLoaderHooks {
@Inject(at = @At("HEAD"), method = "addModel") @Inject(at = @At("HEAD"), method = "addModel")
private void addModelHook(ModelIdentifier id, CallbackInfo info) { private void addModelHook(ModelIdentifier id, CallbackInfo info) {
if (id == MISSING) { if (id == MISSING_ID) {
//noinspection RedundantCast //noinspection RedundantCast
ModelLoaderHooks hooks = this; ModelLoaderHooks hooks = this;