Add tooltips for some unfinished blocks

* Add tooltips for some unfinished blocks
This commit is contained in:
Dimmerworld 2017-04-16 03:23:21 +10:00 committed by Modmuss50
parent 4d4a6e6fac
commit 0bef19767d
3 changed files with 34 additions and 0 deletions

View file

@ -25,13 +25,18 @@
package techreborn.blocks.generator;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.text.TextFormatting;
import net.minecraft.world.World;
import reborncore.common.blocks.BlockMachineBase;
import reborncore.common.blocks.IAdvancedRotationTexture;
import techreborn.client.TechRebornCreativeTab;
import techreborn.tiles.generator.TileDragonEggSiphoner;
import java.util.List;
public class BlockDragonEggSiphoner extends BlockMachineBase implements IAdvancedRotationTexture {
private final String prefix = "techreborn:blocks/machine/generators/";
@ -67,4 +72,11 @@ public class BlockDragonEggSiphoner extends BlockMachineBase implements IAdvance
return prefix + "generator_machine_bottom";
}
@Override
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced) {
tooltip.add(TextFormatting.RED + "WIP Coming Soon");
//TODO Finish Dragon Egg Siphoner and add recipe
//Remember to remove WIP override and imports once complete
}
}

View file

@ -25,13 +25,18 @@
package techreborn.blocks.generator;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.text.TextFormatting;
import net.minecraft.world.World;
import reborncore.common.blocks.BlockMachineBase;
import reborncore.common.blocks.IAdvancedRotationTexture;
import techreborn.client.TechRebornCreativeTab;
import techreborn.tiles.generator.TileHeatGenerator;
import java.util.List;
public class BlockHeatGenerator extends BlockMachineBase implements IAdvancedRotationTexture {
private final String prefix = "techreborn:blocks/machine/generators/";
@ -67,4 +72,10 @@ public class BlockHeatGenerator extends BlockMachineBase implements IAdvancedRot
return prefix + "heat_generator_bottom";
}
@Override
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced) {
tooltip.add(TextFormatting.RED + "WIP Coming Soon");
//TODO Finish Heat Generator and add recipe + texture
//Remember to remove WIP override and imports once complete
}
}

View file

@ -26,7 +26,9 @@ package techreborn.blocks.machine;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.text.TextFormatting;
import net.minecraft.world.World;
import reborncore.common.blocks.BlockMachineBase;
@ -37,6 +39,8 @@ import techreborn.client.EGui;
import techreborn.client.TechRebornCreativeTab;
import techreborn.tiles.TileScrapboxinator;
import java.util.List;
public class BlockScrapboxinator extends BlockMachineBase implements IRotationTexture {
private final String prefix = "techreborn:blocks/machine/greg_machines/";
@ -85,4 +89,11 @@ public class BlockScrapboxinator extends BlockMachineBase implements IRotationTe
public String getBottom() {
return this.prefix + "machine_bottom";
}
@Override
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced) {
tooltip.add(TextFormatting.RED + "WIP Coming Soon");
//TODO Finish Scrapboxinator and add recipe
//Remember to remove WIP override and imports once complete
}
}