Renamed ModBlocks to TRBlocks

This commit is contained in:
drcrazy 2018-09-23 23:21:19 +03:00
parent f02b24f813
commit bf7f7ba871
86 changed files with 307 additions and 298 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.ModBlocks;
import techreborn.init.TRBlocks;
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(ModBlocks.ADJUSTABLE_SU, 1);
ItemStack dropStack = new ItemStack(TRBlocks.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.ModBlocks;
import techreborn.init.TRBlocks;
public class ItemBlockPlayerDetector extends ItemBlockBase {
public ItemBlockPlayerDetector(Block block) {
super(ModBlocks.PLAYER_DETECTOR, ModBlocks.PLAYER_DETECTOR, BlockPlayerDetector.types);
super(TRBlocks.PLAYER_DETECTOR, TRBlocks.PLAYER_DETECTOR, BlockPlayerDetector.types);
}
}