mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-25 14:24:40 +00:00
Begin updating Mantle to 1.14.2! Lots of things are broken again sadly :/
This commit is contained in:
1 parent
75faf82159
commit
e0b30fdf33
58 files changed
+436
-439
No files matched your search
@@ -2,8 +2,7 @@ package slimeknights.mantle.client;
|
||||
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.model.BakedQuad;
|
||||
import net.minecraft.client.renderer.model.ItemCameraTransforms;
|
||||
@@ -26,7 +25,7 @@ public class ModelHelper {
|
||||
public static final TRSRTransformation BLOCK_THIRD_PERSON_RIGHT;
|
||||
public static final TRSRTransformation BLOCK_THIRD_PERSON_LEFT;
|
||||
|
||||
public static TextureAtlasSprite getTextureFromBlockstate(IBlockState state) {
|
||||
public static TextureAtlasSprite getTextureFromBlockstate(BlockState state) {
|
||||
return Minecraft.getInstance().getBlockRendererDispatcher().getBlockModelShapes().getTexture(state);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user