Refactor package

This commit is contained in:
yuesha-yc 2021-10-23 23:51:44 -07:00
parent bd47b1ab28
commit b3a2316db9
No known key found for this signature in database
GPG key ID: 009D79A802D4ED01
28 changed files with 45 additions and 52 deletions

View file

@ -1,11 +1,11 @@
package com.teammoeg.steampowered.block;
package com.teammoeg.steampowered.content.alternator;
import com.simibubi.create.content.contraptions.base.DirectionalKineticBlock;
import com.simibubi.create.content.contraptions.base.IRotate;
import com.simibubi.create.foundation.block.ITE;
import com.simibubi.create.foundation.utility.VoxelShaper;
import com.teammoeg.steampowered.block.SPShapes;
import com.teammoeg.steampowered.registrate.SPTiles;
import com.teammoeg.steampowered.tileentity.AlternatorTileEntity;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.item.BlockItemUseContext;

View file

@ -1,11 +1,10 @@
package com.teammoeg.steampowered.tileentity;
package com.teammoeg.steampowered.content.alternator;
import com.simibubi.create.AllBlocks;
import com.simibubi.create.content.contraptions.base.KineticTileEntity;
import com.simibubi.create.foundation.utility.Lang;
import com.teammoeg.steampowered.SPConfig;
import com.teammoeg.steampowered.SteamPowered;
import com.teammoeg.steampowered.block.AlternatorBlock;
import com.teammoeg.steampowered.item.Multimeter;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.tileentity;
package com.teammoeg.steampowered.content.alternator;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.tileentity.TileEntity;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.block.boiler;
package com.teammoeg.steampowered.content.boiler;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;

View file

@ -1,8 +1,8 @@
package com.teammoeg.steampowered.tileentity.boiler;
package com.teammoeg.steampowered.content.boiler;
import com.simibubi.create.content.contraptions.goggles.IHaveGoggleInformation;
import com.teammoeg.steampowered.FluidRegistry;
import com.teammoeg.steampowered.tileentity.burner.IHeatReceiver;
import com.teammoeg.steampowered.content.burner.IHeatReceiver;
import net.minecraft.block.BlockState;
import net.minecraft.fluid.Fluids;
import net.minecraft.nbt.CompoundNBT;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.block.boiler;
package com.teammoeg.steampowered.content.boiler;
import com.teammoeg.steampowered.registrate.SPTiles;
import net.minecraft.block.BlockState;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.tileentity.boiler;
package com.teammoeg.steampowered.content.boiler;
import net.minecraft.tileentity.TileEntityType;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.block.burner;
package com.teammoeg.steampowered.content.burner;
import com.teammoeg.steampowered.registrate.SPTiles;
import net.minecraft.block.BlockState;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.tileentity.burner;
package com.teammoeg.steampowered.content.burner;
import net.minecraft.tileentity.TileEntityType;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.block.burner;
package com.teammoeg.steampowered.content.burner;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;

View file

