28 lines
561 B
Java
28 lines
561 B
Java
/*
|
|
* Copyright (C) 2018 BARBOTIN Nicolas
|
|
*/
|
|
|
|
/*
|
|
package net.montoyo.wd.client;
|
|
|
|
import net.minecraft.client.resources.model.ModelResourceLocation;
|
|
import net.minecraft.world.level.block.state.BlockState;
|
|
|
|
import javax.annotation.Nonnull;
|
|
|
|
public class StaticStateMapper {
|
|
|
|
private final ModelResourceLocation resLoc;
|
|
|
|
public StaticStateMapper(ModelResourceLocation rl) {
|
|
resLoc = rl;
|
|
}
|
|
|
|
@Override
|
|
@Nonnull
|
|
protected ModelResourceLocation getModelResourceLocation(@Nonnull BlockState state) {
|
|
return resLoc;
|
|
}
|
|
|
|
} */
|