blob: 81e2d9999964e35f01ae0fd356814db9acec7420 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package gtPlusPlus.plugin.villagers.block;
import gtPlusPlus.plugin.villagers.tile.TileEntityGenericSpawner;
import net.minecraft.block.BlockMobSpawner;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
public class BlockGenericSpawner extends BlockMobSpawner {
public BlockGenericSpawner () {
}
/**
* Returns a new instance of a block's tile entity class. Called on placing the block.
*/
public TileEntity createNewTileEntity(World world, int meta)
{
return new TileEntityGenericSpawner(meta);
}
}
|