ironbarrels/src/main/java/com/progwml6/ironchest/common/blocks/SilverChestBlock.java

32 lines
1.1 KiB
Java
Raw Normal View History

/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
* <p>
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package com.progwml6.ironchest.common.blocks;
2019-06-16 03:18:15 +02:00
import com.progwml6.ironchest.common.tileentity.SilverChestTileEntity;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.IBlockReader;
2019-06-16 03:18:15 +02:00
public class SilverChestBlock extends ChestBlock
{
2019-06-16 03:18:15 +02:00
public SilverChestBlock(Block.Properties properties)
{
2019-06-16 03:18:15 +02:00
super(properties, ChestType.SILVER);
}
@Override
2019-06-16 03:18:15 +02:00
public TileEntity createTileEntity(BlockState state, IBlockReader world)
{
2019-06-16 03:18:15 +02:00
return new SilverChestTileEntity();
}
}