/* * 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 . */ package com.teammoeg.steampowered.content.engine; import com.teammoeg.steampowered.SPConfig; import com.teammoeg.steampowered.registrate.SPBlocks; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.entity.BlockEntityType; public class BronzeSteamEngineTileEntity extends SteamEngineTileEntity { public BronzeSteamEngineTileEntity(BlockEntityType type) { super(type); } @Override public Block getFlywheel() { return SPBlocks.BRONZE_FLYWHEEL.get(); } @Override public float getGeneratingCapacity() { return SPConfig.COMMON.bronzeFlywheelCapacity.get(); } @Override public float getGeneratingSpeed() { return SPConfig.COMMON.bronzeFlywheelSpeed.get(); } @Override public int getSteamConsumptionPerTick() { return SPConfig.COMMON.bronzeFlywheelSteamConsumptionPerTick.get(); } @Override public int getSteamStorage() { return SPConfig.COMMON.bronzeFlywheelSteamStorage.get(); } }