Usability tweak - daffomills and anime torches face away from the player, instead of always facing north

This commit is contained in:
quat committed 2017-09-29 23:35:42 -04:00
1 parent 4b6bf5bf38
commit 493c3e9b13
3 files changed
+26

No files matched your search

@@ -15,6 +15,7 @@ import net.minecraft.block.state.BlockFaceShape;
import net.minecraft.block.state.IBlockState;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.ScaledResolution;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
@@ -59,6 +60,11 @@ public class BlockAnimatedTorch extends BlockMod implements IWandable, IManaTrig
return false;
}
@Override
public void onBlockPlacedBy(World world, BlockPos pos, IBlockState state, EntityLivingBase entity, ItemStack stack) {
((TileAnimatedTorch) world.getTileEntity(pos)).onPlace(entity);
}
@Override
public void onBurstCollision(IManaBurst burst, World world, BlockPos pos) {