@ -1,8 +1,6 @@
package com.teammoeg.steampowered.tileentity.burner;
package com.teammoeg.steampowered.content.burner;
import com.simibubi.create.content.contraptions.goggles.IHaveGoggleInformation;
import com.teammoeg.steampowered.block.burner.BurnerBlock;
import com.teammoeg.steampowered.block.engine.SteamEngineBlock;
import net.minecraft.block.BlockState;
import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.IRecipeType;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.tileentity.burner;
package com.teammoeg.steampowered.content.burner;
public interface IHeatReceiver {
public void commitHeat(float value);

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.block;
package com.teammoeg.steampowered.content.cogwheel;
import com.simibubi.create.content.contraptions.relays.elementary.CogWheelBlock;
import com.teammoeg.steampowered.registrate.SPTiles;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.tileentity;
package com.teammoeg.steampowered.content.cogwheel;
import com.simibubi.create.content.contraptions.relays.elementary.SimpleKineticTileEntity;
import net.minecraft.tileentity.TileEntityType;

View file

@ -1,8 +1,7 @@
package com.teammoeg.steampowered.block.engine;
package com.teammoeg.steampowered.content.engine;
import com.simibubi.create.foundation.block.ITE;
import com.teammoeg.steampowered.registrate.SPTiles;
import com.teammoeg.steampowered.tileentity.engine.BronzeSteamEngineTileEntity;
import net.minecraft.block.BlockState;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.IBlockReader;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.tileentity.engine;
package com.teammoeg.steampowered.content.engine;
import com.teammoeg.steampowered.SPConfig;
import com.teammoeg.steampowered.registrate.SPBlocks;

View file

@ -1,8 +1,7 @@
package com.teammoeg.steampowered.block.engine;
package com.teammoeg.steampowered.content.engine;
import com.simibubi.create.foundation.block.ITE;
import com.teammoeg.steampowered.registrate.SPTiles;
import com.teammoeg.steampowered.tileentity.engine.CastIronSteamEngineTileEntity;
import net.minecraft.block.BlockState;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.IBlockReader;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.tileentity.engine;
package com.teammoeg.steampowered.content.engine;
import com.teammoeg.steampowered.SPConfig;
import com.teammoeg.steampowered.registrate.SPBlocks;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.block.engine;
package com.teammoeg.steampowered.content.engine;
import com.jozufozu.flywheel.core.PartialModel;
import com.simibubi.create.AllBlockPartials;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.tileentity.engine;
package com.teammoeg.steampowered.content.engine;
import com.simibubi.create.content.contraptions.components.flywheel.FlywheelBlock;
import com.simibubi.create.content.contraptions.components.flywheel.FlywheelTileEntity;
@ -6,7 +6,6 @@ import com.simibubi.create.content.contraptions.components.flywheel.engine.Engin
import com.simibubi.create.content.contraptions.components.flywheel.engine.EngineTileEntity;
import com.simibubi.create.content.contraptions.goggles.IHaveGoggleInformation;
import com.teammoeg.steampowered.FluidRegistry;
import com.teammoeg.steampowered.block.engine.SteamEngineBlock;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.fluid.Fluid;

View file

@ -1,8 +1,7 @@
package com.teammoeg.steampowered.block.engine;
package com.teammoeg.steampowered.content.engine;
import com.simibubi.create.foundation.block.ITE;
import com.teammoeg.steampowered.registrate.SPTiles;
import com.teammoeg.steampowered.tileentity.engine.SteelSteamEngineTileEntity;
import net.minecraft.block.BlockState;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.IBlockReader;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.tileentity.engine;
package com.teammoeg.steampowered.content.engine;
import com.teammoeg.steampowered.SPConfig;
import com.teammoeg.steampowered.registrate.SPBlocks;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.block.flywheel;
package com.teammoeg.steampowered.content.flywheel;
import com.simibubi.create.content.contraptions.components.flywheel.FlywheelBlock;
import com.teammoeg.steampowered.registrate.SPTiles;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.block.flywheel;
package com.teammoeg.steampowered.content.flywheel;
import com.simibubi.create.content.contraptions.components.flywheel.FlywheelBlock;
import com.teammoeg.steampowered.registrate.SPTiles;

View file

@ -1,4 +1,4 @@
package com.teammoeg.steampowered.block.flywheel;
package com.teammoeg.steampowered.content.flywheel;
import com.simibubi.create.content.contraptions.components.flywheel.FlywheelBlock;
import com.teammoeg.steampowered.registrate.SPTiles;

View file

@ -4,7 +4,7 @@ import com.simibubi.create.foundation.ponder.SceneBuilder;
import com.simibubi.create.foundation.ponder.SceneBuildingUtil;
import com.simibubi.create.foundation.ponder.Selection;
import com.simibubi.create.foundation.ponder.content.PonderPalette;
import com.teammoeg.steampowered.block.engine.SteamEngineBlock;
import com.teammoeg.steampowered.content.engine.SteamEngineBlock;
import com.teammoeg.steampowered.registrate.SPBlocks;
import net.minecraft.util.Direction;
import net.minecraft.util.math.BlockPos;

View file

@ -13,16 +13,16 @@ import com.simibubi.create.foundation.data.SharedProperties;
import com.simibubi.create.repack.registrate.util.entry.BlockEntry;
import com.teammoeg.steampowered.SPConfig;
import com.teammoeg.steampowered.SteamPowered;
import com.teammoeg.steampowered.block.AlternatorBlock;
import com.teammoeg.steampowered.block.MetalCogwheelBlock;
import com.teammoeg.steampowered.block.boiler.BronzeBoilerBlock;
import com.teammoeg.steampowered.block.burner.BronzeBurnerBlock;
import com.teammoeg.steampowered.block.engine.BronzeSteamEngineBlock;
import com.teammoeg.steampowered.block.engine.CastIronSteamEngineBlock;
import com.teammoeg.steampowered.block.engine.SteelSteamEngineBlock;
import com.teammoeg.steampowered.block.flywheel.BronzeSteamFlywheelBlock;
import com.teammoeg.steampowered.block.flywheel.CastIronSteamFlywheelBlock;
import com.teammoeg.steampowered.block.flywheel.SteelSteamFlywheelBlock;
import com.teammoeg.steampowered.content.alternator.AlternatorBlock;
import com.teammoeg.steampowered.content.cogwheel.MetalCogwheelBlock;
import com.teammoeg.steampowered.content.boiler.BronzeBoilerBlock;
import com.teammoeg.steampowered.content.burner.BronzeBurnerBlock;
import com.teammoeg.steampowered.content.engine.BronzeSteamEngineBlock;
import com.teammoeg.steampowered.content.engine.CastIronSteamEngineBlock;
import com.teammoeg.steampowered.content.engine.SteelSteamEngineBlock;
import com.teammoeg.steampowered.content.flywheel.BronzeSteamFlywheelBlock;
import com.teammoeg.steampowered.content.flywheel.CastIronSteamFlywheelBlock;
import com.teammoeg.steampowered.content.flywheel.SteelSteamFlywheelBlock;
import net.minecraft.block.AbstractBlock;
import net.minecraft.block.Block;
import net.minecraft.block.Blocks;

View file

@ -14,13 +14,13 @@ import com.teammoeg.steampowered.client.render.AlternatorRenderer;
import com.teammoeg.steampowered.client.render.BronzeFlywheelRenderer;
import com.teammoeg.steampowered.client.render.CastIronFlywheelRenderer;
import com.teammoeg.steampowered.client.render.SteelFlywheelRenderer;
import com.teammoeg.steampowered.tileentity.AlternatorTileEntity;
import com.teammoeg.steampowered.tileentity.MetalCogwheelTileEntity;
import com.teammoeg.steampowered.tileentity.boiler.BronzeBoilerTileEntity;
import com.teammoeg.steampowered.tileentity.burner.BronzeBurnerTileEntity;
import com.teammoeg.steampowered.tileentity.engine.BronzeSteamEngineTileEntity;
import com.teammoeg.steampowered.tileentity.engine.CastIronSteamEngineTileEntity;
import com.teammoeg.steampowered.tileentity.engine.SteelSteamEngineTileEntity;
import com.teammoeg.steampowered.content.alternator.AlternatorTileEntity;
import com.teammoeg.steampowered.content.cogwheel.MetalCogwheelTileEntity;
import com.teammoeg.steampowered.content.boiler.BronzeBoilerTileEntity;
import com.teammoeg.steampowered.content.burner.BronzeBurnerTileEntity;
import com.teammoeg.steampowered.content.engine.BronzeSteamEngineTileEntity;
import com.teammoeg.steampowered.content.engine.CastIronSteamEngineTileEntity;
import com.teammoeg.steampowered.content.engine.SteelSteamEngineTileEntity;
public class SPTiles {
private static final CreateRegistrate REGISTRATE = SteamPowered.registrate.get()