Blocks moved to TRContent

This commit is contained in:
drcrazy 2018-09-24 15:45:48 +03:00
parent 9f9595f955
commit dd94ff31c9
69 changed files with 614 additions and 603 deletions

View file

@ -40,7 +40,7 @@ import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import reborncore.common.powerSystem.PowerSystem;
import techreborn.init.TRBlocks;
import techreborn.init.TRContent;
import techreborn.tiles.storage.TileAdjustableSU;
import java.util.List;
@ -85,7 +85,7 @@ public class ItemBlockAdjustableSU extends ItemBlock {
public ItemStack getDropWithNBT(double energy) {
NBTTagCompound tileEntity = new NBTTagCompound();
ItemStack dropStack = new ItemStack(TRBlocks.ADJUSTABLE_SU, 1);
ItemStack dropStack = new ItemStack(TRContent.ADJUSTABLE_SU, 1);
writeToNBTWithoutCoords(tileEntity, energy);
dropStack.setTagCompound(new NBTTagCompound());
dropStack.getTagCompound().setTag("tileEntity", tileEntity);

View file

@ -27,10 +27,10 @@ package techreborn.itemblocks;
import net.minecraft.block.Block;
import reborncore.common.itemblock.ItemBlockBase;
import techreborn.blocks.tier1.BlockPlayerDetector;
import techreborn.init.TRBlocks;
import techreborn.init.TRContent;
public class ItemBlockPlayerDetector extends ItemBlockBase {
public ItemBlockPlayerDetector(Block block) {
super(TRBlocks.PLAYER_DETECTOR, TRBlocks.PLAYER_DETECTOR, BlockPlayerDetector.types);
super(TRContent.PLAYER_DETECTOR, TRContent.PLAYER_DETECTOR, BlockPlayerDetector.types);
}
}