2021-10-25 01:55:17 +02:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 TeamMoeg
|
|
|
|
*
|
|
|
|
* This file is part of Steam Powered.
|
|
|
|
*
|
|
|
|
* Steam Powered is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, version 3.
|
|
|
|
*
|
|
|
|
* Steam Powered is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with Steam Powered. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2021-10-24 08:51:44 +02:00
|
|
|
package com.teammoeg.steampowered.content.flywheel;
|
2021-08-29 17:26:26 +02:00
|
|
|
|
|
|
|
import com.simibubi.create.content.contraptions.components.flywheel.FlywheelBlock;
|
|
|
|
import com.teammoeg.steampowered.registrate.SPTiles;
|
2021-12-03 17:34:27 +01:00
|
|
|
|
2022-02-01 21:00:40 +01:00
|
|
|
import net.minecraft.world.level.block.state.BlockState;
|
|
|
|
import net.minecraft.world.level.block.entity.BlockEntity;
|
|
|
|
import net.minecraft.world.level.BlockGetter;
|
|
|
|
|
|
|
|
import net.minecraft.world.level.block.state.BlockBehaviour.Properties;
|
2021-08-29 17:26:26 +02:00
|
|
|
|
2021-09-01 15:57:53 +02:00
|
|
|
public class CastIronSteamFlywheelBlock extends FlywheelBlock {
|
|
|
|
public CastIronSteamFlywheelBlock(Properties properties) {
|
2021-08-29 17:26:26 +02:00
|
|
|
super(properties);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2022-02-01 21:00:40 +01:00
|
|
|
public BlockEntity createTileEntity(BlockState state, BlockGetter world) {
|
2021-09-01 15:57:53 +02:00
|
|
|
return SPTiles.CAST_IRON_STEAM_FLYWHEEL.create();
|
2021-08-29 17:26:26 +02:00
|
|
|
}
|
|
|
|
}
|