1919import net .minecraft .item .ItemStack ;
2020import net .minecraft .util .ResourceLocation ;
2121import net .minecraft .world .World ;
22+ import org .jetbrains .annotations .NotNull ;
2223import supersymmetry .api .recipes .SuSyRecipeMaps ;
24+ import supersymmetry .client .renderer .textures .SusyTextures ;
2325
2426import javax .annotation .Nonnull ;
2527import javax .annotation .Nullable ;
2628import java .util .List ;
2729
28- public class MetaTileEntityPolmyerizationTank extends RecipeMapMultiblockController {
29- public MetaTileEntityPolmyerizationTank (ResourceLocation metaTileEntityId ) {
30+ public class MetaTileEntityPolymerizationTank extends RecipeMapMultiblockController {
31+ public MetaTileEntityPolymerizationTank (ResourceLocation metaTileEntityId ) {
3032 super (metaTileEntityId , SuSyRecipeMaps .POLYMERIZATION_RECIPES );
3133 this .recipeMapWorkable = new MultiblockRecipeLogic (this , true );
3234 }
3335
3436 public MetaTileEntity createMetaTileEntity (IGregTechTileEntity tileEntity ) {
35- return new MetaTileEntityPolmyerizationTank (this .metaTileEntityId );
37+ return new MetaTileEntityPolymerizationTank (this .metaTileEntityId );
3638 }
3739
40+ @ NotNull
3841 protected BlockPattern createStructurePattern () {
3942 return FactoryBlockPattern .start ()
4043 .aisle ("F F" , "XXX" , "XXX" , "XXX" , "XXX" )
4144 .aisle (" " , "XPX" , "XPX" , "XPX" , "XPX" )
4245 .aisle ("F F" , "XSX" , "XXX" , "XXX" , "XXX" )
4346 .where ('S' , this .selfPredicate ())
4447 .where ('F' , frames (Materials .Steel ))
45- .where ('P' , states (this . getPipeCasingState ()))
46- .where ('X' , states (this . getCasingState ()).setMinGlobalLimited (18 )
48+ .where ('P' , states (getPipeCasingState ()))
49+ .where ('X' , states (getCasingState ()).setMinGlobalLimited (18 )
4750 .or (this .autoAbilities (true , true , true , true , true , true , false )))
4851 .build ();
4952 }
@@ -59,13 +62,13 @@ protected static IBlockState getPipeCasingState() {
5962 return MetaBlocks .BOILER_CASING .getState (BoilerCasingType .STEEL_PIPE );
6063 }
6164
62- public void addInformation (ItemStack stack , @ Nullable World player , List <String > tooltip , boolean advanced ) {
65+ public void addInformation (ItemStack stack , @ Nullable World player , @ NotNull List <String > tooltip , boolean advanced ) {
6366 super .addInformation (stack , player , tooltip , advanced );
6467 tooltip .add (TooltipHelper .RAINBOW_SLOW + I18n .format ("gregtech.machine.perfect_oc" , new Object [0 ]));
6568 }
6669
6770 @ Nonnull
6871 protected ICubeRenderer getFrontOverlay () {
69- return Textures . LARGE_CHEMICAL_REACTOR_OVERLAY ;
72+ return SusyTextures . POLYMERIZATION_TANK_OVERLAY ;
7073 }
7174}
0 commit comments