mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-07 07:50:27 +00:00
Fix a couple of build failures
This commit is contained in:
parent
18aee02221
commit
b6715bd812
@ -13,6 +13,7 @@ import net.minecraft.client.renderer.model.ItemOverrideList;
|
|||||||
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
|
import net.minecraft.client.renderer.texture.TextureAtlasSprite;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
import net.minecraftforge.client.model.data.EmptyModelData;
|
import net.minecraftforge.client.model.data.EmptyModelData;
|
||||||
|
import net.minecraftforge.client.model.data.IModelData;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import javax.annotation.Nonnull;
|
||||||
import javax.vecmath.Matrix4f;
|
import javax.vecmath.Matrix4f;
|
||||||
@ -44,7 +45,15 @@ public class TurtleMultiModel implements IBakedModel
|
|||||||
|
|
||||||
@Nonnull
|
@Nonnull
|
||||||
@Override
|
@Override
|
||||||
|
@Deprecated
|
||||||
public List<BakedQuad> getQuads( IBlockState state, EnumFacing side, @Nonnull Random rand )
|
public List<BakedQuad> getQuads( IBlockState state, EnumFacing side, @Nonnull Random rand )
|
||||||
|
{
|
||||||
|
return getQuads( state, side, rand, EmptyModelData.INSTANCE );
|
||||||
|
}
|
||||||
|
|
||||||
|
@Nonnull
|
||||||
|
@Override
|
||||||
|
public List<BakedQuad> getQuads( IBlockState state, EnumFacing side, @Nonnull Random rand, @Nonnull IModelData data )
|
||||||
{
|
{
|
||||||
if( side != null )
|
if( side != null )
|
||||||
{
|
{
|
||||||
|
@ -7,6 +7,9 @@
|
|||||||
-- they relied on Minecraft's character mappings. However, if CC emulators have
|
-- they relied on Minecraft's character mappings. However, if CC emulators have
|
||||||
-- taught me anything, it's that emulating LWJGL's weird key handling is nigh-on
|
-- taught me anything, it's that emulating LWJGL's weird key handling is nigh-on
|
||||||
-- impossible.
|
-- impossible.
|
||||||
|
|
||||||
|
local expect = _G["~expect"]
|
||||||
|
|
||||||
local tKeys = {}
|
local tKeys = {}
|
||||||
tKeys[32] = 'space'
|
tKeys[32] = 'space'
|
||||||
tKeys[39] = 'apostrophe'
|
tKeys[39] = 'apostrophe'
|
||||||
|
Loading…
Reference in New Issue
Block a user