Upload base

This commit is contained in:
oxmc
2025-03-28 11:36:56 -04:00
commit 6e91539412
307 changed files with 21459 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
/*
* Copyright (C) 2018 BARBOTIN Nicolas
*/
package net.montoyo.wd.client;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.client.renderer.block.statemap.StateMapperBase;
import javax.annotation.Nonnull;
public class StaticStateMapper extends StateMapperBase {
private final ModelResourceLocation resLoc;
public StaticStateMapper(ModelResourceLocation rl) {
resLoc = rl;
}
@Override
@Nonnull
protected ModelResourceLocation getModelResourceLocation(@Nonnull IBlockState state) {
return resLoc;
}
}